Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(cleanup): 在数据管理中按女优批量永久删除影片

longmeidao714f842323d0
diff --git a/README.md b/README.md
index 8657f956a..9d3724f51 100644
--- a/README.md
+++ b/README.md
@@ -47,7 +47,7 @@ Movie demo data; see [asset credits and licenses](https://peach.video/en/credits
- **Playback and history**: web and external players, subtitles, playback speed, rotation, resume and timeline previews.
- **Follows and discovery**: track performer and creator updates, discover titles and manage a want list.
- **Cloud download**: search by video code or submit a magnet link, then organize completed downloads into your library.
-- **Library management**: manage tags, duplicates, versions and parts; metadata and watch history are stored locally.
+- **Library management**: manage tags, duplicates, versions and parts; permanently delete videos by performer while keeping profiles and photos. Metadata and watch history are stored locally.
## Download and use
diff --git a/README.zh-CN.md b/README.zh-CN.md
index a00751f51..6ae9b1795 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -47,7 +47,7 @@
- **播放与记录**:网页与外部播放器、字幕、倍速、旋转、续播和时间轴预览。
- **关注与发现**:订阅人物与创作者更新,发现作品,管理「想要」清单。
- **云下载**:按影片编号查找或提交磁力,下载完成后整理入库。
-- **馆藏管理**:管理标签、重复文件、多版本与分卷;资料和观看记录保存在本机。
+- **馆藏管理**:管理标签、重复文件、多版本与分卷;按女优批量永久删除影片,保留人物档案和照片。资料和观看记录保存在本机。
## 下载与使用
diff --git a/docs/REUSE.md b/docs/REUSE.md
index da4ca2250..102185a1a 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -1,5 +1,15 @@
# 复用清单
+## 数据管理层级
+
+数据管理首页按待处理事项看板、扫描与采集、整理与维护、清理与删除排列。日常扫描直接操作,其余工具在独立二级页展开表单和清单;首页只读摘要。工具名称、顺序和地址由 `frontend/src/cleanup-tools.ts` 供首页、路由、面包屑与加载态共用。已分享的工具锚点转到对应二级页,保留查询参数。
+
+数字驱动的人工复核、重复文件、垃圾文件、高清版和回收站在顶部组成看板,复用 `PlainStat` 的大数字样式。整理、维护和批量删除共用 `CleanupEntryCard` 的功能入口样式;首屏加载态复用同一套卡面。入口不执行删除,危险样式留给二级页的执行按钮和确认窗口。
+
+## 按女优删除影片
+
+数据管理页的「批量删除」复用 `DataTable` 的排序、分页和跨页勾选、女优名册的姓名与头像装配、`confirmModal()`、`purge_assets()` 和缓存清理入口,不新增依赖。`/api/performer/delete-plan` 按所选实体 ID 的并集列出全部视频,包括回收站记录;多人共同出演的文件去重。执行前在写锁内核对清单摘要,关联、路径或记录版本变化时拒绝旧清单。永久删除沿用媒体先隔离、账本失败恢复、文件失败保留记录的顺序,保留女优档案、照片与其他人物的独立影片;多人出演的同一文件会从所有关联人物的作品中消失。
+
## 首页筛选聚合与缓存
采用 bbingz 的 [PR #205](https://github.com/peach-mitao/peach/pull/205),固定来源提交 `bbf5aac8e9562211c324c2019bff35888266df84`,许可证沿用本项目 AGPL-3.0-or-later。作品筛选集合先在独立子查询中求出,创作者、标签和演员按既有关系聚合,保留去重计数与标签可见性。没有选中标签时移除无效 `tag_match`,复用既有修订缓存、同键锁与跨连接写入失效机制,不在线改写 SQLite 统计或增加索引迁移。
diff --git a/docs/ROUTES.md b/docs/ROUTES.md
index 80f46bf71..2032e5c4d 100644
--- a/docs/ROUTES.md
+++ b/docs/ROUTES.md
@@ -101,7 +101,13 @@
| `/stats` | 统计 |
| `/taste` | 口味分析 |
| `/review` | 人工复核 |
-| `/data-cleanup` | 数据管理 |
+| `/data-cleanup` | 数据管理概览;日常扫描、待处理摘要、维护与清理入口 |
+| `/data-cleanup/organize` | 文件整理与批次历史 |
+| `/data-cleanup/resource-sync` | 核对文件与馆藏记录,清理失效条目、空目录与缓存 |
+| `/data-cleanup/orphan-records` | 处理文件已丢失但仍保留个人记录的作品 |
+| `/data-cleanup/media-repair` | 媒体修复 |
+| `/data-cleanup/links` | 链接检查与失效地址复核 |
+| `/data-cleanup/batch-delete` | 按女优批量永久删除关联影片 |
| `/duplicates` | 重复文件 |
| `/quality-goals` | 高清版目标 |
| `/login` | 登录 |
@@ -131,7 +137,7 @@
| `/follow-manage` | `/subscriptions` |
| `/configuration` | `/settings/library` |
| `/diagnostics` | `/settings/diagnostics` |
-| `/resource-sync` | `/data-cleanup#resource-sync` |
+| `/resource-sync` | `/data-cleanup/resource-sync` |
兼容跳转保留查询参数;后退前进的背景信息留在历史条目中。索引尾斜杠跳到无尾斜杠路径。
diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.ts
index 8e5db191f..aa74fdd4e 100644
--- a/frontend/e2e/smoke.test.ts
+++ b/frontend/e2e/smoke.test.ts
@@ -112,8 +112,14 @@ const ROUTES: readonly Route[] = [
// 挂载前的遗留骨架用 heading,最终 React 卡片用带名字的 section;等最终语义才能证明挂载完成。
body: (page) => [heading(page, '#main', '数据管理'),
page.locator('#stats section[aria-label="扫描与采集"]'),
- page.locator('#stats section[aria-label="媒体修复"]')],
+ page.locator('#cleanup-pending'), page.locator('#cleanup-maintenance'), page.locator('#cleanup-deletion')],
},
+ { path: '/data-cleanup/organize', body: page => [heading(page, '#main', '整理文件'), page.locator('#stats #organize')] },
+ { path: '/data-cleanup/media-repair', body: page => [heading(page, '#main', '媒体修复'), page.locator('#stats section[aria-label="媒体修复"]')] },
+ { path: '/data-cleanup/resource-sync', body: page => [heading(page, '#main', '资源同步'), page.locator('#stats #resource-sync')] },
+ { path: '/data-cleanup/orphan-records', body: page => [heading(page, '#main', '文件已丢失的记录'), page.locator('#stats #orphan-records')] },
+ { path: '/data-cleanup/links', body: page => [heading(page, '#main', '链接管理'), page.locator('#stats #link-manager')] },
+ { path: '/data-cleanup/batch-delete', body: page => [heading(page, '#main', '批量删除'), page.locator('#stats #batch-delete')] },
{
// 演示库里没有垃圾候选,等到的是垃圾队列那一页的空态标题;壳铺的骨架只有卡片占位。
path: '/junk-files',
@@ -125,9 +131,9 @@ const ROUTES: readonly Route[] = [
body: (page) => [heading(page, '#main', '重复文件'), page.locator('#stats').getByText('重复内容', { exact: true })],
},
{
- // 旧直达地址落到数据管理页的锚点上;骨架里那一段没有 `id`,带 `id` 的只有演示库配了根目录后的真卡片。
+ // 旧直达地址进入资源同步二级页。
path: '/resource-sync',
- body: (page) => [heading(page, '#main', '数据管理'), page.locator('#stats section#resource-sync')],
+ body: (page) => [heading(page, '#main', '资源同步'), page.locator('#stats section#resource-sync')],
},
{
path: '/quality-goals',
diff --git a/frontend/src/cleanup-tools.ts b/frontend/src/cleanup-tools.ts
new file mode 100644
index 000000000..d6d6d86cd
--- /dev/null
+++ b/frontend/src/cleanup-tools.ts
@@ -0,0 +1,31 @@
+/** 数据管理的维护工具;首页入口、二级页和面包屑共用名称与地址。 */
+export const CLEANUP_TOOLS = [
+ { key: 'organize', path: '/data-cleanup/organize', title: '整理文件', icon: 'folder-cog',
+ description: '清理文件名,按模板改名和归档;先预览,执行后可整批退回。' },
+ { key: 'resource-sync', path: '/data-cleanup/resource-sync', title: '资源同步', icon: 'git-compare',
+ description: '核对文件与馆藏记录,检查失效条目、空文件夹和缓存。' },
+ { key: 'orphan-records', path: '/data-cleanup/orphan-records', title: '文件已丢失的记录', icon: 'file-stack',
+ description: '为丢失的文件选择替代版本,转移或清理保留的个人记录。' },
+ { key: 'media-repair', path: '/data-cleanup/media-repair', title: '媒体修复', icon: 'wrench',
+ description: '处理播放卡顿或打不开的视频,修复时间戳表和索引。' },
+ { key: 'links', path: '/data-cleanup/links', title: '链接管理', icon: 'link',
+ description: '检查官网、社交账号和资料站链接,复核并清理失效地址。' },
+ { key: 'batch-delete', path: '/data-cleanup/batch-delete', title: '批量删除', icon: 'trash',
+ description: '按女优勾选并永久删除关联影片,执行前确认范围与影响。' },
+] as const;
+
+export type CleanupTool = typeof CLEANUP_TOOLS[number];
+export type CleanupToolKey = CleanupTool['key'];
+export type CleanupToolPath = CleanupTool['path'];
+
+export const CLEANUP_CRUMB_PAGES = Object.fromEntries(CLEANUP_TOOLS.map(tool => [tool.path, tool.title]));
+
+/** 已分享的锚点仍能进入对应工具;扫描与采集继续留在首页。 */
+export const CLEANUP_HASH_REDIRECTS: Readonly<Record<string, CleanupToolPath>> = {
+ '#organize': '/data-cleanup/organize',
+ '#mediaRepair': '/data-cleanup/media-repair',
+ '#link-manager': '/data-cleanup/links',
+ '#resource-sync': '/data-cleanup/resource-sync',
+ '#orphan-records': '/data-cleanup/orphan-records',
+ '#batch-delete': '/data-cleanup/batch-delete',
+};
diff --git a/frontend/src/history/route-meta.ts b/frontend/src/history/route-meta.ts
index 96a843792..545520c85 100644
--- a/frontend/src/history/route-meta.ts
+++ b/frontend/src/history/route-meta.ts
@@ -15,6 +15,7 @@
import { overlayMatch } from './overlay';
import { entityLinkName } from '../core/entity-links';
import { entityDisplayName } from '../core/entity-names';
+import { CLEANUP_CRUMB_PAGES } from '../cleanup-tools';
import { PREFERENCE_SECTIONS, CONFIGURATION_SECTIONS } from './settings-route';
export interface RouteMeta {
@@ -34,6 +35,7 @@ export const ROUTE_META: Readonly<Record<string, RouteMeta>> = {
'/taste': { section: 'taste', title: '口味', refresh: 'reopen' },
'/review': { section: 'review', title: '人工复核', refresh: 'reopen' },
'/data-cleanup': { section: 'cleanup', title: '数据管理' },
+ ...Object.fromEntries(Object.entries(CLEANUP_CRUMB_PAGES).map(([path, title]) => [path, { section: 'cleanup', title, refresh: 'reopen' }])),
'/duplicates': { section: 'cleanup', title: '重复文件', refresh: 'reopen' },
'/quality-goals': { section: 'quality', title: '高清版', refresh: 'reopen' },
'/sources': { section: 'cleanup', title: '来源和凭证', refresh: 'reopen' },
diff --git a/frontend/src/manage-header.ts b/frontend/src/manage-header.ts
index 8e8e63bc4..dacfb2065 100644
--- a/frontend/src/manage-header.ts
+++ b/frontend/src/manage-header.ts
@@ -8,6 +8,8 @@
* `configurable` 与目录计数都还在壳里。 */
/** `[键, 名称, 字形]`,同壳的 `MANAGE_SECTIONS`。 */
+import { CLEANUP_CRUMB_PAGES } from './cleanup-tools';
+
export type ManageEntry = readonly [key: string, label: string, glyph: string];
/** 回收站说明行的读数:目录网格每接一页报一次。 */
@@ -30,9 +32,10 @@ export interface ManageHeaderProps {
}
/* 数据管理那几张卡通往的子页(vercel.com/geist/breadcrumbs:有上一级页面的子页才画面包屑)。
- 人工复核、回收站、高清版虽也保留侧栏直达入口,层级上仍从数据管理进;资源同步是 hub 上的
- 就地操作,没有独立页面。数据管理之下的页面标题也取这里的名字,「数据管理」让给面包屑的上一级。 */
+ 人工复核、回收站、高清版保留侧栏快捷入口;维护工具各有独立二级页。
+ 子页标题取这里的名字,「数据管理」显示在面包屑的上一级。 */
export const MANAGE_CRUMB_PAGES: Readonly<Record<string, string>> = {
+ ...CLEANUP_CRUMB_PAGES,
'/junk-files': '垃圾文件',
'/duplicates': '重复文件',
'/review': '人工复核',
diff --git a/frontend/src/management.ts b/frontend/src/management.ts
index e6f27a1d6..2d5883299 100644
--- a/frontend/src/management.ts
+++ b/frontend/src/management.ts
@@ -1,5 +1,8 @@
import { islandButton, islandGlyph, islandSelect } from './island-skeleton';
-import { FIELDSET_FACE, FIELDSET_BODY, FIELDSET_FOOT, fieldsetClass, type FieldsetLayout } from './react/components/fieldset-layout';
+import { FIELDSET_BODY, FIELDSET_FOOT, fieldsetClass, type FieldsetLayout } from './react/components/fieldset-layout';
+import { CLEANUP_TOOLS } from './cleanup-tools';
+import { CLEANUP_ENTRY, CLEANUP_ENTRY_GRID } from './react/data-cleanup/cleanup-entry';
+import { PLAIN_STAT_STRIP, plainStatClass } from './react/components/stat-card';
/* 「扫描与采集」「媒体修复」两张卡的正文。卡片本体由 React 画,骨架与遗留层的取数占位
画的是同一段话:写两份的话,骨架上的那句会比真卡短一截,接管时整张卡跳一次。 */
@@ -38,21 +41,17 @@ export function repairCardSkeletonHtml(): string {
</section>`);
}
-/** 首屏复用读数卡、三张任务卡、链接管理与资源同步的最终容器;静态标题、正文和键立即呈现。 */
+/** 首页骨架与最终页面共用工具顺序;完整表单、结果和清单在二级页加载。 */
export function cleanupSkeletonHtml(): string {
- const stats = [['人工复核', 'square-check-big'], ['高清版', 'sparkles'], ['重复文件', 'file-stack'], ['垃圾文件', 'file-archive'], ['回收站', 'trash']];
- const face = FIELDSET_FACE;
- const body = FIELDSET_BODY.stack;
- const title = (label: string, gap = 'mb-2') => `<h3 class="text-title-2-medium text-text-primary ${gap}">${label}</h3>`;
- const footer = (label: string) => `<footer class="${FIELDSET_FOOT.stack}">${islandButton({ label, attrs: waitingAction })}</footer>`;
- const input = (label: string) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${label}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;
+ const entry = (label: string, glyph: string, summary: string, detail = '') => `<div class="${CLEANUP_ENTRY.face}"><span class="${CLEANUP_ENTRY.icon}">${islandGlyph(glyph, 'size-5')}</span><span class="${CLEANUP_ENTRY.body}"><span class="${CLEANUP_ENTRY.title}">${label}</span><span class="${CLEANUP_ENTRY.summary}">${summary}</span>${detail ? `<span class="${CLEANUP_ENTRY.detail}">${detail}</span>` : ''}</span>${islandGlyph('chevron-right', CLEANUP_ENTRY.arrow)}</div>`;
+ const stat = (label: string, glyph: string) => `<div class="${plainStatClass()}"><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">${islandGlyph(glyph, 'size-4')}</i><span>${label}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${bar}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${bar}</span></div>`;
+ const heading = (label: string) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${label}</h2>`;
+ const tools = (deletion: boolean) => CLEANUP_TOOLS.filter(tool => (tool.key === 'batch-delete') === deletion)
+ .map(tool => entry(tool.title, tool.icon, tool.description)).join('');
return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
- <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">${stats.map(([label, glyph]) => `<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">${islandGlyph(glyph!, 'size-4')}</i>${label}</span><strong class="text-title-1-medium">${bar}</strong><span class="text-caption-1-regular">${bar}</span></div>`).join('')}</div>
- <div class="flex flex-col gap-4 max-cleanup-tight:gap-3">
- <div id="libraryProcessing">${scanCardSkeletonHtml()}</div><div id="mediaRepair">${repairCardSkeletonHtml()}</div>
- <section id="organize" class="${face} flex flex-col" data-cleanup-organize><div class="${body}">${title('整理', '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">${islandSelect(bar)}<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>${input('文件名模板')}${input('目录模板')}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => islandButton({ variant: 'secondary', label: bar, attrs: waitingAction })).join('')}</div></div></div>${footer('预览')}</section>
- </div>
- <section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${face} flex flex-col"><div class="${body}">${title('链接管理')}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${['链接总数', '官网/事务所', '社交账号', '作品资料站'].map(label => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${label}</span><b class="text-title-2-semibold">${bar}</b></div>`).join('')}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${bar}</div></div>${footer('检查死链')}</div></section>
+ <section class="flex flex-col gap-4">${heading('待处理事项')}<div class="${PLAIN_STAT_STRIP}">${[['人工复核', 'square-check-big'], ['重复文件', 'file-stack'], ['垃圾文件', 'file-archive'], ['高清版', 'sparkles'], ['回收站', 'trash']].map(([label, glyph]) => stat(label!, glyph!)).join('')}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${scanCardSkeletonHtml()}</div>
+ <section class="flex flex-col gap-4">${heading('整理与维护')}<div class="${CLEANUP_ENTRY_GRID}">${tools(false)}</div></section>
+ <section class="flex flex-col gap-4">${heading('清理与删除')}<div class="${CLEANUP_ENTRY_GRID}">${tools(true)}</div></section>
</div></div>`;
}
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index 0d49e95e7..5502e423b 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -470,6 +470,7 @@ export type DataCleanupSection = 'review' | 'quality' | 'duplicates' | 'ads' | '
/** 数据管理页仍由遗留层提供的能力:回执和换页。 */
export interface DataCleanupProps {
+ navigate(path: string): void;
/** 操作回执(遗留层 `actionReceipt`)。`warning` 是做完了但有一部分要留意,走警告音效。 */
toast(message: string, options?: { warning?: boolean }): void;
/** 失败回执(遗留层 `actionFailure`):`action` 是没做成的那件事。 */
diff --git a/frontend/src/react/components/data-table.tsx b/frontend/src/react/components/data-table.tsx
index bb21a9637..9bc5ea417 100644
--- a/frontend/src/react/components/data-table.tsx
+++ b/frontend/src/react/components/data-table.tsx
@@ -46,13 +46,14 @@ interface DataTableProps<T> {
titleId?: string;
description?: ReactNode;
footerActions?: ReactNode;
+ toolbarActions?: ReactNode;
panel?: boolean;
unit?: string;
}
/** 数据表共用排序、跨页选择与分页;业务动作只接收仍在清单里的所选行。 */
export function DataTable<T extends RowData>({ label, items, columns, rowId, rowLabel, selected, onSelected, actions,
- title = label, titleId, description, footerActions, panel = true, unit = '条记录' }: DataTableProps<T>) {
+ title = label, titleId, description, footerActions, toolbarActions, panel = true, unit = '条记录' }: DataTableProps<T>) {
const [sorting, setSorting] = useState<SortingState>([]);
const preferenceColumns = useMemo(() => [
{ id: 'select', label: '选择', width: 48, min: 48, max: 48, required: true },
@@ -110,6 +111,7 @@ export function DataTable<T extends RowData>({ label, items, columns, rowId, row
</span>
</div>
<div data-toolbar-actions="">
+ {toolbarActions}
<TableColumnControls preferences={preferences} label={label} />
<DataTableSort label={label} options={columns.filter((column) => column.value).map((column) => ({ id: column.id, label: column.label }))}
sorting={sorting} onChange={(next) => { setSorting(next); setPagination((now) => ({ ...now, pageIndex: 0 })); }} />
diff --git a/frontend/src/react/data-cleanup/cleanup-entry-card.tsx b/frontend/src/react/data-cleanup/cleanup-entry-card.tsx
new file mode 100644
index 000000000..b5ae893ff
--- /dev/null
+++ b/frontend/src/react/data-cleanup/cleanup-entry-card.tsx
@@ -0,0 +1,27 @@
+import { cx } from '@/utils/cx';
+import { spriteGlyph, type Glyph } from '../components/sprite-glyph';
+import { CLEANUP_ENTRY } from './cleanup-entry';
+
+const Arrow = spriteGlyph('chevron-right');
+
+/** 点击只进入二级页;数量是状态信息,入口本身不执行业务操作。 */
+export function CleanupEntryCard({ label, icon: Icon, summary, detail, state, attributes, onOpen }: {
+ label: string;
+ icon: Glyph;
+ summary: string;
+ detail?: string;
+ state?: 'loading' | 'error';
+ attributes: Record<`data-${string}`, string>;
+ onOpen(): void;
+}) {
+ return <button type="button" {...attributes} className={CLEANUP_ENTRY.face} onClick={onOpen}
+ data-entry-state={state} aria-busy={state === 'loading' || undefined}>
+ <span aria-hidden className={CLEANUP_ENTRY.icon}><Icon aria-hidden className="size-5" /></span>
+ <span className={CLEANUP_ENTRY.body}>
+ <span className={CLEANUP_ENTRY.title}>{label}</span>
+ <span className={cx(CLEANUP_ENTRY.summary, state === 'error' && 'text-text-error-primary')}>{summary}</span>
+ {detail ? <span className={CLEANUP_ENTRY.detail}>{detail}</span> : null}
+ </span>
+ <Arrow aria-hidden className={CLEANUP_ENTRY.arrow} />
+ </button>;
+}
diff --git a/frontend/src/react/data-cleanup/cleanup-entry.ts b/frontend/src/react/data-cleanup/cleanup-entry.ts
new file mode 100644
index 000000000..0fa203d21
--- /dev/null
+++ b/frontend/src/react/data-cleanup/cleanup-entry.ts
@@ -0,0 +1,14 @@
+import { cardClass } from '../components/card';
+
+/** 数据管理中可跳转入口的共同样式,也供首屏加载态复用。 */
+export const CLEANUP_ENTRY_GRID = 'inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1';
+export const CLEANUP_ENTRY = {
+ face: cardClass({ padding: 'none', bordered: 'line', radius: 'plain', interactive: true,
+ className: 'flex min-h-28 items-start gap-3 p-4 text-left' }),
+ icon: 'flex size-9 shrink-0 items-center justify-center rounded-lg bg-background-primary-default text-foreground-icon-primary',
+ body: 'flex min-w-0 flex-1 flex-col gap-1',
+ title: 'text-headline-medium text-text-primary wrap-anywhere',
+ summary: 'text-body-2-regular tabular-nums text-text-secondary wrap-anywhere',
+ detail: 'text-caption-1-regular text-text-tertiary wrap-anywhere',
+ arrow: 'size-4 shrink-0 self-center text-foreground-icon-tertiary',
+} as const;
diff --git a/frontend/src/react/data-cleanup/data-cleanup-page.tsx b/frontend/src/react/data-cleanup/data-cleanup-page.tsx
index e4bb335cf..7c6f52acc 100644
--- a/frontend/src/react/data-cleanup/data-cleanup-page.tsx
+++ b/frontend/src/react/data-cleanup/data-cleanup-page.tsx
@@ -1,52 +1,45 @@
-/* 数据管理页:库里已经有的东西怎么收拾。
- *
- * 照 Board 的 dashboard 模板排:顶上一排读数卡,每张是一条内容在库里的经过、兼那一页的入口;
- * 下面一列是要在这页上做的几件事(扫描与采集、媒体修复、整理),再往下是链接
- * 管理、只在有文件已消失的作品时才出现的孤儿记录,最后是只在有来源配了根目录时才出现的
- * 资源同步。 */
+/* 数据管理首页保留日常入库、待处理摘要与维护入口,具体表单和清单在二级页展开。 */
+import { useEffect } from 'react';
import { useQuery } from '@tanstack/react-query';
import { fmtSize } from '@peach/legacy/core';
-
+import { CLEANUP_HASH_REDIRECTS, CLEANUP_TOOLS, type CleanupTool } from '../../cleanup-tools';
import type { DataCleanupProps, DataCleanupSection } from '../bundle';
+import { SectionHeading } from '../components/fieldset';
import { Page } from '../components/page';
import { spriteGlyph, type Glyph } from '../components/sprite-glyph';
import { PLAIN_STAT_STRIP, PlainStat, plainStatClass } from '../components/stat-card';
import { DUPLICATES_KEY, fetchDuplicates } from '../duplicates/duplicates';
import { LibraryProcessingCard } from '../library-processing/library-processing-card';
-import { MediaRepairCard } from '../media-repair/media-repair-card';
-import { fetchMediaSources, MEDIA_SOURCES_KEY } from '../media-sources';
import { fetchQualityGoals, QUALITY_GOALS_KEY } from '../quality-goals/quality-goals';
import { queryClient } from '../query';
import {
fetchJunkSummary, fetchReviewCounts, fetchTrashSummary, JUNK_KEY, junkBreakdown,
REVIEW_COUNTS_KEY, reviewSummary, TRASH_KEY,
} from './data-cleanup';
-import { LinkManager } from './link-manager';
-import { OrganizeCard } from './organize-card';
-import { OrphanRecordsCard } from './orphan-records-card';
-import { hasResourceRoots } from './resource-sync';
-import { ResourceSyncCard } from './resource-sync-card';
+import { CLEANUP_ENTRY_GRID } from './cleanup-entry';
+import { CleanupEntryCard } from './cleanup-entry-card';
-interface Reading { figure: string; meta?: string }
+export { DataCleanupToolPage } from './data-cleanup-tool-page';
-/** 一张读数卡的三种下场:还在取、取到了、取不到。各卡各自失败各自算。 */
-function reading<T>(
- query: { data: T | undefined; isError: boolean }, read: (data: T) => Reading,
-): Reading {
+interface Reading { figure: string; meta?: string; state?: 'loading' | 'error' }
+function reading<T>(query: { data: T | undefined; isError: boolean }, read: (data: T) => Reading): Reading {
if (query.data !== undefined) return read(query.data);
- return { figure: query.isError ? '读取失败' : '—' };
+ return query.isError ? { figure: '读取失败', state: 'error' } : { figure: '正在读取…', state: 'loading' };
+}
+
+function EntryCard({ section, label, icon, value, open }: {
+ section: DataCleanupSection; label: string; icon: Glyph; value: Reading; open(section: DataCleanupSection): void;
+}) {
+ return <button type="button" className={plainStatClass({ interactive: true })} data-cleanup-go={section}
+ data-entry-state={value.state} aria-busy={value.state === 'loading' || undefined} onClick={() => open(section)}>
+ <PlainStat label={label} icon={icon} figure={value.figure} meta={value.meta} />
+ </button>;
}
-function EntryCard(
- { section, label, icon, value, open }:
- { section: DataCleanupSection; label: string; icon: Glyph; value: Reading; open(section: DataCleanupSection): void },
-) {
- return (
- <button type="button" className={plainStatClass({ interactive: true })} data-cleanup-go={section}
- onClick={() => open(section)}>
- <PlainStat label={label} icon={icon} figure={value.figure} meta={value.meta} />
- </button>
- );
+function ToolEntry({ tool, navigate }: { tool: CleanupTool; navigate(path: string): void }) {
+ const Icon = spriteGlyph(tool.icon);
+ return <CleanupEntryCard label={tool.title} icon={Icon} summary={tool.description}
+ attributes={{ 'data-cleanup-tool': tool.key }} onOpen={() => navigate(tool.path + location.search)} />;
}
const REVIEW = spriteGlyph('square-check-big');
@@ -54,58 +47,55 @@ const QUALITY = spriteGlyph('sparkles');
const DUPLICATES = spriteGlyph('file-stack');
const JUNK = spriteGlyph('file-archive');
const TRASH = spriteGlyph('trash');
-
-/* 扫描与采集跑完,库里多出来的东西会落进这三张读数:复核、高清版与重复文件。 */
-const PROCESSING_READINGS = [REVIEW_COUNTS_KEY, QUALITY_GOALS_KEY, DUPLICATES_KEY];
const refreshReadings = () => {
- for (const queryKey of PROCESSING_READINGS) void queryClient.invalidateQueries({ queryKey, exact: true });
+ for (const queryKey of [REVIEW_COUNTS_KEY, QUALITY_GOALS_KEY, DUPLICATES_KEY, JUNK_KEY]) {
+ void queryClient.invalidateQueries({ queryKey, exact: true });
+ }
};
-export function DataCleanupPage({ toast, failure, open }: DataCleanupProps) {
+export function DataCleanupPage({ toast, open, navigate }: DataCleanupProps) {
const review = useQuery({ queryKey: REVIEW_COUNTS_KEY, queryFn: ({ signal }) => fetchReviewCounts(signal) });
const quality = useQuery({ queryKey: QUALITY_GOALS_KEY, queryFn: ({ signal }) => fetchQualityGoals(signal) });
const duplicates = useQuery({ queryKey: DUPLICATES_KEY, queryFn: ({ signal }) => fetchDuplicates(signal) });
const junk = useQuery({ queryKey: JUNK_KEY, queryFn: ({ signal }) => fetchJunkSummary(signal) });
const trash = useQuery({ queryKey: TRASH_KEY, queryFn: ({ signal }) => fetchTrashSummary(signal) });
- const sources = useQuery({ queryKey: MEDIA_SOURCES_KEY, queryFn: ({ signal }) => fetchMediaSources(signal) });
- const notify = (message: string) => toast(message);
+ useEffect(() => {
+ const target = CLEANUP_HASH_REDIRECTS[location.hash];
+ if (target) location.replace(target + location.search);
+ }, []);
- return (
- <Page>
+ return <Page>
+ <section aria-labelledby="cleanup-pending" className="flex flex-col gap-4">
+ <SectionHeading id="cleanup-pending">待处理事项</SectionHeading>
<div className={PLAIN_STAT_STRIP}>
- <EntryCard section="review" label="人工复核" icon={REVIEW} open={open}
- value={reading(review, reviewSummary)} />
- <EntryCard section="quality" label="高清版" icon={QUALITY} open={open}
- value={reading(quality, (data) => ({ figure: `${Number(data.total || 0).toLocaleString()} 个待升级` }))} />
+ <EntryCard section="review" label="人工复核" icon={REVIEW} open={open} value={reading(review, reviewSummary)} />
<EntryCard section="duplicates" label="重复文件" icon={DUPLICATES} open={open}
- value={reading(duplicates, (data) => (Number(data.total || 0)
- ? {
- figure: `${Number(data.total).toLocaleString()} 组 · ${Number(data.files || 0).toLocaleString()} 个文件`,
- meta: `可回收 ${fmtSize(data.reclaimable || 0)}`,
- }
- : { figure: '没有重复内容' }))} />
+ value={reading(duplicates, data => Number(data.total || 0) ? {
+ figure: `${Number(data.total).toLocaleString()} 组 · ${Number(data.files || 0).toLocaleString()} 个文件`,
+ meta: `可回收 ${fmtSize(data.reclaimable || 0)}`,
+ } : { figure: '没有重复内容' })} />
<EntryCard section="ads" label="垃圾文件" icon={JUNK} open={open}
- value={reading(junk, (data) => ({
- figure: `${Number(data.pending_total || 0).toLocaleString()} 个待判断`, meta: junkBreakdown(data),
- }))} />
+ value={reading(junk, data => ({ figure: `${Number(data.pending_total || 0).toLocaleString()} 个待判断`, meta: junkBreakdown(data) }))} />
+ <EntryCard section="quality" label="高清版" icon={QUALITY} open={open}
+ value={reading(quality, data => ({ figure: `${Number(data.total || 0).toLocaleString()} 个待升级` }))} />
<EntryCard section="trash" label="回收站" icon={TRASH} open={open}
- value={reading(trash, (data) => ({
- figure: `${Number(data.total || 0).toLocaleString()} 项在回收站`,
- meta: data.total ? `占用 ${fmtSize(data.bytes || 0)}` : '',
- }))} />
+ value={reading(trash, data => ({ figure: `${Number(data.total || 0).toLocaleString()} 项在回收站`, meta: data.total ? `占用 ${fmtSize(data.bytes || 0)}` : '查看和还原已移入回收站的内容' }))} />
+ </div>
+ </section>
+ <div id="libraryProcessing" className="scroll-mt-20">
+ <LibraryProcessingCard toast={message => toast(message)} monitor onComplete={refreshReadings} />
+ </div>
+ <section aria-labelledby="cleanup-maintenance" className="flex flex-col gap-4">
+ <SectionHeading id="cleanup-maintenance">整理与维护</SectionHeading>
+ <div className={CLEANUP_ENTRY_GRID}>
+ {CLEANUP_TOOLS.filter(tool => tool.key !== 'batch-delete').map(tool => <ToolEntry key={tool.key} tool={tool} navigate={navigate} />)}
</div>
- <div className="flex flex-col gap-4 max-cleanup-tight:gap-3">
- {/* 卡片和它的提示是两件东西,提示挂在卡片外面:`#libraryProcessing` 是这一格本身,
- 地址栏带着它进来时滚到这里。 */}
- <div id="libraryProcessing" className="scroll-mt-20">
- <LibraryProcessingCard toast={notify} monitor onComplete={refreshReadings} />
- </div>
- <div id="mediaRepair"><MediaRepairCard toast={notify} /></div>
- <OrganizeCard toast={notify} failure={failure} />
+ </section>
+ <section aria-labelledby="cleanup-deletion" className="flex flex-col gap-4">
+ <SectionHeading id="cleanup-deletion">清理与删除</SectionHeading>
+ <div className={CLEANUP_ENTRY_GRID}>
+ {CLEANUP_TOOLS.filter(tool => tool.key === 'batch-delete').map(tool => <ToolEntry key={tool.key} tool={tool} navigate={navigate} />)}
</div>
- <LinkManager />
- <OrphanRecordsCard toast={notify} />
- {hasResourceRoots(sources.data) ? <ResourceSyncCard toast={toast} /> : null}
- </Page>
- );
+ </section>
+ </Page>;
}
diff --git a/frontend/src/react/data-cleanup/data-cleanup-tool-page.tsx b/frontend/src/react/data-cleanup/data-cleanup-tool-page.tsx
new file mode 100644
index 000000000..a58fc4880
--- /dev/null
+++ b/frontend/src/react/data-cleanup/data-cleanup-tool-page.tsx
@@ -0,0 +1,42 @@
+import { useQuery } from '@tanstack/react-query';
+import { errorMessage } from '../../api';
+import type { CleanupToolKey } from '../../cleanup-tools';
+import type { DataCleanupProps } from '../bundle';
+import { Page } from '../components/page';
+import { Fieldset, FieldsetTitle } from '../components/fieldset';
+import { Note } from '../components/note';
+import { MediaRepairCard } from '../media-repair/media-repair-card';
+import { fetchMediaSources, MEDIA_SOURCES_KEY } from '../media-sources';
+import { LinkManager } from './link-manager';
+import { OrganizeCard } from './organize-card';
+import { OrphanRecordsCard } from './orphan-records-card';
+import { PerformerDeleteCard } from './performer-delete-card';
+import { hasResourceRoots } from './resource-sync';
+import { ResourceSyncCard } from './resource-sync-card';
+
+function ResourceSyncPage({ toast }: Pick<DataCleanupProps, 'toast'>) {
+ const sources = useQuery({ queryKey: MEDIA_SOURCES_KEY, queryFn: ({ signal }) => fetchMediaSources(signal) });
+ if (sources.isError) return <Note tone="error" title="读取媒体来源失败">{errorMessage(sources.error)}</Note>;
+ if (sources.isPending) return <p role="status">正在读取媒体来源…</p>;
+ return hasResourceRoots(sources.data) ? <ResourceSyncCard toast={toast} />
+ : <Fieldset layout="stack" label="资源同步"><FieldsetTitle>资源同步</FieldsetTitle>
+ <p className="text-body-regular text-text-secondary">尚未配置可核对的媒体目录。</p>
+ <a href="/settings/library" className="text-body-medium text-accent-600 underline">配置媒体库</a>
+ </Fieldset>;
+}
+
+export function DataCleanupToolPage({ tool, toast, failure }: {
+ tool: CleanupToolKey;
+} & Pick<DataCleanupProps, 'toast' | 'failure'>) {
+ const notify = (message: string) => toast(message);
+ let content;
+ switch (tool) {
+ case 'organize': content = <OrganizeCard toast={notify} failure={failure} />; break;
+ case 'resource-sync': content = <ResourceSyncPage toast={toast} />; break;
+ case 'orphan-records': content = <OrphanRecordsCard toast={notify} />; break;
+ case 'media-repair': content = <MediaRepairCard toast={notify} />; break;
+ case 'links': content = <LinkManager />; break;
+ case 'batch-delete': content = <PerformerDeleteCard toast={notify} />; break;
+ }
+ return <Page>{content}</Page>;
+}
diff --git a/frontend/src/react/data-cleanup/data-cleanup.ts b/frontend/src/react/data-cleanup/data-cleanup.ts
index d3882b31a..8750ab1f6 100644
--- a/frontend/src/react/data-cleanup/data-cleanup.ts
+++ b/frontend/src/react/data-cleanup/data-cleanup.ts
@@ -12,6 +12,7 @@
* 各卡各自失败各自算:复核接口出错不该把回收站那张卡也变成「读取失败」,所以是五个
* `useQuery`,不是一次 `Promise.all`。 */
import type { QueryKey } from '@tanstack/react-query';
+import type { CleanupToolKey } from '../../cleanup-tools';
import { apiGet } from '../../api';
import { DUPLICATES_KEY, fetchDuplicates } from '../duplicates/duplicates';
@@ -27,6 +28,7 @@ import {
import { prefetchOrganize } from './organize';
import { fetchOrphanRecords, ORPHAN_RECORDS_KEY } from './orphan-records';
import { prefetchResourceSync } from './resource-sync';
+import { fetchDeletePerformers, PERFORMER_DELETE_KEY } from './performer-delete';
export const REVIEW_COUNTS_URL = '/api/review?counts=1';
export const REVIEW_COUNTS_KEY = ['review', 'counts'] as const;
@@ -91,41 +93,38 @@ export function junkBreakdown(summary: JunkSummary | undefined): string {
return parts.join(' · ');
}
-/** 首屏不等的那几份:各自的 `useQuery` 挂载时取。 */
+/** 状态摘要独立读取;某一份失败时只影响对应入口的读数。 */
const LAZY_QUERIES: [QueryKey, (context: { signal: AbortSignal }) => Promise<unknown>][] = [
[REVIEW_COUNTS_KEY, ({ signal }) => fetchReviewCounts(signal)],
[QUALITY_GOALS_KEY, ({ signal }) => fetchQualityGoals(signal)],
[TRASH_KEY, ({ signal }) => fetchTrashSummary(signal)],
- [LINKS_KEY, ({ signal }) => fetchLinkStats(signal)],
- [LINK_CHECK_KEY, ({ signal }) => fetchLinkCheck(signal)],
- [LINK_PRUNE_KEY, ({ signal }) => fetchLinkPrune(signal)],
- [ORPHAN_RECORDS_KEY, ({ signal }) => fetchOrphanRecords(signal)],
+ [JUNK_KEY, ({ signal }) => fetchJunkSummary(signal)],
+ [DUPLICATES_KEY, ({ signal }) => fetchDuplicates(signal)],
];
-/** 首屏:顶上那排读数、这次会扫哪几个来源,以及两张后台任务卡、整理卡与资源同步。
- *
- * 等的是画出第一屏必需的那几份:遗留壳已经铺了骨架,页面自己再转一次圈就是同一次进入里
- * 两段等待态。复核与高清版那两个数和链接统计各读各的,慢的时候不该拖住整页,所以不等。
- *
- * 不等的那几份在缓存里已经有一版时(又一次进这一页)要重取:共用的 `queryClient` 挂载时
- * 不重取已缓存的键,不在这里推一把,读数就停在上一次进来时的样子。第一次进来时它们还
- * 没有缓存,由各自的 `useQuery` 挂载时取。
- *
- * 锚点定位要等读数、链接管理与孤儿记录就绪,让滚动使用内容落地后的坐标。 */
+/** 首页等待日常扫描状态;维护工具的表单、任务和清单进入二级页后再读取。 */
export async function prefetchDataCleanup(signal: AbortSignal): Promise<void> {
- const anchored = !!location.hash;
- const lazy = LAZY_QUERIES.map(([queryKey, queryFn]) => {
- if (anchored) return queryClient.fetchQuery({ queryKey, queryFn: () => queryFn({ signal }) }).catch(() => undefined);
- if (queryClient.getQueryState(queryKey)) void queryClient.prefetchQuery({ queryKey, queryFn });
- return undefined;
- });
- await Promise.all([
- ...lazy,
- queryClient.fetchQuery({ queryKey: JUNK_KEY, queryFn: () => fetchJunkSummary(signal) }),
- queryClient.fetchQuery({ queryKey: DUPLICATES_KEY, queryFn: () => fetchDuplicates(signal) }),
- prefetchMediaSources(signal).then(() => prefetchResourceSync(signal)),
- prefetchLibraryProcessing(signal),
- prefetchMediaRepair(signal),
- prefetchOrganize(signal),
- ]);
+ for (const [queryKey, queryFn] of LAZY_QUERIES) {
+ void queryClient.prefetchQuery({ queryKey, queryFn: () => queryFn({ signal }) });
+ }
+ await prefetchLibraryProcessing(signal);
+}
+
+/** 进入维护工具时才读取它的状态、配置与结果。 */
+export async function prefetchDataCleanupTool(tool: CleanupToolKey, signal: AbortSignal): Promise<void> {
+ switch (tool) {
+ case 'organize': await prefetchOrganize(signal); break;
+ case 'media-repair': await prefetchMediaRepair(signal); break;
+ case 'resource-sync': await prefetchMediaSources(signal); await prefetchResourceSync(signal); break;
+ case 'orphan-records':
+ await queryClient.prefetchQuery({ queryKey: ORPHAN_RECORDS_KEY, queryFn: () => fetchOrphanRecords(signal) }); break;
+ case 'batch-delete':
+ await queryClient.prefetchQuery({ queryKey: PERFORMER_DELETE_KEY, queryFn: () => fetchDeletePerformers(signal) }); break;
+ case 'links':
+ await Promise.all([
+ queryClient.prefetchQuery({ queryKey: LINKS_KEY, queryFn: () => fetchLinkStats(signal) }),
+ queryClient.prefetchQuery({ queryKey: LINK_CHECK_KEY, queryFn: () => fetchLinkCheck(signal) }),
+ queryClient.prefetchQuery({ queryKey: LINK_PRUNE_KEY, queryFn: () => fetchLinkPrune(signal) }),
+ ]); break;
+ }
}
diff --git a/frontend/src/react/data-cleanup/orphan-records-card.tsx b/frontend/src/react/data-cleanup/orphan-records-card.tsx
index f0bed71f1..1ab1b355e 100644
--- a/frontend/src/react/data-cleanup/orphan-records-card.tsx
+++ b/frontend/src/react/data-cleanup/orphan-records-card.tsx
@@ -126,7 +126,6 @@ export function OrphanRecordsCard({ toast }: { toast(message: string): void }) {
{ id: 'target', label: '操作', width: items.some(item => item.candidates.length) ? 360 : 128, min: 128, value: (item) => item.candidates.length,
render: (item) => <OrphanActions item={item} toast={toast} /> },
];
- if (!query.isError && !items.length) return null;
return (
<section id="orphan-records" aria-labelledby="orphan-records-title" className="flex scroll-mt-20 flex-col gap-4">
{query.isError
diff --git a/frontend/src/react/data-cleanup/performer-delete-card.tsx b/frontend/src/react/data-cleanup/performer-delete-card.tsx
new file mode 100644
index 000000000..0c9b12c63
--- /dev/null
+++ b/frontend/src/react/data-cleanup/performer-delete-card.tsx
@@ -0,0 +1,131 @@
+import { useEffect, useMemo, useRef, useState } from 'react';
+import { useQuery } from '@tanstack/react-query';
+import { entityFaceImg } from '@peach/card-art';
+import { entityPath, esc, firstGrapheme, fmtSize } from '@peach/legacy/core';
+import { confirmModal } from '@peach/legacy/ui';
+import { Button } from '@/components/base/buttons/button';
+import { cx } from '@/utils/cx';
+
+import { errorMessage } from '../../api';
+import { entityDisplayName, nameFallback } from '../../core/entity-names';
+import { DataTable, type DataColumn } from '../components/data-table';
+import { Fieldset, FieldsetTitle } from '../components/fieldset';
+import { LEGACY_AVATAR_IMG } from '../components/legacy-avatar';
+import { Note } from '../components/note';
+import { IndexSearch } from '../index/index-search';
+import { queryClient } from '../query';
+import { busyProps } from '../settings/busy-props';
+import { useEntityNames } from '../use-entity-names';
+import { TRASH_KEY } from './data-cleanup';
+import {
+ deletePerformerVideos, fetchDeletePerformers, fetchDeletePlan, PERFORMER_DELETE_KEY,
+ type DeletePerformer, type PerformerDeleteResult,
+} from './performer-delete';
+
+const DESCRIPTION = '勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。';
+
+function PerformerName({ person }: { person: DeletePerformer }) {
+ const name = entityDisplayName('performer', person.k, person.entity_id);
+ const fallback = nameFallback('performer', person.k, person.entity_id);
+ return <a href={entityPath('performer', person.k, person.entity_id)} title={fallback || name}
+ className="flex min-w-0 items-center gap-3 text-text-primary">
+ <span aria-hidden className={cx('relative flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium', LEGACY_AVATAR_IMG)}
+ dangerouslySetInnerHTML={{ __html: `<span>${esc(firstGrapheme(name))}</span>` + entityFaceImg({
+ kind: 'performer', id: person.entity_id, hasImage: person.has_image, version: person.image_version,
+ focus: person.avatar_focus, thumb: true,
+ }) }} />
+ <span className="min-w-0 wrap-anywhere">{name}</span>
+ </a>;
+}
+
+export function PerformerDeleteCard({ toast }: { toast(message: string): void }) {
+ useEntityNames();
+ const query = useQuery({ queryKey: PERFORMER_DELETE_KEY, queryFn: ({ signal }) => fetchDeletePerformers(signal) });
+ const [selected, setSelected] = useState<string[]>([]);
+ const [search, setSearch] = useState('');
+ const [busy, setBusy] = useState(false);
+ const [result, setResult] = useState<PerformerDeleteResult | null>(null);
+ const [error, setError] = useState('');
+ const request = useRef<AbortController | null>(null);
+ useEffect(() => () => request.current?.abort(), []);
+
+ const columns = useMemo<DataColumn<DeletePerformer>[]>(() => [
+ { id: 'name', label: '女优', width: 280, min: 160, value: person => person.k,
+ render: person => <PerformerName person={person} /> },
+ { id: 'works', label: '影片', width: 104, min: 80, value: person => person.n,
+ render: person => `${person.n.toLocaleString()} 部` },
+ { id: 'files', label: '文件', width: 104, min: 80, value: person => person.file_count,
+ render: person => `${person.file_count.toLocaleString()} 个` },
+ { id: 'bytes', label: '登记大小', width: 136, min: 104, value: person => person.bytes,
+ render: person => fmtSize(person.bytes) },
+ ], []);
+ const needle = search.toLocaleLowerCase();
+ const items = (query.data?.items || []).filter(person => !needle || [person.k,
+ entityDisplayName('performer', person.k, person.entity_id), ...person.aliases,
+ ].some(name => name.toLocaleLowerCase().includes(needle)));
+
+ const remove = async (chosen: DeletePerformer[], clear: () => void) => {
+ if (busy) return;
+ setBusy(true);
+ setError('');
+ const controller = new AbortController();
+ request.current = controller;
+ try {
+ const plan = await fetchDeletePlan(chosen.map(person => person.entity_id), controller.signal);
+ controller.signal.throwIfAborted();
+ if (!plan.total) { toast('所选女优没有可删除的影片'); return }
+ const names = plan.performers.map(person => entityDisplayName('performer', person.name, person.id));
+ const examples = [...new Set(plan.items.map(item => item.code || item.name || `#${item.id}`))];
+ const done = await confirmModal({
+ title: '删除所选女优的全部影片',
+ body: `将永久删除 ${names.slice(0, 5).join('、')}${names.length > 5 ? `等 ${names.length} 位女优` : ''} 关联的 ${plan.total} 个影片文件(登记大小 ${fmtSize(plan.bytes)})。`
+ + '范围包含全部来源和回收站,不受当前搜索、排序或分页影响。文件、影片资料和观看记录将永久删除,无法恢复;女优档案和照片保留。'
+ + (plan.shared ? `其中 ${plan.shared} 个文件还关联了未勾选的女优,删除后也会从她们的作品中消失。` : '')
+ + `涉及:${examples.slice(0, 5).join('、')}${examples.length > 5 ? `等 ${examples.length} 部作品` : ''}。`,
+ confirmLabel: '永久删除影片', danger: true,
+ onConfirm: () => deletePerformerVideos(plan),
+ });
+ if (!done.confirmed) return;
+ const outcome = done.result as PerformerDeleteResult;
+ setResult(outcome);
+ clear();
+ await Promise.all([
+ queryClient.invalidateQueries({ queryKey: PERFORMER_DELETE_KEY, exact: true }),
+ queryClient.invalidateQueries({ queryKey: TRASH_KEY, exact: true }),
+ ]);
+ toast(`已永久删除 ${outcome.purged} 个影片文件${outcome.blocked.length ? `,${outcome.blocked.length} 个未删除` : ''}`);
+ } catch (cause) {
+ if (!controller.signal.aborted) setError(errorMessage(cause));
+ } finally {
+ if (!controller.signal.aborted) setBusy(false);
+ }
+ };
+
+ const failures = result ? [
+ ...result.blocked, ...result.cleanup_pending,
+ ...result.cache_blocked.map(item => ({ path: item.name, reason: item.reason })),
+ ] : [];
+ return <section id="batch-delete" className="flex min-w-0 scroll-mt-20 flex-col gap-3" aria-label="批量删除">
+ {query.isPending || query.isError ? <Fieldset layout="stack" labelledBy="batch-delete-title">
+ <FieldsetTitle id="batch-delete-title">批量删除</FieldsetTitle>
+ {query.isError ? <Note tone="error" title="读取女优列表失败"
+ action={<Button variant="secondary" size="small" onClick={() => void query.refetch()}>重试</Button>}>
+ {errorMessage(query.error)}</Note> : <p role="status" className="text-body-regular text-text-secondary">正在读取女优列表…</p>}
+ </Fieldset> : <DataTable label="女优影片" title="批量删除" titleId="batch-delete-title" unit="位女优"
+ description={DESCRIPTION} items={items} columns={columns}
+ rowId={person => String(person.entity_id)} rowLabel={person => entityDisplayName('performer', person.k, person.entity_id)}
+ selected={selected} onSelected={setSelected}
+ toolbarActions={<IndexSearch label="搜索女优姓名或别名" value={search} onQuery={value => { setSearch(value); setSelected([]) }} />}
+ actions={(chosen, clear) => <Button variant="danger" size="small" {...busyProps(busy)}
+ onClick={() => void remove(chosen, clear)}>删除所选女优影片</Button>} />}
+ {error ? <Note tone="error" title="未能读取删除清单">{error}</Note> : null}
+ {result ? <Note tone={failures.length ? 'warning' : 'info'} title={`已永久删除 ${result.purged} 个影片文件`}
+ extra={failures.length ? <div className="flex flex-col gap-2 text-body-2-regular wrap-anywhere">
+ {failures.slice(0, 5).map((item, index) => <p key={index}>{item.path}({item.reason})</p>)}
+ </div> : null}>
+ {failures.length
+ ? `${result.blocked.length} 个文件未能删除,馆藏记录仍保留;${result.cleanup_pending.length} 个隔离文件和 ${result.cache_blocked.length} 个缓存文件待清理。`
+ : '所选影片及关联记录已删除,女优档案和照片保留。'}
+ </Note> : null}
+ </section>;
+}
diff --git a/frontend/src/react/data-cleanup/performer-delete.ts b/frontend/src/react/data-cleanup/performer-delete.ts
new file mode 100644
index 000000000..ab9acae98
--- /dev/null
+++ b/frontend/src/react/data-cleanup/performer-delete.ts
@@ -0,0 +1,37 @@
+import { apiGet, apiSend } from '../../api';
+import type { IndexPerson } from '../index/index-data';
+
+export const PERFORMER_DELETE_KEY = ['performer-delete-candidates'] as const;
+
+export interface DeletePerformer extends IndexPerson {
+ entity_id: number;
+ aliases: string[];
+ file_count: number;
+ bytes: number;
+}
+
+export interface PerformerDeletePlan {
+ entity_ids: number[];
+ performers: { id: number; name: string }[];
+ plan: string;
+ total: number;
+ bytes: number;
+ shared: number;
+ items: { id: number; code: string | null; name: string | null }[];
+}
+
+export interface PerformerDeleteResult {
+ purged: number;
+ blocked: { id: number; path: string; reason: string }[];
+ cleanup_pending: { path: string; reason: string }[];
+ cache_blocked: { name: string; reason: string }[];
+}
+
+export const fetchDeletePerformers = (signal: AbortSignal) =>
+ apiGet<{ items: DeletePerformer[] }>('/api/performer/delete-candidates', signal);
+
+export const fetchDeletePlan = (ids: number[], signal: AbortSignal) =>
+ apiGet<PerformerDeletePlan>(`/api/performer/delete-plan?${new URLSearchParams({ ids: ids.join(',') })}`, signal);
+
+export const deletePerformerVideos = (plan: PerformerDeletePlan) =>
+ apiSend<PerformerDeleteResult>('/api/performer/delete', { entity_ids: plan.entity_ids, plan: plan.plan });
diff --git a/frontend/src/react/router/managed-routes.tsx b/frontend/src/react/router/managed-routes.tsx
index 6af848d88..7f652a790 100644
--- a/frontend/src/react/router/managed-routes.tsx
+++ b/frontend/src/react/router/managed-routes.tsx
@@ -22,7 +22,8 @@ import type { DataCleanupSection, LibraryProcessingProps } from '../bundle';
import { CatalogFilterPage } from '../catalog-filter/catalog-filter-page';
import { prefetchCatalogGrid } from '../catalog-grid/catalog-grid';
import { CatalogGridPage } from '../catalog-grid/catalog-grid-page';
-import { prefetchDataCleanup } from '../data-cleanup/data-cleanup';
+import { prefetchDataCleanup, prefetchDataCleanupTool } from '../data-cleanup/data-cleanup';
+import { CLEANUP_TOOLS, type CleanupToolPath } from '../../cleanup-tools';
import { prefetchEntityPage, type EntityPageProps } from '../entity-page/entity-page';
import { EntityPage } from '../entity-page/entity-page-view';
import { prefetchDuplicates } from '../duplicates/duplicates';
@@ -131,6 +132,17 @@ const configurationRoute = (path: ConfigurationPath): ManagedRoute<ManagedOpenPr
});
export const MANAGED_ROUTES: ManagedRouteTable = {
+ ...(Object.fromEntries(CLEANUP_TOOLS.map(tool => [tool.path, {
+ element: <ManagedMatch path={tool.path} />,
+ prefetch: (_open: Record<string, never>, signal: AbortSignal) =>
+ withPage(dataCleanupPage, prefetchDataCleanupTool(tool.key, signal)),
+ page: (_open: Record<string, never>, actions: ShellActions) => {
+ const { DataCleanupToolPage } = dataCleanupPage.get();
+ return <DataCleanupToolPage tool={tool.key} failure={actions.failure}
+ toast={(message, { warning = false } = {}) => (
+ warning ? actions.toast({ text: message }, { sound: 'warning' }) : actions.receipt(message))} />;
+ },
+ }])) as Pick<ManagedRouteTable, CleanupToolPath>),
'/jav': {
element: <ManagedMatch path="/jav" />,
prefetch: (open, signal) => withPage(javPage, prefetchJav(open.tab, signal)),
@@ -169,13 +181,13 @@ export const MANAGED_ROUTES: ManagedRouteTable = {
revealSource={actions.revealSource} toast={(message) => actions.receipt(message)} />;
},
},
- /* 首屏等顶上那排读数里自己的几份、两张后台任务卡与整理卡;复核、高清版与链接各读各的。 */
+ /* 首页只展开日常扫描;维护工具各自预取自己的二级页数据。 */
'/data-cleanup': {
element: <ManagedMatch path="/data-cleanup" />,
prefetch: (_open, signal) => withPage(dataCleanupPage, prefetchDataCleanup(signal)),
page: (_open, actions, go) => {
const { DataCleanupPage } = dataCleanupPage.get();
- return <DataCleanupPage failure={actions.failure} open={(section) => openCleanupSection(section, actions, go)}
+ return <DataCleanupPage navigate={go} failure={actions.failure} open={(section) => openCleanupSection(section, actions, go)}
toast={(message, { warning = false } = {}) => (
warning ? actions.toast({ text: message }, { sound: 'warning' }) : actions.receipt(message))} />;
},
diff --git a/frontend/src/react/router/pages/managed.tsx b/frontend/src/react/router/pages/managed.tsx
index de5366326..0e16a6447 100644
--- a/frontend/src/react/router/pages/managed.tsx
+++ b/frontend/src/react/router/pages/managed.tsx
@@ -13,6 +13,7 @@
* 等下一次认领表面才收。收起排进微任务:卸载发生在路由根同步提交的那一次里。 */
import { useContext, useEffect, useRef, useSyncExternalStore } from 'react';
import { useLocation } from 'react-router';
+import { CLEANUP_TOOLS } from '../../../cleanup-tools';
import { appSettingsStore } from '@peach/appearance';
import { followManageParams } from '../../follow-manage/manage-route';
@@ -115,7 +116,7 @@ async function openProps(path: ManagedPath, run: Run): Promise<object | null> {
}
const scrollTop = (): void => { window.scrollTo({ top: 0, behavior: routeScrollBehavior() }) };
-const SCROLL_TOP = new Set<ManagedPath>(['/stats', '/taste', '/review', '/quality-goals', '/tasks', '/subscriptions']);
+const SCROLL_TOP = new Set<ManagedPath>(['/stats', '/taste', '/review', '/quality-goals', '/tasks', '/subscriptions', ...CLEANUP_TOOLS.map(tool => tool.path)]);
async function openPage(path: ManagedPath, actions: ShellActions, run: Run): Promise<void> {
const seq = peachHistory.navigation.seq;
@@ -206,7 +207,7 @@ function ManagedPage({ path, covered }: { path: ManagedPath; covered: boolean })
return null;
}
-/** 旧直达地址 `/resource-sync`:改写成数据管理页的资源同步锚点,不加历史条目,再由数据管理页的元素打开。 */
+/** 资源同步的旧直达地址转到二级页,不增加历史条目。 */
export function ResourceSyncRedirect() {
const started = useRoutingStarted();
const done = useRef(false);
@@ -216,7 +217,7 @@ export function ResourceSyncRedirect() {
let live = true;
queueMicrotask(() => {
if (!live) return;
- shellNavigate('/data-cleanup#resource-sync', { replace: true });
+ shellNavigate('/data-cleanup/resource-sync', { replace: true });
});
return () => { live = false };
}, [started]);
diff --git a/frontend/src/react/router/router.tsx b/frontend/src/react/router/router.tsx
index 4aa507b36..ebaa2c0ef 100644
--- a/frontend/src/react/router/router.tsx
+++ b/frontend/src/react/router/router.tsx
@@ -159,7 +159,7 @@ function RouteGroups({ children }: { children?: ReactNode }) {
<Routes location={background ?? location}>
{/* ── 管理区 ── */}
{Object.entries(MANAGED_ROUTES).map(([path, route]) => <Route key={path} path={path} element={route.element} />)}
- {/* 旧直达地址:元素把它改写成 `/data-cleanup#resource-sync`,由数据管理页的元素打开。 */}
+ {/* 资源同步的旧直达地址转到数据管理下的二级页。 */}
{Object.entries(REDIRECT_ROUTES).map(([path, route]) => <Route key={path} path={path} element={route.element} />)}
diff --git a/frontend/src/react/router/shell-actions.ts b/frontend/src/react/router/shell-actions.ts
index 7eea4f700..229104bb1 100644
--- a/frontend/src/react/router/shell-actions.ts
+++ b/frontend/src/react/router/shell-actions.ts
@@ -162,7 +162,8 @@ export type SurfaceKind = 'management' | 'index' | 'entity' | 'catalog' | 'follo
/** 管理区那几页每次打开时交给页面的值,由页面元素从地址、偏好与壳的状态算(`pages/managed.tsx`),按页面分。
* 管理区那几页画进 `#stats`。 */
-export interface ManagedOpenProps extends Record<ConfigurationPath, { section?: string }> {
+export interface ManagedOpenProps extends Record<ConfigurationPath, { section?: string }>,
+ Record<import('../../cleanup-tools').CleanupToolPath, Record<string, never>> {
'/jav': { tab: string; readOnly: boolean };
'/stats': Record<string, never>;
'/taste': { onboarding: boolean };
diff --git a/frontend/test/management.test.ts b/frontend/test/management.test.ts
index 17452da4d..c9b27024a 100644
--- a/frontend/test/management.test.ts
+++ b/frontend/test/management.test.ts
@@ -1,5 +1,5 @@
import { describe, expect, it } from 'vitest';
-import { cleanupSkeletonHtml, REPAIR_CARD_TEXT, SCAN_CARD_TEXT } from '../src/management';
+import { cleanupSkeletonHtml, SCAN_CARD_TEXT } from '../src/management';
describe('数据管理首屏', () => {
const skeleton = () => {
@@ -7,53 +7,25 @@ describe('数据管理首屏', () => {
root.innerHTML = cleanupSkeletonHtml();
return root;
};
- it('读数卡复用最终排版,名字与图标立即呈现,只有读数画占位', () => {
- const stats = skeleton().querySelectorAll('[inert] > div:first-child > div');
- expect([...stats].map(card => card.querySelector('i use')?.getAttribute('href')))
- .toEqual(['#i-square-check-big', '#i-sparkles', '#i-file-stack', '#i-file-archive', '#i-trash']);
- expect([...stats].map(card => card.firstElementChild?.textContent))
- .toEqual(['人工复核', '高清版', '重复文件', '垃圾文件', '回收站']);
- for (const card of stats) {
- expect(card.querySelector('strong > .skeleton-text')).not.toBeNull();
- expect(card.lastElementChild?.querySelector('.skeleton-text')).not.toBeNull();
- }
- });
- it('任务卡按最终顺序排好:扫描与采集、媒体修复两张岛卡,再是整理', () => {
- const grid = skeleton().querySelector('[inert] > div:nth-child(2)')!;
- expect([...grid.children].map(card => card.id))
- .toEqual(['libraryProcessing', 'mediaRepair', 'organize']);
- for (const card of grid.querySelectorAll(':scope > #libraryProcessing, :scope > #mediaRepair')) {
- expect(card.firstElementChild?.classList.contains('peach-react')).toBe(true);
- }
- const scan = grid.querySelector('#libraryProcessing')!;
- expect(scan.querySelector('p')?.textContent).toBe(SCAN_CARD_TEXT);
- expect(scan.querySelector('.skeleton')).toBeNull();
- expect(scan.querySelector('footer > a')?.getAttribute('href')).toBe('/sources');
- expect(grid.querySelector('#mediaRepair p')?.textContent).toBe(REPAIR_CARD_TEXT);
+
+ it('日常扫描立即呈现,其余操作只展示分组入口', () => {
+ const root = skeleton();
+ expect(root.querySelector('#libraryProcessing p')?.textContent).toBe(SCAN_CARD_TEXT);
+ expect([...root.querySelectorAll('h2')].map(heading => heading.textContent))
+ .toEqual(['待处理事项', '整理与维护', '清理与删除']);
+ expect(root.querySelector('#mediaRepair, #organize, #link-manager, #resource-sync, table')).toBeNull();
+ expect(root.querySelector('#libraryProcessing footer > a')?.getAttribute('href')).toBe('/sources');
});
- it('等数据才能执行的键保持最终变体与尺寸,用原生 disabled 挡住并标成骨架操作键', () => {
+
+ it('扫描按钮保留最终尺寸与变体,在数据就绪前不能操作', () => {
const root = skeleton();
+ expect(root.querySelector('[inert]')).not.toBeNull();
const split = root.querySelector('#libraryProcessing [data-split-button]')!;
expect(split.getAttribute('data-variant')).toBe('primary');
- expect([...split.querySelectorAll('button')].map(button => button.classList.contains('bg-button-primary')))
- .toEqual([true, true]);
- expect(split.querySelector('button:first-child svg')).toBeNull();
expect(split.querySelector('button:last-child use')?.getAttribute('href')).toBe('#i-chevron-down');
- const repair = root.querySelector('#mediaRepair footer > button')!;
- expect(repair.textContent).toBe('开始修复');
- expect(repair.classList.contains('bg-button-primary')).toBe(true);
- expect(repair.hasAttribute('data-skeleton-action')).toBe(true);
- const actions = root.querySelectorAll('button:not([aria-haspopup="listbox"])');
- for (const button of actions) {
+ for (const button of root.querySelectorAll('button')) {
expect(button.hasAttribute('disabled')).toBe(true);
expect(button.hasAttribute('data-skeleton-action')).toBe(true);
}
});
- it('链接管理标题与读数立即呈现,条件面板等待真实状态', () => {
- const root = skeleton();
- expect(root.querySelector('#link-manager h3')?.textContent).toBe('链接管理');
- expect([...root.querySelectorAll('.link-stat-grid > div > span')].map(term => term.textContent))
- .toEqual(['链接总数', '官网/事务所', '社交账号', '作品资料站']);
- expect(root.querySelector('#resource-sync')).toBeNull();
- });
});
diff --git a/frontend/test/react/data-cleanup.test.tsx b/frontend/test/react/data-cleanup.test.tsx
index 3e1ebbb22..d4bd2cb2d 100644
--- a/frontend/test/react/data-cleanup.test.tsx
+++ b/frontend/test/react/data-cleanup.test.tsx
@@ -9,7 +9,9 @@ import { afterEach, describe, expect, it, vi } from 'vitest';
import * as legacyUi from '@peach/legacy/ui';
import type { DataCleanupSection } from '../../src/react/bundle';
-import { DataCleanupPage } from '../../src/react/data-cleanup/data-cleanup-page';
+import { DataCleanupPage, DataCleanupToolPage } from '../../src/react/data-cleanup/data-cleanup-page';
+import { prefetchDataCleanupTool } from '../../src/react/data-cleanup/data-cleanup';
+import type { CleanupToolKey } from '../../src/cleanup-tools';
import { junkBreakdown, prefetchDataCleanup, reviewSummary } from '../../src/react/data-cleanup/data-cleanup';
import { LinkManager } from '../../src/react/data-cleanup/link-manager';
import type { LinkCheckState } from '../../src/react/data-cleanup/links';
@@ -122,9 +124,18 @@ async function openPage(sources: MediaSourcesData = withRoots, patch: Record<str
const server = serve({ ...pageRoutes(sources), ...patch });
await prefetchDataCleanup(new AbortController().signal);
const open = vi.fn<(section: DataCleanupSection) => void>();
- const host = await wrap(<DataCleanupPage toast={vi.fn()} failure={vi.fn()} open={open} />);
+ const navigate = vi.fn<(path: string) => void>();
+ const host = await wrap(<DataCleanupPage toast={vi.fn()} failure={vi.fn()} open={open} navigate={navigate} />);
await settle();
- return { host, open, server };
+ return { host, open, navigate, server };
+}
+
+async function openTool(tool: CleanupToolKey, sources: MediaSourcesData = withRoots) {
+ const server = serve(pageRoutes(sources));
+ await prefetchDataCleanupTool(tool, new AbortController().signal);
+ const host = await wrap(<DataCleanupToolPage tool={tool} toast={vi.fn()} failure={vi.fn()} />);
+ await settle();
+ return { host, server };
}
const entry = (host: ParentNode, section: DataCleanupSection) =>
@@ -132,7 +143,10 @@ const entry = (host: ParentNode, section: DataCleanupSection) =>
describe('读数卡', () => {
it('单面板分区的标题只在面板内显示', async () => {
- const { host } = await openPage();
+ serve(pageRoutes(withRoots));
+ const host = await wrap(<><DataCleanupToolPage tool="links" toast={vi.fn()} failure={vi.fn()} />
+ <DataCleanupToolPage tool="resource-sync" toast={vi.fn()} failure={vi.fn()} /></>);
+ await settle();
for (const id of ['link-manager', 'resource-sync']) {
const section = host.querySelector(`#${id}`)!;
const title = section.querySelector(`#${id}-title`)!;
@@ -178,18 +192,19 @@ describe('读数卡', () => {
});
describe('资源同步', () => {
- it('只在有落盘来源配了根目录时出现,两份任务状态随首屏一起取回', async () => {
+ it('首页不读取资源扫描,进入二级页后才按已配置根目录读取', async () => {
expect(hasResourceRoots(withRoots)).toBe(true);
expect(hasResourceRoots(withoutRoots)).toBe(false);
const server = serve(pageRoutes(withRoots));
await prefetchDataCleanup(new AbortController().signal);
- expect(server.calls.map((call) => call.path)).toEqual(expect.arrayContaining(['/api/resource-sync/scan', '/api/resource-sync/apply']));
+ expect(server.calls.some(call => call.path.startsWith('/api/resource-sync'))).toBe(false);
queryClient.clear();
- const shown = await openPage(withRoots);
+ const shown = await openTool('resource-sync', withRoots);
expect(shown.host.querySelector('#resource-sync')).not.toBeNull();
queryClient.clear();
- const hidden = await openPage(withoutRoots);
+ const hidden = await openTool('resource-sync', withoutRoots);
expect(hidden.host.querySelector('#resource-sync')).toBeNull();
+ expect(hidden.host.textContent).toContain('尚未配置可核对的媒体目录');
expect(hidden.server.calls.some((call) => call.path.startsWith('/api/resource-sync'))).toBe(false);
});
diff --git a/scripts/test_runner.py b/scripts/test_runner.py
index ee27574d7..e2d89eb4d 100644
--- a/scripts/test_runner.py
+++ b/scripts/test_runner.py
@@ -38,7 +38,7 @@ SCOPES: dict[str, tuple[str, ...]] = {
"test_complexity_ratchet.py", "test_source_assertion_ratchet.py", "test_python_lint.py"),
"follow": ("test_follow*.py", "test_http.py", "test_migrations.py", "test_wants_web.py"),
"catalog": ("test_ad_judgement.py", "test_composite_name_split.py", "test_media_libraries.py", "test_media_folders.py",
- "test_content_region.py",
+ "test_content_region.py", "test_performer_delete.py",
"test_duplicate_identity_merge.py",
"test_entity_classification.py", "test_company_profiles.py", "test_fc2_sellers.py",
"test_entity_merge.py", "test_entity_redirect.py", "test_fastapi_api.py", "test_field_owners.py",
diff --git a/src/peach/routes_pages.py b/src/peach/routes_pages.py
index 74c248136..73f00d4cf 100644
--- a/src/peach/routes_pages.py
+++ b/src/peach/routes_pages.py
@@ -971,6 +971,12 @@ def entity_route(request: Request, name: str,
@router.api_route("/review", methods=["GET", "HEAD"])
@router.api_route("/taste", methods=["GET", "HEAD"])
@router.api_route("/data-cleanup", methods=["GET", "HEAD"])
[email protected]_route("/data-cleanup/organize", methods=["GET", "HEAD"])
[email protected]_route("/data-cleanup/resource-sync", methods=["GET", "HEAD"])
[email protected]_route("/data-cleanup/orphan-records", methods=["GET", "HEAD"])
[email protected]_route("/data-cleanup/media-repair", methods=["GET", "HEAD"])
[email protected]_route("/data-cleanup/links", methods=["GET", "HEAD"])
[email protected]_route("/data-cleanup/batch-delete", methods=["GET", "HEAD"])
@router.api_route("/duplicates", methods=["GET", "HEAD"])
@router.api_route("/quality-goals", methods=["GET", "HEAD"])
# 任务中心那一屏(island),数据走 `/api/tasks`。深链要能直接打开:定时任务被挡下时
diff --git a/src/peach/web_performer_delete.py b/src/peach/web_performer_delete.py
new file mode 100644
index 000000000..413ec1d4c
--- /dev/null
+++ b/src/peach/web_performer_delete.py
@@ -0,0 +1,104 @@
+"""在数据管理中按女优复核并永久删除关联影片。"""
+from __future__ import annotations
+
+import hashlib
+import json
+
+from .task_runs import TaskRunHandle
+from .web_batch import _finish_purge, _restore_staged_media, purge_assets
+from .web_entity import _decorate_index
+from .web_resource_sync import clean_resource_orphans
+
+
+def _performer_ids(values):
+ if not isinstance(values, list) or not values:
+ raise ValueError("请先选择女优")
+ ids = []
+ for value in values:
+ text = str(value)
+ if not text.isascii() or not text.isdecimal() or len(text) > 19 or not 0 < int(text) < 2**63:
+ raise ValueError("请选择有效的女优")
+ ids.append(int(text))
+ return sorted(set(ids))
+
+
+def q_performer_delete_candidates(contract, args):
+ with contract.read_connection() as connection:
+ rows = [dict(row) for row in connection.execute(
+ "SELECT e.id entity_id,e.canonical_name k,"
+ "COUNT(DISTINCT COALESCE(NULLIF(a.code,''),'asset:'||a.id)) n,"
+ "COUNT(*) file_count,SUM(COALESCE(a.size,0)) bytes "
+ "FROM (SELECT DISTINCT entity_id,asset_id FROM asset_entity) ae "
+ "JOIN entity e ON e.id=ae.entity_id JOIN asset a ON a.id=ae.asset_id "
+ "WHERE e.kind='performer' AND a.medium='video' "
+ "GROUP BY e.id ORDER BY file_count DESC,e.canonical_name,e.id")]
+ aliases = {}
+ for entity_id, alias in connection.execute('SELECT entity_id,alias FROM entity_alias'):
+ aliases.setdefault(entity_id, []).append(alias)
+ for row in rows:
+ row['aliases'] = aliases.get(row['entity_id'], [])
+ return _decorate_index(contract, 'performers', rows, False, None)
+
+
+def _selection(connection, ids):
+ marks = ','.join('?' for _ in ids)
+ people = connection.execute(
+ f"SELECT id,canonical_name FROM entity WHERE id IN ({marks}) AND kind='performer' ORDER BY id", ids,
+ ).fetchall()
+ if len(people) != len(ids):
+ raise ValueError("所选女优不存在,请刷新列表")
+ rows = connection.execute(
+ "SELECT a.* FROM asset a WHERE a.medium='video' AND EXISTS "
+ f"(SELECT 1 FROM asset_entity ae WHERE ae.asset_id=a.id AND ae.entity_id IN ({marks})) ORDER BY a.id",
+ ids,
+ ).fetchall()
+ reviewed = [(row['id'], row['path'], row['mutation_revision'], row['disposal']) for row in rows]
+ token = hashlib.sha256(json.dumps(
+ [[(person['id'], person['canonical_name']) for person in people], reviewed], ensure_ascii=False,
+ ).encode()).hexdigest()
+ return people, rows, token
+
+
+def q_performer_delete_plan(contract, args):
+ ids = _performer_ids(str(args.get('ids', '')).split(','))
+ marks = ','.join('?' for _ in ids)
+ with contract.read_connection() as connection:
+ people, rows, token = _selection(connection, ids)
+ shared = connection.execute(
+ "SELECT COUNT(DISTINCT ae.asset_id) FROM asset_entity ae "
+ f"JOIN entity e ON e.id=ae.entity_id WHERE e.kind='performer' AND ae.entity_id NOT IN ({marks}) "
+ f"AND ae.asset_id IN (SELECT asset_id FROM asset_entity WHERE entity_id IN ({marks})) "
+ "AND ae.asset_id IN (SELECT id FROM asset WHERE medium='video')", ids + ids,
+ ).fetchone()[0]
+ return {'entity_ids': ids, 'performers': [{'id': p['id'], 'name': p['canonical_name']} for p in people],
+ 'plan': token, 'total': len(rows), 'bytes': sum(row['size'] or 0 for row in rows), 'shared': shared,
+ 'items': [{'id': row['id'], 'code': row['code'], 'name': row['name']} for row in rows]}
+
+
+def w_performer_delete(contract, body):
+ ids = _performer_ids(body.get('entity_ids'))
+ if not isinstance(body.get('plan'), str) or len(body['plan']) != 64:
+ raise ValueError("请先查看影片删除清单")
+ run = contract.task_runs.start('batch', trigger='manual', label='按女优永久删除影片')
+ handle = TaskRunHandle(contract.task_runs, run.id if run else None)
+ outcome = None
+ try:
+ with contract.write_transaction() as connection:
+ connection.execute('BEGIN IMMEDIATE')
+ _people, rows, token = _selection(connection, ids)
+ if token != body['plan']:
+ raise ValueError("影片清单已变化,请关闭确认窗口后重新查看")
+ if not rows:
+ raise ValueError("没有可删除的影片")
+ outcome = purge_assets(connection, rows)
+ except BaseException as error:
+ if outcome is not None:
+ _restore_staged_media(outcome['_staged'])
+ handle.finish('failed', error=f'{type(error).__name__}: {error}')
+ raise
+ contract.cache_bust()
+ result = {'ok': True, 'entity_ids': ids, **_finish_purge(outcome)}
+ result.update(clean_resource_orphans(contract))
+ handle.finish('succeeded', summary={'operation': 'performer-delete',
+ 'changed': result['purged'], 'blocked': len(result['blocked'])})
+ return result
diff --git a/src/peach/web_router.py b/src/peach/web_router.py
index 624d659a7..878c88abd 100644
--- a/src/peach/web_router.py
+++ b/src/peach/web_router.py
@@ -22,6 +22,7 @@ from .web_activity import (
w_watch_later,
)
from .web_batch import q_ads, q_duplicates, w_batch, w_empty_trash
+from .web_performer_delete import q_performer_delete_candidates, q_performer_delete_plan, w_performer_delete
from .web_tags import q_tag_management, w_tag_management, w_tag_preview
from .taste_history import history_source_count
from .web_catalog import (
@@ -387,6 +388,8 @@ GET_HANDLERS = {
"/api/parts": q_parts,
"/api/editions": q_editions,
"/api/entity": q_entity,
+ "/api/performer/delete-plan": q_performer_delete_plan,
+ "/api/performer/delete-candidates": q_performer_delete_candidates,
"/api/entity/shapes": _get_entity_shapes,
"/api/links": w_links,
"/api/photos": q_entity_photos,
@@ -476,6 +479,7 @@ POST_HANDLERS = {
"/api/settings": w_settings,
"/api/library-shortcuts": w_library_shortcuts,
"/api/entity-name": w_entity_name,
+ "/api/performer/delete": w_performer_delete,
"/api/entity-alias": w_entity_alias,
"/api/face-models": _post_face_models,
}
diff --git a/tests/test_performer_delete.py b/tests/test_performer_delete.py
new file mode 100644
index 000000000..86d90cec4
--- /dev/null
+++ b/tests/test_performer_delete.py
@@ -0,0 +1,132 @@
+"""女优影片删除的范围复核、文件失败和事务回滚。"""
+import tempfile
+import unittest
+from pathlib import Path
+from unittest import mock
+
+from support.ledger import fresh_ledger
+from peach.web_performer_delete import q_performer_delete_candidates, q_performer_delete_plan, w_performer_delete
+from peach.web_state import WebContract
+
+
+class PerformerDeleteTests(unittest.TestCase):
+ def setUp(self):
+ temp = tempfile.TemporaryDirectory()
+ self.addCleanup(temp.cleanup)
+ self.root = Path(temp.name).resolve()
+ self.contract = WebContract(fresh_ledger(self.root), avatar_root=self.root / 'avatars')
+ self.contract.resource_cleanup_enabled = False
+ roots = mock.patch('peach.web_batch.LOCATION_ROOT_DECLARATIONS', {'local': (str(self.root),)})
+ roots.start()
+ self.addCleanup(roots.stop)
+ with self.contract.write_transaction() as c:
+ for entity_id, kind in ((1, 'performer'), (2, 'performer'), (3, 'studio')):
+ c.execute("INSERT INTO entity(id,kind,canonical_name,normalized_name,created_at,updated_at) "
+ "VALUES(?,?,?,?, '2026-01-01','2026-01-01')", (entity_id, kind, f'人物{entity_id}', f'人物{entity_id}'))
+
+ def add(self, asset_id, entity_id=1, medium='video', disposal=None):
+ path = self.root / f'{asset_id}.mp4'
+ path.write_bytes(b'temporary media')
+ with self.contract.write_transaction() as c:
+ c.execute('INSERT INTO asset(id,location,path,medium,disposal,size) VALUES(?,?,?,?,?,?)',
+ (asset_id, 'local', str(path), medium, disposal, path.stat().st_size))
+ c.execute("INSERT INTO asset_entity(asset_id,entity_id,role,source) VALUES(?,?,'performer','user:manual')",
+ (asset_id, entity_id))
+ return path
+
+ def plan(self, ids='1'):
+ return q_performer_delete_plan(self.contract, {'ids': ids})
+
+ def delete(self, plan):
+ return w_performer_delete(self.contract, {'entity_ids': plan['entity_ids'], 'plan': plan['plan']})
+
+ def test_plan_includes_all_video_states_and_shared_files_but_not_photos_or_other_people(self):
+ self.add(1)
+ self.add(2, disposal='trash')
+ self.add(3, medium='image')
+ self.add(4, entity_id=2)
+ with self.contract.write_transaction() as c:
+ c.execute("INSERT INTO asset_entity(asset_id,entity_id,role,source) VALUES(1,2,'performer','user:manual')")
+ plan = self.plan()
+ self.assertEqual([r['id'] for r in plan['items']], [1, 2])
+ self.assertEqual(plan['shared'], 1)
+ self.assertTrue((self.root / '1.mp4').exists())
+
+ def test_changed_selection_is_rejected_before_touching_any_media(self):
+ first = self.add(1)
+ plan = self.plan()
+ second = self.add(2)
+ with self.assertRaisesRegex(ValueError, '清单已变化'):
+ self.delete(plan)
+ self.assertTrue(first.exists())
+ self.assertTrue(second.exists())
+
+ def test_more_than_200_files_delete_together_and_keep_profile_photos_and_unrelated_media(self):
+ for asset_id in range(1, 202):
+ self.add(asset_id)
+ photo = self.add(202, medium='image')
+ other = self.add(203, entity_id=2)
+ result = self.delete(self.plan())
+ self.assertEqual(result['purged'], 201)
+ self.assertEqual(result['blocked'], [])
+ self.assertFalse((self.root / '1.mp4').exists())
+ self.assertTrue(photo.exists())
+ self.assertTrue(other.exists())
+ with self.contract.read_connection() as c:
+ self.assertEqual(c.execute('SELECT COUNT(*) FROM entity WHERE id=1').fetchone()[0], 1)
+ self.assertEqual([r[0] for r in c.execute('SELECT id FROM asset ORDER BY id')], [202, 203])
+ self.assertEqual(c.execute('PRAGMA foreign_key_check').fetchall(), [])
+
+ def test_file_failure_preserves_its_ledger_row_and_reports_the_reason(self):
+ path = self.add(1)
+ with mock.patch('peach.web_batch._quarantine_media', side_effect=PermissionError('file locked')):
+ result = self.delete(self.plan())
+ self.assertEqual(result['purged'], 0)
+ self.assertEqual(result['blocked'][0]['id'], 1)
+ self.assertIn('file locked', result['blocked'][0]['reason'])
+ self.assertTrue(path.exists())
+ self.assertEqual(self.plan()['total'], 1)
+
+ def test_database_failure_restores_quarantined_media_and_ledger(self):
+ path = self.add(1)
+ with self.contract.write_transaction() as c:
+ c.execute("CREATE TRIGGER reject_delete BEFORE DELETE ON asset BEGIN SELECT RAISE(ABORT,'blocked delete'); END")
+ with self.assertRaisesRegex(Exception, 'blocked delete'):
+ self.delete(self.plan())
+ self.assertTrue(path.exists())
+ self.assertEqual(self.plan()['total'], 1)
+
+ def test_wrong_kind_invalid_id_and_missing_plan_are_rejected(self):
+ for value in ('', '0', '-1', '1 OR 1=1', True, '3'):
+ with self.subTest(value=value), self.assertRaises(ValueError):
+ q_performer_delete_plan(self.contract, {'ids': value})
+ with self.assertRaises(ValueError):
+ w_performer_delete(self.contract, {'entity_ids': [1]})
+
+ def test_selected_performers_share_one_deduplicated_deletion_plan(self):
+ self.add(1)
+ self.add(2, entity_id=2)
+ self.add(3, medium='image')
+ with self.contract.write_transaction() as c:
+ c.execute("INSERT INTO asset_entity(asset_id,entity_id,role,source) VALUES(1,2,'performer','user:manual')")
+ plan = self.plan('2,1,2')
+ self.assertEqual(plan['entity_ids'], [1, 2])
+ self.assertEqual([row['id'] for row in plan['items']], [1, 2])
+ self.assertEqual(plan['shared'], 0)
+ result = self.delete(plan)
+ self.assertEqual(result['purged'], 2)
+ self.assertTrue((self.root / '3.mp4').is_file())
+
+ def test_candidate_table_counts_files_once_per_person_and_keeps_trash_only_performers(self):
+ self.add(1)
+ self.add(2, disposal='trash')
+ self.add(3, entity_id=2, disposal='trash')
+ self.add(4, medium='image')
+ with self.contract.write_transaction() as c:
+ c.execute("UPDATE asset SET code='CODE-1' WHERE id IN (1,2)")
+ c.execute("INSERT INTO asset_entity(asset_id,entity_id,role,source) VALUES(1,1,'performer','auto:metadata')")
+ rows = {row['entity_id']: row for row in q_performer_delete_candidates(self.contract, {})['items']}
+ self.assertEqual(set(rows), {1, 2})
+ self.assertEqual((rows[1]['n'], rows[1]['file_count']), (1, 2))
+ self.assertEqual(rows[1]['bytes'], 2 * len(b'temporary media'))
+ self.assertEqual(rows[2]['file_count'], 1)
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 2df414d24..156daccd1 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default,.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-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-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-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-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-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-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-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>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-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-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>:is([role=note],[role=alert]){width:100%;max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-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-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-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-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default,.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-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-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-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-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-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-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-text]{grid-template-rows:1.35em auto 30px;height:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px;height:auto;min-height:calc(2.7em + 2px)}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-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-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>:is([role=note],[role=alert]){width:100%;max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{-webkit-line-clamp:1;min-height:1.45em;max-height:1.45em}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-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-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.data-cleanup-page-Ctwipl6H.js b/web/dist/peach-app.data-cleanup-page-Ctwipl6H.js
deleted file mode 100644
index 7aac00637..000000000
--- a/web/dist/peach-app.data-cleanup-page-Ctwipl6H.js
+++ /dev/null
@@ -1,1407 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8131dcd7-9c56-43a9-9b29-2edfcbadf1af", e._sentryDebugIdIdentifier = "sentry-dbid-8131dcd7-9c56-43a9-9b29-2edfcbadf1af");
- } catch {}
-})();
-import { Button as e, Chip as t, DIRECTORY_TEMPLATE_ERROR as n, DUPLICATES_KEY as r, Fieldset as i, FieldsetTitle as a, IDLE_REPAIR as o, IconButton as s, Input as c, JUNK_KEY as l, LINKS_KEY as u, LINK_CHECK_KEY as d, LINK_KINDS as f, LINK_PRUNE_KEY as p, LOC as m, LibraryProcessingCard as h, MEDIA_REPAIR_KEY as g, MEDIA_REPAIR_URL as _, MEDIA_SOURCES_KEY as v, MEDIA_SOURCE_ICONS as y, Note as b, ORGANIZE_KEY as x, ORPHAN_RECORDS_KEY as S, Progress as C, QUALITY_GOALS_KEY as w, REPAIR_CARD_TEXT as T, REPAIR_LIBRARIES_KEY as E, RESOURCE_APPLY_KEY as D, RESOURCE_SCAN_KEY as O, RESULT_PANEL as ee, RESULT_SECTION as k, REVIEW_COUNTS_KEY as A, SOURCE_LABELS as j, Select as te, SelectItem as ne, SourceMark as M, StatusLabel as N, TRASH_KEY as re, TaskProgress as P, Wt as F, __toESM as ie, apiSend as ae, applyConfirmText as I, applyLeftovers as L, applyPlanText as R, applyText as oe, attachOrphan as se, baseName as z, busyProps as B, candidateText as ce, checkLine as le, confirmModal as V, entityFaceImg as ue, entityPath as de, errorMessage as H, esc as fe, fetchDuplicates as pe, fetchJunkSummary as me, fetchLinkCheck as U, fetchLinkPrune as he, fetchLinkStats as W, fetchMediaRepair as ge, fetchMediaSources as _e, fetchOrganize as ve, fetchOrganizeExample as ye, fetchOrphanRecords as be, fetchQualityGoals as xe, fetchRepairLibraries as Se, fetchResourceApply as Ce, fetchResourceScan as we, fetchReviewCounts as Te, fetchTrashSummary as Ee, firstGrapheme as De, fmtSize as Oe, hasChanges as ke, hasResourceRoots as Ae, junkBreakdown as je, missingToolText as Me, organizeOutcome as Ne, pickOrganizeFolder as Pe, planSummary as Fe, previewOrganize as Ie, pruneText as Le, purgeCount as Re, purgeOrphan as ze, queryClient as G, recordsText as Be, rememberTemplates as Ve, require_jsx_runtime as He, require_react as Ue, reviewSummary as We, scanLine as Ge, sourceMeta as Ke, spriteGlyph as K, startLinkCheck as qe, startLinkPrune as Je, startOrganize as Ye, startResourceApply as Xe, startResourceScan as Ze, statusLine as Qe, useAction as $e, useBackgroundJob as q, useMutation as et, useQuery as J, withOrganizeJob as tt } from "./peach-app.js";
-import { Page as nt } from "./peach-app.page-QAncjzM1.js";
-import { ErrorExcerpt as rt } from "./peach-app.error-excerpt-B8v2xEIP.js";
-import { PLAIN_STAT_STRIP as it, PlainStat as Y, plainStatClass as X } from "./peach-app.stat-card-DsNmy_0F.js";
-import { DataTable as at } from "./peach-app.data-table-BUBc51R4.js";
-import { SiteMark as ot } from "./peach-app.site-mark-D_VlIyJz.js";
-import { LEGACY_AVATAR_IMG as st } from "./peach-app.legacy-avatar-NSITxLRS.js";
-import { FolderSearchIcon as ct } from "./peach-app.folder-rows-BWBfTyUD.js";
-import { ConnectionStatus as lt } from "./peach-app.connection-status-DI6kgn3i.js";
-// src/react/media-repair/media-repair-card.tsx
-var Z = /* @__PURE__ */ ie(Ue(), 1), Q = He(), ut = (e) => y[e] || e, dt = (e) => G.setQueryData(g, e);
-function ft({ toast: t = () => {} }) {
- let n = q({
- queryKey: g,
- queryFn: ({ signal: e }) => ge(e),
- start: (e) => ae(_, {
- library: e,
- restart: !0
- }),
- onFinish: (e) => {
- e.status === "complete" && !e.failed && !e.missing_tool && t(e.repaired ? `已修复 ${e.repaired.toLocaleString()} 部视频` : "已检查媒体库,没有需要修复的视频");
- }
- }), r = J({
- queryKey: E,
- queryFn: ({ signal: e }) => Se(e)
- }), [s, c] = (0, Z.useState)(""), l = $e(), u = n.job ?? o, d = r.data ?? [], f = u.status === "running", p = d.find((e) => e.id === (f ? u.library : s)) ?? d.find((e) => e.id === u.library) ?? d[0], m = () => {
- p && V({
- title: `修复媒体库「${p.name}」`,
- body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (p.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
- confirmLabel: "修复媒体库",
- onConfirm: async () => {
- await n.start.mutateAsync(p.id);
- }
- });
- }, h = () => void l.run("stop", (e) => ae(_, { stop: !0 }, "POST", e), dt), v = n.outcome, y = Qe(f ? u : v ?? o), x = l.error || v?.error || (n.query.error ? "读不到媒体修复的状态" : "");
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, Q.jsx)(i, {
- layout: "split",
- label: "媒体修复",
- footer: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(te, {
- "aria-label": "媒体库",
- prefix: "媒体库",
- className: "w-48",
- selectedKey: p?.id ?? null,
- isDisabled: f || !d.length,
- onSelectionChange: (e) => {
- e !== null && c(String(e));
- },
- children: d.map((e) => /* @__PURE__ */ (0, Q.jsxs)(ne, {
- id: e.id,
- textValue: e.name,
- children: [/* @__PURE__ */ (0, Q.jsx)(M, { mark: ut(e.icon) }), e.name]
- }, e.id))
- }), f ? /* @__PURE__ */ (0, Q.jsx)(e, {
- onClick: h,
- ...B(l.busy === "stop"),
- children: "停止"
- }) : /* @__PURE__ */ (0, Q.jsx)(e, {
- onClick: m,
- disabled: !p,
- children: "开始修复"
- })] }),
- children: /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(a, { children: "媒体修复" }),
- /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-body-2-regular text-text-secondary",
- children: T
- }),
- f && u.total ? /* @__PURE__ */ (0, Q.jsx)(C, {
- label: "修复进度",
- value: u.checked,
- max: u.total
- }) : null,
- y ? /* @__PURE__ */ (0, Q.jsx)("p", {
- role: "status",
- className: "text-caption-1-regular text-text-secondary",
- children: y
- }) : null
- ]
- })
- }), /* @__PURE__ */ (0, Q.jsxs)("div", {
- "aria-live": "polite",
- className: "flex flex-col gap-4 empty:hidden",
- children: [v?.status === "complete" && v.missing_tool ? /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "warning",
- title: "缺少 untrunc",
- action: /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "ghost",
- size: "small",
- onClick: n.dismiss,
- children: "关闭提示"
- }),
- children: Me(v)
- }) : null, x ? /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- children: x
- }) : null]
- })]
- });
-}
-// src/react/data-cleanup/link-check-icon.tsx
-function pt({ className: e }) {
- return /* @__PURE__ */ (0, Q.jsxs)("svg", {
- "aria-hidden": !0,
- viewBox: "0 0 24 24",
- fill: "none",
- stroke: "currentColor",
- strokeWidth: 2,
- strokeLinecap: "round",
- strokeLinejoin: "round",
- className: e,
- "data-link-check-icon": "",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("path", { d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71" }),
- /* @__PURE__ */ (0, Q.jsx)("path", { d: "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71" }),
- /* @__PURE__ */ (0, Q.jsxs)("g", {
- "data-link-check-rays": "",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("path", { d: "M8 2v3" }),
- /* @__PURE__ */ (0, Q.jsx)("path", { d: "M2 8h3" }),
- /* @__PURE__ */ (0, Q.jsx)("path", { d: "M16 19v3" }),
- /* @__PURE__ */ (0, Q.jsx)("path", { d: "M19 16h3" })
- ]
- })
- ]
- });
-}
-// src/react/data-cleanup/link-manager.tsx
-var mt = K("rotate-cw"), ht = "站点返回 404 或 410,确认这个地址不存在。", gt = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", _t = "删除前会逐条重验一次;此操作不可撤销。", vt = "暂时无法读取进度,正在重新连接…", yt = (e) => Number(e || 0).toLocaleString();
-function bt({ label: e, value: t, note: n }) {
- return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex min-w-0 flex-col gap-0.5",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-caption-1-regular leading-5 text-text-secondary",
- children: e
- }),
- /* @__PURE__ */ (0, Q.jsx)("b", {
- className: "text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary",
- children: t
- }),
- n ? /* @__PURE__ */ (0, Q.jsx)("small", {
- className: "text-caption-1-regular leading-5 text-text-secondary",
- children: n
- }) : null
- ]
- });
-}
-function xt({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o, confirmed: s = !1 }) {
- return t.length ? /* @__PURE__ */ (0, Q.jsx)("div", {
- className: k,
- "data-link-results": s ? "gone" : "unclear",
- children: /* @__PURE__ */ (0, Q.jsx)(at, {
- label: e,
- items: t,
- columns: [
- {
- id: "entity",
- label: "Peach 资料",
- width: 180,
- min: 128,
- value: (e) => e.entity,
- render: (e) => /* @__PURE__ */ (0, Q.jsxs)("a", {
- className: "flex min-w-24 items-center gap-2 text-text-secondary hover:text-text-primary hover:underline",
- href: e.entity_id && e.entity_kind ? de(e.entity_kind, e.entity, e.entity_id) : void 0,
- "data-link-identity": "",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- "data-link-avatar": "",
- className: `relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium text-text-primary ${st}`,
- "aria-hidden": !0,
- dangerouslySetInnerHTML: { __html: `<span>${fe(De(e.entity))}</span>` + ue({
- kind: e.entity_kind,
- id: e.entity_id,
- hasImage: e.face?.has_image,
- version: e.face?.image_version,
- focus: e.face?.avatar_focus,
- thumb: !0,
- mark: e.entity_kind === "studio" || e.entity_kind === "agency" ? e.id : null
- }) }
- }), /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 wrap-anywhere",
- children: e.entity
- })]
- })
- },
- {
- id: "kind",
- label: "类型",
- width: 128,
- value: (e) => f[e.link_kind] || e.link_kind,
- render: (e) => f[e.link_kind] || e.link_kind
- },
- {
- id: "label",
- label: "链接名称",
- min: 128,
- value: (e) => e.label || "",
- render: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "flex min-w-24 items-center gap-2",
- "data-link-name": "",
- children: /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 wrap-anywhere",
- children: e.label || new URL(e.url).hostname
- })
- })
- },
- {
- id: "note",
- label: "结果",
- width: 320,
- min: 192,
- value: (e) => e.note,
- render: (e) => /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "min-w-0 w-full",
- "data-link-result": s ? "gone" : "unclear",
- children: /^(?:HTTP\s+)?[1-5]\d{2}$/.test(e.note.trim()) ? /* @__PURE__ */ (0, Q.jsx)(N, {
- tone: s || /^(?:HTTP\s+)?5\d{2}$/.test(e.note.trim()) ? "error" : "warning",
- "data-link-code": "",
- children: e.note.trim()
- }) : /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col items-start gap-1",
- children: [/* @__PURE__ */ (0, Q.jsx)(N, {
- tone: s ? "error" : "warning",
- children: s ? "地址已失效" : "未取得结论"
- }), /* @__PURE__ */ (0, Q.jsx)(rt, {
- text: e.note,
- className: "tabular-nums text-text-secondary"
- })]
- })
- })
- },
- {
- id: "url",
- label: "地址",
- width: 360,
- min: 180,
- value: (e) => e.url,
- render: (e) => /* @__PURE__ */ (0, Q.jsxs)("a", {
- href: e.url,
- target: "_blank",
- rel: "noopener noreferrer",
- title: e.url,
- "data-link-address": "",
- className: "flex min-w-0 items-center gap-1 text-text-secondary hover:text-text-primary",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(ot, { linkId: e.id }),
- /* @__PURE__ */ (0, Q.jsx)("span", {
- "data-middle-truncate": !0,
- className: "min-w-0 truncate",
- children: e.url
- }),
- /* @__PURE__ */ (0, Q.jsx)(F, {
- "aria-hidden": !0,
- className: "size-(--icon-inline) shrink-0"
- })
- ]
- })
- }
- ],
- rowId: (e) => String(e.id),
- description: n,
- unit: "条链接",
- panel: !1,
- footerActions: o,
- rowLabel: (e) => `${e.entity} 的${e.label || e.url}`,
- selected: r.map(String),
- onSelected: (e) => i(e.map(Number)),
- actions: () => a
- })
- }) : null;
-}
-function St() {
- let n = J({
- queryKey: u,
- queryFn: ({ signal: e }) => W(e)
- }), [r, o] = (0, Z.useState)([]), [s, c] = (0, Z.useState)([]), l = q({
- queryKey: p,
- queryFn: ({ signal: e }) => he(e),
- start: Je,
- onFinish: () => {
- G.invalidateQueries({
- queryKey: u,
- exact: !0
- }), G.invalidateQueries({
- queryKey: d,
- exact: !0
- });
- }
- }), m = q({
- queryKey: d,
- queryFn: ({ signal: e }) => U(e),
- start: qe,
- onStarted: () => {
- l.dismiss(), o([]), c([]);
- }
- }), h = m.job, g = h?.check_id ?? "";
- (0, Z.useEffect)(() => {
- o([]), c([]);
- }, [g]);
- let _ = m.running || m.start.isPending, v = l.running || l.start.isPending, y = h?.status === "complete", x = h?.gone ?? [], S = h?.unclear ?? [], C = y ? S : [], w = x.filter((e) => s.includes(e.id)).map((e) => e.id), T = C.filter((e) => r.includes(e.id)).map((e) => e.id), E = n.data, D = (E?.top_hosts ?? []).slice(0, 3), O = (e) => {
- _ || e && !e.length || m.start.mutate(e ? {
- retry: e,
- checkId: g
- } : {});
- }, A = (e) => {
- !v && x.length && V({
- title: "删除失效链接",
- body: `将删除 ${e?.length ?? x.length} 条失效链接。删除前会再次检查,删除后无法恢复。`,
- confirmLabel: "删除失效链接",
- danger: !0,
- onConfirm: () => l.start.mutateAsync({
- checkId: g,
- ids: e
- })
- });
- }, j = l.outcome, te = m.start.error ?? l.start.error, ne = null, M = null;
- if (j?.status === "failed") M = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "链接清理未完成",
- children: j.error || "请查看任务记录,核对已处理的链接。"
- });
- else if (j && !x.length && !S.length) M = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "success",
- title: "完成",
- children: Le(j)
- });
- else if (te) M = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "检查失败",
- children: H(te)
- });
- else if (m.query.isError && h) M = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "neutral",
- title: "任务状态",
- children: vt
- });
- else if (h?.status === "failed") M = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "检查失败",
- children: h.error || "检查失败"
- });
- else if (h && h.status !== "idle") {
- ne = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [h.status === "running" ? /* @__PURE__ */ (0, Q.jsx)(P, {
- embedded: !0,
- label: le(h),
- value: Math.min(h.checked || 0, h.total || 0),
- total: h.total
- }) : null, v ? /* @__PURE__ */ (0, Q.jsx)(P, {
- embedded: !0,
- label: l.job?.message || "正在重验并删除失效链接",
- value: Math.min(l.job?.checked || 0, l.job?.total || 0),
- total: l.job?.total
- }) : null] });
- let t = `立即重试所选(${T.length})`;
- M = y || x.length || S.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: ee,
- children: [
- j?.status === "complete" ? /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "success",
- title: "完成",
- children: Le(j)
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)(xt, {
- title: "地址已失效",
- items: x,
- hint: ht,
- picked: s,
- onPick: c,
- confirmed: !0,
- footer: y && x.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("p", {
- className: "mr-auto min-w-0 text-caption-1-regular text-text-secondary",
- children: _t
- }), /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "danger",
- ...B(v),
- onClick: () => A(),
- children: `删除 ${x.length} 条失效链接`
- })] }) : null,
- children: /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "danger",
- size: "small",
- disabled: !y || !w.length,
- ...B(v),
- onClick: () => A(w),
- children: `删除所选(${w.length})`
- })
- }),
- /* @__PURE__ */ (0, Q.jsx)(xt, {
- title: "本次未访问成功",
- items: S,
- hint: gt,
- picked: r,
- onPick: o,
- footer: C.length ? /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "primary",
- leadingIcon: mt,
- ...B(_),
- onClick: () => O(C.map((e) => e.id)),
- children: `立即重试全部(${C.length})`
- }) : null,
- children: C.length ? /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "secondary",
- leadingIcon: mt,
- disabled: !T.length,
- ...B(_),
- onClick: () => O(T),
- children: t
- }) }) : null
- }),
- y && !x.length && !S.length ? /* @__PURE__ */ (0, Q.jsx)("p", {
- className: `${k} text-body-regular text-notification-success-foreground`,
- children: "全部链接均可访问。"
- }) : null
- ]
- }) : null;
- }
- return /* @__PURE__ */ (0, Q.jsxs)("section", {
- id: "link-manager",
- "aria-labelledby": "link-manager-title",
- className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, Q.jsxs)(i, {
- layout: "stack",
- labelledBy: "link-manager-title",
- footer: /* @__PURE__ */ (0, Q.jsx)(e, {
- "data-link-check": "",
- leadingIcon: pt,
- ...B(_),
- onClick: () => O(),
- children: _ ? "检查中" : y ? "重新检查" : "检查死链"
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)(a, {
- id: "link-manager-title",
- gap: "small",
- children: "链接管理"
- }),
- n.isError ? /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "链接统计读取失败",
- children: H(n.error)
- }) : E ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, Q.jsx)(bt, {
- label: "链接总数",
- value: yt(E.total),
- note: `分布在 ${yt(E.entities)} 个女优、厂牌与系列`
- }), Object.entries(E.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(bt, {
- label: f[e] || e,
- value: yt(t)
- }, e))]
- }), D.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "mt-4 flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-caption-1-regular text-text-secondary",
- children: "主要站点"
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "flex min-w-0 flex-wrap gap-x-5 gap-y-2",
- children: D.map(([e, n]) => /* @__PURE__ */ (0, Q.jsxs)("span", {
- "data-top-host": "",
- className: "inline-flex min-w-0 max-w-full items-center gap-1.5",
- children: [/* @__PURE__ */ (0, Q.jsxs)("a", {
- href: `https://${e}`,
- target: "_blank",
- rel: "noopener noreferrer",
- className: "inline-flex min-w-0 items-center gap-1.5 text-body-2-medium text-text-primary",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(ot, { linkId: E.top_host_link_ids?.[e] }),
- /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "min-w-0 wrap-anywhere",
- children: e
- }),
- /* @__PURE__ */ (0, Q.jsx)(F, {
- "aria-hidden": !0,
- className: "size-(--icon-inline) shrink-0"
- })
- ]
- }), /* @__PURE__ */ (0, Q.jsx)(t, {
- variant: "caption",
- color: "neutral",
- children: /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "tabular-nums",
- children: yt(n)
- })
- })]
- }, e))
- })]
- }) : null] }) : null,
- /* @__PURE__ */ (0, Q.jsx)("div", {
- "aria-live": "polite",
- className: "mt-4 flex flex-col gap-3 empty:hidden",
- children: ne
- })
- ]
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
- "aria-live": "polite",
- className: "empty:hidden",
- children: M
- })]
- });
-}
-// src/react/data-cleanup/organize-card.tsx
-var Ct = (e, t) => `将整理「${e}」${t ? `的「${t}」及其子目录` : "上的文件名与目录"},清理特殊符号与乱码,并按已填模板改名或移动。目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, wt = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", Tt = 8;
-function Et({ plan: e }) {
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("ol", {
- className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Tt).map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
- className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("span", {
- "data-middle-truncate": !0,
- title: e.current_path,
- className: "min-w-0 truncate",
- children: z(e.current_path)
- }),
- /* @__PURE__ */ (0, Q.jsx)("span", {
- "aria-hidden": !0,
- children: "→"
- }),
- /* @__PURE__ */ (0, Q.jsx)("span", {
- "data-middle-truncate": !0,
- title: e.target_path,
- className: "min-w-0 truncate text-text-primary",
- children: z(e.target_path)
- })
- ]
- }, e.current_path))
- }), e.truncated || e.rows.length > Tt ? /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: "只列出前 8 行,完整计划在计划 CSV 里。"
- }) : null] });
-}
-function Dt({ toast: t, failure: r }) {
- let o = J({
- queryKey: x,
- queryFn: ({ signal: e }) => ve(e)
- }), l = o.data, u = l?.locations ?? [], [d, f] = (0, Z.useState)(""), p = u.some((e) => e.location === d) ? d : u[0]?.location ?? "", h = l?.templates?.[p], [g, _] = (0, Z.useState)(null), v = g?.location === p ? g : {
- location: p,
- file: h?.file ?? "",
- dir: h?.dir ?? ""
- }, S = (e) => {
- _({
- ...v,
- ...e
- }), I.reset();
- }, [C, w] = (0, Z.useState)({
- location: "",
- path: ""
- }), T = C.location === p ? C.path : "", E = (0, Z.useRef)({
- location: p,
- path: T
- });
- E.current = {
- location: p,
- path: T
- };
- let [D, O] = (0, Z.useState)(null), ee = (0, Z.useRef)(null), k = (0, Z.useRef)(null), A = (0, Z.useRef)(null), j = J({
- queryKey: [
- "organize-example",
- v.file,
- v.dir
- ],
- queryFn: ({ signal: e }) => ye(v.file, v.dir, e),
- enabled: !!l
- }), [N, re] = (0, Z.useState)("file"), F = (0, Z.useRef)(!1), ie = (0, Z.useRef)(null);
- (0, Z.useLayoutEffect)(() => {
- let e = ie.current;
- if (!e) return;
- ie.current = null;
- let t = (e.field === "file" ? ee : k).current;
- t?.focus(), t?.setSelectionRange(e.caret, e.caret);
- });
- let ae = () => ({
- location: p,
- path: T.trim(),
- file_template: v.file.trim(),
- dir_template: v.dir.trim()
- }), I = et({
- mutationFn: Ie,
- onError: (e) => {
- let t = /整理路径/.test(H(e)) ? "path" : n.test(H(e)) ? "dir" : "file";
- O(t), (t === "path" ? A : t === "dir" ? k : ee).current?.focus();
- }
- }), L = et({
- mutationFn: ({ initial: e }) => Pe(e),
- onSuccess: (e, t) => {
- e.path && t.location === E.current.location && t.path === E.current.path && (w({
- location: t.location,
- path: e.path
- }), O(null), I.reset(), A.current?.focus());
- }
- }), R = q({
- queryKey: x,
- queryFn: ({ signal: e }) => ve(e),
- start: Ye,
- jobOf: (e) => e,
- withJob: tt,
- onStarted: () => I.reset(),
- onFinish: (e) => {
- if (G.invalidateQueries({
- queryKey: x,
- exact: !0
- }), e.status !== "complete") return;
- let { text: n, failed: i } = Ne(e);
- i ? r("整理文件", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(n.replace(/。$/, ""));
- }
- }), oe = R.running || R.start.isPending, se = JSON.stringify(I.variables) === JSON.stringify(ae()), z = se ? I.data : void 0, ce = Number(z?.counts?.change || 0), le = m[p] || p, ue = (e) => {
- S(e), O(null), I.reset();
- }, de = (e) => {
- let t = (N === "file" ? ee : k).current, n = v[N], r = F.current ? t?.selectionStart ?? n.length : n.length, i = F.current ? t?.selectionEnd ?? r : r, a = `{${e}}`;
- ie.current = {
- field: N,
- caret: r + a.length
- }, ue({ [N]: n.slice(0, r) + a + n.slice(i) });
- }, fe = () => {
- I.isPending || oe || !p || (R.dismiss(), R.start.reset(), O(null), I.mutate(ae()));
- }, pe = () => {
- let e = I.variables;
- e && z && ce && V({
- title: "整理文件",
- body: Ct(le, e.path),
- confirmLabel: "整理文件",
- onConfirm: async () => {
- await R.start.mutateAsync({
- kind: "apply",
- request: e
- }), Ve({
- ...l?.templates ?? {},
- [e.location]: {
- file: e.file_template,
- dir: e.dir_template
- }
- });
- }
- });
- }, me = () => void V({
- title: "回滚上一批整理",
- body: wt,
- confirmLabel: "回滚整理",
- onConfirm: () => R.start.mutateAsync({ kind: "rollback" })
- }), U = null, he = !!ce && !oe && !R.outcome, W = R.job, ge = R.outcome;
- if (W?.status === "running") {
- let e = W.message || W.stage || "正在整理文件";
- U = /* @__PURE__ */ (0, Q.jsx)(P, {
- embedded: !0,
- label: e,
- value: Math.min(W.checked || 0, W.total || 0),
- total: W.total
- });
- } else if (ge?.status === "failed") U = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "文件整理未完成",
- children: ge.error || "请查看任务记录,核对已处理的文件。"
- });
- else if (ge) {
- let { text: e, failed: t } = Ne(ge);
- U = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: t ? "warning" : "success",
- title: t ? "部分完成" : "整理结果",
- children: e
- });
- } else R.start.isError ? U = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "整理失败",
- children: H(R.start.error)
- }) : I.isPending ? U = /* @__PURE__ */ (0, Q.jsx)(P, {
- embedded: !0,
- label: "正在核对整理计划"
- }) : I.isError && se ? U = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "整理预览失败",
- children: H(I.error)
- }) : z && (U = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "neutral",
- title: "预览结果",
- children: Fe(z)
- }), ce ? /* @__PURE__ */ (0, Q.jsx)(Et, { plan: z }) : null] }));
- return /* @__PURE__ */ (0, Q.jsxs)(i, {
- layout: "stack",
- id: "organize",
- labelledBy: "cleanup-organize-title",
- attributes: { "data-cleanup-organize": "" },
- footer: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
- l?.last_batch ? /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "secondary",
- ...B(oe),
- onClick: me,
- children: "回滚上一批"
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: he ? "secondary" : "primary",
- disabled: !u.length || oe,
- ...B(I.isPending),
- onClick: fe,
- children: "预览"
- }),
- he ? /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "primary",
- onClick: pe,
- children: "执行整理"
- }) : null
- ] }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)(a, {
- id: "cleanup-organize-title",
- gap: "medium",
- children: "整理"
- }),
- /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-body-regular text-text-secondary",
- children: "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。"
- }),
- o.isError ? /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "mt-3",
- children: /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "整理配置读取失败",
- children: H(o.error)
- })
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "mt-3 flex flex-col gap-3",
- children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- "data-organize-scope": !0,
- className: "flex min-w-0 flex-wrap items-start gap-2",
- children: [u.length ? /* @__PURE__ */ (0, Q.jsx)(te, {
- "aria-label": "整理哪个来源",
- prefix: "来源",
- className: "w-fit min-w-25",
- selectedKey: p || null,
- onSelectionChange: (e) => {
- e !== null && (f(String(e)), w({
- location: String(e),
- path: ""
- }), O(null), I.reset(), L.reset(), F.current = !1);
- },
- children: u.map((e) => /* @__PURE__ */ (0, Q.jsxs)(ne, {
- id: e.location,
- textValue: m[e.location] || e.location,
- children: [/* @__PURE__ */ (0, Q.jsx)(M, { mark: y[e.location] || "database" }), m[e.location] || e.location]
- }, e.location))
- }) : null, /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex min-w-0 basis-64 flex-1 items-start gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(c, {
- "aria-label": "整理路径",
- className: "min-w-0 flex-1",
- placeholder: "留空整理整个来源",
- name: "organize-path",
- autoComplete: "off",
- spellCheck: "false",
- value: T,
- ref: A,
- isInvalid: D === "path",
- onChange: (e) => {
- w({
- location: p,
- path: e
- }), O(null), I.reset(), L.reset();
- }
- }), /* @__PURE__ */ (0, Q.jsx)(s, {
- icon: ct,
- "aria-label": "选择整理路径",
- ...B(L.isPending),
- onClick: () => L.mutate({
- initial: T || u.find((e) => e.location === p)?.roots[0] || "",
- location: p,
- path: T
- })
- })]
- })]
- }),
- /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-caption-1-regular text-text-secondary",
- children: "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。"
- }),
- L.isError ? /* @__PURE__ */ (0, Q.jsxs)(b, {
- tone: "error",
- title: "目录选择失败",
- children: [H(L.error), ";也可直接输入路径。"]
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)(c, {
- label: "文件名模板",
- placeholder: "{code}[ {title}]",
- value: v.file,
- ref: ee,
- spellCheck: "false",
- isInvalid: D === "file",
- onFocus: () => {
- re("file"), F.current = !0;
- },
- onChange: (e) => ue({ file: e })
- }),
- /* @__PURE__ */ (0, Q.jsx)(c, {
- label: "目录模板",
- placeholder: "留空表示原地改名",
- value: v.dir,
- ref: k,
- spellCheck: "false",
- isInvalid: D === "dir",
- onFocus: () => {
- re("dir"), F.current = !0;
- },
- onChange: (e) => ue({ dir: e })
- }),
- l?.presets?.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- role: "group",
- "aria-label": "套用模板",
- children: [/* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-caption-1-medium text-text-secondary",
- children: "套用模板"
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "flex flex-wrap gap-2",
- children: l.presets.map((t) => /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "secondary",
- size: "small",
- title: t.example || t.label,
- className: "max-w-full [&>span]:min-w-0 [&>span]:shrink",
- onClick: () => {
- ue({
- file: t.file,
- dir: t.dir
- }), F.current = !1;
- },
- children: /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "truncate",
- children: t.label
- })
- }, t.label))
- })]
- }) : null,
- /* @__PURE__ */ (0, Q.jsxs)("p", {
- "aria-live": "polite",
- "aria-busy": j.isFetching,
- "data-organize-example": "",
- className: "text-caption-1-regular text-text-secondary",
- children: ["路径示例:", /* @__PURE__ */ (0, Q.jsx)("code", {
- className: "wrap-anywhere",
- children: j.data?.example || j.data?.error || (j.isError ? H(j.error) : "正在预览…")
- })]
- }),
- l?.placeholders?.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-2",
- role: "group",
- "aria-label": "插入参数",
- children: [/* @__PURE__ */ (0, Q.jsxs)("p", {
- className: "text-caption-1-regular text-text-secondary",
- "aria-live": "polite",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("strong", {
- className: "text-caption-1-semibold text-text-primary",
- children: "插入参数"
- }),
- "(到",
- N === "file" ? "文件名模板" : "目录模板",
- ")"
- ]
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "flex flex-wrap gap-1",
- children: l.placeholders.map((t) => /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "ghost",
- size: "small",
- "aria-label": `${t.label} {${t.key}}`,
- onClick: () => de(t.key),
- children: /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "inline-flex flex-wrap items-center gap-x-1.5",
- children: [/* @__PURE__ */ (0, Q.jsx)("code", { children: `{${t.key}}` }), /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "text-text-secondary",
- children: t.label
- })]
- })
- }, t.key))
- })]
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "text-caption-1-regular leading-4.5 text-text-secondary",
- children: "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。"
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsx)("div", {
- "aria-live": "polite",
- className: "mt-3 flex flex-col gap-2 empty:hidden",
- children: U
- })
- ]
- });
-}
-// src/react/data-cleanup/orphan-records-card.tsx
-var Ot = K("play"), kt = () => G.invalidateQueries({
- queryKey: S,
- exact: !0
-});
-function At({ item: t, toast: n }) {
- let [r, i] = (0, Z.useState)(t.candidates[0]?.id ?? null), a = et({
- mutationFn: () => se(t.id, Number(r)),
- onSuccess: () => {
- let e = t.candidates.find((e) => e.id === r);
- n(`已将「${t.name}」的个人记录转移到「${e?.name ?? "所选文件"}」`), kt();
- },
- onError: (e) => n(H(e))
- }), o = et({
- mutationFn: () => ze(t.id),
- onSuccess: (e) => {
- n(e.blocked.length ? `「${t.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${t.name}」的作品记录及个人记录`), kt();
- }
- }), s = () => {
- V({
- title: "删除记录",
- body: `将删除「${t.name}」的作品记录${Be(t.records) ? `及其个人记录(${Be(t.records)})` : ""}。此操作不可撤销。`,
- confirmLabel: "删除记录",
- danger: !0,
- onConfirm: () => o.mutateAsync()
- });
- }, c = a.isPending || o.isPending;
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [
- /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "danger",
- size: "small",
- ...B(c),
- onClick: s,
- children: "删除记录"
- }),
- t.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(te, {
- "aria-label": `选择接收 ${t.name} 个人记录的文件`,
- prefix: "接收",
- className: "w-52",
- selectedKey: r,
- onSelectionChange: (e) => {
- e !== null && i(Number(e));
- },
- children: t.candidates.map((e) => /* @__PURE__ */ (0, Q.jsx)(ne, {
- id: e.id,
- textValue: ce(e),
- children: ce(e)
- }, e.id))
- }) : null,
- t.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "primary",
- size: "small",
- disabled: r === null,
- ...B(c),
- onClick: () => a.mutate(),
- children: "转移记录"
- }) : null
- ]
- });
-}
-function jt({ item: e }) {
- return /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, Q.jsx)(Ot, {
- "aria-hidden": !0,
- className: "size-5"
- }), e.has_thumb ? /* @__PURE__ */ (0, Q.jsx)("img", {
- src: `/thumb?id=${e.id}&c=4`,
- alt: "",
- loading: "lazy",
- onError: (e) => e.currentTarget.remove(),
- className: "absolute inset-0 size-full object-contain"
- }) : null]
- }), /* @__PURE__ */ (0, Q.jsxs)("span", {
- className: "flex min-w-0 flex-1 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, Q.jsx)("span", {
- title: e.name,
- className: "truncate text-body-regular text-text-primary",
- children: e.name
- }), /* @__PURE__ */ (0, Q.jsx)("small", {
- className: "truncate text-caption-1-regular text-text-secondary",
- children: [e.code, m[e.location] || e.location].filter(Boolean).join(" · ")
- })]
- })]
- });
-}
-function Mt({ toast: t }) {
- let [n, r] = (0, Z.useState)([]), o = J({
- queryKey: S,
- queryFn: ({ signal: e }) => be(e)
- }), s = o.data?.items ?? [], c = et({
- mutationFn: (e) => ze(e),
- onSuccess: (e) => {
- t(`已删除 ${e.purged} 条作品记录及其个人记录${e.blocked.length ? `;${e.blocked.length} 条文件已恢复,记录未删除` : ""}`), r([]), kt();
- }
- }), l = (e) => void V({
- title: "删除所选记录",
- body: `将删除以下 ${e.length} 条作品记录及其全部个人记录。此操作不可撤销。`,
- items: e.map((e) => e.name),
- confirmLabel: "删除所选记录",
- danger: !0,
- onConfirm: () => c.mutateAsync(e.map((e) => e.id))
- }), u = [
- {
- id: "item",
- label: "作品",
- width: 480,
- min: 320,
- value: (e) => e.name,
- render: (e) => /* @__PURE__ */ (0, Q.jsx)(jt, { item: e })
- },
- {
- id: "records",
- label: "个人记录",
- width: 176,
- min: 144,
- value: (e) => Be(e.records),
- render: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "block min-w-0 whitespace-normal wrap-anywhere",
- children: Be(e.records) || "无"
- })
- },
- {
- id: "target",
- label: "操作",
- width: s.some((e) => e.candidates.length) ? 360 : 128,
- min: 128,
- value: (e) => e.candidates.length,
- render: (e) => /* @__PURE__ */ (0, Q.jsx)(At, {
- item: e,
- toast: t
- })
- }
- ];
- return !o.isError && !s.length ? null : /* @__PURE__ */ (0, Q.jsx)("section", {
- id: "orphan-records",
- "aria-labelledby": "orphan-records-title",
- className: "flex scroll-mt-20 flex-col gap-4",
- children: o.isError ? /* @__PURE__ */ (0, Q.jsxs)(i, {
- layout: "stack",
- labelledBy: "orphan-records-title",
- children: [/* @__PURE__ */ (0, Q.jsx)(a, {
- id: "orphan-records-title",
- children: "文件已丢失的记录"
- }), /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "读取文件已丢失的记录失败",
- children: H(o.error)
- })]
- }) : /* @__PURE__ */ (0, Q.jsx)(at, {
- label: "文件已消失的作品",
- items: s,
- columns: u,
- title: "文件已丢失的记录",
- titleId: "orphan-records-title",
- unit: "条作品",
- description: "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。",
- rowId: (e) => String(e.id),
- rowLabel: (e) => e.name,
- selected: n,
- onSelected: r,
- actions: (t) => /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "danger",
- size: "small",
- disabled: !t.length,
- ...B(c.isPending),
- onClick: () => l(t),
- children: `删除所选记录(${t.length})`
- })
- })
- });
-}
-// src/react/data-cleanup/resource-sync-card.tsx
-var Nt = K("git-compare"), Pt = K("rotate-cw"), Ft = "暂时无法读取进度,正在重新连接…", It = "清理失效条目", Lt = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", $ = (e) => Number(e || 0).toLocaleString();
-function Rt({ scan: e, partial: t = !1 }) {
- let n = e.cache ?? {
- files: 0,
- bytes: 0
- };
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("div", {
- className: Lt,
- children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, Q.jsxs)("article", {
- className: X(),
- children: [/* @__PURE__ */ (0, Q.jsx)(Y, {
- label: j[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, Q.jsx)(M, { mark: y[e.location] ?? "database" }),
- aside: /* @__PURE__ */ (0, Q.jsx)(lt, {
- online: e.online,
- children: e.online ? "可访问" : "离线"
- }),
- figure: e.online ? `${$(e.missing)} 项` : "—",
- meta: e.online ? Ke(e) : `${Ke(e)} · 本次已跳过`,
- wrapMeta: !0
- }), e.online && e.unreadable > 0 ? /* @__PURE__ */ (0, Q.jsx)("span", {
- className: "self-start",
- children: /* @__PURE__ */ (0, Q.jsxs)(N, {
- tone: "warning",
- children: [$(e.unreadable), " 个目录未读取"]
- })
- }) : null]
- }, e.location))
- }), !t && /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: Lt,
- children: [
- /* @__PURE__ */ (0, Q.jsx)("article", {
- className: X(),
- children: /* @__PURE__ */ (0, Q.jsx)(Y, {
- label: "待永久删除",
- figure: `${$(Re(e))} 项`,
- meta: "文件已不在盘上,含回收站"
- })
- }),
- /* @__PURE__ */ (0, Q.jsx)("article", {
- className: X(),
- children: /* @__PURE__ */ (0, Q.jsx)(Y, {
- label: "将标为已消失",
- figure: `${$(e.vanish)} 项`,
- meta: "带个人记录,记录留着"
- })
- }),
- /* @__PURE__ */ (0, Q.jsx)("article", {
- className: X(),
- children: /* @__PURE__ */ (0, Q.jsx)(Y, {
- label: "空文件夹",
- figure: `${$(e.empty)} 个`,
- meta: "保留来源根目录"
- })
- }),
- /* @__PURE__ */ (0, Q.jsx)("article", {
- className: X(),
- children: /* @__PURE__ */ (0, Q.jsx)(Y, {
- label: "可清理的缓存",
- figure: `${$(n.files)} 个`,
- meta: n.files ? Oe(n.bytes) : ""
- })
- })
- ]
- })] });
-}
-function zt({ toast: t }) {
- let n = q({
- queryKey: D,
- queryFn: ({ signal: e }) => Ce(e),
- start: Xe,
- onFinish: (e) => {
- if (G.invalidateQueries({
- queryKey: re,
- exact: !0
- }), G.invalidateQueries({
- queryKey: O,
- exact: !0
- }), e.status !== "complete") return;
- let { done: n, left: r } = L(e);
- r ? t(`已完成 ${$(n)} 项,${$(r)} 项没有处理`, { warning: !0 }) : t("已清理失效条目");
- }
- }), r = q({
- queryKey: O,
- queryFn: ({ signal: e }) => we(e),
- start: Ze,
- onStarted: () => n.dismiss()
- }), o = r.job, s = r.running || r.start.isPending, c = n.running || n.start.isPending, l = o?.status === "complete" || o?.status === "failed", u = s ? "扫描中" : l ? "重新扫描" : "检查文件", d = (e) => void V({
- title: It,
- body: I(e),
- confirmLabel: It,
- danger: !0,
- onConfirm: () => n.start.mutateAsync(e.scan_id || "")
- }), f = n.outcome, p = (e) => {
- let t = L(e).left > 0;
- return /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: t ? "warning" : "success",
- title: t ? "部分完成" : "清理结果",
- children: oe(e, Oe)
- });
- }, m = null, h = null;
- if (f?.status === "failed") h = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "资源清理未完成",
- children: f.error || "请查看任务记录,核对已处理的文件。"
- });
- else if (f) h = p(f);
- else if (n.running) m = /* @__PURE__ */ (0, Q.jsx)(P, {
- embedded: !0,
- label: n.job?.message || "正在复核并清理失效条目"
- });
- else if (r.start.isError) h = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "扫描失败",
- children: H(r.start.error)
- });
- else if (r.query.isError && o) h = /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "neutral",
- title: "任务状态",
- children: Ft
- });
- else if (o?.status === "running") {
- let e = Ge(o);
- m = /* @__PURE__ */ (0, Q.jsx)(P, {
- embedded: !0,
- label: e,
- value: o.completed_sources,
- total: o.total_sources
- }), o.sources?.length && (h = /* @__PURE__ */ (0, Q.jsx)(Rt, {
- scan: o,
- partial: !0
- }));
- } else if (o?.status === "failed") h = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [o.sources?.length ? /* @__PURE__ */ (0, Q.jsx)(Rt, {
- scan: o,
- partial: !0
- }) : null, /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "扫描失败",
- children: o.error || "后台扫描失败"
- })] });
- else if (o?.status === "complete" && o.applied) h = n.job?.status === "complete" ? p(n.job) : /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "neutral",
- title: "清理结果",
- children: "这次检查的结果已经清理,重新扫描可再核对。"
- });
- else if (o?.status === "complete") {
- let t = ke(o);
- h = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Rt, { scan: o }), t ? /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "neutral",
- title: "清理内容",
- action: /* @__PURE__ */ (0, Q.jsx)(e, {
- variant: "danger",
- ...B(c),
- onClick: () => d(o),
- children: c ? "正在复核并清理…" : It
- }),
- children: R(o)
- }) : /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "mr-auto text-body-regular text-notification-success-foreground",
- children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
- })] });
- }
- return n.start.isError && !f && (h = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [h, /* @__PURE__ */ (0, Q.jsx)(b, {
- tone: "error",
- title: "清理失败",
- children: H(n.start.error)
- })] })), /* @__PURE__ */ (0, Q.jsxs)("section", {
- id: "resource-sync",
- "aria-labelledby": "resource-sync-title",
- className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, Q.jsxs)(i, {
- layout: "split",
- labelledBy: "resource-sync-title",
- footer: /* @__PURE__ */ (0, Q.jsx)(e, {
- "data-resource-scan": !0,
- leadingIcon: l && !s ? Pt : Nt,
- ...B(s),
- onClick: () => {
- s || r.start.mutate();
- },
- children: u
- }),
- children: [
- /* @__PURE__ */ (0, Q.jsx)(a, {
- id: "resource-sync-title",
- gap: "small",
- children: "资源同步"
- }),
- /* @__PURE__ */ (0, Q.jsx)("p", {
- className: "max-w-190 text-body-2-regular leading-5 text-text-secondary",
- children: "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。"
- }),
- /* @__PURE__ */ (0, Q.jsx)("div", {
- "aria-live": "polite",
- className: "mt-4 empty:hidden",
- children: m
- })
- ]
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
- "aria-live": "polite",
- className: "flex flex-col gap-4 empty:hidden",
- children: h
- })]
- });
-}
-// src/react/data-cleanup/data-cleanup-page.tsx
-function Bt(e, t) {
- return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
-}
-function Vt({ section: e, label: t, icon: n, value: r, open: i }) {
- return /* @__PURE__ */ (0, Q.jsx)("button", {
- type: "button",
- className: X({ interactive: !0 }),
- "data-cleanup-go": e,
- onClick: () => i(e),
- children: /* @__PURE__ */ (0, Q.jsx)(Y, {
- label: t,
- icon: n,
- figure: r.figure,
- meta: r.meta
- })
- });
-}
-var Ht = K("square-check-big"), Ut = K("sparkles"), Wt = K("file-stack"), Gt = K("file-archive"), Kt = K("trash"), qt = [
- A,
- w,
- r
-], Jt = () => {
- for (let e of qt) G.invalidateQueries({
- queryKey: e,
- exact: !0
- });
-};
-function Yt({ toast: e, failure: t, open: n }) {
- let i = J({
- queryKey: A,
- queryFn: ({ signal: e }) => Te(e)
- }), a = J({
- queryKey: w,
- queryFn: ({ signal: e }) => xe(e)
- }), o = J({
- queryKey: r,
- queryFn: ({ signal: e }) => pe(e)
- }), s = J({
- queryKey: l,
- queryFn: ({ signal: e }) => me(e)
- }), c = J({
- queryKey: re,
- queryFn: ({ signal: e }) => Ee(e)
- }), u = J({
- queryKey: v,
- queryFn: ({ signal: e }) => _e(e)
- }), d = (t) => e(t);
- return /* @__PURE__ */ (0, Q.jsxs)(nt, { children: [
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: it,
- children: [
- /* @__PURE__ */ (0, Q.jsx)(Vt, {
- section: "review",
- label: "人工复核",
- icon: Ht,
- open: n,
- value: Bt(i, We)
- }),
- /* @__PURE__ */ (0, Q.jsx)(Vt, {
- section: "quality",
- label: "高清版",
- icon: Ut,
- open: n,
- value: Bt(a, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
- }),
- /* @__PURE__ */ (0, Q.jsx)(Vt, {
- section: "duplicates",
- label: "重复文件",
- icon: Wt,
- open: n,
- value: Bt(o, (e) => Number(e.total || 0) ? {
- figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
- meta: `可回收 ${Oe(e.reclaimable || 0)}`
- } : { figure: "没有重复内容" })
- }),
- /* @__PURE__ */ (0, Q.jsx)(Vt, {
- section: "ads",
- label: "垃圾文件",
- icon: Gt,
- open: n,
- value: Bt(s, (e) => ({
- figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: je(e)
- }))
- }),
- /* @__PURE__ */ (0, Q.jsx)(Vt, {
- section: "trash",
- label: "回收站",
- icon: Kt,
- open: n,
- value: Bt(c, (e) => ({
- figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
- meta: e.total ? `占用 ${Oe(e.bytes || 0)}` : ""
- }))
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: "flex flex-col gap-4 max-cleanup-tight:gap-3",
- children: [
- /* @__PURE__ */ (0, Q.jsx)("div", {
- id: "libraryProcessing",
- className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, Q.jsx)(h, {
- toast: d,
- monitor: !0,
- onComplete: Jt
- })
- }),
- /* @__PURE__ */ (0, Q.jsx)("div", {
- id: "mediaRepair",
- children: /* @__PURE__ */ (0, Q.jsx)(ft, { toast: d })
- }),
- /* @__PURE__ */ (0, Q.jsx)(Dt, {
- toast: d,
- failure: t
- })
- ]
- }),
- /* @__PURE__ */ (0, Q.jsx)(St, {}),
- /* @__PURE__ */ (0, Q.jsx)(Mt, { toast: d }),
- Ae(u.data) ? /* @__PURE__ */ (0, Q.jsx)(zt, { toast: e }) : null
- ] });
-}
-export { Yt as DataCleanupPage };
-
-//# debugId=8131dcd7-9c56-43a9-9b29-2edfcbadf1af
\ No newline at end of file
diff --git a/web/dist/peach-app.data-cleanup-page-Gw7OWpuh.js b/web/dist/peach-app.data-cleanup-page-Gw7OWpuh.js
new file mode 100644
index 000000000..36fe75f75
--- /dev/null
+++ b/web/dist/peach-app.data-cleanup-page-Gw7OWpuh.js
@@ -0,0 +1,1726 @@
+(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] = "83c29409-9b0d-4667-a98a-814861c33dbc", e._sentryDebugIdIdentifier = "sentry-dbid-83c29409-9b0d-4667-a98a-814861c33dbc");
+ } catch {}
+})();
+import { Button as e, CLEANUP_ENTRY as t, CLEANUP_ENTRY_GRID as n, CLEANUP_HASH_REDIRECTS as r, CLEANUP_TOOLS as i, Chip as a, DIRECTORY_TEMPLATE_ERROR as o, DUPLICATES_KEY as s, Fieldset as c, FieldsetTitle as l, IDLE_REPAIR as u, IconButton as d, IndexSearch as f, Input as p, JUNK_KEY as m, LINKS_KEY as h, LINK_CHECK_KEY as g, LINK_KINDS as _, LINK_PRUNE_KEY as ee, LOC as v, LibraryProcessingCard as y, MEDIA_REPAIR_KEY as b, MEDIA_REPAIR_URL as x, MEDIA_SOURCES_KEY as S, MEDIA_SOURCE_ICONS as C, Note as w, ORGANIZE_KEY as T, ORPHAN_RECORDS_KEY as E, PERFORMER_DELETE_KEY as D, PLAIN_STAT_STRIP as O, PlainStat as k, Progress as A, QUALITY_GOALS_KEY as j, REPAIR_CARD_TEXT as M, REPAIR_LIBRARIES_KEY as te, RESOURCE_APPLY_KEY as N, RESOURCE_SCAN_KEY as ne, RESULT_PANEL as re, RESULT_SECTION as P, REVIEW_COUNTS_KEY as F, SOURCE_LABELS as I, SectionHeading as L, Select as ie, SelectItem as ae, SourceMark as oe, StatusLabel as se, TRASH_KEY as R, TaskProgress as z, Wt as ce, __toESM as le, apiSend as B, applyConfirmText as ue, applyLeftovers as de, applyPlanText as fe, applyText as pe, attachOrphan as V, baseName as me, busyProps as H, candidateText as U, checkLine as he, confirmModal as W, cx as ge, deletePerformerVideos as _e, entityDisplayName as ve, entityFaceImg as ye, entityPath as be, errorMessage as G, esc as xe, fetchDeletePerformers as Se, fetchDeletePlan as Ce, fetchDuplicates as we, fetchJunkSummary as Te, fetchLinkCheck as Ee, fetchLinkPrune as De, fetchLinkStats as Oe, fetchMediaRepair as ke, fetchMediaSources as Ae, fetchOrganize as je, fetchOrganizeExample as Me, fetchOrphanRecords as Ne, fetchQualityGoals as Pe, fetchRepairLibraries as Fe, fetchResourceApply as Ie, fetchResourceScan as Le, fetchReviewCounts as Re, fetchTrashSummary as ze, firstGrapheme as Be, fmtSize as K, hasChanges as Ve, hasResourceRoots as He, junkBreakdown as Ue, missingToolText as We, nameFallback as Ge, organizeOutcome as Ke, pickOrganizeFolder as qe, plainStatClass as q, planSummary as Je, previewOrganize as Ye, pruneText as Xe, purgeCount as Ze, purgeOrphan as Qe, queryClient as J, recordsText as $e, rememberTemplates as et, require_jsx_runtime as tt, require_react as nt, reviewSummary as rt, scanLine as it, sourceMeta as at, spriteGlyph as Y, startLinkCheck as ot, startLinkPrune as st, startOrganize as ct, startResourceApply as lt, startResourceScan as ut, statusLine as dt, useAction as ft, useBackgroundJob as pt, useEntityNames as mt, useMutation as ht, useQuery as X, withOrganizeJob as gt } from "./peach-app.js";
+import { Page as _t } from "./peach-app.page-QAncjzM1.js";
+import { ErrorExcerpt as vt } from "./peach-app.error-excerpt-B8v2xEIP.js";
+import { DataTable as yt } from "./peach-app.data-table-C3qANjHs.js";
+import { SiteMark as bt } from "./peach-app.site-mark-D_VlIyJz.js";
+import { LEGACY_AVATAR_IMG as xt } from "./peach-app.legacy-avatar-NSITxLRS.js";
+import { FolderSearchIcon as St } from "./peach-app.folder-rows-BWBfTyUD.js";
+import { ConnectionStatus as Ct } from "./peach-app.connection-status-DI6kgn3i.js";
+// src/react/data-cleanup/cleanup-entry-card.tsx
+var Z = /* @__PURE__ */ le(nt(), 1), Q = tt(), wt = Y("chevron-right");
+function Tt({ label: e, icon: n, summary: r, detail: i, state: a, attributes: o, onOpen: s }) {
+ return /* @__PURE__ */ (0, Q.jsxs)("button", {
+ type: "button",
+ ...o,
+ className: t.face,
+ onClick: s,
+ "data-entry-state": a,
+ "aria-busy": a === "loading" || void 0,
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ "aria-hidden": !0,
+ className: t.icon,
+ children: /* @__PURE__ */ (0, Q.jsx)(n, {
+ "aria-hidden": !0,
+ className: "size-5"
+ })
+ }),
+ /* @__PURE__ */ (0, Q.jsxs)("span", {
+ className: t.body,
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: t.title,
+ children: e
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: ge(t.summary, a === "error" && "text-text-error-primary"),
+ children: r
+ }),
+ i ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: t.detail,
+ children: i
+ }) : null
+ ]
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(wt, {
+ "aria-hidden": !0,
+ className: t.arrow
+ })
+ ]
+ });
+}
+// src/react/media-repair/media-repair-card.tsx
+var Et = (e) => C[e] || e, Dt = (e) => J.setQueryData(b, e);
+function Ot({ toast: t = () => {} }) {
+ let n = pt({
+ queryKey: b,
+ queryFn: ({ signal: e }) => ke(e),
+ start: (e) => B(x, {
+ library: e,
+ restart: !0
+ }),
+ onFinish: (e) => {
+ e.status === "complete" && !e.failed && !e.missing_tool && t(e.repaired ? `已修复 ${e.repaired.toLocaleString()} 部视频` : "已检查媒体库,没有需要修复的视频");
+ }
+ }), r = X({
+ queryKey: te,
+ queryFn: ({ signal: e }) => Fe(e)
+ }), [i, a] = (0, Z.useState)(""), o = ft(), s = n.job ?? u, d = r.data ?? [], f = s.status === "running", p = d.find((e) => e.id === (f ? s.library : i)) ?? d.find((e) => e.id === s.library) ?? d[0], m = () => {
+ p && W({
+ title: `修复媒体库「${p.name}」`,
+ body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (p.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
+ confirmLabel: "修复媒体库",
+ onConfirm: async () => {
+ await n.start.mutateAsync(p.id);
+ }
+ });
+ }, h = () => void o.run("stop", (e) => B(x, { stop: !0 }, "POST", e), Dt), g = n.outcome, _ = dt(f ? s : g ?? u), ee = o.error || g?.error || (n.query.error ? "读不到媒体修复的状态" : "");
+ return /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, Q.jsx)(c, {
+ layout: "split",
+ label: "媒体修复",
+ footer: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(ie, {
+ "aria-label": "媒体库",
+ prefix: "媒体库",
+ className: "w-48",
+ selectedKey: p?.id ?? null,
+ isDisabled: f || !d.length,
+ onSelectionChange: (e) => {
+ e !== null && a(String(e));
+ },
+ children: d.map((e) => /* @__PURE__ */ (0, Q.jsxs)(ae, {
+ id: e.id,
+ textValue: e.name,
+ children: [/* @__PURE__ */ (0, Q.jsx)(oe, { mark: Et(e.icon) }), e.name]
+ }, e.id))
+ }), f ? /* @__PURE__ */ (0, Q.jsx)(e, {
+ onClick: h,
+ ...H(o.busy === "stop"),
+ children: "停止"
+ }) : /* @__PURE__ */ (0, Q.jsx)(e, {
+ onClick: m,
+ disabled: !p,
+ children: "开始修复"
+ })] }),
+ children: /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(l, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: M
+ }),
+ f && s.total ? /* @__PURE__ */ (0, Q.jsx)(A, {
+ label: "修复进度",
+ value: s.checked,
+ max: s.total
+ }) : null,
+ _ ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ role: "status",
+ className: "text-caption-1-regular text-text-secondary",
+ children: _
+ }) : null
+ ]
+ })
+ }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-4 empty:hidden",
+ children: [g?.status === "complete" && g.missing_tool ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "warning",
+ title: "缺少 untrunc",
+ action: /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "ghost",
+ size: "small",
+ onClick: n.dismiss,
+ children: "关闭提示"
+ }),
+ children: We(g)
+ }) : null, ee ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ children: ee
+ }) : null]
+ })]
+ });
+}
+// src/react/data-cleanup/link-check-icon.tsx
+function kt({ className: e }) {
+ return /* @__PURE__ */ (0, Q.jsxs)("svg", {
+ "aria-hidden": !0,
+ viewBox: "0 0 24 24",
+ fill: "none",
+ stroke: "currentColor",
+ strokeWidth: 2,
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ className: e,
+ "data-link-check-icon": "",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("path", { d: "m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71" }),
+ /* @__PURE__ */ (0, Q.jsx)("path", { d: "m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71" }),
+ /* @__PURE__ */ (0, Q.jsxs)("g", {
+ "data-link-check-rays": "",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("path", { d: "M8 2v3" }),
+ /* @__PURE__ */ (0, Q.jsx)("path", { d: "M2 8h3" }),
+ /* @__PURE__ */ (0, Q.jsx)("path", { d: "M16 19v3" }),
+ /* @__PURE__ */ (0, Q.jsx)("path", { d: "M19 16h3" })
+ ]
+ })
+ ]
+ });
+}
+// src/react/data-cleanup/link-manager.tsx
+var At = Y("rotate-cw"), jt = "站点返回 404 或 410,确认这个地址不存在。", Mt = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Nt = "删除前会逐条重验一次;此操作不可撤销。", Pt = "暂时无法读取进度,正在重新连接…", Ft = (e) => Number(e || 0).toLocaleString();
+function It({ label: e, value: t, note: n }) {
+ return /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex min-w-0 flex-col gap-0.5",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "text-caption-1-regular leading-5 text-text-secondary",
+ children: e
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("b", {
+ className: "text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary",
+ children: t
+ }),
+ n ? /* @__PURE__ */ (0, Q.jsx)("small", {
+ className: "text-caption-1-regular leading-5 text-text-secondary",
+ children: n
+ }) : null
+ ]
+ });
+}
+function Lt({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o, confirmed: s = !1 }) {
+ return t.length ? /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: P,
+ "data-link-results": s ? "gone" : "unclear",
+ children: /* @__PURE__ */ (0, Q.jsx)(yt, {
+ label: e,
+ items: t,
+ columns: [
+ {
+ id: "entity",
+ label: "Peach 资料",
+ width: 180,
+ min: 128,
+ value: (e) => e.entity,
+ render: (e) => /* @__PURE__ */ (0, Q.jsxs)("a", {
+ className: "flex min-w-24 items-center gap-2 text-text-secondary hover:text-text-primary hover:underline",
+ href: e.entity_id && e.entity_kind ? be(e.entity_kind, e.entity, e.entity_id) : void 0,
+ "data-link-identity": "",
+ children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ "data-link-avatar": "",
+ className: `relative flex size-6 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium text-text-primary ${xt}`,
+ "aria-hidden": !0,
+ dangerouslySetInnerHTML: { __html: `<span>${xe(Be(e.entity))}</span>` + ye({
+ kind: e.entity_kind,
+ id: e.entity_id,
+ hasImage: e.face?.has_image,
+ version: e.face?.image_version,
+ focus: e.face?.avatar_focus,
+ thumb: !0,
+ mark: e.entity_kind === "studio" || e.entity_kind === "agency" ? e.id : null
+ }) }
+ }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "min-w-0 wrap-anywhere",
+ children: e.entity
+ })]
+ })
+ },
+ {
+ id: "kind",
+ label: "类型",
+ width: 128,
+ value: (e) => _[e.link_kind] || e.link_kind,
+ render: (e) => _[e.link_kind] || e.link_kind
+ },
+ {
+ id: "label",
+ label: "链接名称",
+ min: 128,
+ value: (e) => e.label || "",
+ render: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "flex min-w-24 items-center gap-2",
+ "data-link-name": "",
+ children: /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "min-w-0 wrap-anywhere",
+ children: e.label || new URL(e.url).hostname
+ })
+ })
+ },
+ {
+ id: "note",
+ label: "结果",
+ width: 320,
+ min: 192,
+ value: (e) => e.note,
+ render: (e) => /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: "min-w-0 w-full",
+ "data-link-result": s ? "gone" : "unclear",
+ children: /^(?:HTTP\s+)?[1-5]\d{2}$/.test(e.note.trim()) ? /* @__PURE__ */ (0, Q.jsx)(se, {
+ tone: s || /^(?:HTTP\s+)?5\d{2}$/.test(e.note.trim()) ? "error" : "warning",
+ "data-link-code": "",
+ children: e.note.trim()
+ }) : /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex flex-col items-start gap-1",
+ children: [/* @__PURE__ */ (0, Q.jsx)(se, {
+ tone: s ? "error" : "warning",
+ children: s ? "地址已失效" : "未取得结论"
+ }), /* @__PURE__ */ (0, Q.jsx)(vt, {
+ text: e.note,
+ className: "tabular-nums text-text-secondary"
+ })]
+ })
+ })
+ },
+ {
+ id: "url",
+ label: "地址",
+ width: 360,
+ min: 180,
+ value: (e) => e.url,
+ render: (e) => /* @__PURE__ */ (0, Q.jsxs)("a", {
+ href: e.url,
+ target: "_blank",
+ rel: "noopener noreferrer",
+ title: e.url,
+ "data-link-address": "",
+ className: "flex min-w-0 items-center gap-1 text-text-secondary hover:text-text-primary",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(bt, { linkId: e.id }),
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ "data-middle-truncate": !0,
+ className: "min-w-0 truncate",
+ children: e.url
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(ce, {
+ "aria-hidden": !0,
+ className: "size-(--icon-inline) shrink-0"
+ })
+ ]
+ })
+ }
+ ],
+ rowId: (e) => String(e.id),
+ description: n,
+ unit: "条链接",
+ panel: !1,
+ footerActions: o,
+ rowLabel: (e) => `${e.entity} 的${e.label || e.url}`,
+ selected: r.map(String),
+ onSelected: (e) => i(e.map(Number)),
+ actions: () => a
+ })
+ }) : null;
+}
+function Rt() {
+ let t = X({
+ queryKey: h,
+ queryFn: ({ signal: e }) => Oe(e)
+ }), [n, r] = (0, Z.useState)([]), [i, o] = (0, Z.useState)([]), s = pt({
+ queryKey: ee,
+ queryFn: ({ signal: e }) => De(e),
+ start: st,
+ onFinish: () => {
+ J.invalidateQueries({
+ queryKey: h,
+ exact: !0
+ }), J.invalidateQueries({
+ queryKey: g,
+ exact: !0
+ });
+ }
+ }), u = pt({
+ queryKey: g,
+ queryFn: ({ signal: e }) => Ee(e),
+ start: ot,
+ onStarted: () => {
+ s.dismiss(), r([]), o([]);
+ }
+ }), d = u.job, f = d?.check_id ?? "";
+ (0, Z.useEffect)(() => {
+ r([]), o([]);
+ }, [f]);
+ let p = u.running || u.start.isPending, m = s.running || s.start.isPending, v = d?.status === "complete", y = d?.gone ?? [], b = d?.unclear ?? [], x = v ? b : [], S = y.filter((e) => i.includes(e.id)).map((e) => e.id), C = x.filter((e) => n.includes(e.id)).map((e) => e.id), T = t.data, E = (T?.top_hosts ?? []).slice(0, 3), D = (e) => {
+ p || e && !e.length || u.start.mutate(e ? {
+ retry: e,
+ checkId: f
+ } : {});
+ }, O = (e) => {
+ !m && y.length && W({
+ title: "删除失效链接",
+ body: `将删除 ${e?.length ?? y.length} 条失效链接。删除前会再次检查,删除后无法恢复。`,
+ confirmLabel: "删除失效链接",
+ danger: !0,
+ onConfirm: () => s.start.mutateAsync({
+ checkId: f,
+ ids: e
+ })
+ });
+ }, k = s.outcome, A = u.start.error ?? s.start.error, j = null, M = null;
+ if (k?.status === "failed") M = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "链接清理未完成",
+ children: k.error || "请查看任务记录,核对已处理的链接。"
+ });
+ else if (k && !y.length && !b.length) M = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "success",
+ title: "完成",
+ children: Xe(k)
+ });
+ else if (A) M = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "检查失败",
+ children: G(A)
+ });
+ else if (u.query.isError && d) M = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "neutral",
+ title: "任务状态",
+ children: Pt
+ });
+ else if (d?.status === "failed") M = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "检查失败",
+ children: d.error || "检查失败"
+ });
+ else if (d && d.status !== "idle") {
+ j = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [d.status === "running" ? /* @__PURE__ */ (0, Q.jsx)(z, {
+ embedded: !0,
+ label: he(d),
+ value: Math.min(d.checked || 0, d.total || 0),
+ total: d.total
+ }) : null, m ? /* @__PURE__ */ (0, Q.jsx)(z, {
+ embedded: !0,
+ label: s.job?.message || "正在重验并删除失效链接",
+ value: Math.min(s.job?.checked || 0, s.job?.total || 0),
+ total: s.job?.total
+ }) : null] });
+ let t = `立即重试所选(${C.length})`;
+ M = v || y.length || b.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: re,
+ children: [
+ k?.status === "complete" ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "success",
+ title: "完成",
+ children: Xe(k)
+ }) : null,
+ /* @__PURE__ */ (0, Q.jsx)(Lt, {
+ title: "地址已失效",
+ items: y,
+ hint: jt,
+ picked: i,
+ onPick: o,
+ confirmed: !0,
+ footer: v && y.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "mr-auto min-w-0 text-caption-1-regular text-text-secondary",
+ children: Nt
+ }), /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "danger",
+ ...H(m),
+ onClick: () => O(),
+ children: `删除 ${y.length} 条失效链接`
+ })] }) : null,
+ children: /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "danger",
+ size: "small",
+ disabled: !v || !S.length,
+ ...H(m),
+ onClick: () => O(S),
+ children: `删除所选(${S.length})`
+ })
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(Lt, {
+ title: "本次未访问成功",
+ items: b,
+ hint: Mt,
+ picked: n,
+ onPick: r,
+ footer: x.length ? /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "primary",
+ leadingIcon: At,
+ ...H(p),
+ onClick: () => D(x.map((e) => e.id)),
+ children: `立即重试全部(${x.length})`
+ }) : null,
+ children: x.length ? /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "secondary",
+ leadingIcon: At,
+ disabled: !C.length,
+ ...H(p),
+ onClick: () => D(C),
+ children: t
+ }) }) : null
+ }),
+ v && !y.length && !b.length ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: `${P} text-body-regular text-notification-success-foreground`,
+ children: "全部链接均可访问。"
+ }) : null
+ ]
+ }) : null;
+ }
+ return /* @__PURE__ */ (0, Q.jsxs)("section", {
+ id: "link-manager",
+ "aria-labelledby": "link-manager-title",
+ className: "flex scroll-mt-20 flex-col gap-4",
+ children: [/* @__PURE__ */ (0, Q.jsxs)(c, {
+ layout: "stack",
+ labelledBy: "link-manager-title",
+ footer: /* @__PURE__ */ (0, Q.jsx)(e, {
+ "data-link-check": "",
+ leadingIcon: kt,
+ ...H(p),
+ onClick: () => D(),
+ children: p ? "检查中" : v ? "重新检查" : "检查死链"
+ }),
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(l, {
+ id: "link-manager-title",
+ gap: "small",
+ children: "链接管理"
+ }),
+ t.isError ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "链接统计读取失败",
+ children: G(t.error)
+ }) : T ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
+ children: [/* @__PURE__ */ (0, Q.jsx)(It, {
+ label: "链接总数",
+ value: Ft(T.total),
+ note: `分布在 ${Ft(T.entities)} 个女优、厂牌与系列`
+ }), Object.entries(T.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(It, {
+ label: _[e] || e,
+ value: Ft(t)
+ }, e))]
+ }), E.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "mt-4 flex min-w-0 flex-col gap-0.5",
+ children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: "主要站点"
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: "flex min-w-0 flex-wrap gap-x-5 gap-y-2",
+ children: E.map(([e, t]) => /* @__PURE__ */ (0, Q.jsxs)("span", {
+ "data-top-host": "",
+ className: "inline-flex min-w-0 max-w-full items-center gap-1.5",
+ children: [/* @__PURE__ */ (0, Q.jsxs)("a", {
+ href: `https://${e}`,
+ target: "_blank",
+ rel: "noopener noreferrer",
+ className: "inline-flex min-w-0 items-center gap-1.5 text-body-2-medium text-text-primary",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(bt, { linkId: T.top_host_link_ids?.[e] }),
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "min-w-0 wrap-anywhere",
+ children: e
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(ce, {
+ "aria-hidden": !0,
+ className: "size-(--icon-inline) shrink-0"
+ })
+ ]
+ }), /* @__PURE__ */ (0, Q.jsx)(a, {
+ variant: "caption",
+ color: "neutral",
+ children: /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "tabular-nums",
+ children: Ft(t)
+ })
+ })]
+ }, e))
+ })]
+ }) : null] }) : null,
+ /* @__PURE__ */ (0, Q.jsx)("div", {
+ "aria-live": "polite",
+ className: "mt-4 flex flex-col gap-3 empty:hidden",
+ children: j
+ })
+ ]
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ "aria-live": "polite",
+ className: "empty:hidden",
+ children: M
+ })]
+ });
+}
+// src/react/data-cleanup/organize-card.tsx
+var zt = (e, t) => `将整理「${e}」${t ? `的「${t}」及其子目录` : "上的文件名与目录"},清理特殊符号与乱码,并按已填模板改名或移动。目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Bt = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", Vt = 8;
+function Ht({ plan: e }) {
+ return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("ol", {
+ className: "mt-2 flex min-w-0 flex-col gap-1",
+ children: e.rows.slice(0, Vt).map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
+ className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ "data-middle-truncate": !0,
+ title: e.current_path,
+ className: "min-w-0 truncate",
+ children: me(e.current_path)
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ "aria-hidden": !0,
+ children: "→"
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("span", {
+ "data-middle-truncate": !0,
+ title: e.target_path,
+ className: "min-w-0 truncate text-text-primary",
+ children: me(e.target_path)
+ })
+ ]
+ }, e.current_path))
+ }), e.truncated || e.rows.length > Vt ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: "只列出前 8 行,完整计划在计划 CSV 里。"
+ }) : null] });
+}
+function Ut({ toast: t, failure: n }) {
+ let r = X({
+ queryKey: T,
+ queryFn: ({ signal: e }) => je(e)
+ }), i = r.data, a = i?.locations ?? [], [s, u] = (0, Z.useState)(""), f = a.some((e) => e.location === s) ? s : a[0]?.location ?? "", m = i?.templates?.[f], [h, g] = (0, Z.useState)(null), _ = h?.location === f ? h : {
+ location: f,
+ file: m?.file ?? "",
+ dir: m?.dir ?? ""
+ }, ee = (e) => {
+ g({
+ ..._,
+ ...e
+ }), P.reset();
+ }, [y, b] = (0, Z.useState)({
+ location: "",
+ path: ""
+ }), x = y.location === f ? y.path : "", S = (0, Z.useRef)({
+ location: f,
+ path: x
+ });
+ S.current = {
+ location: f,
+ path: x
+ };
+ let [E, D] = (0, Z.useState)(null), O = (0, Z.useRef)(null), k = (0, Z.useRef)(null), A = (0, Z.useRef)(null), j = X({
+ queryKey: [
+ "organize-example",
+ _.file,
+ _.dir
+ ],
+ queryFn: ({ signal: e }) => Me(_.file, _.dir, e),
+ enabled: !!i
+ }), [M, te] = (0, Z.useState)("file"), N = (0, Z.useRef)(!1), ne = (0, Z.useRef)(null);
+ (0, Z.useLayoutEffect)(() => {
+ let e = ne.current;
+ if (!e) return;
+ ne.current = null;
+ let t = (e.field === "file" ? O : k).current;
+ t?.focus(), t?.setSelectionRange(e.caret, e.caret);
+ });
+ let re = () => ({
+ location: f,
+ path: x.trim(),
+ file_template: _.file.trim(),
+ dir_template: _.dir.trim()
+ }), P = ht({
+ mutationFn: Ye,
+ onError: (e) => {
+ let t = /整理路径/.test(G(e)) ? "path" : o.test(G(e)) ? "dir" : "file";
+ D(t), (t === "path" ? A : t === "dir" ? k : O).current?.focus();
+ }
+ }), F = ht({
+ mutationFn: ({ initial: e }) => qe(e),
+ onSuccess: (e, t) => {
+ e.path && t.location === S.current.location && t.path === S.current.path && (b({
+ location: t.location,
+ path: e.path
+ }), D(null), P.reset(), A.current?.focus());
+ }
+ }), I = pt({
+ queryKey: T,
+ queryFn: ({ signal: e }) => je(e),
+ start: ct,
+ jobOf: (e) => e,
+ withJob: gt,
+ onStarted: () => P.reset(),
+ onFinish: (e) => {
+ if (J.invalidateQueries({
+ queryKey: T,
+ exact: !0
+ }), e.status !== "complete") return;
+ let { text: r, failed: i } = Ke(e);
+ i ? n("整理文件", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
+ }
+ }), L = I.running || I.start.isPending, se = JSON.stringify(P.variables) === JSON.stringify(re()), R = se ? P.data : void 0, ce = Number(R?.counts?.change || 0), le = v[f] || f, B = (e) => {
+ ee(e), D(null), P.reset();
+ }, ue = (e) => {
+ let t = (M === "file" ? O : k).current, n = _[M], r = N.current ? t?.selectionStart ?? n.length : n.length, i = N.current ? t?.selectionEnd ?? r : r, a = `{${e}}`;
+ ne.current = {
+ field: M,
+ caret: r + a.length
+ }, B({ [M]: n.slice(0, r) + a + n.slice(i) });
+ }, de = () => {
+ P.isPending || L || !f || (I.dismiss(), I.start.reset(), D(null), P.mutate(re()));
+ }, fe = () => {
+ let e = P.variables;
+ e && R && ce && W({
+ title: "整理文件",
+ body: zt(le, e.path),
+ confirmLabel: "整理文件",
+ onConfirm: async () => {
+ await I.start.mutateAsync({
+ kind: "apply",
+ request: e
+ }), et({
+ ...i?.templates ?? {},
+ [e.location]: {
+ file: e.file_template,
+ dir: e.dir_template
+ }
+ });
+ }
+ });
+ }, pe = () => void W({
+ title: "回滚上一批整理",
+ body: Bt,
+ confirmLabel: "回滚整理",
+ onConfirm: () => I.start.mutateAsync({ kind: "rollback" })
+ }), V = null, me = !!ce && !L && !I.outcome, U = I.job, he = I.outcome;
+ if (U?.status === "running") {
+ let e = U.message || U.stage || "正在整理文件";
+ V = /* @__PURE__ */ (0, Q.jsx)(z, {
+ embedded: !0,
+ label: e,
+ value: Math.min(U.checked || 0, U.total || 0),
+ total: U.total
+ });
+ } else if (he?.status === "failed") V = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "文件整理未完成",
+ children: he.error || "请查看任务记录,核对已处理的文件。"
+ });
+ else if (he) {
+ let { text: e, failed: t } = Ke(he);
+ V = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: t ? "warning" : "success",
+ title: t ? "部分完成" : "整理结果",
+ children: e
+ });
+ } else I.start.isError ? V = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "整理失败",
+ children: G(I.start.error)
+ }) : P.isPending ? V = /* @__PURE__ */ (0, Q.jsx)(z, {
+ embedded: !0,
+ label: "正在核对整理计划"
+ }) : P.isError && se ? V = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "整理预览失败",
+ children: G(P.error)
+ }) : R && (V = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "neutral",
+ title: "预览结果",
+ children: Je(R)
+ }), ce ? /* @__PURE__ */ (0, Q.jsx)(Ht, { plan: R }) : null] }));
+ return /* @__PURE__ */ (0, Q.jsxs)(c, {
+ layout: "stack",
+ id: "organize",
+ labelledBy: "cleanup-organize-title",
+ attributes: { "data-cleanup-organize": "" },
+ footer: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
+ i?.last_batch ? /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "secondary",
+ ...H(L),
+ onClick: pe,
+ children: "回滚上一批"
+ }) : null,
+ /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: me ? "secondary" : "primary",
+ disabled: !a.length || L,
+ ...H(P.isPending),
+ onClick: de,
+ children: "预览"
+ }),
+ me ? /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "primary",
+ onClick: fe,
+ children: "执行整理"
+ }) : null
+ ] }),
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(l, {
+ id: "cleanup-organize-title",
+ gap: "medium",
+ children: "整理"
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-body-regular text-text-secondary",
+ children: "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。"
+ }),
+ r.isError ? /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: "mt-3",
+ children: /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "整理配置读取失败",
+ children: G(r.error)
+ })
+ }) : null,
+ /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "mt-3 flex flex-col gap-3",
+ children: [
+ /* @__PURE__ */ (0, Q.jsxs)("div", {
+ "data-organize-scope": !0,
+ className: "flex min-w-0 flex-wrap items-start gap-2",
+ children: [a.length ? /* @__PURE__ */ (0, Q.jsx)(ie, {
+ "aria-label": "整理哪个来源",
+ prefix: "来源",
+ className: "w-fit min-w-25",
+ selectedKey: f || null,
+ onSelectionChange: (e) => {
+ e !== null && (u(String(e)), b({
+ location: String(e),
+ path: ""
+ }), D(null), P.reset(), F.reset(), N.current = !1);
+ },
+ children: a.map((e) => /* @__PURE__ */ (0, Q.jsxs)(ae, {
+ id: e.location,
+ textValue: v[e.location] || e.location,
+ children: [/* @__PURE__ */ (0, Q.jsx)(oe, { mark: C[e.location] || "database" }), v[e.location] || e.location]
+ }, e.location))
+ }) : null, /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex min-w-0 basis-64 flex-1 items-start gap-2",
+ children: [/* @__PURE__ */ (0, Q.jsx)(p, {
+ "aria-label": "整理路径",
+ className: "min-w-0 flex-1",
+ placeholder: "留空整理整个来源",
+ name: "organize-path",
+ autoComplete: "off",
+ spellCheck: "false",
+ value: x,
+ ref: A,
+ isInvalid: E === "path",
+ onChange: (e) => {
+ b({
+ location: f,
+ path: e
+ }), D(null), P.reset(), F.reset();
+ }
+ }), /* @__PURE__ */ (0, Q.jsx)(d, {
+ icon: St,
+ "aria-label": "选择整理路径",
+ ...H(F.isPending),
+ onClick: () => F.mutate({
+ initial: x || a.find((e) => e.location === f)?.roots[0] || "",
+ location: f,
+ path: x
+ })
+ })]
+ })]
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ children: "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。"
+ }),
+ F.isError ? /* @__PURE__ */ (0, Q.jsxs)(w, {
+ tone: "error",
+ title: "目录选择失败",
+ children: [G(F.error), ";也可直接输入路径。"]
+ }) : null,
+ /* @__PURE__ */ (0, Q.jsx)(p, {
+ label: "文件名模板",
+ placeholder: "{code}[ {title}]",
+ value: _.file,
+ ref: O,
+ spellCheck: "false",
+ isInvalid: E === "file",
+ onFocus: () => {
+ te("file"), N.current = !0;
+ },
+ onChange: (e) => B({ file: e })
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(p, {
+ label: "目录模板",
+ placeholder: "留空表示原地改名",
+ value: _.dir,
+ ref: k,
+ spellCheck: "false",
+ isInvalid: E === "dir",
+ onFocus: () => {
+ te("dir"), N.current = !0;
+ },
+ onChange: (e) => B({ dir: e })
+ }),
+ i?.presets?.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ role: "group",
+ "aria-label": "套用模板",
+ children: [/* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-caption-1-medium text-text-secondary",
+ children: "套用模板"
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: "flex flex-wrap gap-2",
+ children: i.presets.map((t) => /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "secondary",
+ size: "small",
+ title: t.example || t.label,
+ className: "max-w-full [&>span]:min-w-0 [&>span]:shrink",
+ onClick: () => {
+ B({
+ file: t.file,
+ dir: t.dir
+ }), N.current = !1;
+ },
+ children: /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "truncate",
+ children: t.label
+ })
+ }, t.label))
+ })]
+ }) : null,
+ /* @__PURE__ */ (0, Q.jsxs)("p", {
+ "aria-live": "polite",
+ "aria-busy": j.isFetching,
+ "data-organize-example": "",
+ className: "text-caption-1-regular text-text-secondary",
+ children: ["路径示例:", /* @__PURE__ */ (0, Q.jsx)("code", {
+ className: "wrap-anywhere",
+ children: j.data?.example || j.data?.error || (j.isError ? G(j.error) : "正在预览…")
+ })]
+ }),
+ i?.placeholders?.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ role: "group",
+ "aria-label": "插入参数",
+ children: [/* @__PURE__ */ (0, Q.jsxs)("p", {
+ className: "text-caption-1-regular text-text-secondary",
+ "aria-live": "polite",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("strong", {
+ className: "text-caption-1-semibold text-text-primary",
+ children: "插入参数"
+ }),
+ "(到",
+ M === "file" ? "文件名模板" : "目录模板",
+ ")"
+ ]
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: "flex flex-wrap gap-1",
+ children: i.placeholders.map((t) => /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "ghost",
+ size: "small",
+ "aria-label": `${t.label} {${t.key}}`,
+ onClick: () => ue(t.key),
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", {
+ className: "inline-flex flex-wrap items-center gap-x-1.5",
+ children: [/* @__PURE__ */ (0, Q.jsx)("code", { children: `{${t.key}}` }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "text-text-secondary",
+ children: t.label
+ })]
+ })
+ }, t.key))
+ })]
+ }) : null,
+ /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-caption-1-regular leading-4.5 text-text-secondary",
+ children: "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。"
+ })
+ ]
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("div", {
+ "aria-live": "polite",
+ className: "mt-3 flex flex-col gap-2 empty:hidden",
+ children: V
+ })
+ ]
+ });
+}
+// src/react/data-cleanup/orphan-records-card.tsx
+var Wt = Y("play"), Gt = () => J.invalidateQueries({
+ queryKey: E,
+ exact: !0
+});
+function Kt({ item: t, toast: n }) {
+ let [r, i] = (0, Z.useState)(t.candidates[0]?.id ?? null), a = ht({
+ mutationFn: () => V(t.id, Number(r)),
+ onSuccess: () => {
+ let e = t.candidates.find((e) => e.id === r);
+ n(`已将「${t.name}」的个人记录转移到「${e?.name ?? "所选文件"}」`), Gt();
+ },
+ onError: (e) => n(G(e))
+ }), o = ht({
+ mutationFn: () => Qe(t.id),
+ onSuccess: (e) => {
+ n(e.blocked.length ? `「${t.name}」的文件已恢复,记录未删除;下次扫描后恢复为在库状态` : `已删除「${t.name}」的作品记录及个人记录`), Gt();
+ }
+ }), s = () => {
+ W({
+ title: "删除记录",
+ body: `将删除「${t.name}」的作品记录${$e(t.records) ? `及其个人记录(${$e(t.records)})` : ""}。此操作不可撤销。`,
+ confirmLabel: "删除记录",
+ danger: !0,
+ onConfirm: () => o.mutateAsync()
+ });
+ }, c = a.isPending || o.isPending;
+ return /* @__PURE__ */ (0, Q.jsxs)("span", {
+ className: "flex min-w-0 flex-wrap items-center gap-2",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "danger",
+ size: "small",
+ ...H(c),
+ onClick: s,
+ children: "删除记录"
+ }),
+ t.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(ie, {
+ "aria-label": `选择接收 ${t.name} 个人记录的文件`,
+ prefix: "接收",
+ className: "w-52",
+ selectedKey: r,
+ onSelectionChange: (e) => {
+ e !== null && i(Number(e));
+ },
+ children: t.candidates.map((e) => /* @__PURE__ */ (0, Q.jsx)(ae, {
+ id: e.id,
+ textValue: U(e),
+ children: U(e)
+ }, e.id))
+ }) : null,
+ t.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "primary",
+ size: "small",
+ disabled: r === null,
+ ...H(c),
+ onClick: () => a.mutate(),
+ children: "转移记录"
+ }) : null
+ ]
+ });
+}
+function qt({ item: e }) {
+ return /* @__PURE__ */ (0, Q.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-3",
+ children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
+ className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
+ children: [/* @__PURE__ */ (0, Q.jsx)(Wt, {
+ "aria-hidden": !0,
+ className: "size-5"
+ }), e.has_thumb ? /* @__PURE__ */ (0, Q.jsx)("img", {
+ src: `/thumb?id=${e.id}&c=4`,
+ alt: "",
+ loading: "lazy",
+ onError: (e) => e.currentTarget.remove(),
+ className: "absolute inset-0 size-full object-contain"
+ }) : null]
+ }), /* @__PURE__ */ (0, Q.jsxs)("span", {
+ className: "flex min-w-0 flex-1 flex-col gap-0.5",
+ children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ title: e.name,
+ className: "truncate text-body-regular text-text-primary",
+ children: e.name
+ }), /* @__PURE__ */ (0, Q.jsx)("small", {
+ className: "truncate text-caption-1-regular text-text-secondary",
+ children: [e.code, v[e.location] || e.location].filter(Boolean).join(" · ")
+ })]
+ })]
+ });
+}
+function Jt({ toast: t }) {
+ let [n, r] = (0, Z.useState)([]), i = X({
+ queryKey: E,
+ queryFn: ({ signal: e }) => Ne(e)
+ }), a = i.data?.items ?? [], o = ht({
+ mutationFn: (e) => Qe(e),
+ onSuccess: (e) => {
+ t(`已删除 ${e.purged} 条作品记录及其个人记录${e.blocked.length ? `;${e.blocked.length} 条文件已恢复,记录未删除` : ""}`), r([]), Gt();
+ }
+ }), s = (e) => void W({
+ title: "删除所选记录",
+ body: `将删除以下 ${e.length} 条作品记录及其全部个人记录。此操作不可撤销。`,
+ items: e.map((e) => e.name),
+ confirmLabel: "删除所选记录",
+ danger: !0,
+ onConfirm: () => o.mutateAsync(e.map((e) => e.id))
+ }), u = [
+ {
+ id: "item",
+ label: "作品",
+ width: 480,
+ min: 320,
+ value: (e) => e.name,
+ render: (e) => /* @__PURE__ */ (0, Q.jsx)(qt, { item: e })
+ },
+ {
+ id: "records",
+ label: "个人记录",
+ width: 176,
+ min: 144,
+ value: (e) => $e(e.records),
+ render: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "block min-w-0 whitespace-normal wrap-anywhere",
+ children: $e(e.records) || "无"
+ })
+ },
+ {
+ id: "target",
+ label: "操作",
+ width: a.some((e) => e.candidates.length) ? 360 : 128,
+ min: 128,
+ value: (e) => e.candidates.length,
+ render: (e) => /* @__PURE__ */ (0, Q.jsx)(Kt, {
+ item: e,
+ toast: t
+ })
+ }
+ ];
+ return /* @__PURE__ */ (0, Q.jsx)("section", {
+ id: "orphan-records",
+ "aria-labelledby": "orphan-records-title",
+ className: "flex scroll-mt-20 flex-col gap-4",
+ children: i.isError ? /* @__PURE__ */ (0, Q.jsxs)(c, {
+ layout: "stack",
+ labelledBy: "orphan-records-title",
+ children: [/* @__PURE__ */ (0, Q.jsx)(l, {
+ id: "orphan-records-title",
+ children: "文件已丢失的记录"
+ }), /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "读取文件已丢失的记录失败",
+ children: G(i.error)
+ })]
+ }) : /* @__PURE__ */ (0, Q.jsx)(yt, {
+ label: "文件已消失的作品",
+ items: a,
+ columns: u,
+ title: "文件已丢失的记录",
+ titleId: "orphan-records-title",
+ unit: "条作品",
+ description: "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。",
+ rowId: (e) => String(e.id),
+ rowLabel: (e) => e.name,
+ selected: n,
+ onSelected: r,
+ actions: (t) => /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "danger",
+ size: "small",
+ disabled: !t.length,
+ ...H(o.isPending),
+ onClick: () => s(t),
+ children: `删除所选记录(${t.length})`
+ })
+ })
+ });
+}
+// src/react/data-cleanup/performer-delete-card.tsx
+var Yt = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。";
+function Xt({ person: e }) {
+ let t = ve("performer", e.k, e.entity_id), n = Ge("performer", e.k, e.entity_id);
+ return /* @__PURE__ */ (0, Q.jsxs)("a", {
+ href: be("performer", e.k, e.entity_id),
+ title: n || t,
+ className: "flex min-w-0 items-center gap-3 text-text-primary",
+ children: [/* @__PURE__ */ (0, Q.jsx)("span", {
+ "aria-hidden": !0,
+ className: ge("relative flex size-8 shrink-0 items-center justify-center overflow-hidden rounded-full bg-background-quaternary-default text-caption-1-medium", xt),
+ dangerouslySetInnerHTML: { __html: `<span>${xe(Be(t))}</span>` + ye({
+ kind: "performer",
+ id: e.entity_id,
+ hasImage: e.has_image,
+ version: e.image_version,
+ focus: e.avatar_focus,
+ thumb: !0
+ }) }
+ }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "min-w-0 wrap-anywhere",
+ children: t
+ })]
+ });
+}
+function Zt({ toast: t }) {
+ mt();
+ let n = X({
+ queryKey: D,
+ queryFn: ({ signal: e }) => Se(e)
+ }), [r, i] = (0, Z.useState)([]), [a, o] = (0, Z.useState)(""), [s, u] = (0, Z.useState)(!1), [d, p] = (0, Z.useState)(null), [m, h] = (0, Z.useState)(""), g = (0, Z.useRef)(null);
+ (0, Z.useEffect)(() => () => g.current?.abort(), []);
+ let _ = (0, Z.useMemo)(() => [
+ {
+ id: "name",
+ label: "女优",
+ width: 280,
+ min: 160,
+ value: (e) => e.k,
+ render: (e) => /* @__PURE__ */ (0, Q.jsx)(Xt, { person: e })
+ },
+ {
+ id: "works",
+ label: "影片",
+ width: 104,
+ min: 80,
+ value: (e) => e.n,
+ render: (e) => `${e.n.toLocaleString()} 部`
+ },
+ {
+ id: "files",
+ label: "文件",
+ width: 104,
+ min: 80,
+ value: (e) => e.file_count,
+ render: (e) => `${e.file_count.toLocaleString()} 个`
+ },
+ {
+ id: "bytes",
+ label: "登记大小",
+ width: 136,
+ min: 104,
+ value: (e) => e.bytes,
+ render: (e) => K(e.bytes)
+ }
+ ], []), ee = a.toLocaleLowerCase(), v = (n.data?.items || []).filter((e) => !ee || [
+ e.k,
+ ve("performer", e.k, e.entity_id),
+ ...e.aliases
+ ].some((e) => e.toLocaleLowerCase().includes(ee))), y = async (e, n) => {
+ if (s) return;
+ u(!0), h("");
+ let r = new AbortController();
+ g.current = r;
+ try {
+ let i = await Ce(e.map((e) => e.entity_id), r.signal);
+ if (r.signal.throwIfAborted(), !i.total) {
+ t("所选女优没有可删除的影片");
+ return;
+ }
+ let a = i.performers.map((e) => ve("performer", e.name, e.id)), o = [...new Set(i.items.map((e) => e.code || e.name || `#${e.id}`))], s = await W({
+ title: "删除所选女优的全部影片",
+ body: `将永久删除 ${a.slice(0, 5).join("、")}${a.length > 5 ? `等 ${a.length} 位女优` : ""} 关联的 ${i.total} 个影片文件(登记大小 ${K(i.bytes)})。范围包含全部来源和回收站,不受当前搜索、排序或分页影响。文件、影片资料和观看记录将永久删除,无法恢复;女优档案和照片保留。` + (i.shared ? `其中 ${i.shared} 个文件还关联了未勾选的女优,删除后也会从她们的作品中消失。` : "") + `涉及:${o.slice(0, 5).join("、")}${o.length > 5 ? `等 ${o.length} 部作品` : ""}。`,
+ confirmLabel: "永久删除影片",
+ danger: !0,
+ onConfirm: () => _e(i)
+ });
+ if (!s.confirmed) return;
+ let c = s.result;
+ p(c), n(), await Promise.all([J.invalidateQueries({
+ queryKey: D,
+ exact: !0
+ }), J.invalidateQueries({
+ queryKey: R,
+ exact: !0
+ })]), t(`已永久删除 ${c.purged} 个影片文件${c.blocked.length ? `,${c.blocked.length} 个未删除` : ""}`);
+ } catch (e) {
+ r.signal.aborted || h(G(e));
+ } finally {
+ r.signal.aborted || u(!1);
+ }
+ }, b = d ? [
+ ...d.blocked,
+ ...d.cleanup_pending,
+ ...d.cache_blocked.map((e) => ({
+ path: e.name,
+ reason: e.reason
+ }))
+ ] : [];
+ return /* @__PURE__ */ (0, Q.jsxs)("section", {
+ id: "batch-delete",
+ className: "flex min-w-0 scroll-mt-20 flex-col gap-3",
+ "aria-label": "批量删除",
+ children: [
+ n.isPending || n.isError ? /* @__PURE__ */ (0, Q.jsxs)(c, {
+ layout: "stack",
+ labelledBy: "batch-delete-title",
+ children: [/* @__PURE__ */ (0, Q.jsx)(l, {
+ id: "batch-delete-title",
+ children: "批量删除"
+ }), n.isError ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "读取女优列表失败",
+ action: /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "secondary",
+ size: "small",
+ onClick: () => void n.refetch(),
+ children: "重试"
+ }),
+ children: G(n.error)
+ }) : /* @__PURE__ */ (0, Q.jsx)("p", {
+ role: "status",
+ className: "text-body-regular text-text-secondary",
+ children: "正在读取女优列表…"
+ })]
+ }) : /* @__PURE__ */ (0, Q.jsx)(yt, {
+ label: "女优影片",
+ title: "批量删除",
+ titleId: "batch-delete-title",
+ unit: "位女优",
+ description: Yt,
+ items: v,
+ columns: _,
+ rowId: (e) => String(e.entity_id),
+ rowLabel: (e) => ve("performer", e.k, e.entity_id),
+ selected: r,
+ onSelected: i,
+ toolbarActions: /* @__PURE__ */ (0, Q.jsx)(f, {
+ label: "搜索女优姓名或别名",
+ value: a,
+ onQuery: (e) => {
+ o(e), i([]);
+ }
+ }),
+ actions: (t, n) => /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "danger",
+ size: "small",
+ ...H(s),
+ onClick: () => void y(t, n),
+ children: "删除所选女优影片"
+ })
+ }),
+ m ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "未能读取删除清单",
+ children: m
+ }) : null,
+ d ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: b.length ? "warning" : "info",
+ title: `已永久删除 ${d.purged} 个影片文件`,
+ extra: b.length ? /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: "flex flex-col gap-2 text-body-2-regular wrap-anywhere",
+ children: b.slice(0, 5).map((e, t) => /* @__PURE__ */ (0, Q.jsxs)("p", { children: [
+ e.path,
+ "(",
+ e.reason,
+ ")"
+ ] }, t))
+ }) : null,
+ children: b.length ? `${d.blocked.length} 个文件未能删除,馆藏记录仍保留;${d.cleanup_pending.length} 个隔离文件和 ${d.cache_blocked.length} 个缓存文件待清理。` : "所选影片及关联记录已删除,女优档案和照片保留。"
+ }) : null
+ ]
+ });
+}
+// src/react/data-cleanup/resource-sync-card.tsx
+var Qt = Y("git-compare"), $t = Y("rotate-cw"), en = "暂时无法读取进度,正在重新连接…", tn = "清理失效条目", nn = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", $ = (e) => Number(e || 0).toLocaleString();
+function rn({ scan: e, partial: t = !1 }) {
+ let n = e.cache ?? {
+ files: 0,
+ bytes: 0
+ };
+ return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)("div", {
+ className: nn,
+ children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, Q.jsxs)("article", {
+ className: q(),
+ children: [/* @__PURE__ */ (0, Q.jsx)(k, {
+ label: I[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, Q.jsx)(oe, { mark: C[e.location] ?? "database" }),
+ aside: /* @__PURE__ */ (0, Q.jsx)(Ct, {
+ online: e.online,
+ children: e.online ? "可访问" : "离线"
+ }),
+ figure: e.online ? `${$(e.missing)} 项` : "—",
+ meta: e.online ? at(e) : `${at(e)} · 本次已跳过`,
+ wrapMeta: !0
+ }), e.online && e.unreadable > 0 ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ className: "self-start",
+ children: /* @__PURE__ */ (0, Q.jsxs)(se, {
+ tone: "warning",
+ children: [$(e.unreadable), " 个目录未读取"]
+ })
+ }) : null]
+ }, e.location))
+ }), !t && /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: nn,
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)("article", {
+ className: q(),
+ children: /* @__PURE__ */ (0, Q.jsx)(k, {
+ label: "待永久删除",
+ figure: `${$(Ze(e))} 项`,
+ meta: "文件已不在盘上,含回收站"
+ })
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("article", {
+ className: q(),
+ children: /* @__PURE__ */ (0, Q.jsx)(k, {
+ label: "将标为已消失",
+ figure: `${$(e.vanish)} 项`,
+ meta: "带个人记录,记录留着"
+ })
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("article", {
+ className: q(),
+ children: /* @__PURE__ */ (0, Q.jsx)(k, {
+ label: "空文件夹",
+ figure: `${$(e.empty)} 个`,
+ meta: "保留来源根目录"
+ })
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("article", {
+ className: q(),
+ children: /* @__PURE__ */ (0, Q.jsx)(k, {
+ label: "可清理的缓存",
+ figure: `${$(n.files)} 个`,
+ meta: n.files ? K(n.bytes) : ""
+ })
+ })
+ ]
+ })] });
+}
+function an({ toast: t }) {
+ let n = pt({
+ queryKey: N,
+ queryFn: ({ signal: e }) => Ie(e),
+ start: lt,
+ onFinish: (e) => {
+ if (J.invalidateQueries({
+ queryKey: R,
+ exact: !0
+ }), J.invalidateQueries({
+ queryKey: ne,
+ exact: !0
+ }), e.status !== "complete") return;
+ let { done: n, left: r } = de(e);
+ r ? t(`已完成 ${$(n)} 项,${$(r)} 项没有处理`, { warning: !0 }) : t("已清理失效条目");
+ }
+ }), r = pt({
+ queryKey: ne,
+ queryFn: ({ signal: e }) => Le(e),
+ start: ut,
+ onStarted: () => n.dismiss()
+ }), i = r.job, a = r.running || r.start.isPending, o = n.running || n.start.isPending, s = i?.status === "complete" || i?.status === "failed", u = a ? "扫描中" : s ? "重新扫描" : "检查文件", d = (e) => void W({
+ title: tn,
+ body: ue(e),
+ confirmLabel: tn,
+ danger: !0,
+ onConfirm: () => n.start.mutateAsync(e.scan_id || "")
+ }), f = n.outcome, p = (e) => {
+ let t = de(e).left > 0;
+ return /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: t ? "warning" : "success",
+ title: t ? "部分完成" : "清理结果",
+ children: pe(e, K)
+ });
+ }, m = null, h = null;
+ if (f?.status === "failed") h = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "资源清理未完成",
+ children: f.error || "请查看任务记录,核对已处理的文件。"
+ });
+ else if (f) h = p(f);
+ else if (n.running) m = /* @__PURE__ */ (0, Q.jsx)(z, {
+ embedded: !0,
+ label: n.job?.message || "正在复核并清理失效条目"
+ });
+ else if (r.start.isError) h = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "扫描失败",
+ children: G(r.start.error)
+ });
+ else if (r.query.isError && i) h = /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "neutral",
+ title: "任务状态",
+ children: en
+ });
+ else if (i?.status === "running") {
+ let e = it(i);
+ m = /* @__PURE__ */ (0, Q.jsx)(z, {
+ embedded: !0,
+ label: e,
+ value: i.completed_sources,
+ total: i.total_sources
+ }), i.sources?.length && (h = /* @__PURE__ */ (0, Q.jsx)(rn, {
+ scan: i,
+ partial: !0
+ }));
+ } else if (i?.status === "failed") h = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [i.sources?.length ? /* @__PURE__ */ (0, Q.jsx)(rn, {
+ scan: i,
+ partial: !0
+ }) : null, /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "扫描失败",
+ children: i.error || "后台扫描失败"
+ })] });
+ else if (i?.status === "complete" && i.applied) h = n.job?.status === "complete" ? p(n.job) : /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "neutral",
+ title: "清理结果",
+ children: "这次检查的结果已经清理,重新扫描可再核对。"
+ });
+ else if (i?.status === "complete") {
+ let t = Ve(i);
+ h = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(rn, { scan: i }), t ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "neutral",
+ title: "清理内容",
+ action: /* @__PURE__ */ (0, Q.jsx)(e, {
+ variant: "danger",
+ ...H(o),
+ onClick: () => d(i),
+ children: o ? "正在复核并清理…" : tn
+ }),
+ children: fe(i)
+ }) : /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "mr-auto text-body-regular text-notification-success-foreground",
+ children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
+ })] });
+ }
+ return n.start.isError && !f && (h = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [h, /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "清理失败",
+ children: G(n.start.error)
+ })] })), /* @__PURE__ */ (0, Q.jsxs)("section", {
+ id: "resource-sync",
+ "aria-labelledby": "resource-sync-title",
+ className: "flex scroll-mt-20 flex-col gap-4",
+ children: [/* @__PURE__ */ (0, Q.jsxs)(c, {
+ layout: "split",
+ labelledBy: "resource-sync-title",
+ footer: /* @__PURE__ */ (0, Q.jsx)(e, {
+ "data-resource-scan": !0,
+ leadingIcon: s && !a ? $t : Qt,
+ ...H(a),
+ onClick: () => {
+ a || r.start.mutate();
+ },
+ children: u
+ }),
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(l, {
+ id: "resource-sync-title",
+ gap: "small",
+ children: "资源同步"
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "max-w-190 text-body-2-regular leading-5 text-text-secondary",
+ children: "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。"
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("div", {
+ "aria-live": "polite",
+ className: "mt-4 empty:hidden",
+ children: m
+ })
+ ]
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ "aria-live": "polite",
+ className: "flex flex-col gap-4 empty:hidden",
+ children: h
+ })]
+ });
+}
+// src/react/data-cleanup/data-cleanup-tool-page.tsx
+function on({ toast: e }) {
+ let t = X({
+ queryKey: S,
+ queryFn: ({ signal: e }) => Ae(e)
+ });
+ return t.isError ? /* @__PURE__ */ (0, Q.jsx)(w, {
+ tone: "error",
+ title: "读取媒体来源失败",
+ children: G(t.error)
+ }) : t.isPending ? /* @__PURE__ */ (0, Q.jsx)("p", {
+ role: "status",
+ children: "正在读取媒体来源…"
+ }) : He(t.data) ? /* @__PURE__ */ (0, Q.jsx)(an, { toast: e }) : /* @__PURE__ */ (0, Q.jsxs)(c, {
+ layout: "stack",
+ label: "资源同步",
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(l, { children: "资源同步" }),
+ /* @__PURE__ */ (0, Q.jsx)("p", {
+ className: "text-body-regular text-text-secondary",
+ children: "尚未配置可核对的媒体目录。"
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("a", {
+ href: "/settings/library",
+ className: "text-body-medium text-accent-600 underline",
+ children: "配置媒体库"
+ })
+ ]
+ });
+}
+function sn({ tool: e, toast: t, failure: n }) {
+ let r = (e) => t(e), i;
+ switch (e) {
+ case "organize":
+ i = /* @__PURE__ */ (0, Q.jsx)(Ut, {
+ toast: r,
+ failure: n
+ });
+ break;
+ case "resource-sync":
+ i = /* @__PURE__ */ (0, Q.jsx)(on, { toast: t });
+ break;
+ case "orphan-records":
+ i = /* @__PURE__ */ (0, Q.jsx)(Jt, { toast: r });
+ break;
+ case "media-repair":
+ i = /* @__PURE__ */ (0, Q.jsx)(Ot, { toast: r });
+ break;
+ case "links":
+ i = /* @__PURE__ */ (0, Q.jsx)(Rt, {});
+ break;
+ case "batch-delete": i = /* @__PURE__ */ (0, Q.jsx)(Zt, { toast: r });
+ }
+ return /* @__PURE__ */ (0, Q.jsx)(_t, { children: i });
+}
+// src/react/data-cleanup/data-cleanup-page.tsx
+function cn(e, t) {
+ return e.data === void 0 ? e.isError ? {
+ figure: "读取失败",
+ state: "error"
+ } : {
+ figure: "正在读取…",
+ state: "loading"
+ } : t(e.data);
+}
+function ln({ section: e, label: t, icon: n, value: r, open: i }) {
+ return /* @__PURE__ */ (0, Q.jsx)("button", {
+ type: "button",
+ className: q({ interactive: !0 }),
+ "data-cleanup-go": e,
+ "data-entry-state": r.state,
+ "aria-busy": r.state === "loading" || void 0,
+ onClick: () => i(e),
+ children: /* @__PURE__ */ (0, Q.jsx)(k, {
+ label: t,
+ icon: n,
+ figure: r.figure,
+ meta: r.meta
+ })
+ });
+}
+function un({ tool: e, navigate: t }) {
+ let n = Y(e.icon);
+ return /* @__PURE__ */ (0, Q.jsx)(Tt, {
+ label: e.title,
+ icon: n,
+ summary: e.description,
+ attributes: { "data-cleanup-tool": e.key },
+ onOpen: () => t(e.path + location.search)
+ });
+}
+var dn = Y("square-check-big"), fn = Y("sparkles"), pn = Y("file-stack"), mn = Y("file-archive"), hn = Y("trash"), gn = () => {
+ for (let e of [
+ F,
+ j,
+ s,
+ m
+ ]) J.invalidateQueries({
+ queryKey: e,
+ exact: !0
+ });
+};
+function _n({ toast: e, open: t, navigate: a }) {
+ let o = X({
+ queryKey: F,
+ queryFn: ({ signal: e }) => Re(e)
+ }), c = X({
+ queryKey: j,
+ queryFn: ({ signal: e }) => Pe(e)
+ }), l = X({
+ queryKey: s,
+ queryFn: ({ signal: e }) => we(e)
+ }), u = X({
+ queryKey: m,
+ queryFn: ({ signal: e }) => Te(e)
+ }), d = X({
+ queryKey: R,
+ queryFn: ({ signal: e }) => ze(e)
+ });
+ return (0, Z.useEffect)(() => {
+ let e = r[location.hash];
+ e && location.replace(e + location.search);
+ }, []), /* @__PURE__ */ (0, Q.jsxs)(_t, { children: [
+ /* @__PURE__ */ (0, Q.jsxs)("section", {
+ "aria-labelledby": "cleanup-pending",
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, Q.jsx)(L, {
+ id: "cleanup-pending",
+ children: "待处理事项"
+ }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ className: O,
+ children: [
+ /* @__PURE__ */ (0, Q.jsx)(ln, {
+ section: "review",
+ label: "人工复核",
+ icon: dn,
+ open: t,
+ value: cn(o, rt)
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(ln, {
+ section: "duplicates",
+ label: "重复文件",
+ icon: pn,
+ open: t,
+ value: cn(l, (e) => Number(e.total || 0) ? {
+ figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
+ meta: `可回收 ${K(e.reclaimable || 0)}`
+ } : { figure: "没有重复内容" })
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(ln, {
+ section: "ads",
+ label: "垃圾文件",
+ icon: mn,
+ open: t,
+ value: cn(u, (e) => ({
+ figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
+ meta: Ue(e)
+ }))
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(ln, {
+ section: "quality",
+ label: "高清版",
+ icon: fn,
+ open: t,
+ value: cn(c, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ }),
+ /* @__PURE__ */ (0, Q.jsx)(ln, {
+ section: "trash",
+ label: "回收站",
+ icon: hn,
+ open: t,
+ value: cn(d, (e) => ({
+ figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
+ meta: e.total ? `占用 ${K(e.bytes || 0)}` : "查看和还原已移入回收站的内容"
+ }))
+ })
+ ]
+ })]
+ }),
+ /* @__PURE__ */ (0, Q.jsx)("div", {
+ id: "libraryProcessing",
+ className: "scroll-mt-20",
+ children: /* @__PURE__ */ (0, Q.jsx)(y, {
+ toast: (t) => e(t),
+ monitor: !0,
+ onComplete: gn
+ })
+ }),
+ /* @__PURE__ */ (0, Q.jsxs)("section", {
+ "aria-labelledby": "cleanup-maintenance",
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, Q.jsx)(L, {
+ id: "cleanup-maintenance",
+ children: "整理与维护"
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: n,
+ children: i.filter((e) => e.key !== "batch-delete").map((e) => /* @__PURE__ */ (0, Q.jsx)(un, {
+ tool: e,
+ navigate: a
+ }, e.key))
+ })]
+ }),
+ /* @__PURE__ */ (0, Q.jsxs)("section", {
+ "aria-labelledby": "cleanup-deletion",
+ className: "flex flex-col gap-4",
+ children: [/* @__PURE__ */ (0, Q.jsx)(L, {
+ id: "cleanup-deletion",
+ children: "清理与删除"
+ }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ className: n,
+ children: i.filter((e) => e.key === "batch-delete").map((e) => /* @__PURE__ */ (0, Q.jsx)(un, {
+ tool: e,
+ navigate: a
+ }, e.key))
+ })]
+ })
+ ] });
+}
+export { _n as DataCleanupPage, sn as DataCleanupToolPage };
+
+//# debugId=83c29409-9b0d-4667-a98a-814861c33dbc
\ No newline at end of file
diff --git a/web/dist/peach-app.data-table-BUBc51R4.js b/web/dist/peach-app.data-table-C3qANjHs.js
similarity index 72%
rename from web/dist/peach-app.data-table-BUBc51R4.js
rename to web/dist/peach-app.data-table-C3qANjHs.js
index 9bb208017..72c313d4f 100644
--- a/web/dist/peach-app.data-table-BUBc51R4.js
+++ b/web/dist/peach-app.data-table-C3qANjHs.js
@@ -1,7 +1,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] = "b91d1612-859b-4e23-9bb9-74a868b7d2a0", e._sentryDebugIdIdentifier = "sentry-dbid-b91d1612-859b-4e23-9bb9-74a868b7d2a0");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "9e570fe0-9b07-49a2-82da-425ef414d3d6", e._sentryDebugIdIdentifier = "sentry-dbid-9e570fe0-9b07-49a2-82da-425ef414d3d6");
} catch {}
})();
import { createPaginatedRowModel as e } from "./peach-app.createPaginatedRowModel-ClHnhG_T.js";
@@ -16,8 +16,8 @@ var M = /* @__PURE__ */ y(T(), 1), N = w(), P = k({
sortedRowModel: t(),
paginatedRowModel: e()
});
-function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T, onSelected: E, actions: D, title: O = e, titleId: k, description: F, footerActions: I, panel: L = !0, unit: R = "条记录" }) {
- let [z, B] = (0, M.useState)([]), V = (0, M.useMemo)(() => [{
+function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T, onSelected: E, actions: D, title: O = e, titleId: k, description: F, footerActions: I, toolbarActions: L, panel: R = !0, unit: z = "条记录" }) {
+ let [B, V] = (0, M.useState)([]), H = (0, M.useMemo)(() => [{
id: "select",
label: "选择",
width: 48,
@@ -30,10 +30,10 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
min: e.min ?? (t === 0 ? 320 : 96),
flex: e.flex ?? t === 0,
required: t === 0
- }))], [y]), H = j(`data:${e}`, V), [U, W] = (0, M.useState)({
+ }))], [y]), U = j(`data:${e}`, H), [W, G] = (0, M.useState)({
pageIndex: 0,
pageSize: 20
- }), G = n(() => E([])), K = Math.max(1, Math.ceil(t.length / U.pageSize)), q = Math.min(U.pageIndex, K - 1), J = Object.fromEntries(T.map((e) => [e, !0])), Y = (0, M.useMemo)(() => {
+ }), K = n(() => E([])), q = Math.max(1, Math.ceil(t.length / W.pageSize)), J = Math.min(W.pageIndex, q - 1), Y = Object.fromEntries(T.map((e) => [e, !0])), X = (0, M.useMemo)(() => {
let t = S();
return t.columns([t.display({
id: "select",
@@ -61,37 +61,37 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
y,
e,
w
- ]), X = A({
+ ]), Z = A({
features: P,
data: t,
- columns: Y,
+ columns: X,
getRowId: x,
state: {
- sorting: z,
- rowSelection: J,
+ sorting: B,
+ rowSelection: Y,
pagination: {
- ...U,
- pageIndex: q
+ ...W,
+ pageIndex: J
},
- columnVisibility: H.visibility
+ columnVisibility: U.visibility
},
- onColumnVisibilityChange: H.change,
+ onColumnVisibilityChange: U.change,
onSortingChange: (e) => {
- B(e), W((e) => ({
+ V(e), G((e) => ({
...e,
pageIndex: 0
}));
},
- onPaginationChange: W,
+ onPaginationChange: G,
enableRowSelection: !0,
onRowSelectionChange: (e) => {
- let n = typeof e == "function" ? e(J) : e;
- Object.values(n).some(Boolean) && G(), E(t.filter((e) => n[x(e)]).map(x));
+ let n = typeof e == "function" ? e(Y) : e;
+ Object.values(n).some(Boolean) && K(), E(t.filter((e) => n[x(e)]).map(x));
}
- }), Z = X.getSelectedRowModel().rows.map((e) => e.original);
+ }), Q = Z.getSelectedRowModel().rows.map((e) => e.original);
return /* @__PURE__ */ (0, N.jsxs)("div", {
- "data-data-table-panel": L || void 0,
- className: L ? b({
+ "data-data-table-panel": R || void 0,
+ className: R ? b({
padding: "none",
bordered: "line",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
@@ -109,27 +109,31 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
children: O
}), /* @__PURE__ */ (0, N.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
- children: `${t.length.toLocaleString()} ${R}`
+ children: `${t.length.toLocaleString()} ${z}`
})]
}), /* @__PURE__ */ (0, N.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, N.jsx)(g, {
- preferences: H,
- label: e
- }), /* @__PURE__ */ (0, N.jsx)(p, {
- label: e,
- options: y.filter((e) => e.value).map((e) => ({
- id: e.id,
- label: e.label
- })),
- sorting: z,
- onChange: (e) => {
- B(e), W((e) => ({
- ...e,
- pageIndex: 0
- }));
- }
- })]
+ children: [
+ L,
+ /* @__PURE__ */ (0, N.jsx)(g, {
+ preferences: U,
+ label: e
+ }),
+ /* @__PURE__ */ (0, N.jsx)(p, {
+ label: e,
+ options: y.filter((e) => e.value).map((e) => ({
+ id: e.id,
+ label: e.label
+ })),
+ sorting: B,
+ onChange: (e) => {
+ V(e), G((e) => ({
+ ...e,
+ pageIndex: 0
+ }));
+ }
+ })
+ ]
})]
}),
F ? /* @__PURE__ */ (0, N.jsx)("p", {
@@ -138,9 +142,9 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
}) : null,
/* @__PURE__ */ (0, N.jsxs)(m, {
label: `${e}批量操作`,
- visible: Z.length > 0,
- count: `已选 ${Z.length.toLocaleString()} ${R}`,
- children: [D(Z, () => E([])), /* @__PURE__ */ (0, N.jsx)(c, {
+ visible: Q.length > 0,
+ count: `已选 ${Q.length.toLocaleString()} ${z}`,
+ children: [D(Q, () => E([])), /* @__PURE__ */ (0, N.jsx)(c, {
variant: "ghost",
size: "small",
onClick: () => E([]),
@@ -149,21 +153,21 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
}),
/* @__PURE__ */ (0, N.jsx)(f, {
follow: !0,
- preferences: H,
- onRowClick: (e) => X.getRow(e)?.toggleSelected(),
+ preferences: U,
+ onRowClick: (e) => Z.getRow(e)?.toggleSelected(),
children: /* @__PURE__ */ (0, N.jsxs)(h, {
"aria-label": e,
size: "sm",
- sortDescriptor: z[0] ? {
- column: z[0].id,
- direction: z[0].desc ? "descending" : "ascending"
+ sortDescriptor: B[0] ? {
+ column: B[0].id,
+ direction: B[0].desc ? "descending" : "ascending"
} : void 0,
- onSortChange: (e) => X.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, N.jsxs)(s, { children: [X.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, N.jsx)(i, {
+ onSortChange: (e) => Z.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
+ children: [/* @__PURE__ */ (0, N.jsxs)(s, { children: [Z.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, N.jsx)(i, {
id: e.id,
isRowHeader: e.id === y[0].id,
allowsSorting: e.column.getCanSort(),
- ...H.columnProps(e.id),
+ ...U.columnProps(e.id),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, N.jsxs)(N.Fragment, { children: [/* @__PURE__ */ (0, N.jsxs)("span", {
className: "flex items-center gap-0.5",
children: [C(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, N.jsx)("span", {
@@ -172,18 +176,18 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
children: /* @__PURE__ */ (0, N.jsx)(u, {})
}) : null]
}), /* @__PURE__ */ (0, N.jsx)(_, {
- preferences: H,
+ preferences: U,
id: e.id
})] })
}, e.id)), /* @__PURE__ */ (0, N.jsx)(i, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
- width: H.spaceWidth,
+ width: U.spaceWidth,
minWidth: 0
})] }), /* @__PURE__ */ (0, N.jsx)(r, {
renderEmptyState: () => "没有记录",
- children: X.getRowModel().rows.map((e) => /* @__PURE__ */ (0, N.jsxs)(a, {
+ children: Z.getRowModel().rows.map((e) => /* @__PURE__ */ (0, N.jsxs)(a, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, N.jsx)(o, { children: C(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, N.jsx)(o, { "data-table-space": "" })]
@@ -195,11 +199,11 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
label: e,
total: t.length,
pagination: {
- ...U,
- pageIndex: q
+ ...W,
+ pageIndex: J
},
- onChange: W,
- unit: R
+ onChange: G,
+ unit: z
}),
I ? /* @__PURE__ */ (0, N.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2 border-t border-separator-border pt-4",
@@ -210,4 +214,4 @@ function F({ label: e, items: t, columns: y, rowId: x, rowLabel: w, selected: T,
}
export { F as DataTable };
-//# debugId=b91d1612-859b-4e23-9bb9-74a868b7d2a0
\ No newline at end of file
+//# debugId=9e570fe0-9b07-49a2-82da-425ef414d3d6
\ No newline at end of file
diff --git a/web/dist/peach-app.diagnostics-page-CZQmu5mE.js b/web/dist/peach-app.diagnostics-page-BcOPrk80.js
similarity index 98%
rename from web/dist/peach-app.diagnostics-page-CZQmu5mE.js
rename to web/dist/peach-app.diagnostics-page-BcOPrk80.js
index f486750ec..89bb6528c 100644
--- a/web/dist/peach-app.diagnostics-page-CZQmu5mE.js
+++ b/web/dist/peach-app.diagnostics-page-BcOPrk80.js
@@ -1,12 +1,12 @@
(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] = "556d368b-6d9f-4f80-b678-cee86dd8d74e", e._sentryDebugIdIdentifier = "sentry-dbid-556d368b-6d9f-4f80-b678-cee86dd8d74e");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "1877bf7a-1635-4de4-b84f-5f6e0c9ce87f", e._sentryDebugIdIdentifier = "sentry-dbid-1877bf7a-1635-4de4-b84f-5f6e0c9ce87f");
} catch {}
})();
import { ApiError as e, Button as t, ButtonLink as n, Chip as r, DIAGNOSTICS_KEY as i, Disclosure as a, EmptyState as o, Fact as s, FactList as c, Fieldset as l, FieldsetTitle as u, Input as d, LOC as f, LinkButton as p, LoadingDots as m, Note as h, Progress as g, Section as _, SettingsCard as v, SettingsSectionLabel as y, Stack as b, __toESM as x, apiGet as S, apiSend as C, busyProps as w, configurationSection as ee, cx as T, diagnosticHeaders as E, diagnosticsSkeleton as D, errorMessage as O, fetchDiagnostics as k, fmtDur as A, fmtSize as j, queryClient as te, require_jsx_runtime as ne, require_react as re, settingsPath as ie, tl as M, useAction as N, useQuery as P } from "./peach-app.js";
import { ErrorExcerpt as F } from "./peach-app.error-excerpt-B8v2xEIP.js";
-import { DataTable as I } from "./peach-app.data-table-BUBc51R4.js";
+import { DataTable as I } from "./peach-app.data-table-C3qANjHs.js";
import { SiteMark as L } from "./peach-app.site-mark-D_VlIyJz.js";
// src/react/diagnostics/health-list.tsx
var R = /* @__PURE__ */ x(re(), 1), z = ne(), B = (e) => e.title || e.name || e.code || `作品 #${e.id}`, V = (e) => [[
@@ -510,4 +510,4 @@ function ae(e) {
}
export { ae as DiagnosticsPage };
-//# debugId=556d368b-6d9f-4f80-b678-cee86dd8d74e
\ No newline at end of file
+//# debugId=1877bf7a-1635-4de4-b84f-5f6e0c9ce87f
\ No newline at end of file
diff --git a/web/dist/peach-app.follow-manage-page-36Z6mSDD.js b/web/dist/peach-app.follow-manage-page-Bvnaf0EO.js
similarity index 71%
rename from web/dist/peach-app.follow-manage-page-36Z6mSDD.js
rename to web/dist/peach-app.follow-manage-page-Bvnaf0EO.js
index b599b94ef..c0474bac5 100644
--- a/web/dist/peach-app.follow-manage-page-36Z6mSDD.js
+++ b/web/dist/peach-app.follow-manage-page-Bvnaf0EO.js
@@ -1,20 +1,19 @@
(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] = "535a2b90-5082-4c8c-93c6-93cecbae9c3a", e._sentryDebugIdIdentifier = "sentry-dbid-535a2b90-5082-4c8c-93c6-93cecbae9c3a");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "641fefd1-3438-4a64-923b-00f3bddda95a", e._sentryDebugIdIdentifier = "sentry-dbid-641fefd1-3438-4a64-923b-00f3bddda95a");
} catch {}
})();
import { createPaginatedRowModel as e } from "./peach-app.createPaginatedRowModel-ClHnhG_T.js";
import { createSortedRowModel as t, useTableSelection as n } from "./peach-app.use-table-selection-BSdXI_Nc.js";
-import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as r, $542a13ca2fa5b484$export$5b6b19405a83ff9d as i, $76d00c5a4edb230a$export$76ccd210b9029917 as a, $76d00c5a4edb230a$export$816b5d811295e6bc as o, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as s, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as c, $76d00c5a4edb230a$export$f850895b287ef28e as l, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as u, $b4f18e3395fe64d7$export$3e41faf802a29e71 as d, $b4f18e3395fe64d7$export$b2539bed5023c21c as f, $ea3928288112382f$export$439d29a4e110a164 as p, $l as m, Button as h, ButtonLink as ee, Bx as g, Checkbox as _, ChevronSortDown as te, Chip as v, DataTableFooter as y, DataTableFrame as ne, DataTableSort as b, EmptyFocusButton as x, EmptyState as S, ErrorText as C, ExternalLink as w, FEEDS_KEY as T, FOLLOW_CREDENTIALS_KEY as re, FOLLOW_MANAGE_KEY as E, FOLLOW_MANAGE_NAV as D, FOLLOW_RESOLVE_KEY as O, FieldLabel as k, Help as A, Input as j, LoadingDots as M, M6 as N, MENU_ITEM as P, MENU_ITEM_INTERACTIVE as F, MENU_POPOVER_SURFACE as I, ModalFrame as L, Note as R, P7 as z, SORT_DEFAULT_DIR as B, SelectionDock as V, SelectionPopover as H, SiteLabel as U, Switch as ie, Table as ae, TableColumnControls as oe, TableColumnResizer as se, TableSelectionHeader as ce, TagManager as le, TaskProgress as W, Wt as ue, Xf as de, __toESM as fe, addAlias as pe, addSource as me, avatarInner as he, busyProps as G, cardClass as K, checkFeeds as q, columnVisibilityFeature as ge, confirmModal as _e, createColumnHelper as ve, credentialDone as ye, cx as J, dZ as be, errorHeadline as xe, errorMessage as Y, feedIntervalText as X, fetchCredentials as Se, fetchFeeds as Ce, fetchFollow as we, fetchResolveJob as Te, fetchSuggestions as Ee, flexRender as De, followFeedByName as Oe, followSuggestKey as ke, groupByAuthor as Ae, isBroken as je, isLayout as Me, keepSelected as Ne, localTime as Pe, lookupFeedActor as Fe, mapLimit as Ie, pageSizeOf as Le, pageWindow as Re, pv as ze, queryClient as Be, reloadFollowManage as Ve, removeAlias as He, removeFeed as Ue, renameAliasGroup as We, require_jsx_runtime as Ge, require_react as Ke, resolveFollowSort as qe, rowPaginationFeature as Je, rowSelectionFeature as Ye, rowSortingFeature as Xe, setFeedEnabled as Ze, startCheck as Qe, startResolve as $e, tableFeatures as et, useAction as tt, useBackgroundJob as nt, useMutation as rt, useQuery as it, useTable as at, useTablePreferences as ot } from "./peach-app.js";
-import { Page as st } from "./peach-app.page-QAncjzM1.js";
-import { STAT_STRIP_SIX as ct } from "./peach-app.stat-card-DsNmy_0F.js";
+import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as r, $542a13ca2fa5b484$export$5b6b19405a83ff9d as i, $76d00c5a4edb230a$export$76ccd210b9029917 as a, $76d00c5a4edb230a$export$816b5d811295e6bc as o, $76d00c5a4edb230a$export$b59bdbef9ce70de2 as s, $76d00c5a4edb230a$export$f6f0c3fe4ec306ea as c, $76d00c5a4edb230a$export$f850895b287ef28e as l, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as u, $b4f18e3395fe64d7$export$3e41faf802a29e71 as d, $b4f18e3395fe64d7$export$b2539bed5023c21c as f, $ea3928288112382f$export$439d29a4e110a164 as p, $l as m, Button as h, ButtonLink as g, Bx as _, Checkbox as v, ChevronSortDown as ee, Chip as y, DataTableFooter as b, DataTableFrame as te, DataTableSort as x, EmptyFocusButton as S, EmptyState as C, ErrorText as w, ExternalLink as T, FEEDS_KEY as ne, FOLLOW_CREDENTIALS_KEY as E, FOLLOW_MANAGE_KEY as D, FOLLOW_MANAGE_NAV as O, FOLLOW_RESOLVE_KEY as k, FieldLabel as A, Help as j, Input as M, LoadingDots as N, M6 as P, MENU_ITEM as F, MENU_ITEM_INTERACTIVE as I, MENU_POPOVER_SURFACE as L, ModalFrame as R, Note as z, P7 as re, SORT_DEFAULT_DIR as B, STAT_STRIP_SIX as V, SelectionDock as H, SelectionPopover as U, SiteLabel as ie, Switch as ae, Table as oe, TableColumnControls as se, TableColumnResizer as ce, TableSelectionHeader as le, TagManager as W, TaskProgress as G, Wt as ue, Xf as de, __toESM as fe, addAlias as pe, addSource as me, avatarInner as K, busyProps as q, cardClass as he, checkFeeds as ge, columnVisibilityFeature as _e, confirmModal as ve, createColumnHelper as ye, credentialDone as be, cx as J, dZ as xe, errorHeadline as Y, errorMessage as X, feedIntervalText as Se, fetchCredentials as Ce, fetchFeeds as we, fetchFollow as Te, fetchResolveJob as Ee, fetchSuggestions as De, flexRender as Oe, followFeedByName as ke, followSuggestKey as Ae, groupByAuthor as je, isBroken as Me, isLayout as Ne, keepSelected as Pe, localTime as Fe, lookupFeedActor as Ie, mapLimit as Le, pageSizeOf as Re, pageWindow as ze, pv as Be, queryClient as Ve, reloadFollowManage as He, removeAlias as Ue, removeFeed as We, renameAliasGroup as Ge, require_jsx_runtime as Ke, require_react as qe, resolveFollowSort as Je, rowPaginationFeature as Ye, rowSelectionFeature as Xe, rowSortingFeature as Ze, setFeedEnabled as Qe, startCheck as $e, startResolve as et, tableFeatures as tt, useAction as nt, useBackgroundJob as rt, useMutation as it, useQuery as at, useTable as ot, useTablePreferences as st } from "./peach-app.js";
+import { Page as ct } from "./peach-app.page-QAncjzM1.js";
import { LEGACY_AVATAR_IMG as lt } from "./peach-app.legacy-avatar-NSITxLRS.js";
import { PillAriaTabList as ut } from "./peach-app.pill-aria-tab-list-BMY1ZEv1.js";
import { AuthorAvatar as dt, SourceIcon as ft } from "./peach-app.source-view-DalWfDkm.js";
import { SourceList as pt } from "./peach-app.source-list-ri5fRK2E.js";
// src/react/follow-manage/add-source.tsx
-var Z = /* @__PURE__ */ fe(Ke(), 1), Q = Ge(), mt = J(P, F, "text-body-2-medium"), ht = "粘贴来源链接,或输入创作者名、id…", gt = "添加创作者关注", _t = "查找中(首次按名字查要下载创作者索引,可能几十秒)", vt = "识别中", yt = "站内没有查到来源", bt = "/settings/subscriptions", xt = (e, t) => `${e}:${t.url}`;
+var Z = /* @__PURE__ */ fe(qe(), 1), Q = Ke(), mt = J(F, I, "text-body-2-medium"), ht = "粘贴来源链接,或输入创作者名、id…", gt = "添加创作者关注", _t = "查找中(首次按名字查要下载创作者索引,可能几十秒)", vt = "识别中", yt = "站内没有查到来源", bt = "/settings/subscriptions", xt = (e, t) => `${e}:${t.url}`;
function St({ field: e, menu: t, options: n, active: r, busy: a, onPick: o, onClose: s }) {
return (0, Z.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
@@ -30,10 +29,10 @@ function St({ field: e, menu: t, options: n, active: r, busy: a, onPick: o, onCl
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: J(I, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: J(L, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [a && !n.length ? /* @__PURE__ */ (0, Q.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, Q.jsx)(M, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, Q.jsx)(N, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, Q.jsxs)(Z.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, Q.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
@@ -62,7 +61,7 @@ function St({ field: e, menu: t, options: n, active: r, busy: a, onPick: o, onCl
}
function Ct({ credentials: e, hidden: t, onHidden: n }) {
let r = (e.providers || []).filter((e) => e.followable), i = r.filter((e) => !t.has(e.provider_label)).length, a = i === r.length ? "全部来源" : `${i}/${r.length} 个来源`;
- return /* @__PURE__ */ (0, Q.jsx)(H, {
+ return /* @__PURE__ */ (0, Q.jsx)(U, {
label: "来源筛选",
triggerLabel: a,
leadingIcon: m,
@@ -98,14 +97,14 @@ function Ct({ credentials: e, hidden: t, onHidden: n }) {
});
}
function wt({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
- if (e.kind === "error") return /* @__PURE__ */ (0, Q.jsx)(R, {
+ if (e.kind === "error") return /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "error",
title: e.line,
children: e.error || "查找失败"
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: K({
+ className: he({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -117,7 +116,7 @@ function wt({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
}),
a.length ? a.map((e) => {
let n = xt(t, e);
- return /* @__PURE__ */ (0, Q.jsx)(_, {
+ return /* @__PURE__ */ (0, Q.jsx)(v, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
@@ -140,23 +139,23 @@ function wt({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, Q.jsx)(A, { children: yt }),
+ }) : /* @__PURE__ */ (0, Q.jsx)(j, { children: yt }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, Q.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, Q.jsx)(w, {
+ }), /* @__PURE__ */ (0, Q.jsx)(T, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, Q.jsx)(A, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, Q.jsx)(j, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
- let [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(!1), [c, l] = (0, Z.useState)(""), [u, d] = (0, Z.useState)(""), [f, p] = (0, Z.useState)(!1), [m, ee] = (0, Z.useState)(null), [g, _] = (0, Z.useState)(-1), te = (0, Z.useRef)(null), v = (0, Z.useRef)(null), [y, ne] = (0, Z.useState)(/* @__PURE__ */ new Set()), [b, x] = (0, Z.useState)(/* @__PURE__ */ new Set()), [S, C] = (0, Z.useState)(""), [w, T] = (0, Z.useState)(0);
+ let [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(!1), [c, l] = (0, Z.useState)(""), [u, d] = (0, Z.useState)(""), [f, p] = (0, Z.useState)(!1), [m, g] = (0, Z.useState)(null), [_, v] = (0, Z.useState)(-1), ee = (0, Z.useRef)(null), y = (0, Z.useRef)(null), [b, te] = (0, Z.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, Z.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, Z.useState)(""), [T, ne] = (0, Z.useState)(0);
(0, Z.useEffect)(() => {
let e = i.trim();
if (o || !e || e.includes("/")) {
@@ -166,65 +165,65 @@ function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
let t = setTimeout(() => d(e), 250);
return () => clearTimeout(t);
}, [i, o]);
- let re = it({
- queryKey: ke(u),
- queryFn: ({ signal: e }) => Ee(u, e),
+ let E = at({
+ queryKey: Ae(u),
+ queryFn: ({ signal: e }) => De(u, e),
enabled: u.length > 0 && f && !o && m !== i
- }), E = (0, Z.useMemo)(() => (re.data?.groups || []).flatMap((e) => e.items.map((t) => ({
+ }), D = (0, Z.useMemo)(() => (E.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [re.data]), { job: D, running: A, outcome: M, start: N, dismiss: P } = nt({
- queryKey: O,
- queryFn: ({ signal: e }) => Te(e),
- start: (e) => $e([e]),
- onStarted: () => x(/* @__PURE__ */ new Set()),
- onError: (e) => C(Y(e)),
+ }))), [E.data]), { job: O, running: j, outcome: N, start: P, dismiss: F } = rt({
+ queryKey: k,
+ queryFn: ({ signal: e }) => Ee(e),
+ start: (e) => et([e]),
+ onStarted: () => S(/* @__PURE__ */ new Set()),
+ onError: (e) => w(X(e)),
onFinish: (e) => {
- e.status === "failed" && C(e.error || "查找失败");
+ e.status === "failed" && w(e.error || "查找失败");
}
- }), F = (e) => {
+ }), I = (e) => {
let t = e.trim();
- !t || n || o || A || N.isPending || (C(""), _(-1), l(t), a(t), d(""), ee(t), N.mutate(t));
- }, I = re.isFetching, L = f && !o && m !== i && (E.length > 0 || I), z = () => {
- _(-1), ee(i);
+ !t || n || o || j || P.isPending || (w(""), v(-1), l(t), a(t), d(""), g(t), P.mutate(t));
+ }, L = E.isFetching, R = f && !o && m !== i && (D.length > 0 || L), re = () => {
+ v(-1), g(i);
}, B = (e) => {
if (!(o || e.nativeEvent.isComposing || e.nativeEvent.keyCode === 229)) {
- if (e.key === "Escape" && L) z();
+ if (e.key === "Escape" && R) re();
else if (e.key === "ArrowDown" || e.key === "ArrowUp") {
- if (!E.length) return;
- if (e.preventDefault(), !L) {
- ee(null);
+ if (!D.length) return;
+ if (e.preventDefault(), !R) {
+ g(null);
return;
}
let t = e.key === "ArrowDown" ? 1 : -1;
- _((e) => {
+ v((e) => {
let n = e + t;
- return n < 0 ? E.length - 1 : n >= E.length ? 0 : n;
+ return n < 0 ? D.length - 1 : n >= D.length ? 0 : n;
});
- } else e.key === "Enter" && (e.preventDefault(), F(E[g]?.value || i));
+ } else e.key === "Enter" && (e.preventDefault(), I(D[_]?.value || i));
}
- }, V = M?.results || [], H = V.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
+ }, V = N?.results || [], H = V.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !b.has(e.provider_label || "")).map((e) => ({
candidate: e,
key: xt(t, e)
- })).filter((e) => !b.has(e.key))), U = rt({
+ })).filter((e) => !x.has(e.key))), U = it({
mutationFn: async (e) => {
let t = [], n = [];
- T(0);
+ ne(0);
for (let r of e) {
try {
let e = await me(r.candidate);
n.push(e.source);
} catch (e) {
- t.push(`${r.candidate.label}:${Y(e)}`);
+ t.push(`${r.candidate.label}:${X(e)}`);
}
- T((e) => e + 1);
+ ne((e) => e + 1);
}
if (n.length) try {
- await Qe(n);
+ await $e(n);
} catch (e) {
- t.push(Y(e));
+ t.push(X(e));
}
return {
failures: t,
@@ -232,13 +231,13 @@ function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
};
},
onSuccess: (e) => {
- Ve(), e.failures.length ? C(e.failures.join(";")) : (C(""), P(), r(`已添加 ${e.sources.length} 个关注来源`));
+ He(), e.failures.length ? w(e.failures.join(";")) : (w(""), F(), r(`已添加 ${e.sources.length} 个关注来源`));
},
- onError: (e) => C(Y(e))
+ onError: (e) => w(X(e))
}), ie = e.suggestions || [], ae = !c.includes("/");
return /* @__PURE__ */ (0, Q.jsxs)("section", {
"aria-label": gt,
- className: K({
+ className: he({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -251,48 +250,48 @@ function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
className: "flex flex-wrap items-end gap-2",
children: [
/* @__PURE__ */ (0, Q.jsxs)("div", {
- ref: te,
+ ref: ee,
className: "min-w-64 grow",
onFocus: () => p(!0),
onBlur: (e) => {
let t = e.relatedTarget;
- !e.currentTarget.contains(t) && !v.current?.contains(t) && p(!1);
+ !e.currentTarget.contains(t) && !y.current?.contains(t) && p(!1);
},
- children: [/* @__PURE__ */ (0, Q.jsx)(j, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(M, {
"aria-label": "来源链接、名字或 id",
placeholder: ht,
value: i,
- leadingIcon: ze,
+ leadingIcon: Be,
enterKeyHint: "search",
isDisabled: n,
onChange: a,
onCompositionStart: () => {
- s(!0), _(-1);
+ s(!0), v(-1);
},
onCompositionEnd: (e) => {
s(!1), a(e.currentTarget.value);
},
onKeyDown: B
- }), L ? /* @__PURE__ */ (0, Q.jsx)(St, {
- field: te,
- menu: v,
- options: E,
- active: g,
- busy: I,
- onPick: F,
- onClose: z
+ }), R ? /* @__PURE__ */ (0, Q.jsx)(St, {
+ field: ee,
+ menu: y,
+ options: D,
+ active: _,
+ busy: L,
+ onPick: I,
+ onClose: re
}) : null]
}),
/* @__PURE__ */ (0, Q.jsx)(Ct, {
credentials: t,
- hidden: y,
- onHidden: ne
+ hidden: b,
+ onHidden: te
}),
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "primary",
disabled: n || !i.trim(),
- ...G(A || N.isPending),
- onClick: () => F(i),
+ ...q(j || P.isPending),
+ onClick: () => I(i),
children: "查找"
})
]
@@ -300,29 +299,29 @@ function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
/* @__PURE__ */ (0, Q.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || N.isPending ? /* @__PURE__ */ (0, Q.jsx)(W, {
+ children: [j || P.isPending ? /* @__PURE__ */ (0, Q.jsx)(G, {
embedded: !0,
- label: D?.message || (D?.total ? `查找中:${D.checked || 0}/${D.total}` : ae ? _t : vt),
- value: D?.checked,
- total: D?.total
- }) : null, S ? /* @__PURE__ */ (0, Q.jsx)(R, {
+ label: O?.message || (O?.total ? `查找中:${O.checked || 0}/${O.total}` : ae ? _t : vt),
+ value: O?.checked,
+ total: O?.total
+ }) : null, C ? /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "error",
title: "这一次没有完成",
- children: S
+ children: C
}) : null]
}),
V.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, Q.jsx)(k, { children: "查找结果" }),
+ /* @__PURE__ */ (0, Q.jsx)(A, { children: "查找结果" }),
V.map((e, t) => /* @__PURE__ */ (0, Q.jsx)(wt, {
row: e,
at: t,
- hidden: y,
- unpicked: b,
+ hidden: b,
+ unpicked: x,
onPick: (e, t) => {
- let n = new Set(b);
- t ? n.delete(e) : n.add(e), x(n);
+ let n = new Set(x);
+ t ? n.delete(e) : n.add(e), S(n);
}
}, `${e.line}-${t}`)),
/* @__PURE__ */ (0, Q.jsxs)("div", {
@@ -331,21 +330,21 @@ function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
size: "small",
- onClick: () => P(),
+ onClick: () => F(),
children: "关闭"
}),
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "primary",
size: "small",
disabled: n || !H.length,
- ...G(U.isPending),
+ ...q(U.isPending),
onClick: () => U.mutate(H),
children: `添加选中(${H.length})`
}),
U.isPending ? /* @__PURE__ */ (0, Q.jsx)("span", {
role: "status",
className: "text-body-2-regular text-text-secondary",
- children: `添加中… ${w}/${H.length}`
+ children: `添加中… ${T}/${H.length}`
}) : null
]
})
@@ -361,7 +360,7 @@ function Tt({ data: e, credentials: t, readOnly: n, toast: r }) {
size: "small",
disabled: n,
title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,
- onClick: () => F(e.name),
+ onClick: () => I(e.name),
children: e.name
}, e.name))]
}) : null
@@ -392,7 +391,7 @@ function Ot(e, t) {
function kt({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(_, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(v, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
@@ -402,7 +401,7 @@ function kt({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, Q.jsx)(v, {
+ e.record ? /* @__PURE__ */ (0, Q.jsx)(y, {
variant: "caption",
color: "neutral",
children: e.record
@@ -413,16 +412,16 @@ function kt({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, Q.jsx)(w, {
+ }), /* @__PURE__ */ (0, Q.jsx)(T, {
href: e.url,
children: e.id
})]
});
}
function At({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, Z.useState)(""), [a, o] = (0, Z.useState)(null), [s, c] = (0, Z.useState)(/* @__PURE__ */ new Set()), l = tt(), u = () => {
+ let [r, i] = (0, Z.useState)(""), [a, o] = (0, Z.useState)(null), [s, c] = (0, Z.useState)(/* @__PURE__ */ new Set()), l = nt(), u = () => {
let t = r.trim();
- t && !e && l.run("lookup", (e) => Fe(t, e), (e) => {
+ t && !e && l.run("lookup", (e) => Ie(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -430,13 +429,13 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => Oe(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => ke(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
}, m = a ? Ot(a, s) : null;
return /* @__PURE__ */ (0, Q.jsxs)("section", {
"aria-label": Dt,
- className: K({
+ className: he({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -449,11 +448,11 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, Q.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, Q.jsx)(j, {
+ children: /* @__PURE__ */ (0, Q.jsx)(M, {
"aria-label": "女优名",
placeholder: Et,
value: r,
- leadingIcon: ze,
+ leadingIcon: Be,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -462,12 +461,12 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
}), /* @__PURE__ */ (0, Q.jsx)(h, {
variant: "primary",
disabled: e || !r.trim(),
- ...G(l.busy === "lookup"),
+ ...q(l.busy === "lookup"),
onClick: u,
children: "查找"
})]
}),
- l.error ? /* @__PURE__ */ (0, Q.jsx)(R, {
+ l.error ? /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "error",
title: "这一次没有完成",
children: l.error
@@ -475,7 +474,7 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, Q.jsx)(k, { children: "JavDB 上的演员卡" }),
+ /* @__PURE__ */ (0, Q.jsx)(A, { children: "JavDB 上的演员卡" }),
a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, Q.jsx)(kt, {
card: e,
picked: s.has(e.id),
@@ -483,8 +482,8 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, Q.jsx)(A, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(A, {
+ }, e.id)) : /* @__PURE__ */ (0, Q.jsx)(j, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, Q.jsx)(j, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -499,7 +498,7 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
variant: "primary",
size: "small",
disabled: e || !s.size || m.blocked,
- ...G(l.busy === "follow"),
+ ...q(l.busy === "follow"),
onClick: p,
children: `添加订阅(${s.size})`
}) : null]
@@ -511,7 +510,7 @@ function At({ readOnly: e, toast: t, onAdded: n }) {
}
// src/react/follow-manage/alias-rename-dialog.tsx
function jt({ group: e, close: t, receipt: n }) {
- return /* @__PURE__ */ (0, Q.jsx)(L, {
+ return /* @__PURE__ */ (0, Q.jsx)(R, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -526,11 +525,11 @@ function jt({ group: e, close: t, receipt: n }) {
});
}
function Mt({ group: e, close: t, receipt: n }) {
- let [i, a] = (0, Z.useState)(e.canonical_name), o = tt();
+ let [i, a] = (0, Z.useState)(e.canonical_name), o = nt();
return /* @__PURE__ */ (0, Q.jsxs)("form", {
onSubmit: (r) => {
- r.preventDefault(), i.trim() && i.trim() !== e.canonical_name && o.run("rename", (t) => We(e.canonical_key, i.trim(), t), () => {
- Ve(), n(`已把统一名称改为 ${i.trim()}`), t();
+ r.preventDefault(), i.trim() && i.trim() !== e.canonical_name && o.run("rename", (t) => Ge(e.canonical_key, i.trim(), t), () => {
+ He(), n(`已把统一名称改为 ${i.trim()}`), t();
});
},
className: "flex min-h-0 flex-col gap-4 p-5",
@@ -544,7 +543,7 @@ function Mt({ group: e, close: t, receipt: n }) {
className: "text-body-2-regular wrap-anywhere text-text-secondary",
children: ["当前名称:", e.canonical_name]
}),
- /* @__PURE__ */ (0, Q.jsx)(j, {
+ /* @__PURE__ */ (0, Q.jsx)(M, {
"aria-label": "统一名称",
autoFocus: !0,
value: i,
@@ -552,7 +551,7 @@ function Mt({ group: e, close: t, receipt: n }) {
}),
/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "选择已有别名" }), /* @__PURE__ */ (0, Q.jsx)("div", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(A, { children: "选择已有别名" }), /* @__PURE__ */ (0, Q.jsx)("div", {
className: "flex flex-wrap gap-2",
children: e.aliases.map((e) => /* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
@@ -566,7 +565,7 @@ function Mt({ group: e, close: t, receipt: n }) {
className: "text-body-2-regular text-text-secondary",
children: "原名称保留为别名,关联档案和作品署名会同步更新。"
}),
- o.error ? /* @__PURE__ */ (0, Q.jsx)(R, {
+ o.error ? /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "error",
children: o.error
}) : null,
@@ -580,7 +579,7 @@ function Mt({ group: e, close: t, receipt: n }) {
type: "submit",
variant: "primary",
disabled: !i.trim() || i.trim() === e.canonical_name,
- ...G(!!o.busy),
+ ...q(!!o.busy),
children: "修改统一名称"
})]
})
@@ -588,11 +587,11 @@ function Mt({ group: e, close: t, receipt: n }) {
});
}
// src/react/follow-manage/alias-manager.tsx
-var Nt = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, Pt = et({
- rowSelectionFeature: Ye,
- rowSortingFeature: Xe,
- rowPaginationFeature: Je,
- columnVisibilityFeature: ge,
+var Nt = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, Pt = tt({
+ rowSelectionFeature: Xe,
+ rowSortingFeature: Ze,
+ rowPaginationFeature: Ye,
+ columnVisibilityFeature: _e,
sortedRowModel: t(),
paginatedRowModel: e()
}), Ft = Pt, It = {
@@ -659,26 +658,26 @@ function Ht({ sources: e, name: t, canonicalKey: n }) {
});
}
function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u }) {
- let d = ot("alias-suggestions", Rt), f = ot("alias-saved", zt), [p, m] = (0, Z.useState)(null), [ee, g] = (0, Z.useState)({}), [v, w] = (0, Z.useState)({}), T = n(() => g({})), re = n(() => w({})), [E, D] = (0, Z.useState)([]), [O, A] = (0, Z.useState)([]), [M, N] = (0, Z.useState)({
+ let d = st("alias-suggestions", Rt), f = st("alias-saved", zt), [p, m] = (0, Z.useState)(null), [g, _] = (0, Z.useState)({}), [y, T] = (0, Z.useState)({}), ne = n(() => _({})), E = n(() => T({})), [D, O] = (0, Z.useState)([]), [k, j] = (0, Z.useState)([]), [N, P] = (0, Z.useState)({
pageIndex: 0,
pageSize: 20
- }), [P, F] = (0, Z.useState)({
+ }), [F, I] = (0, Z.useState)({
pageIndex: 0,
pageSize: 20
- }), I = {
- ...M,
- pageIndex: Math.min(M.pageIndex, Math.max(0, Math.ceil(t.length / M.pageSize) - 1))
- }, L = {
- ...P,
- pageIndex: Math.min(P.pageIndex, Math.max(0, Math.ceil(e.length / P.pageSize) - 1))
- }, [R, B] = (0, Z.useState)(""), [H, U] = (0, Z.useState)(""), [ie, le] = (0, Z.useState)(""), W = rt({
+ }), L = {
+ ...N,
+ pageIndex: Math.min(N.pageIndex, Math.max(0, Math.ceil(t.length / N.pageSize) - 1))
+ }, R = {
+ ...F,
+ pageIndex: Math.min(F.pageIndex, Math.max(0, Math.ceil(e.length / F.pageSize) - 1))
+ }, [z, B] = (0, Z.useState)(""), [V, U] = (0, Z.useState)(""), [ie, ae] = (0, Z.useState)(""), W = it({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
await pe(n.canonical, n.alias);
} catch (n) {
- throw t && Ve(), Error(`${Y(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && He(), Error(`${X(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -688,70 +687,70 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
};
},
onSuccess: (e) => {
- B(""), g({}), Ve(), u(`已合并 ${e.done} 组创作者别名`);
+ B(""), _({}), He(), u(`已合并 ${e.done} 组创作者别名`);
},
- onError: (e) => B(Y(e))
- }), ue = rt({
+ onError: (e) => B(X(e))
+ }), G = it({
mutationFn: (e) => pe(e.canonical, e.alias),
onSuccess: () => {
- B(""), U(""), le(""), Ve(), u("已保存创作者别名");
+ B(""), U(""), ae(""), He(), u("已保存创作者别名");
},
- onError: (e) => B(Y(e))
- }), fe = rt({
+ onError: (e) => B(X(e))
+ }), ue = it({
mutationFn: async (e) => {
let t = typeof e == "string" ? [e] : e, n = 0;
try {
- for (let e of t) await He(e), n += 1;
+ for (let e of t) await Ue(e), n += 1;
} catch (e) {
- throw Error(`${Y(e)}(已移除 ${n} 个别名,还有 ${t.length - n} 个未移除)`);
+ throw Error(`${X(e)}(已移除 ${n} 个别名,还有 ${t.length - n} 个未移除)`);
} finally {
- Ve();
+ He();
}
},
onSuccess: () => {
- B(""), w({}), u("已移除创作者别名");
+ B(""), T({}), u("已移除创作者别名");
},
- onError: (e) => B(Y(e))
- }), me = (e, t) => {
- e.length && _e({
+ onError: (e) => B(X(e))
+ }), fe = (e, t) => {
+ e.length && ve({
title: t ? "合并全部创作者别名" : "合并所选创作者别名",
body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => W.mutateAsync(e)
});
- }, he = (e) => void _e({
+ }, me = (e) => void ve({
title: "移除创作者别名",
body: Nt(e),
confirmLabel: "移除创作者别名",
- onConfirm: () => fe.mutateAsync(e)
- }), q = (0, Z.useRef)({
+ onConfirm: () => ue.mutateAsync(e)
+ }), K = (0, Z.useRef)({
sources: r,
readOnly: i,
merging: W.isPending,
- removing: fe.isPending,
- merge: me,
- remove: he,
+ removing: ue.isPending,
+ merge: fe,
+ remove: me,
rename: m
});
- q.current = {
+ K.current = {
sources: r,
readOnly: i,
merging: W.isPending,
- removing: fe.isPending,
- merge: me,
- remove: he,
+ removing: ue.isPending,
+ merge: fe,
+ remove: me,
rename: m
};
let ge = (0, Z.useMemo)(() => {
- let e = ve();
+ let e = ye();
return e.columns([
e.display({
id: "select",
- header: (e) => /* @__PURE__ */ (0, Q.jsx)(ce, {
+ header: (e) => /* @__PURE__ */ (0, Q.jsx)(le, {
table: e.table,
label: "全选待合并别名"
}),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(_, {
+ cell: (e) => /* @__PURE__ */ (0, Q.jsx)(v, {
slot: null,
isSelected: e.row.getIsSelected(),
"aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,
@@ -761,7 +760,7 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
e.accessor("canonical", {
header: "统一名称",
cell: (e) => /* @__PURE__ */ (0, Q.jsx)(Ht, {
- sources: q.current.sources,
+ sources: K.current.sources,
name: e.getValue()
})
}),
@@ -782,23 +781,23 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
cell: (e) => /* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
size: "small",
- disabled: q.current.readOnly,
- ...G(q.current.merging),
- onClick: () => q.current.merge([e.row.original], !1),
+ disabled: K.current.readOnly,
+ ...q(K.current.merging),
+ onClick: () => K.current.merge([e.row.original], !1),
children: "合并"
})
})
]);
- }, []), ye = (0, Z.useMemo)(() => {
- let e = ve();
+ }, []), _e = (0, Z.useMemo)(() => {
+ let e = ye();
return e.columns([
e.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, Q.jsx)(ce, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, Q.jsx)(le, {
table: e,
label: "全选已保存别名"
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, Q.jsx)(_, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, Q.jsx)(v, {
slot: null,
"aria-label": `选择已保存别名 ${e.original.canonical_name}`,
isSelected: e.getIsSelected(),
@@ -809,7 +808,7 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
id: "canonical",
header: "统一名称",
cell: (e) => /* @__PURE__ */ (0, Q.jsx)(Ht, {
- sources: q.current.sources,
+ sources: K.current.sources,
name: e.getValue(),
canonicalKey: e.row.original.canonical_key
})
@@ -825,11 +824,11 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: z,
+ leadingIcon: re,
"aria-label": `移除别名 ${e.name}`,
- disabled: q.current.readOnly,
- ...G(q.current.removing),
- onClick: () => q.current.remove(e.name)
+ disabled: K.current.readOnly,
+ ...q(K.current.removing),
+ onClick: () => K.current.remove(e.name)
})]
}, e.key))
})
@@ -840,62 +839,62 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
cell: ({ row: e }) => /* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
size: "small",
- disabled: q.current.readOnly,
+ disabled: K.current.readOnly,
"aria-label": `修改 ${e.original.canonical_name} 的统一名称`,
- onClick: () => q.current.rename(e.original),
+ onClick: () => K.current.rename(e.original),
children: "修改统一名称"
})
})
]);
- }, []), J = at({
+ }, []), be = ot({
features: Pt,
data: t,
columns: ge,
getRowId: Bt,
state: {
- rowSelection: ee,
- sorting: E,
- pagination: I,
+ rowSelection: g,
+ sorting: D,
+ pagination: L,
columnVisibility: d.visibility
},
onColumnVisibilityChange: d.change,
onRowSelectionChange: (e) => {
- T(), g(e);
+ ne(), _(e);
},
onSortingChange: (e) => {
- D(e), N((e) => ({
+ O(e), P((e) => ({
...e,
pageIndex: 0
}));
},
- onPaginationChange: N,
+ onPaginationChange: P,
enableRowSelection: !0
- }), be = at({
+ }), J = ot({
features: Ft,
data: e,
- columns: ye,
+ columns: _e,
getRowId: (e) => e.canonical_key,
state: {
- rowSelection: v,
- sorting: O,
- pagination: L,
+ rowSelection: y,
+ sorting: k,
+ pagination: R,
columnVisibility: f.visibility
},
onColumnVisibilityChange: f.change,
onRowSelectionChange: (e) => {
- re(), w(e);
+ E(), T(e);
},
enableRowSelection: !0,
onSortingChange: (e) => {
- A(e), F((e) => ({
+ j(e), I((e) => ({
...e,
pageIndex: 0
}));
},
- onPaginationChange: F
- }), xe = J.getSelectedRowModel().rows.map((e) => e.original), X = be.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), Se = G(W.isPending);
+ onPaginationChange: I
+ }), xe = be.getSelectedRowModel().rows.map((e) => e.original), Y = J.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), Se = q(W.isPending);
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: K({
+ className: he({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -906,31 +905,31 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
}),
/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "手动添加别名" }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(A, { children: "手动添加别名" }), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, Q.jsx)(j, {
+ /* @__PURE__ */ (0, Q.jsx)(M, {
"aria-label": "统一名称",
placeholder: "在 Peach 中统一显示的名称",
- value: H,
+ value: V,
onChange: U,
isDisabled: i,
className: "w-56"
}),
- /* @__PURE__ */ (0, Q.jsx)(j, {
+ /* @__PURE__ */ (0, Q.jsx)(M, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: ie,
- onChange: le,
+ onChange: ae,
isDisabled: i,
className: "w-56"
}),
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "primary",
- disabled: i || !H.trim() || !ie.trim(),
- ...G(ue.isPending),
- onClick: () => ue.mutate({
- canonical: H.trim(),
+ disabled: i || !V.trim() || !ie.trim(),
+ ...q(G.isPending),
+ onClick: () => G.mutate({
+ canonical: V.trim(),
alias: ie.trim()
}),
children: "保存别名"
@@ -938,7 +937,7 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
]
})]
}),
- R ? /* @__PURE__ */ (0, Q.jsx)(C, { children: R }) : null,
+ z ? /* @__PURE__ */ (0, Q.jsx)(w, { children: z }) : null,
t.length ? /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
@@ -946,7 +945,7 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
"data-responsive-toolbar": "",
children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
"data-toolbar-heading": "",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "待合并" }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(A, { children: "待合并" }), /* @__PURE__ */ (0, Q.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${t.length} 组`
})]
@@ -958,12 +957,12 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
size: "small",
disabled: i,
...Se,
- onClick: () => me(t, !0),
+ onClick: () => fe(t, !0),
children: `全部合并(${t.length})`
}),
- /* @__PURE__ */ (0, Q.jsx)(b, {
+ /* @__PURE__ */ (0, Q.jsx)(x, {
label: "待合并创作者别名",
- sorting: E,
+ sorting: D,
options: [
{
id: "canonical",
@@ -979,20 +978,20 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
}
],
onChange: (e) => {
- D(e), N((e) => ({
+ O(e), P((e) => ({
...e,
pageIndex: 0
}));
}
}),
- /* @__PURE__ */ (0, Q.jsx)(oe, {
+ /* @__PURE__ */ (0, Q.jsx)(se, {
preferences: d,
label: "待合并创作者别名"
})
]
})]
}),
- /* @__PURE__ */ (0, Q.jsxs)(V, {
+ /* @__PURE__ */ (0, Q.jsxs)(H, {
label: "待合并别名批量操作",
visible: xe.length > 0,
count: `已选 ${xe.length} 组`,
@@ -1001,40 +1000,40 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
size: "small",
disabled: i,
...Se,
- onClick: () => me(xe, !1),
+ onClick: () => fe(xe, !1),
children: `合并所选(${xe.length})`
}), /* @__PURE__ */ (0, Q.jsx)(h, {
variant: "ghost",
size: "small",
- onClick: () => g({}),
+ onClick: () => _({}),
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, Q.jsx)(ne, {
+ /* @__PURE__ */ (0, Q.jsx)(te, {
follow: !0,
preferences: d,
- onRowClick: (e) => J.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, Q.jsxs)(ae, {
+ onRowClick: (e) => be.getRow(e)?.toggleSelected(),
+ children: /* @__PURE__ */ (0, Q.jsxs)(oe, {
"aria-label": "待合并创作者别名",
size: "sm",
- sortDescriptor: E[0] ? {
- column: E[0].id,
- direction: E[0].desc ? "descending" : "ascending"
+ sortDescriptor: D[0] ? {
+ column: D[0].id,
+ direction: D[0].desc ? "descending" : "ascending"
} : void 0,
- onSortChange: (e) => J.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [J.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, Q.jsx)(o, {
+ onSortChange: (e) => be.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
+ children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [be.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, Q.jsx)(o, {
id: e.id,
isRowHeader: e.column.id === "canonical",
allowsSorting: e.column.getCanSort(),
...d.columnProps(e.id),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [De(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [Oe(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, Q.jsx)(te, {})
+ children: /* @__PURE__ */ (0, Q.jsx)(ee, {})
}) : null]
- }), /* @__PURE__ */ (0, Q.jsx)(se, {
+ }), /* @__PURE__ */ (0, Q.jsx)(ce, {
preferences: d,
id: e.id
})] })
@@ -1044,19 +1043,19 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
"data-table-space": "",
width: d.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: J.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
+ })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: be.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: De(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: Oe(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
}, e.id)) })]
})
}),
- /* @__PURE__ */ (0, Q.jsx)(y, {
+ /* @__PURE__ */ (0, Q.jsx)(b, {
label: "待合并创作者别名",
unit: "组",
total: t.length,
- pagination: I,
- onChange: N
+ pagination: L,
+ onChange: P
})
]
}) : null,
@@ -1067,15 +1066,15 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
"data-responsive-toolbar": "",
children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
"data-toolbar-heading": "",
- children: [/* @__PURE__ */ (0, Q.jsx)(k, { children: "已保存别名" }), /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(A, { children: "已保存别名" }), /* @__PURE__ */ (0, Q.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
}), /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, Q.jsx)(b, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(x, {
label: "已保存创作者别名",
- sorting: O,
+ sorting: k,
options: [{
id: "canonical",
label: "统一名称"
@@ -1084,66 +1083,66 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
label: "平台别名"
}],
onChange: (e) => {
- A(e), F((e) => ({
+ j(e), I((e) => ({
...e,
pageIndex: 0
}));
}
- }), /* @__PURE__ */ (0, Q.jsx)(oe, {
+ }), /* @__PURE__ */ (0, Q.jsx)(se, {
preferences: f,
label: "已保存创作者别名"
})]
})]
}),
- /* @__PURE__ */ (0, Q.jsxs)(V, {
+ /* @__PURE__ */ (0, Q.jsxs)(H, {
label: "已保存别名批量操作",
- visible: X.length > 0,
- count: `已选 ${X.length} 个别名`,
+ visible: Y.length > 0,
+ count: `已选 ${Y.length} 个别名`,
children: [/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
size: "small",
disabled: i,
- ...G(fe.isPending),
- onClick: () => void _e({
+ ...q(ue.isPending),
+ onClick: () => void ve({
title: "移除所选创作者别名",
- body: `将移除以下 ${X.length} 个别名,对应来源恢复为独立创作者组。`,
- items: X,
+ body: `将移除以下 ${Y.length} 个别名,对应来源恢复为独立创作者组。`,
+ items: Y,
confirmLabel: "移除所选别名",
- onConfirm: () => fe.mutateAsync(X)
+ onConfirm: () => ue.mutateAsync(Y)
}),
- children: `移除所选别名(${X.length})`
+ children: `移除所选别名(${Y.length})`
}), /* @__PURE__ */ (0, Q.jsx)(h, {
variant: "ghost",
size: "small",
- onClick: () => w({}),
+ onClick: () => T({}),
children: "取消选择"
})]
}),
- e.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(ne, {
+ e.length ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(te, {
follow: !0,
preferences: f,
- onRowClick: (e) => be.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, Q.jsxs)(ae, {
+ onRowClick: (e) => J.getRow(e)?.toggleSelected(),
+ children: /* @__PURE__ */ (0, Q.jsxs)(oe, {
"aria-label": "已保存创作者别名",
size: "sm",
- sortDescriptor: O[0] ? {
- column: O[0].id,
- direction: O[0].desc ? "descending" : "ascending"
+ sortDescriptor: k[0] ? {
+ column: k[0].id,
+ direction: k[0].desc ? "descending" : "ascending"
} : void 0,
- onSortChange: (e) => be.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [be.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, Q.jsx)(o, {
+ onSortChange: (e) => J.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
+ children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [J.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, Q.jsx)(o, {
id: e.id,
isRowHeader: e.column.id === "canonical",
allowsSorting: e.column.getCanSort(),
...f.columnProps(e.id),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [De(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
+ children: [Oe(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, Q.jsx)(te, {})
+ children: /* @__PURE__ */ (0, Q.jsx)(ee, {})
}) : null]
- }), /* @__PURE__ */ (0, Q.jsx)(se, {
+ }), /* @__PURE__ */ (0, Q.jsx)(ce, {
preferences: f,
id: e.id
})] })
@@ -1153,23 +1152,23 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
"data-table-space": "",
width: f.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: be.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
+ })] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: J.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: De(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: Oe(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
}, e.id)) })]
})
- }), /* @__PURE__ */ (0, Q.jsx)(y, {
+ }), /* @__PURE__ */ (0, Q.jsx)(b, {
label: "已保存创作者别名",
unit: "组",
total: e.length,
- pagination: L,
- onChange: F
- })] }) : /* @__PURE__ */ (0, Q.jsx)(S, {
+ pagination: R,
+ onChange: I
+ })] }) : /* @__PURE__ */ (0, Q.jsx)(C, {
size: "compact",
icon: de,
title: "还没有保存创作者别名",
- actions: i ? void 0 : /* @__PURE__ */ (0, Q.jsx)(x, {
+ actions: i ? void 0 : /* @__PURE__ */ (0, Q.jsx)(S, {
target: "input[aria-label=\"统一名称\"]",
children: "添加别名"
}),
@@ -1186,11 +1185,11 @@ function Ut({ groups: e, suggestions: t, sources: r = [], readOnly: i, toast: u
});
}
// src/react/follow-manage/feed-sources.tsx
-var Wt = et({
- rowPaginationFeature: Je,
- rowSelectionFeature: Ye,
- rowSortingFeature: Xe,
- columnVisibilityFeature: ge,
+var Wt = tt({
+ rowPaginationFeature: Ye,
+ rowSelectionFeature: Xe,
+ rowSortingFeature: Ze,
+ columnVisibilityFeature: _e,
sortedRowModel: t(),
paginatedRowModel: e()
}), Gt = {
@@ -1211,8 +1210,8 @@ var Wt = et({
max: e === "select" ? 48 : e === "name" ? 2e3 : 800,
flex: e === "name",
required: e === "select" || e === "name"
-})), Jt = () => Be.invalidateQueries({
- queryKey: T,
+})), Jt = () => Ve.invalidateQueries({
+ queryKey: ne,
exact: !0
}), $ = (e) => e.name || e.url;
function Yt(e) {
@@ -1223,19 +1222,19 @@ function Yt(e) {
}
}
function Xt({ source: e }) {
- return e.enabled ? e.last_error ? /* @__PURE__ */ (0, Q.jsx)(v, {
+ return e.enabled ? e.last_error ? /* @__PURE__ */ (0, Q.jsx)(y, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.last_fetched_at ? /* @__PURE__ */ (0, Q.jsx)(v, {
+ }) : e.last_fetched_at ? /* @__PURE__ */ (0, Q.jsx)(y, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, Q.jsx)(v, {
+ }) : /* @__PURE__ */ (0, Q.jsx)(y, {
variant: "caption",
color: "gray",
children: "未检查"
- }) : /* @__PURE__ */ (0, Q.jsx)(v, {
+ }) : /* @__PURE__ */ (0, Q.jsx)(y, {
variant: "caption",
color: "gray",
children: "已暂停"
@@ -1251,7 +1250,7 @@ function Zt({ source: e }) {
return /* @__PURE__ */ (0, Q.jsx)("span", {
"aria-hidden": !0,
className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${lt}`,
- dangerouslySetInnerHTML: { __html: he($(e), t, null, "performer") }
+ dangerouslySetInnerHTML: { __html: K($(e), t, null, "performer") }
});
}
var Qt = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
@@ -1262,7 +1261,7 @@ function $t(e) {
}
function en(e, t) {
let n = e.length === 1 ? e[0] : null;
- return _e({
+ return ve({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
body: n ? `将移除订阅源「${$(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
@@ -1271,22 +1270,22 @@ function en(e, t) {
});
}
function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
- let i = it({
- queryKey: T,
- queryFn: ({ signal: e }) => Ce(e)
- }), u = tt(), d = ot("jav-feeds", qt), f = i.data, m = (0, Z.useMemo)(() => f?.sources ?? [], [f]), [ee, v] = (0, Z.useState)(/* @__PURE__ */ new Set()), x = r?.ids ?? ee, w = r?.onChange ?? v, [re, E] = (0, Z.useState)(1), [D, O] = (0, Z.useState)(20), [k, j] = (0, Z.useState)([]), M = Re(m.length, D, re);
+ let i = at({
+ queryKey: ne,
+ queryFn: ({ signal: e }) => we(e)
+ }), u = nt(), d = st("jav-feeds", qt), f = i.data, m = (0, Z.useMemo)(() => f?.sources ?? [], [f]), [g, y] = (0, Z.useState)(/* @__PURE__ */ new Set()), S = r?.ids ?? g, T = r?.onChange ?? y, [E, D] = (0, Z.useState)(1), [O, k] = (0, Z.useState)(20), [A, M] = (0, Z.useState)([]), N = ze(m.length, O, E);
(0, Z.useEffect)(() => {
- E((e) => Math.min(e, M.pages));
- }, [M.pages]), (0, Z.useEffect)(() => {
- w((e) => {
+ D((e) => Math.min(e, N.pages));
+ }, [N.pages]), (0, Z.useEffect)(() => {
+ T((e) => {
let t = new Set(m.map((e) => e.id)), n = new Set([...e].filter((e) => t.has(e)));
return n.size === e.size ? e : n;
});
- }, [m, w]);
- let P = rt({
+ }, [m, T]);
+ let F = it({
mutationFn: async (e) => {
- let t = await Ie(e.ids, 4, async (t) => {
- e.action === "remove" ? await Ue(t) : await Ze(t, e.action === "enabled");
+ let t = await Le(e.ids, 4, async (t) => {
+ e.action === "remove" ? await We(t) : await Qe(t, e.action === "enabled");
});
return {
...e,
@@ -1295,41 +1294,41 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), r = e.ids.length - n.length;
- if (w(/* @__PURE__ */ new Set()), Jt(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
+ if (T(/* @__PURE__ */ new Set()), Jt(), e.action === "remove" && r && t(`已移除 ${r} 条订阅源`), n.length) {
let e = n[0];
- u.setError(`${n.length} 条没有写入:${e.ok ? "" : Y(e.error)}`);
+ u.setError(`${n.length} 条没有写入:${e.ok ? "" : X(e.error)}`);
}
},
- onError: (e) => u.setError(Y(e))
- }), F = (0, Z.useMemo)(() => $t(m), [m]), I = (0, Z.useRef)({
+ onError: (e) => u.setError(X(e))
+ }), I = (0, Z.useMemo)(() => $t(m), [m]), L = (0, Z.useRef)({
readOnly: e,
- shared: F,
+ shared: I,
busy: null,
toggle: () => {},
fetch: () => {},
remove: () => {}
});
- I.current = {
+ L.current = {
readOnly: e,
- shared: F,
+ shared: I,
busy: u.busy,
- toggle: (e, t) => void u.run(`enabled-${e.id}`, (n) => Ze(e.id, t, n), () => void Jt()),
- fetch: (e) => void u.run(`check-${e.id}`, (t) => q(t, [e.id]), () => void Jt()),
+ toggle: (e, t) => void u.run(`enabled-${e.id}`, (n) => Qe(e.id, t, n), () => void Jt()),
+ fetch: (e) => void u.run(`check-${e.id}`, (t) => ge(t, [e.id]), () => void Jt()),
remove: (e) => void en([e], async () => {
- await Ue(e.id), t(`已移除订阅源「${$(e)}」`), Jt();
+ await We(e.id), t(`已移除订阅源「${$(e)}」`), Jt();
})
};
- let L = (0, Z.useMemo)(() => {
- let e = ve(), t = (e) => () => Gt[e] || e;
+ let R = (0, Z.useMemo)(() => {
+ let e = ye(), t = (e) => () => Gt[e] || e;
return e.columns([
e.display({
id: "select",
- header: (e) => /* @__PURE__ */ (0, Q.jsx)(ce, {
+ header: (e) => /* @__PURE__ */ (0, Q.jsx)(le, {
table: e.table,
label: "全选本页订阅源",
page: !0
}),
- cell: (e) => /* @__PURE__ */ (0, Q.jsx)(_, {
+ cell: (e) => /* @__PURE__ */ (0, Q.jsx)(v, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -1340,7 +1339,7 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Qt(e.row.original, I.current.shared);
+ let t = Qt(e.row.original, L.current.shared);
return /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
@@ -1372,7 +1371,7 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
rel: "noopener noreferrer",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: [/* @__PURE__ */ (0, Q.jsx)(U, {
+ children: [/* @__PURE__ */ (0, Q.jsx)(ie, {
site: e.row.original.kind.startsWith("javdb") ? "javdb" : Yt(e.getValue()),
label: Yt(e.getValue())
}), /* @__PURE__ */ (0, Q.jsx)(ue, {
@@ -1391,7 +1390,7 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
className: "whitespace-nowrap",
- children: X(e.getValue())
+ children: Se(e.getValue())
})
}),
e.accessor((e) => e.last_fetched_at && Date.parse(e.last_fetched_at) || 0, {
@@ -1399,7 +1398,7 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, Q.jsx)("span", {
className: "whitespace-nowrap tabular-nums",
- children: e.row.original.last_fetched_at ? Pe(e.row.original.last_fetched_at) : "还没拉过"
+ children: e.row.original.last_fetched_at ? Fe(e.row.original.last_fetched_at) : "还没拉过"
})
}),
e.accessor((e) => e.last_new_count, {
@@ -1416,76 +1415,76 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
cell: (e) => /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, Q.jsx)(ie, {
+ /* @__PURE__ */ (0, Q.jsx)(ae, {
"aria-label": `启用 ${$(e.row.original)}`,
isSelected: e.row.original.enabled,
- isDisabled: I.current.readOnly,
- onChange: (t) => I.current.toggle(e.row.original, t)
+ isDisabled: L.current.readOnly,
+ onChange: (t) => L.current.toggle(e.row.original, t)
}),
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: be,
+ leadingIcon: xe,
"aria-label": `拉取 ${$(e.row.original)}`,
- disabled: I.current.readOnly,
- ...G(I.current.busy === `check-${e.row.original.id}`),
- onClick: () => I.current.fetch(e.row.original)
+ disabled: L.current.readOnly,
+ ...q(L.current.busy === `check-${e.row.original.id}`),
+ onClick: () => L.current.fetch(e.row.original)
}),
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: N,
+ leadingIcon: P,
"aria-label": `移除 ${$(e.row.original)}`,
- disabled: I.current.readOnly,
- onClick: () => I.current.remove(e.row.original)
+ disabled: L.current.readOnly,
+ onClick: () => L.current.remove(e.row.original)
})
]
})
})
]);
- }, []), z = (0, Z.useMemo)(() => Object.fromEntries([...x].map((e) => [String(e), !0])), [x]), B = at({
+ }, []), re = (0, Z.useMemo)(() => Object.fromEntries([...S].map((e) => [String(e), !0])), [S]), B = ot({
features: Wt,
data: m,
- columns: L,
+ columns: R,
getRowId: (e) => String(e.id),
state: {
- rowSelection: z,
- sorting: k,
+ rowSelection: re,
+ sorting: A,
pagination: {
- pageIndex: M.page - 1,
- pageSize: D
+ pageIndex: N.page - 1,
+ pageSize: O
},
columnVisibility: d.visibility
},
onColumnVisibilityChange: d.change,
onSortingChange: (e) => {
- j(e), E(1);
+ M(e), D(1);
},
enableRowSelection: !0,
onRowSelectionChange: (e) => {
r?.onActivate();
- let t = typeof e == "function" ? e(z) : e;
- w(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
+ let t = typeof e == "function" ? e(re) : e;
+ T(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
}
});
- if (!f) return i.error ? /* @__PURE__ */ (0, Q.jsx)(R, {
+ if (!f) return i.error ? /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "error",
title: "打不开订阅源",
- children: Y(i.error)
- }) : /* @__PURE__ */ (0, Q.jsx)(A, { children: "正在读订阅源。" });
- let H = () => void u.run("check", (e) => q(e), () => void Jt()), le = (e) => {
- r?.onActivate(), w((t) => {
+ children: X(i.error)
+ }) : /* @__PURE__ */ (0, Q.jsx)(j, { children: "正在读订阅源。" });
+ let V = () => void u.run("check", (e) => ge(e), () => void Jt()), U = (e) => {
+ r?.onActivate(), T((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
});
- }, W = m.filter((e) => x.has(e.id)), de = m.filter((e) => e.last_error);
+ }, W = m.filter((e) => S.has(e.id)), G = m.filter((e) => e.last_error);
return /* @__PURE__ */ (0, Q.jsx)("div", {
className: "flex flex-col gap-3",
children: /* @__PURE__ */ (0, Q.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: K({
+ className: he({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -1505,20 +1504,20 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
"data-toolbar-actions": "",
children: [
/* @__PURE__ */ (0, Q.jsx)(h, {
- onClick: H,
+ onClick: V,
disabled: e,
- ...G(u.busy === "check"),
+ ...q(u.busy === "check"),
children: "立即拉取"
}),
- /* @__PURE__ */ (0, Q.jsx)(oe, {
+ /* @__PURE__ */ (0, Q.jsx)(se, {
preferences: d,
label: "JAV 订阅源"
}),
- /* @__PURE__ */ (0, Q.jsx)(b, {
+ /* @__PURE__ */ (0, Q.jsx)(x, {
label: "JAV 订阅源",
- sorting: k,
+ sorting: A,
onChange: (e) => {
- j(e), E(1);
+ M(e), D(1);
},
options: [
"name",
@@ -1536,23 +1535,23 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
]
})]
}),
- de.length || u.error ? /* @__PURE__ */ (0, Q.jsxs)("div", {
+ G.length || u.error ? /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [de.length ? /* @__PURE__ */ (0, Q.jsx)(R, {
+ children: [G.length ? /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "error",
- title: `${de.length.toLocaleString()} 条订阅源拉取失败`,
+ title: `${G.length.toLocaleString()} 条订阅源拉取失败`,
extra: /* @__PURE__ */ (0, Q.jsx)("ul", {
className: "flex flex-col gap-0.5 text-body-2-regular",
- children: de.map((e) => /* @__PURE__ */ (0, Q.jsx)("li", {
+ children: G.map((e) => /* @__PURE__ */ (0, Q.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${$(e)}:${xe(e.last_error || "") || "未说明原因"}`
+ children: `${$(e)}:${Y(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, u.error ? /* @__PURE__ */ (0, Q.jsx)(C, { children: u.error }) : null]
+ }) : null, u.error ? /* @__PURE__ */ (0, Q.jsx)(w, { children: u.error }) : null]
}) : null,
- /* @__PURE__ */ (0, Q.jsxs)(V, {
+ /* @__PURE__ */ (0, Q.jsxs)(H, {
visible: W.length > 0,
label: "订阅源批量操作",
count: `已选 ${W.length} 条订阅源`,
@@ -1561,8 +1560,8 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
variant: "secondary",
size: "small",
disabled: e,
- ...G(P.isPending),
- onClick: () => P.mutate({
+ ...q(F.isPending),
+ onClick: () => F.mutate({
ids: W.map((e) => e.id),
action: "enabled"
}),
@@ -1572,8 +1571,8 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
variant: "secondary",
size: "small",
disabled: e,
- ...G(P.isPending),
- onClick: () => P.mutate({
+ ...q(F.isPending),
+ onClick: () => F.mutate({
ids: W.map((e) => e.id),
action: "paused"
}),
@@ -1583,8 +1582,8 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
variant: "danger",
size: "small",
disabled: e,
- ...G(P.isPending),
- onClick: () => void en(W, () => P.mutateAsync({
+ ...q(F.isPending),
+ onClick: () => void en(W, () => F.mutateAsync({
ids: W.map((e) => e.id),
action: "remove"
})),
@@ -1593,25 +1592,25 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
/* @__PURE__ */ (0, Q.jsx)(h, {
variant: "ghost",
size: "small",
- onClick: () => w(/* @__PURE__ */ new Set()),
+ onClick: () => T(/* @__PURE__ */ new Set()),
children: "取消选择"
})
]
}),
- m.length ? /* @__PURE__ */ (0, Q.jsx)(ne, {
+ m.length ? /* @__PURE__ */ (0, Q.jsx)(te, {
follow: !0,
preferences: d,
- onRowClick: (e) => le(Number(e)),
- children: /* @__PURE__ */ (0, Q.jsxs)(ae, {
+ onRowClick: (e) => U(Number(e)),
+ children: /* @__PURE__ */ (0, Q.jsxs)(oe, {
"aria-label": "JAV 订阅源",
size: "sm",
- sortDescriptor: k[0] ? {
- column: k[0].id,
- direction: k[0].desc ? "descending" : "ascending"
+ sortDescriptor: A[0] ? {
+ column: A[0].id,
+ direction: A[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => B.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
children: [/* @__PURE__ */ (0, Q.jsxs)(l, { children: [B.getHeaderGroups()[0].headers.map((e) => {
- let t = De(e.column.columnDef.header, e.getContext());
+ let t = Oe(e.column.columnDef.header, e.getContext());
return /* @__PURE__ */ (0, Q.jsx)(o, {
id: e.id,
isRowHeader: e.column.id === "name",
@@ -1622,9 +1621,9 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, Q.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, Q.jsx)(te, {})
+ children: /* @__PURE__ */ (0, Q.jsx)(ee, {})
}) : null]
- }), /* @__PURE__ */ (0, Q.jsx)(se, {
+ }), /* @__PURE__ */ (0, Q.jsx)(ce, {
preferences: d,
id: e.id
})] })
@@ -1638,11 +1637,11 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
})] }), /* @__PURE__ */ (0, Q.jsx)(a, { children: B.getRowModel().rows.map((e) => /* @__PURE__ */ (0, Q.jsxs)(s, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: De(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, Q.jsx)(c, { children: Oe(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, Q.jsx)(c, { "data-table-space": "" })]
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, Q.jsx)(S, {
- icon: g,
+ }) : /* @__PURE__ */ (0, Q.jsx)(C, {
+ icon: _,
title: "还没有订阅源",
size: "compact",
actions: e ? void 0 : /* @__PURE__ */ (0, Q.jsx)(h, {
@@ -1652,16 +1651,16 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
}),
children: "在「添加关注」按女优名添加,或在人物页点「订阅新作」。"
}),
- m.length ? /* @__PURE__ */ (0, Q.jsx)(y, {
+ m.length ? /* @__PURE__ */ (0, Q.jsx)(b, {
label: "JAV 订阅",
- total: M.total,
+ total: N.total,
unit: "个订阅源",
pagination: {
- pageIndex: M.page - 1,
- pageSize: D
+ pageIndex: N.page - 1,
+ pageSize: O
},
onChange: (e) => {
- O(e.pageSize), E(e.pageIndex + 1);
+ k(e.pageSize), D(e.pageIndex + 1);
}
}) : null,
/* @__PURE__ */ (0, Q.jsx)("footer", {
@@ -1677,10 +1676,10 @@ function tn({ readOnly: e, toast: t, onAdd: n, selection: r }) {
});
}
// src/react/follow-manage/follow-manage-page.tsx
-var nn = (e) => D.some(([t]) => t === e);
+var nn = (e) => O.some(([t]) => t === e);
function rn({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
- className: K({
+ className: he({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -1701,41 +1700,41 @@ function rn({ term: e, figure: t, unit: n }) {
});
}
function an(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, Z.useState)(nn(e.tab) ? e.tab : "list"), [p, m] = (0, Z.useState)(Math.max(1, Math.floor(e.page) || 1)), [h, g] = (0, Z.useState)(() => qe(e.sort, e.dir).sort), [_, te] = (0, Z.useState)(() => qe(e.sort, e.dir).dir), [v, y] = (0, Z.useState)(Me(e.layout) ? e.layout : "default"), [ne, b] = (0, Z.useState)(Le(e.pageSize)), [x, S] = (0, Z.useState)(/* @__PURE__ */ new Set()), [C, O] = (0, Z.useState)(/* @__PURE__ */ new Set()), k = it({
+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, Z.useState)(nn(e.tab) ? e.tab : "list"), [p, m] = (0, Z.useState)(Math.max(1, Math.floor(e.page) || 1)), [h, _] = (0, Z.useState)(() => Je(e.sort, e.dir).sort), [v, ee] = (0, Z.useState)(() => Je(e.sort, e.dir).dir), [y, b] = (0, Z.useState)(Ne(e.layout) ? e.layout : "default"), [te, x] = (0, Z.useState)(Re(e.pageSize)), [S, C] = (0, Z.useState)(/* @__PURE__ */ new Set()), [w, k] = (0, Z.useState)(/* @__PURE__ */ new Set()), A = at({
+ queryKey: D,
+ queryFn: ({ signal: e }) => Te(e)
+ }), j = at({
queryKey: E,
- queryFn: ({ signal: e }) => we(e)
- }), A = it({
- queryKey: re,
- queryFn: ({ signal: e }) => Se(e)
- }), j = it({
- queryKey: T,
queryFn: ({ signal: e }) => Ce(e)
- }), M = k.data || { sources: [] }, N = A.data || {
+ }), M = at({
+ queryKey: ne,
+ queryFn: ({ signal: e }) => we(e)
+ }), N = A.data || { sources: [] }, P = j.data || {
root: "",
providers: []
- }, P = M.sources;
+ }, F = N.sources;
(0, Z.useEffect)(() => {
- S((e) => {
- let t = Ne(e, P);
+ C((e) => {
+ let t = Pe(e, F);
return t.size === e.size ? e : t;
});
- }, [P]);
- let F = (e) => {
- let n = e.sort ?? h, r = e.dir ?? _;
+ }, [F]);
+ let I = (e) => {
+ let n = e.sort ?? h, r = e.dir ?? v;
t({
tab: e.tab ?? c,
page: e.page ?? p,
sort: n === "checked" ? "" : n,
dir: r === B[n] ? "" : r
});
- }, I = Ae(P), L = P.filter(je).length, z = P.filter((e) => e.enabled).length, V = (N.providers || []).filter((e) => e.requirement === "required" && !ye(e)).length, H = new Set((j.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, Q.jsxs)(st, { children: [
- a ? /* @__PURE__ */ (0, Q.jsx)(R, {
+ }, L = je(F), R = F.filter(Me).length, re = F.filter((e) => e.enabled).length, H = (P.providers || []).filter((e) => e.requirement === "required" && !be(e)).length, U = new Set((M.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, Q.jsxs)(ct, { children: [
+ a ? /* @__PURE__ */ (0, Q.jsx)(z, {
tone: "warning",
title: "本机只能浏览",
extra: s ? /* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-2-regular",
- children: /* @__PURE__ */ (0, Q.jsx)(w, {
+ children: /* @__PURE__ */ (0, Q.jsx)(T, {
href: s,
children: "前往写入端管理关注"
})
@@ -1743,37 +1742,37 @@ function an(e) {
children: o
}) : null,
/* @__PURE__ */ (0, Q.jsxs)("div", {
- className: ct,
+ className: V,
"aria-label": "关注概览",
children: [
/* @__PURE__ */ (0, Q.jsx)(rn, {
term: "关注创作者",
- figure: I.length,
+ figure: L.length,
unit: "位"
}),
/* @__PURE__ */ (0, Q.jsx)(rn, {
term: "启用来源",
- figure: z,
- unit: `/ ${P.length}`
+ figure: re,
+ unit: `/ ${F.length}`
}),
/* @__PURE__ */ (0, Q.jsx)(rn, {
term: "检查失败",
- figure: L,
+ figure: R,
unit: "个来源"
}),
/* @__PURE__ */ (0, Q.jsx)(rn, {
term: "未看更新",
- figure: M.counts?.new || 0,
+ figure: N.counts?.new || 0,
unit: "条"
}),
/* @__PURE__ */ (0, Q.jsx)(rn, {
term: "JAV 订阅",
- figure: H,
+ figure: U,
unit: "位"
}),
/* @__PURE__ */ (0, Q.jsx)(rn, {
term: "未看新作",
- figure: j.data?.unread || 0,
+ figure: M.data?.unread || 0,
unit: "条"
})
]
@@ -1782,7 +1781,7 @@ function an(e) {
selectedKey: c,
onSelectionChange: (e) => {
let t = String(e);
- nn(t) && (S(/* @__PURE__ */ new Set()), O(/* @__PURE__ */ new Set()), l(t), F({ tab: t }));
+ nn(t) && (C(/* @__PURE__ */ new Set()), k(/* @__PURE__ */ new Set()), l(t), I({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
@@ -1791,7 +1790,7 @@ function an(e) {
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: D.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(d, {
+ children: O.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(d, {
id: e,
"data-pill-selected": c === e ? "" : void 0,
"data-pill-variant": "gray",
@@ -1806,45 +1805,45 @@ function an(e) {
readOnly: a,
toast: r,
onAdd: () => {
- l("add"), F({ tab: "add" });
+ l("add"), I({ tab: "add" });
},
selection: {
- ids: C,
- onChange: O,
- onActivate: () => S(/* @__PURE__ */ new Set())
+ ids: w,
+ onChange: k,
+ onActivate: () => C(/* @__PURE__ */ new Set())
}
}), /* @__PURE__ */ (0, Q.jsx)(pt, {
- data: M,
+ data: N,
sort: h,
- dir: _,
+ dir: v,
page: p,
- layout: v,
- pageSize: ne,
- selected: x,
+ layout: y,
+ pageSize: te,
+ selected: S,
readOnly: a,
toast: r,
openFollow: i,
onAdd: () => {
- l("add"), F({ tab: "add" });
+ l("add"), I({ tab: "add" });
},
onSort: (e, t) => {
- g(e), te(t), m(1), F({
+ _(e), ee(t), m(1), I({
sort: e,
dir: t,
page: 1
});
},
onPage: (e) => {
- m(e), F({ page: e });
+ m(e), I({ page: e });
},
onSelected: (e) => {
- S(e), O(/* @__PURE__ */ new Set());
+ C(e), k(/* @__PURE__ */ new Set());
},
onLayout: (e) => {
- y(e), m(1), n({ layout: e }), F({ page: 1 });
+ b(e), m(1), n({ layout: e }), I({ page: 1 });
},
onPageSize: (e) => {
- b(e), m(1), n({ pageSize: e }), F({ page: 1 });
+ x(e), m(1), n({ pageSize: e }), I({ page: 1 });
}
})]
}),
@@ -1853,8 +1852,8 @@ function an(e) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, Q.jsx)(Tt, {
- data: M,
- credentials: N,
+ data: N,
+ credentials: P,
readOnly: a,
toast: r
}),
@@ -1862,32 +1861,32 @@ function an(e) {
readOnly: a,
toast: r,
onAdded: () => {
- j.refetch(), l("list"), F({ tab: "list" });
+ M.refetch(), l("list"), I({ tab: "list" });
}
}),
/* @__PURE__ */ (0, Q.jsx)(Ut, {
- groups: M.author_aliases || [],
+ groups: N.author_aliases || [],
readOnly: a,
toast: r,
- suggestions: M.alias_suggestions || [],
- sources: M.sources
+ suggestions: N.alias_suggestions || [],
+ sources: N.sources
})
]
}),
/* @__PURE__ */ (0, Q.jsx)(u, {
id: "tags",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, Q.jsx)(le, { scope: "online" })
+ children: /* @__PURE__ */ (0, Q.jsx)(W, { scope: "online" })
})
]
}),
- /* @__PURE__ */ (0, Q.jsx)("div", { children: /* @__PURE__ */ (0, Q.jsxs)(ee, {
+ /* @__PURE__ */ (0, Q.jsx)("div", { children: /* @__PURE__ */ (0, Q.jsxs)(g, {
variant: "secondary",
href: "/settings/subscriptions",
- children: ["来源与订阅设置", V ? `(${V})` : ""]
+ children: ["来源与订阅设置", H ? `(${H})` : ""]
}) })
] });
}
export { an as FollowManagePage };
-//# debugId=535a2b90-5082-4c8c-93c6-93cecbae9c3a
\ No newline at end of file
+//# debugId=641fefd1-3438-4a64-923b-00f3bddda95a
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index fefae06bd..8ffd293a1 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] = "1887a47f-16fe-4cdd-88a0-e023e9a3fd51", e._sentryDebugIdIdentifier = "sentry-dbid-1887a47f-16fe-4cdd-88a0-e023e9a3fd51");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "37ea8352-1303-4960-b5bb-5ac068baa1b5", e._sentryDebugIdIdentifier = "sentry-dbid-37ea8352-1303-4960-b5bb-5ac068baa1b5");
} 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) => {
@@ -16433,45 +16433,45 @@ var cg = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, lg = /* @_
function cee(e, t, n) {
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Qh(n));
}
-function lee(e) {
+function ug(e) {
return see(e) ? e[e.length - 1] || 0 : e;
}
-function uee(e, t) {
+function lee(e, t) {
let { transitionEnd: n = {}, transition: r = {}, ...i } = sg(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) cee(e, t, lee(i[t]));
+ for (let t in i) cee(e, t, ug(i[t]));
}
// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var ug = (e) => !!(e && e.getVelocity);
+var dg = (e) => !!(e && e.getVelocity);
// node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function dee(e) {
- return !!(ug(e) && e.add);
+function uee(e) {
+ return !!(dg(e) && e.add);
}
// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function dg(e, t) {
+function fg(e, t) {
let n = e.getValue("willChange");
- if (dee(n)) return n.add(t);
+ if (uee(n)) return n.add(t);
if (!n && Ku.WillChange) {
let n = new Ku.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs
-var fg = "data-framer-appear-id";
+var pg = "data-framer-appear-id";
// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function pg(e) {
- return e.props[fg];
+function mg(e) {
+ return e.props[pg];
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-var fee = typeof window < "u";
-function pee({ protectedKeys: e, needsAnimating: t }, n) {
+var dee = typeof window < "u";
+function fee({ protectedKeys: e, needsAnimating: t }, n) {
let r = n in e && !t[n];
return t[n] = !1, r;
}
-function mg(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function hg(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
a = a ? $h(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
@@ -16480,7 +16480,7 @@ function mg(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && pee(f, t)) continue;
+ if (i === void 0 || f && fee(f, t)) continue;
let o = {
delay: n,
...eg(f?.out[t] || a || {}, t)
@@ -16492,14 +16492,14 @@ function mg(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
continue;
}
let p = !1;
- if (fee && window.MotionHandoffAnimation) {
- let n = pg(e);
+ if (dee && window.MotionHandoffAnimation) {
+ let n = mg(e);
if (n) {
let e = window.MotionHandoffAnimation(n, t, Jf);
e !== null && (o.startTime = e, p = !0);
}
}
- dg(e, t);
+ fg(e, t);
let m = l ?? e.shouldReduceMotion;
r.start(ig(t, r, i, m && lg.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
@@ -16507,18 +16507,18 @@ function mg(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
if (o) {
let t = () => Jf.update(() => {
- o && uee(e, o);
+ o && lee(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
return d;
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function hg(e, t, n = {}) {
- let r = sg(e, t, cg(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? mg(e, r, n) : []), o = (r = 0) => {
+function gg(e, t, n = {}) {
+ let r = sg(e, t, cg(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? hg(e, r, n) : []), o = (r = 0) => {
let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];
return a?.forEach((e) => {
- e.notify("AnimationStart", t), l.push(hg(e, t, {
+ e.notify("AnimationStart", t), l.push(gg(e, t, {
...n,
delay: r + (typeof o == "function" ? 0 : o) + qh(a, e, o, s, c)
}).then(() => e.notify("AnimationComplete", t)));
@@ -16527,13 +16527,13 @@ function hg(e, t, n = {}) {
return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function mee(e, t, n = {}) {
- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => hg(e, t, n))) : typeof t == "string" ? hg(e, t, n) : Promise.all(mg(e, sg(e, t, n.custom), n))).then(() => {
+function pee(e, t, n = {}) {
+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => gg(e, t, n))) : typeof t == "string" ? gg(e, t, n) : Promise.all(hg(e, sg(e, t, n.custom), n))).then(() => {
e.notify("AnimationComplete", t);
});
}
// node_modules/motion-dom/dist/es/value/types/auto.mjs
-var gg = {
+var mee = {
test: (e) => e === "auto",
parse: (e) => e
}, hee = (e) => (t) => t.test(e), gee = [
@@ -16543,7 +16543,7 @@ var gg = {
Zd,
ef,
$d,
- gg
+ mee
], _g = (e) => gee.find(hee(e));
// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
function _ee(e) {
@@ -17089,7 +17089,7 @@ function Uee(e, t, n, r) {
return Cg(i, e, t, n, new Hee(i, e));
}
// node_modules/motion-dom/dist/es/effects/prop/index.mjs
-var o_ = /*@__PURE__*/ Ag((e, t, n, r) => t.set(n, r, () => {
+var Wee = /*@__PURE__*/ Ag((e, t, n, r) => t.set(n, r, () => {
e[n] = r.get();
}), {
test: (e) => Ju(e),
@@ -17097,20 +17097,20 @@ var o_ = /*@__PURE__*/ Ag((e, t, n, r) => t.set(n, r, () => {
let n = e[t];
return typeof n == "string" || typeof n == "number" ? n : void 0;
}
-}), { schedule: s_, cancel: Wee } = /* @__PURE__ */ qf(queueMicrotask, !1);
+}), { schedule: o_, cancel: Gee } = /* @__PURE__ */ qf(queueMicrotask, !1);
// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function c_(e, t, n) {
- let r = ug(e) ? e : Qh(e);
+function s_(e, t, n) {
+ let r = dg(e) ? e : Qh(e);
return r.start(ig("", r, t, n)), r.animation;
}
// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs
-var l_ = {}, u_ = {
+var c_ = {}, l_ = {
value: null,
addProjectionMetrics: null,
countProjection: void 0
};
// node_modules/motion-dom/dist/es/utils/delay.mjs
-function Gee(e, t) {
+function Kee(e, t) {
let n = Od.now();
e = Og(e);
let r = ({ timestamp: i }) => {
@@ -17120,149 +17120,149 @@ function Gee(e, t) {
return Jf.setup(r, !0), Dg(() => Yf(r));
}
// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs
-function Kee(e) {
+function qee(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function qee(e) {
+function Jee(e) {
return Tg(e) && e.tagName === "svg";
}
// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function d_(e) {
- return ug(e) ? e.get() : e;
+function u_(e) {
+ return dg(e) ? e.get() : e;
}
// node_modules/motion-dom/dist/es/value/utils/as-number.mjs
-var f_ = (e) => typeof e == "number" ? e : parseFloat(e), Jee = yg.length, p_ = (e) => typeof e == "number" || W.test(e);
-function Yee(e, t, n, r, i, a) {
- i ? (e.opacity = Df(0, n.opacity ?? 1, Xee(r)), e.opacityExit = Df(t.opacity ?? 1, 0, Zee(r))) : a && (e.opacity = Df(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < Jee; i++) {
- let a = yg[i], o = m_(t, a), s = m_(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || p_(o) === p_(s) ? (e[a] = Math.max(Df(f_(o), f_(s), r), 0), (Qd.test(s) || Qd.test(o)) && (e[a] += "%")) : e[a] = s);
+var d_ = (e) => typeof e == "number" ? e : parseFloat(e), Yee = yg.length, f_ = (e) => typeof e == "number" || W.test(e);
+function Xee(e, t, n, r, i, a) {
+ i ? (e.opacity = Df(0, n.opacity ?? 1, Zee(r)), e.opacityExit = Df(t.opacity ?? 1, 0, Qee(r))) : a && (e.opacity = Df(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < Yee; i++) {
+ let a = yg[i], o = p_(t, a), s = p_(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || f_(o) === f_(s) ? (e[a] = Math.max(Df(d_(o), d_(s), r), 0), (Qd.test(s) || Qd.test(o)) && (e[a] += "%")) : e[a] = s);
}
for (let i = 0; i < Wg.length; i++) {
let a = Wg[i];
(t[a] || n[a]) && (e[a] = Df(t[a] || 0, n[a] || 0, r));
}
}
-function m_(e, t) {
+function p_(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var Xee = /*@__PURE__*/ h_(0, .5, md), Zee = /*@__PURE__*/ h_(.5, .95, Zu);
-function h_(e, t, n) {
+var Zee = /*@__PURE__*/ m_(0, .5, md), Qee = /*@__PURE__*/ m_(.5, .95, Zu);
+function m_(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ $u(e, t, r));
}
// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function g_(e, t) {
+function h_(e, t) {
e.min = t.min, e.max = t.max;
}
-function __(e, t) {
- g_(e.x, t.x), g_(e.y, t.y);
+function g_(e, t) {
+ h_(e.x, t.x), h_(e.y, t.y);
}
-function v_(e, t) {
+function __(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 Qee = .9999, $ee = 1.0001, ete = -.01, tte = .01;
-function y_(e) {
+var $ee = .9999, ete = 1.0001, tte = -.01, nte = .01;
+function v_(e) {
return e.max - e.min;
}
-function nte(e, t, n) {
+function rte(e, t, n) {
return Math.abs(e - t) <= n;
}
-function b_(e, t, n, r = .5) {
- e.origin = r, e.originPoint = Df(t.min, t.max, e.origin), e.scale = y_(n) / y_(t), e.translate = Df(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Qee && e.scale <= $ee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= ete && e.translate <= tte || isNaN(e.translate)) && (e.translate = 0);
+function y_(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = Df(t.min, t.max, e.origin), e.scale = v_(n) / v_(t), e.translate = Df(n.min, n.max, e.origin) - e.originPoint, (e.scale >= $ee && e.scale <= ete || isNaN(e.scale)) && (e.scale = 1), (e.translate >= tte && e.translate <= nte || isNaN(e.translate)) && (e.translate = 0);
}
-function x_(e, t, n, r) {
- b_(e.x, t.x, n.x, r?.originX), b_(e.y, t.y, n.y, r?.originY);
+function b_(e, t, n, r) {
+ y_(e.x, t.x, n.x, r?.originX), y_(e.y, t.y, n.y, r?.originY);
}
-function S_(e, t, n, r = 0) {
- e.min = (r ? Df(n.min, n.max, r) : n.min) + t.min, e.max = e.min + y_(t);
+function x_(e, t, n, r = 0) {
+ e.min = (r ? Df(n.min, n.max, r) : n.min) + t.min, e.max = e.min + v_(t);
}
-function rte(e, t, n, r) {
- S_(e.x, t.x, n.x, r?.x), S_(e.y, t.y, n.y, r?.y);
+function ite(e, t, n, r) {
+ x_(e.x, t.x, n.x, r?.x), x_(e.y, t.y, n.y, r?.y);
}
-function C_(e, t, n, r = 0) {
+function S_(e, t, n, r = 0) {
let i = r ? Df(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + y_(t);
+ e.min = t.min - i, e.max = e.min + v_(t);
}
-function w_(e, t, n, r) {
- C_(e.x, t.x, n.x, r?.x), C_(e.y, t.y, n.y, r?.y);
+function C_(e, t, n, r) {
+ S_(e.x, t.x, n.x, r?.x), S_(e.y, t.y, n.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function T_(e, t, n, r, i) {
+function w_(e, t, n, r, i) {
return e -= t, e = Yg(e, 1 / n, r), i !== void 0 && (e = Yg(e, 1 / i, r)), e;
}
-function ite(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function T_(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (Qd.test(t) && (t = parseFloat(t), t = Df(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = Df(a.min, a.max, r);
- e === a && (s -= t), e.min = T_(e.min, t, n, s, i), e.max = T_(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = w_(e.min, t, n, s, i), e.max = w_(e.max, t, n, s, i);
}
function E_(e, t, [n, r, i], a, o) {
- ite(e, t[n], t[r], t[i], t.scale, a, o);
+ T_(e, t[n], t[r], t[i], t.scale, a, o);
}
-var ate = [
+var D_ = [
"x",
"scaleX",
"originX"
-], ote = [
+], O_ = [
"y",
"scaleY",
"originY"
];
-function D_(e, t, n, r) {
- E_(e.x, t, ate, n?.x, r?.x), E_(e.y, t, ote, n?.y, r?.y);
+function k_(e, t, n, r) {
+ E_(e.x, t, D_, n?.x, r?.x), E_(e.y, t, O_, n?.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/round.mjs
-var O_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), k_ = O_("applewebkit/") && !O_("chrome/") ? Math.round : Zu;
-function A_(e) {
- e.min = k_(e.min), e.max = k_(e.max);
+var A_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), j_ = A_("applewebkit/") && !A_("chrome/") ? Math.round : Zu;
+function M_(e) {
+ e.min = j_(e.min), e.max = j_(e.max);
}
-function ste(e) {
- A_(e.x), A_(e.y);
+function N_(e) {
+ M_(e.x), M_(e.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/models.mjs
-var j_ = () => ({
+var P_ = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
-}), M_ = () => ({
- x: j_(),
- y: j_()
-}), N_ = () => ({
+}), F_ = () => ({
+ x: P_(),
+ y: P_()
+}), I_ = () => ({
min: 0,
max: 0
-}), P_ = () => ({
- x: N_(),
- y: N_()
+}), L_ = () => ({
+ x: I_(),
+ y: I_()
});
// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function F_(e) {
+function R_(e) {
return e.translate === 0 && e.scale === 1;
}
-function I_(e) {
- return F_(e.x) && F_(e.y);
+function z_(e) {
+ return R_(e.x) && R_(e.y);
}
-function L_(e, t) {
+function B_(e, t) {
return e.min === t.min && e.max === t.max;
}
-function cte(e, t) {
- return L_(e.x, t.x) && L_(e.y, t.y);
+function ate(e, t) {
+ return B_(e.x, t.x) && B_(e.y, t.y);
}
-function R_(e, t) {
+function V_(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function z_(e, t) {
- return R_(e.x, t.x) && R_(e.y, t.y);
+function H_(e, t) {
+ return V_(e.x, t.x) && V_(e.y, t.y);
}
-function B_(e) {
- return y_(e.x) / y_(e.y);
+function U_(e) {
+ return v_(e.x) / v_(e.y);
}
-function V_(e, t) {
+function W_(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 lte = class {
+var ote = class {
constructor() {
this.members = [];
}
@@ -17310,22 +17310,22 @@ var lte = class {
}
};
// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function H_(e, t) {
+function G_(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var U_ = { correct: (e, t) => {
+var K_ = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (W.test(e)) e = parseFloat(e);
else return e;
}
- return `${H_(e, t.target.x)}% ${H_(e, t.target.y)}%`;
-} }, ute = {
- borderRadius: /* @__PURE__ */ Object.assign({}, U_, { applyTo: /* @__PURE__ */ yg.slice() }),
- borderTopLeftRadius: U_,
- borderTopRightRadius: U_,
- borderBottomLeftRadius: U_,
- borderBottomRightRadius: U_,
+ return `${G_(e, t.target.x)}% ${G_(e, t.target.y)}%`;
+} }, ste = {
+ borderRadius: /* @__PURE__ */ Object.assign({}, K_, { applyTo: /* @__PURE__ */ yg.slice() }),
+ borderTopLeftRadius: K_,
+ borderTopRightRadius: K_,
+ borderBottomLeftRadius: K_,
+ borderBottomRightRadius: K_,
boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = Cf.parse(e);
if (i.length > 5) return r;
@@ -17336,7 +17336,7 @@ var U_ = { correct: (e, t) => {
} }
};
// node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function dte(e, t, n) {
+function cte(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 } = n;
@@ -17350,11 +17350,11 @@ function dte(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 W_(e) {
+function q_(e) {
return [e("x"), e("y")];
}
// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var fte = (e, t) => e.depth - t.depth, pte = class {
+var lte = (e, t) => e.depth - t.depth, ute = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -17365,47 +17365,47 @@ var fte = (e, t) => e.depth - t.depth, pte = class {
Wu(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(fte), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(lte), this.isDirty = !1, this.children.forEach(e);
}
-}, G_ = {
+}, J_ = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, K_ = [
+}, Y_ = [
"z",
"skew",
"skewZ"
-], mte = 1e3, hte = 0;
-function q_(e, t, n, r) {
+], dte = 1e3, fte = 0;
+function X_(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var J_ = (e) => e.instance && Sh.get(e.instance)?.demote() && e.resetSkewAndRotation();
-function Y_(e) {
+var Z_ = (e) => e.instance && Sh.get(e.instance)?.demote() && e.resetSkewAndRotation();
+function Q_(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = pg(t);
+ let n = mg(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
window.MotionCancelOptimisedAnimation(n, "transform", Jf, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && Y_(r);
+ r && !r.hasCheckedOptimisedAppear && Q_(r);
}
-function X_(e) {
- if (e) return e.options.allowProjection === !1 ? X_(e.parent) : e.projection;
+function $_(e) {
+ if (e) return e.options.allowProjection === !1 ? $_(e.parent) : e.projection;
}
-function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
- return Object.assign(l_, {
- ...ute,
- ...l_
+function ev({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+ return Object.assign(c_, {
+ ...ste,
+ ...c_
}), class {
static create(e, t, n) {
- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : X_(e.parent));
+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : $_(e.parent));
d.setOptions({
layoutId: r,
layout: i,
- alwaysMeasureLayout: !!a || o && Kee(o),
+ alwaysMeasureLayout: !!a || o && qee(o),
visualElement: e,
animationType: typeof i == "string" ? i : "both",
initialPromotionConfig: n,
@@ -17418,16 +17418,16 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
f && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());
}
constructor(e = {}, n = t?.()) {
- this.id = hte++, 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 = fte++, 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, this.nodes.forEach(vte), this.nodes.forEach(sv), this.nodes.forEach(cv), this.nodes.forEach(yte), u_.countProjection?.();
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(hte), this.nodes.forEach(Cte), this.nodes.forEach(wte), this.nodes.forEach(gte), l_.countProjection?.();
}, 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 pte());
+ this.root === this && (this.nodes = new ute());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new ed()), this.eventHandlers.get(e).add(t);
@@ -17440,7 +17440,7 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = Tg(t) && !qee(t), this.instance = t;
+ this.isSVG = Tg(t) && !Jee(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?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -17448,7 +17448,7 @@ function Z_({ 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 = Gee(i, 250), G_.hasAnimatedSinceResize && (G_.hasAnimatedSinceResize = !1, this.nodes.forEach(ov)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = Kee(i, 250), J_.hasAnimatedSinceResize && (J_.hasAnimatedSinceResize = !1, this.nodes.forEach(rv)));
});
}
n && this.root.registerSharedNode(n, this), this.addLayoutListener();
@@ -17460,7 +17460,7 @@ function Z_({ 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 || !z_(this.targetLayout, i), l = !t && r;
+ let a = this.options.transition || n.getDefaultTransition() || Ote, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !H_(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 = {
@@ -17469,7 +17469,7 @@ function Z_({ 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 || ov(this), this.isLead() && this.options.onExitComplete?.();
+ } else t || rv(this), this.isLead() && this.options.onExitComplete?.();
this.targetLayout = i;
}));
}
@@ -17486,7 +17486,7 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(lv), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Tte), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -17497,11 +17497,11 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete?.();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Y_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
- J_(this), this.isLayoutDirty = !0;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && Q_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ Z_(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, Z_(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;
@@ -17511,22 +17511,22 @@ function Z_({ 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(ev), this.nodes.forEach($_);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(vte), this.nodes.forEach(tv);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(tv);
+ this.nodes.forEach(nv);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(rv), this.nodes.forEach(iv), this.nodes.forEach(av), this.nodes.forEach(gte), this.nodes.forEach(_te)) : this.nodes.forEach(tv), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(bte), this.nodes.forEach(xte), this.nodes.forEach(Ste), this.nodes.forEach(pte), this.nodes.forEach(mte)) : this.nodes.forEach(nv), this.clearAllSnapshots();
let e = Od.now();
Td.delta = Gu(0, 1e3 / 60, e - Td.timestamp), Td.timestamp = e, Td.isProcessing = !0, Xf.update.process(Td), Xf.preRender.process(Td), Xf.render.process(Td), Td.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, s_.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, o_.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Q_), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
+ this.nodes.forEach(_te), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Jf.preRender(this.updateProjection, !1, !0));
@@ -17537,13 +17537,13 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !y_(this.snapshot.measuredBox.x) && !y_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !v_(this.snapshot.measuredBox.x) && !v_(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 ||= P_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutCorrected ||= L_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);
}
@@ -17563,13 +17563,13 @@ function Z_({ 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 && !I_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && Z_(this);
+ let t = this.projectionDelta && !z_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
e && this.instance && (t || Gg(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)), ste(n), {
+ return e && (n = this.removeTransform(n)), N_(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -17579,26 +17579,26 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return P_();
+ if (!e) return L_();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Cte))) {
+ if (!(this.scroll?.wasRoot || this.path.some(kte))) {
let { scroll: e } = this.root;
e && (t_(t.x, e.offset.x), t_(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = P_();
- if (__(t, e), this.scroll?.wasRoot) return t;
+ let t = L_();
+ if (g_(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 && __(t, e), t_(t.x, i.offset.x), t_(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && g_(t, e), t_(t.x, i.offset.x), t_(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n, r, i = 0) {
- let a = n || P_();
- __(a, e);
+ let a = n || L_();
+ g_(a, e);
for (let e = i; e < this.path.length; e++) {
let n = this.path[e];
!t && n.options.layoutScroll && n.scroll && n !== n.root && (t_(a.x, -n.scroll.offset.x), t_(a.y, -n.scroll.offset.y)), Gg(n.latestValues) && i_(a, n.latestValues, n.layout?.layoutBox);
@@ -17606,15 +17606,15 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return !r && Gg(this.latestValues) && i_(a, this.latestValues, this.layout?.layoutBox), a;
}
removeTransform(e) {
- let t = P_();
- __(t, e);
+ let t = L_();
+ g_(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
if (!Gg(n.latestValues)) continue;
let r;
- n.instance && (Ug(n.latestValues) && n.updateSnapshot(), r = P_(), __(r, n.measurePageBox())), D_(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Ug(n.latestValues) && n.updateSnapshot(), r = L_(), g_(r, n.measurePageBox())), k_(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Gg(this.latestValues) && D_(t, this.latestValues), t;
+ return Gg(this.latestValues) && k_(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -17641,7 +17641,7 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = Td.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 = P_(), this.targetWithTransforms = P_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), rte(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) : __(this.target, this.layout.layoutBox), Qg(this.target, this.targetDelta)) : __(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), u_.countProjection?.(1));
+ !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 = L_(), this.targetWithTransforms = L_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), ite(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) : g_(this.target, this.layout.layoutBox), Qg(this.target, this.targetDelta)) : g_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), l_.countProjection?.(1));
}
getClosestProjectingParent() {
if (!(!this.parent || Ug(this.parent.latestValues) || qg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
@@ -17650,7 +17650,7 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = P_(), this.relativeTargetOrigin = P_(), w_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), __(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = L_(), this.relativeTargetOrigin = L_(), C_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), g_(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -17660,11 +17660,11 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === Td.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- __(this.layoutCorrected, this.layout.layoutBox);
+ g_(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- Lee(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = P_());
+ Lee(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = L_());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (v_(this.prevProjectionDelta.x, this.projectionDelta.x), v_(this.prevProjectionDelta.y, this.projectionDelta.y)), x_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && V_(this.projectionDelta.x, this.prevProjectionDelta.x) && V_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), u_.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (__(this.prevProjectionDelta.x, this.projectionDelta.x), __(this.prevProjectionDelta.y, this.projectionDelta.y)), b_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && W_(this.projectionDelta.x, this.prevProjectionDelta.x) && W_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), l_.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -17676,22 +17676,22 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = M_(), this.projectionDelta = M_(), this.projectionDeltaWithTransform = M_();
+ this.prevProjectionDelta = F_(), this.projectionDelta = F_(), this.projectionDeltaWithTransform = F_();
}
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 = F_();
this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = P_(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(xte));
+ let s = L_(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(Dte));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- uv(o.x, e.x, n), uv(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (w_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), bte(this.relativeTarget, this.relativeTargetOrigin, s, n), f && cte(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= P_(), __(f, this.relativeTarget)), c && (this.animationValues = a, Yee(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ iv(o.x, e.x, n), iv(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (C_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Ete(this.relativeTarget, this.relativeTargetOrigin, s, n), f && ate(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= L_(), g_(f, this.relativeTarget)), c && (this.animationValues = a, Xee(a, i, this.latestValues, n, d, u)), 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 &&= (Yf(this.pendingAnimation), void 0), this.pendingAnimation = Jf.update(() => {
- G_.hasAnimatedSinceResize = !0, this.motionValue ||= Qh(0), this.motionValue.jump(0, !1), this.currentAnimation = c_(this.motionValue, [0, 1e3], {
+ J_.hasAnimatedSinceResize = !0, this.motionValue ||= Qh(0), this.motionValue.jump(0, !1), this.currentAnimation = s_(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -17710,20 +17710,20 @@ function Z_({ 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?.(mte), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta?.(dte), 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 && pv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ if (this !== e && this.layout && n && sv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
let { layoutBox: e } = this.layout, t = i;
- i = this.target || P_(), fv(i.x, t.x, e.x), fv(i.y, t.y, e.y);
+ i = this.target || L_(), ov(i.x, t.x, e.x), ov(i.y, t.y, e.y);
}
- __(t, i), i_(t, r), x_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ g_(t, i), i_(t, r), b_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new lte()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new ote()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n?.transition,
@@ -17758,8 +17758,8 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { latestValues: t } = e;
if (!Kg(t)) return;
let n = {};
- for (let t = 0; t < K_.length; t++) q_(K_[t], e, n, this.animationValues);
- for (let t = 0; t < Wg.length; t++) q_(Wg[t], e, n, this.animationValues);
+ for (let t = 0; t < Y_.length; t++) X_(Y_[t], e, n, this.animationValues);
+ for (let t = 0; t < Wg.length; t++) X_(Wg[t], e, n, this.animationValues);
e.render();
for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);
e.scheduleRender();
@@ -17773,70 +17773,70 @@ function Z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let r = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = d_(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = u_(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
return;
}
if (!this.projectionDelta || !this.layout || !n.target) {
- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = d_(t?.pointerEvents) || ""), this.hasProjected && !Gg(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = u_(t?.pointerEvents) || ""), this.hasProjected && !Gg(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = n.animationValues || n.latestValues;
this.applyTransformsToTarget();
- let a = dte(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = cte(this.projectionDeltaWithTransform, this.treeScale, i);
r && (a = r(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in l_) {
+ for (let t in c_) {
if (i[t] === void 0) continue;
- let { correct: r, applyTo: o, isCSSVariable: s } = l_[t], c = a === "none" ? i[t] : r(i[t], n);
+ let { correct: r, applyTo: o, isCSSVariable: s } = c_[t], c = a === "none" ? i[t] : r(i[t], n);
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 = n === this ? d_(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = n === this ? u_(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($_), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(tv), this.root.sharedNodes.clear();
}
};
}
-function gte(e) {
- e.updateLayout(), nv(e);
+function pte(e) {
+ e.updateLayout(), yte(e);
}
-function _te(e) {
+function mte(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, o = (r, a) => {
- if (i === "size") W_((e) => {
- let t = y_(r[e]);
+ if (i === "size") q_((e) => {
+ let t = v_(r[e]);
r[e].min = a[e].min, r[e].max = r[e].min + t;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- g_(r[e], a[e]);
- } else pv(i, t.layoutBox, n) && W_((t) => {
- let n = y_(a[t]);
+ h_(r[e], a[e]);
+ } else sv(i, t.layoutBox, n) && q_((t) => {
+ let n = v_(a[t]);
r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);
});
}, s = a ? t.measuredBox : t.layoutBox;
o(s, n);
- let c = M_();
- x_(c, n, t.layoutBox);
- let l = M_();
- x_(l, a ? e.applyTransform(r, !0) : n, s);
- let u = !I_(c), d = !1, f = e.getClosestProjectingParent();
+ let c = F_();
+ b_(c, n, t.layoutBox);
+ let l = F_();
+ b_(l, a ? e.applyTransform(r, !0) : n, s);
+ let u = !z_(c), d = !1, f = e.getClosestProjectingParent();
if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {
let { snapshot: r, layout: i } = f;
if (r && i) {
- let s = e.options.layoutAnchor || void 0, c = P_();
- w_(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
- let l = P_();
- w_(l, n, i.layoutBox, s), a && o(c, l), z_(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
+ let s = e.options.layoutAnchor || void 0, c = L_();
+ C_(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
+ let l = L_();
+ C_(l, n, i.layoutBox, s), a && o(c, l), H_(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
}
}
e.notifyListeners("didUpdate", {
@@ -17850,65 +17850,65 @@ function _te(e) {
} else e.isLead() && e.options.onExitComplete?.();
e.options.transition = void 0;
}
-function vte(e) {
- u_.countProjection?.(0), 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 hte(e) {
+ l_.countProjection?.(0), 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 yte(e) {
+function gte(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Q_(e) {
+function _te(e) {
e.clearSnapshot();
}
-function $_(e) {
+function tv(e) {
e.clearMeasurements();
}
-function ev(e) {
+function vte(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function tv(e) {
+function nv(e) {
e.isLayoutDirty = !1;
}
-function nv(e) {
+function yte(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- W_((e) => t_(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ q_((e) => t_(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function rv(e) {
+function bte(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function iv(e) {
+function xte(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function av(e) {
+function Ste(e) {
let { visualElement: t } = e.options;
t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function ov(e) {
+function rv(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function sv(e) {
+function Cte(e) {
e.resolveTargetDelta();
}
-function cv(e) {
+function wte(e) {
e.calcProjection();
}
-function lv(e) {
+function Tte(e) {
e.resetSkewAndRotation();
}
-function uv(e, t, n) {
+function iv(e, t, n) {
e.translate = Df(t.translate, 0, n), e.scale = Df(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function dv(e, t, n, r) {
+function av(e, t, n, r) {
e.min = Df(t.min, n.min, r), e.max = Df(t.max, n.max, r);
}
-function bte(e, t, n, r) {
- dv(e.x, t.x, n.x, r), dv(e.y, t.y, n.y, r);
+function Ete(e, t, n, r) {
+ av(e.x, t.x, n.x, r), av(e.y, t.y, n.y, r);
}
-function xte(e) {
+function Dte(e) {
return e.animationValues?.opacityExit !== void 0;
}
-var Ste = {
+var Ote = {
duration: .45,
ease: [
.4,
@@ -17917,51 +17917,51 @@ var Ste = {
1
]
};
-function fv(e, t, n) {
- e.max = y_(n) + (e.min = t.min);
+function ov(e, t, n) {
+ e.max = v_(n) + (e.min = t.min);
}
-function pv(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !nte(B_(t), B_(n), .2);
+function sv(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !rte(U_(t), U_(n), .2);
}
-function Cte(e) {
+function kte(e) {
return e !== e.root && e.scroll?.wasRoot;
}
// node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function mv(e, t, n, r = { passive: !0 }) {
+function cv(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 wte = /* @__PURE__ */ Z_({
- attachResizeListener: (e, t) => mv(e, "resize", t),
+var Ate = /* @__PURE__ */ ev({
+ attachResizeListener: (e, t) => cv(e, "resize", t),
measureScroll: zee,
checkIsScrollRoot: () => !0
-}), hv = { current: void 0 }, gv = /* @__PURE__ */ Z_({
+}), lv = { current: void 0 }, uv = /* @__PURE__ */ ev({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!hv.current) {
- let e = new wte({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), hv.current = e;
+ if (!lv.current) {
+ let e = new Ate({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), lv.current = e;
}
- return hv.current;
+ return lv.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), _v = /* @__PURE__ */ new WeakMap();
+}), dv = /* @__PURE__ */ new WeakMap();
// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function vv(e) {
+function fv(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function yv(e) {
+function pv(e) {
return typeof e == "string" || Array.isArray(e);
}
// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var bv = [
+var mv = [
"animate",
"whileInView",
"whileFocus",
@@ -17969,22 +17969,22 @@ var bv = [
"whileTap",
"whileDrag",
"exit"
-], xv = /* @__PURE__ */ ["initial"].concat(bv);
+], hv = /* @__PURE__ */ ["initial"].concat(mv);
// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function Sv(e) {
- if (vv(e.animate)) return !0;
- for (let t = 0; t < xv.length; t++) if (yv(e[xv[t]])) return !0;
+function gv(e) {
+ if (fv(e.animate)) return !0;
+ for (let t = 0; t < hv.length; t++) if (pv(e[hv[t]])) return !0;
return !1;
}
-function Cv(e) {
- return !!(Sv(e) || e.variants);
+function _v(e) {
+ return !!(gv(e) || e.variants);
}
// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Tte(e, t, n) {
+function jte(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (ug(i)) e.addValue(r, i);
- else if (ug(a)) e.addValue(r, Qh(i, { owner: e }));
+ if (dg(i)) e.addValue(r, i);
+ else if (dg(a)) e.addValue(r, Qh(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
@@ -17999,17 +17999,17 @@ function Tte(e, t, n) {
return t;
}
// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var wv = { current: null }, Tv = { current: !1 }, Ete = typeof window < "u";
-function Ev() {
- if (Tv.current = !0, Ete) {
+var vv = { current: null }, yv = { current: !1 }, Mte = typeof window < "u";
+function bv() {
+ if (yv.current = !0, Mte) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => wv.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => vv.current = e.matches;
e.addEventListener("change", t), t();
- } else wv.current = !1;
+ } else vv.current = !1;
}
}
// node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var Dv = [
+var xv = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -18017,14 +18017,14 @@ var Dv = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Ov = {};
-function kv(e) {
- Ov = e;
+], Sv = {};
+function Cv(e) {
+ Sv = e;
}
-function Dte() {
- return Ov;
+function Nte() {
+ return Sv;
}
-var Ote = class {
+var Pte = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
@@ -18036,16 +18036,16 @@ var Ote = class {
this.renderScheduledAt < e && (this.renderScheduledAt = e, Jf.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 = Sv(t), this.isVariantNode = Cv(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 = gv(t), this.isVariantNode = _v(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];
- c[e] !== void 0 && ug(t) && t.set(c[e]);
+ c[e] !== void 0 && dg(t) && t.set(c[e]);
}
}
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, _v.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
+ if (this.current = e, dv.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
let e = this;
do
e = e.props.inherit !== !1 && e.parent;
@@ -18055,7 +18055,7 @@ var Ote = 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 : (Tv.current || Ev(), this.shouldReduceMotion = wv.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 : (yv.current || bv(), this.shouldReduceMotion = vv.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection?.unmount(), Yf(this.notifyUpdate), Yf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);
@@ -18101,8 +18101,8 @@ var Ote = class {
}
updateFeatures() {
let e = "animation";
- for (e in Ov) {
- let t = Ov[e];
+ for (e in Sv) {
+ let t = Sv[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]) {
@@ -18115,7 +18115,7 @@ var Ote = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : P_();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : L_();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -18126,13 +18126,13 @@ var Ote = class {
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
(e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Sh.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < Dv.length; t++) {
- let n = Dv[t];
+ for (let t = 0; t < xv.length; t++) {
+ let n = xv[t];
this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = Tte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
+ this.prevMotionValues = jte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
}
getProps() {
return this.props;
@@ -18166,7 +18166,7 @@ var Ote = class {
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (qu(n) || Yu(n)) ? n = parseFloat(n) : typeof n != "number" && !Cf.test(n) && Cf.test(t) && (n = cm(e, t)), this.setBaseTarget(e, ug(n) ? n.get() : n)), ug(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (qu(n) || Yu(n)) ? n = parseFloat(n) : typeof n != "number" && !Cf.test(n) && Cf.test(t) && (n = cm(e, t)), this.setBaseTarget(e, dg(n) ? n.get() : n)), dg(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -18178,9 +18178,9 @@ var Ote = class {
this.events[e]?.notify(...t);
}
scheduleRenderMicrotask() {
- s_.render(this.render);
+ o_.render(this.render);
}
-}, Av = class extends Ote {
+}, wv = class extends Pte {
constructor() {
super(...arguments), this.KeyframeResolver = vg;
}
@@ -18197,35 +18197,35 @@ var Ote = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- ug(e) && (this.childSubscription = e.on("change", (e) => {
+ dg(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
};
// node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function jv(e, { style: t, vars: n }, r, i) {
+function Tv(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 Mv(e, { layout: t, layoutId: n }) {
- return Sm.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!l_[e] || e === "opacity");
+function Ev(e, { layout: t, layoutId: n }) {
+ return Sm.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!c_[e] || e === "opacity");
}
// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function Nv(e, t, n) {
+function Dv(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (ug(r[t]) || i && ug(i[t]) || Mv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (dg(r[t]) || i && dg(i[t]) || Ev(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 kte(e) {
+function Fte(e) {
return window.getComputedStyle(e);
}
-var Ate = class extends Av {
+var Ite = class extends wv {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = jv;
+ super(...arguments), this.type = "html", this.renderInstance = Tv;
}
mount(e) {
super.mount(e);
@@ -18233,7 +18233,7 @@ var Ate = class extends Av {
readValueFromInstance(e, t) {
if (Sm.has(t)) return this.projection?.isProjecting ? vm(t) : bm(e, t);
{
- let n = kte(e), r = (jd(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = Fte(e), r = (jd(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
@@ -18244,58 +18244,58 @@ var Ate = class extends Av {
Ig(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Nv(e, t, n);
+ return Dv(e, t, n);
}
-}, Pv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
+}, Ov = (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 kv(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var jte = (e) => (t) => Pv(t) && e(t, Fv(t));
+var Lte = (e) => (t) => Ov(t) && e(t, kv(t));
// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs
-function Iv(e, t, n, r) {
- return mv(e, t, jte(n), r);
+function Av(e, t, n, r) {
+ return cv(e, t, Lte(n), r);
}
// node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Lv = /* @__PURE__ */ new WeakMap(), Rv, zv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Tg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Mte = /*@__PURE__*/ zv("inline", "width", "offsetWidth"), Nte = /*@__PURE__*/ zv("block", "height", "offsetHeight");
-function Pte({ target: e, borderBoxSize: t }) {
- Lv.get(e)?.forEach((n) => {
+var jv = /* @__PURE__ */ new WeakMap(), Mv, Nv = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Tg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Rte = /*@__PURE__*/ Nv("inline", "width", "offsetWidth"), zte = /*@__PURE__*/ Nv("block", "height", "offsetHeight");
+function Bte({ target: e, borderBoxSize: t }) {
+ jv.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Mte(e, t);
+ return Rte(e, t);
},
get height() {
- return Nte(e, t);
+ return zte(e, t);
}
});
});
}
-function Fte(e) {
- e.forEach(Pte);
+function Vte(e) {
+ e.forEach(Bte);
}
-function Ite() {
- typeof ResizeObserver < "u" && (Rv = new ResizeObserver(Fte));
+function Hte() {
+ typeof ResizeObserver < "u" && (Mv = new ResizeObserver(Vte));
}
-function Lte(e, t) {
- Rv || Ite();
+function Ute(e, t) {
+ Mv || Hte();
let n = kg(e);
return n.forEach((e) => {
- let n = Lv.get(e);
- n || (n = /* @__PURE__ */ new Set(), Lv.set(e, n)), n.add(t), Rv?.observe(e);
+ let n = jv.get(e);
+ n || (n = /* @__PURE__ */ new Set(), jv.set(e, n)), n.add(t), Mv?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Lv.get(e);
- n?.delete(t), n?.size || Rv?.unobserve(e);
+ let n = jv.get(e);
+ n?.delete(t), n?.size || Mv?.unobserve(e);
});
};
}
// node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Bv = /* @__PURE__ */ new Set(), Vv;
-function Rte() {
- Vv = () => {
+var Pv = /* @__PURE__ */ new Set(), Fv;
+function Wte() {
+ Fv = () => {
let e = {
get width() {
return window.innerWidth;
@@ -18304,26 +18304,26 @@ function Rte() {
return window.innerHeight;
}
};
- Bv.forEach((t) => t(e));
- }, window.addEventListener("resize", Vv);
+ Pv.forEach((t) => t(e));
+ }, window.addEventListener("resize", Fv);
}
-function zte(e) {
- return Bv.add(e), Vv || Rte(), () => {
- Bv.delete(e), !Bv.size && typeof Vv == "function" && (window.removeEventListener("resize", Vv), Vv = void 0);
+function Gte(e) {
+ return Pv.add(e), Fv || Wte(), () => {
+ Pv.delete(e), !Pv.size && typeof Fv == "function" && (window.removeEventListener("resize", Fv), Fv = void 0);
};
}
// node_modules/motion-dom/dist/es/resize/index.mjs
-function Hv(e, t) {
- return Dg(typeof e == "function" ? zte(e) : Lte(e, t));
+function Iv(e, t) {
+ return Dg(typeof e == "function" ? Gte(e) : Ute(e, t));
}
// node_modules/motion-dom/dist/es/utils/distance.mjs
-var Uv = (e, t) => Math.abs(e - t);
-function Bte(e, t) {
- let n = Uv(e.x, t.x), r = Uv(e.y, t.y);
+var Lv = (e, t) => Math.abs(e - t);
+function Kte(e, t) {
+ let n = Lv(e.x, t.x), r = Lv(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs
-var Wv = /*#__PURE__*/ new Set(["auto", "scroll"]), Gv = class {
+var Rv = /*#__PURE__*/ new Set(["auto", "scroll"]), zv = 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.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -18331,8 +18331,8 @@ var Wv = /*#__PURE__*/ new Set(["auto", "scroll"]), Gv = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = qv(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Yv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Bte(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Vv(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Uv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Kte(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -18345,40 +18345,40 @@ var Wv = /*#__PURE__*/ new Set(["auto", "scroll"]), Gv = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = qv(t, this.transformPagePoint), this.hasPendingMove = !0, Jf.update(this.updatePoint, !0);
+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Vv(t, this.transformPagePoint), this.hasPendingMove = !0, Jf.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?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Yv(e.type === "pointercancel" ? this.lastMoveEventInfo : qv(t, this.transformPagePoint), this.history);
+ let a = Uv(e.type === "pointercancel" ? this.lastMoveEventInfo : Vv(t, this.transformPagePoint), this.history);
this.startEvent && n?.(e, a), r?.(e, a);
- }, !Pv(e)) return;
+ }, !Ov(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = qv(Fv(e), this.transformPagePoint), { point: c } = s;
+ let s = Vv(kv(e), this.transformPagePoint), { point: c } = s;
this.history = [{
...c,
timestamp: Od.now()
}];
let { onSessionStart: l } = t;
- l && l(e, Yv(s, this.history));
+ l && l(e, Uv(s, this.history));
let u = {
passive: !0,
capture: !0
};
- this.removeListeners = Qu(Iv(this.contextWindow, "pointermove", this.handlePointerMove, u), Iv(this.contextWindow, "pointerup", this.handlePointerUp, u), Iv(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
+ this.removeListeners = Qu(Av(this.contextWindow, "pointermove", this.handlePointerMove, u), Av(this.contextWindow, "pointerup", this.handlePointerUp, u), Av(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (Wv.has(e.overflowX) || Wv.has(e.overflowY)) && this.scrollPositions.set(t, Kv(t)), t = t.parentElement;
+ (Rv.has(e.overflowX) || Rv.has(e.overflowY)) && this.scrollPositions.set(t, Bv(t)), t = t.parentElement;
}
- this.scrollPositions.set(window, Kv(window)), this.removeScrollListeners = Qu(mv(window, "scroll", this.onElementScroll, { capture: !0 }), mv(window, "scroll", this.onWindowScroll, {}));
+ this.scrollPositions.set(window, Bv(window)), this.removeScrollListeners = Qu(cv(window, "scroll", this.onElementScroll, { capture: !0 }), cv(window, "scroll", this.onWindowScroll, {}));
}
handleScroll(e) {
let t = this.scrollPositions.get(e);
if (!t) return;
- let n = e === window, r = Kv(e), i = {
+ let n = e === window, r = Bv(e), i = {
x: r.x - t.x,
y: r.y - t.y
};
@@ -18390,42 +18390,42 @@ var Wv = /*#__PURE__*/ new Set(["auto", "scroll"]), Gv = class {
end() {
this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), Yf(this.updatePoint);
}
-}, Kv = (e) => e === window ? {
+}, Bv = (e) => e === window ? {
x: window.scrollX,
y: window.scrollY
} : {
x: e.scrollLeft,
y: e.scrollTop
};
-function qv(e, t) {
+function Vv(e, t) {
return t ? { point: t(e.point) } : e;
}
-function Jv(e, t) {
+function Hv(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Yv({ point: e }, t) {
+function Uv({ point: e }, t) {
return {
point: e,
- delta: Jv(e, Xv(t)),
- offset: Jv(e, Vte(t)),
- velocity: Hte(t, .1)
+ delta: Hv(e, Gv(t)),
+ offset: Hv(e, Wv(t)),
+ velocity: qte(t, .1)
};
}
-function Vte(e) {
+function Wv(e) {
return e[0];
}
-function Xv(e) {
+function Gv(e) {
return e[e.length - 1];
}
-function Hte(e, t) {
+function qte(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = Xv(e);
+ let n = e.length - 1, r = null, i = Gv(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ td(t)));) n--;
if (!r) return {
x: 0,
@@ -18444,95 +18444,95 @@ function Hte(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 Ute = /* @__PURE__ */ new Set([
+var Jte = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Wte(e) {
- return Ute.has(e.tagName) || e.isContentEditable === !0;
+function Yte(e) {
+ return Jte.has(e.tagName) || e.isContentEditable === !0;
}
-var Gte = /* @__PURE__ */ new Set([
+var Xte = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Kte(e) {
- return Gte.has(e.tagName) || e.isContentEditable === !0;
+function Zte(e) {
+ return Xte.has(e.tagName) || e.isContentEditable === !0;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
-var Zv = {
+var Kv = {
x: !1,
y: !1
};
-function Qv() {
- return Zv.x || Zv.y;
+function qv() {
+ return Kv.x || Kv.y;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function qte(e) {
- return e === "x" || e === "y" ? Zv[e] ? null : (Zv[e] = !0, () => {
- Zv[e] = !1;
- }) : Zv.x || Zv.y ? null : (Zv.x = Zv.y = !0, () => {
- Zv.x = Zv.y = !1;
+function Qte(e) {
+ return e === "x" || e === "y" ? Kv[e] ? null : (Kv[e] = !0, () => {
+ Kv[e] = !1;
+ }) : Kv.x || Kv.y ? null : (Kv.x = Kv.y = !0, () => {
+ Kv.x = Kv.y = !1;
});
}
// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs
-function Jte(e, { min: t, max: n }, r) {
+function $te(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? Df(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Df(n, e, r.max) : Math.min(e, n)), e;
}
-function $v(e, t, n) {
+function Jv(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 Yte(e, { top: t, left: n, bottom: r, right: i }) {
+function ene(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: $v(e.x, n, i),
- y: $v(e.y, t, r)
+ x: Jv(e.x, n, i),
+ y: Jv(e.y, t, r)
};
}
-function ey(e, t) {
+function Yv(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 Xte(e, t) {
+function tne(e, t) {
return {
- x: ey(e.x, t.x),
- y: ey(e.y, t.y)
+ x: Yv(e.x, t.x),
+ y: Yv(e.y, t.y)
};
}
-function Zte(e, t) {
- let n = .5, r = y_(e), i = y_(t);
+function nne(e, t) {
+ let n = .5, r = v_(e), i = v_(t);
return i > r ? n = /* @__PURE__ */ $u(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ $u(e.min, e.max - i, t.min)), Gu(0, 1, n);
}
-function Qte(e, t) {
+function rne(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 ty = .35;
-function $te(e = ty) {
- return e === !1 ? e = 0 : e === !0 && (e = ty), {
- x: ny(e, "left", "right"),
- y: ny(e, "top", "bottom")
+var Xv = .35;
+function ine(e = Xv) {
+ return e === !1 ? e = 0 : e === !0 && (e = Xv), {
+ x: Zv(e, "left", "right"),
+ y: Zv(e, "top", "bottom")
};
}
-function ny(e, t, n) {
+function Zv(e, t, n) {
return {
- min: ry(e, t),
- max: ry(e, n)
+ min: Qv(e, t),
+ max: Qv(e, n)
};
}
-function ry(e, t) {
+function Qv(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs
-function iy(e) {
+function $v(e) {
let t = "";
for (let n of e.path) {
n.scroll = void 0, n.updateScroll();
@@ -18541,12 +18541,12 @@ function iy(e) {
}
return t;
}
-var ene = /* @__PURE__ */ new WeakMap(), tne = class {
+var ane = /* @__PURE__ */ new WeakMap(), one = 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 = P_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = L_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
if (this.visualElement.presenceContext?.isPresent === !1) return;
@@ -18554,25 +18554,25 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
t && this.snapToCursor(e), this.stopAnimation();
}, i = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock?.(), this.openDragLock = qte(n), !this.openDragLock)) return;
+ if (n && !r && (this.openDragLock?.(), this.openDragLock = Qte(n), !this.openDragLock)) return;
this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();
let { projection: a } = this.visualElement;
- a && (a.isAnimationBlocked = !0, a.target = void 0), W_((e) => {
+ a && (a.isAnimationBlocked = !0, a.target = void 0), q_((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
if (Nd(t) && (t = ag(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);
else if (Qd.test(t)) {
let n = a?.layout?.layoutBox[e];
- n && (t = y_(n) * (parseFloat(t) / 100));
+ n && (t = v_(n) * (parseFloat(t) / 100));
}
this.originPoint[e] = t;
- }), i && Jf.update(() => i(e, t), !1, !0), dg(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
+ }), i && Jf.update(() => i(e, t), !1, !0), fg(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
}, a = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t;
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- if (this.currentDirection = rne(o), this.currentDirection === null) return;
+ if (this.currentDirection = cne(o), this.currentDirection === null) return;
i && i(this.currentDirection);
}
this.updateAxis("x", o), this.updateAxis("y", o), this.visualElement.render(), a && Jf.update(() => a(e, t), !1, !0);
@@ -18585,7 +18585,7 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
y: 0
});
}, { dragSnapToOrigin: c } = this.getProps();
- this.panSession = new Gv(e, {
+ this.panSession = new zv(e, {
onSessionStart: r,
onStart: i,
onMove: a,
@@ -18617,23 +18617,23 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
}
updateAxis(e, t) {
let { drag: n } = this.readProps();
- if (!t || !cy(e, n, this.currentDirection)) return;
+ if (!t || !ry(e, n, this.currentDirection)) return;
let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];
- a && (i = Jte(i, a, this.elastic[e])), r.set(i);
+ a && (i = $te(i, a, this.elastic[e])), r.set(i);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;
- ay(e) ? this.constraints && this.scroll === iy(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r ? Yte(r.layoutBox, e) : !1, this.elastic = $te(t), i !== this.constraints && !ay(e) && r && this.constraints && !this.hasMutatedConstraints && W_((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Qte(r.layoutBox[e], this.constraints[e]));
+ ey(e) ? this.constraints && this.scroll === $v(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r ? ene(r.layoutBox, e) : !1, this.elastic = ine(t), i !== this.constraints && !ey(e) && r && this.constraints && !this.hasMutatedConstraints && q_((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = rne(r.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!ay(e)) return !1;
- let n = oy(e), { projection: r } = this.visualElement;
+ if (!ey(e)) return !1;
+ let n = ty(e), { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
- this.scroll = iy(r);
- let i = Ree(n, r.root, this.visualElement.getTransformPagePoint()), a = Xte(r.layout.layoutBox, r.removeElementScroll(i));
+ this.scroll = $v(r);
+ let i = Ree(n, r.root, this.visualElement.getTransformPagePoint()), a = tne(r.layout.layoutBox, r.removeElementScroll(i));
if (t) {
let e = t(Fee(a));
this.hasMutatedConstraints = !!e, e && (a = Vg(e));
@@ -18641,8 +18641,8 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
return a;
}
startAnimation(e, t) {
- let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = W_((s) => {
- if (!cy(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 = q_((s) => {
+ if (!ry(s, t || n, this.currentDirection)) return;
let l = c[s] || {};
(o === !0 || o === s) && (l = {
min: 0,
@@ -18665,10 +18665,10 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return dg(this.visualElement, e), n.start(ig(e, n, 0, t, this.visualElement, !1));
+ return fg(this.visualElement, e), n.start(ig(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- W_((e) => this.getAxisMotionValue(e).stop());
+ q_((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
@@ -18679,8 +18679,8 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
x: e,
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
- W_((e) => {
- if (!cy(e, n, this.currentDirection)) return;
+ q_((e) => {
+ if (!ry(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - Df(r, o, .5));
});
@@ -18688,41 +18688,41 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!ay(t) || !n || !this.constraints) return;
+ if (!ey(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- W_((e) => {
+ q_((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = Zte({
+ i[e] = nne({
min: t,
max: t
}, r[e]);
});
let { transformTemplate: a } = this.visualElement.getProps();
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), W_((t) => {
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), q_((t) => {
let n = this.getAxisMotionValue(t);
- if (!cy(t, e, null) || !n.get()) return;
+ if (!ry(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(Df(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- ene.set(this.visualElement, this);
- let e = this.visualElement.current, t = Iv(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Kte(i);
+ ane.set(this.visualElement, this);
+ let e = this.visualElement.current, t = Av(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Zte(i);
n && r && !a && this.start(t);
}), n, r = () => {
- let { dragConstraints: t } = this.getProps(), r = ay(t) && oy(t);
- r && (this.constraints = this.resolveRefConstraints(), n ||= nne(e, r, () => this.scalePositionWithinConstraints()));
+ let { dragConstraints: t } = this.getProps(), r = ey(t) && ty(t);
+ r && (this.constraints = this.resolveRefConstraints(), n ||= sne(e, r, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i.layout || (i.root?.updateScroll(), i.updateLayout()), Jf.read(r);
- let o = mv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (W_((t) => {
- if (!cy(t, this.getProps().drag, this.currentDirection)) return;
+ let o = cv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (q_((t) => {
+ if (!ry(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());
@@ -18732,7 +18732,7 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
};
}
getProps() {
- let e = this.readProps(), { dragElastic: t = ty, dragMomentum: n = !0 } = e;
+ let e = this.readProps(), { dragElastic: t = Xv, dragMomentum: n = !0 } = e;
return {
...e,
dragElastic: t,
@@ -18740,31 +18740,31 @@ var ene = /* @__PURE__ */ new WeakMap(), tne = class {
};
}
};
-function ay(e) {
+function ey(e) {
return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);
}
-var oy = (e) => "current" in e ? e.current : e;
-function sy(e) {
+var ty = (e) => "current" in e ? e.current : e;
+function ny(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function nne(e, t, n) {
- let r = Hv(e, sy(n)), i = Hv(t, sy(n));
+function sne(e, t, n) {
+ let r = Iv(e, ny(n)), i = Iv(t, ny(n));
return () => {
r(), i();
};
}
-function cy(e, t, n) {
+function ry(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function rne(e, t = 10) {
+function cne(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 ly(e, t) {
+function iy(e, t) {
let n = kg(e), r = new AbortController();
return [
n,
@@ -18777,12 +18777,12 @@ function ly(e, t) {
];
}
// node_modules/motion-dom/dist/es/gestures/hover.mjs
-function ine(e) {
- return !(e.pointerType === "touch" || Qv());
+function lne(e) {
+ return !(e.pointerType === "touch" || qv());
}
-function ane(e, t, n = {}) {
+function une(e, t, n = {}) {
t = Og(t);
- let [r, i, a] = ly(e, n);
+ let [r, i, a] = iy(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -18796,7 +18796,7 @@ function ane(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!ine(n)) return;
+ if (!lne(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -18804,71 +18804,71 @@ function ane(e, t, n = {}) {
}), a;
}
// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var uy = (e, t) => t ? e === t || uy(e, t.parentElement) : !1, dy = /* @__PURE__ */ new WeakSet();
+var ay = (e, t) => t ? e === t || ay(e, t.parentElement) : !1, oy = /* @__PURE__ */ new WeakSet();
// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function fy(e) {
+function sy(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function py(e, t) {
+function cy(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var one = (e, t) => {
- let n = !1, r = fy(() => {
- dy.has(e) || (n = !0, py(e, "down"));
- }), i = fy(() => {
- n && (n = !1, py(e, "up"));
+var dne = (e, t) => {
+ let n = !1, r = sy(() => {
+ oy.has(e) || (n = !0, cy(e, "down"));
+ }), i = sy(() => {
+ n && (n = !1, cy(e, "up"));
});
e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {
- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && py(e, "cancel");
+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && cy(e, "cancel");
}, {
...t,
once: !0
});
};
// node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function my(e) {
- return Pv(e) && !Qv();
+function ly(e) {
+ return Ov(e) && !qv();
}
-var hy = /* @__PURE__ */ new WeakSet();
-function sne(e, t, n = {}) {
+var uy = /* @__PURE__ */ new WeakSet();
+function fne(e, t, n = {}) {
t = Og(t);
- let [r, i, a] = ly(e, n), o = (e) => {
+ let [r, i, a] = iy(e, n), o = (e) => {
let r = e.currentTarget;
- if (!my(e) || hy.has(e)) return;
- dy.add(r), n.stopPropagation && hy.add(e);
+ if (!ly(e) || uy.has(e)) return;
+ oy.add(r), n.stopPropagation && uy.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), dy.has(r) && dy.delete(r), my(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), oy.has(r) && oy.delete(r), ly(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || uy(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || ay(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), wg(e) && (e.addEventListener("focus", () => one(e, i), i), !Wte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), wg(e) && (e.addEventListener("focus", () => dne(e, i), i), !Yte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function gy(e, t) {
+function dy(e, t) {
let n = window.getComputedStyle(e);
return Vm(t) ? n.getPropertyValue(t) : n[t];
}
// node_modules/motion-dom/dist/es/render/Feature.mjs
-var _y = class {
+var fy = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
update() {}
-}, vy = /* @__PURE__ */ new Set([
+}, py = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -18892,25 +18892,25 @@ var _y = class {
"startOffset",
"textLength",
"lengthAdjust"
-]), yy = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), my = (e) => typeof e == "string" && e.toLowerCase() === "svg";
// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function cne(e, t, n, r) {
- jv(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(vy.has(n) ? n : Fg(n), t.attrs[n]);
+function pne(e, t, n, r) {
+ Tv(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(py.has(n) ? n : Fg(n), t.attrs[n]);
}
// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function by(e, t, n) {
- let r = Nv(e, t, n);
- for (let n in e) if (n !== "children" && (ug(e[n]) || ug(t[n]))) {
+function hy(e, t, n) {
+ let r = Dv(e, t, n);
+ for (let n in e) if (n !== "children" && (dg(e[n]) || dg(t[n]))) {
let t = xm.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var lne = class extends Av {
+var mne = class extends wv {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = P_;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = L_;
}
getBaseTargetFromProps(e, t) {
return Sm.has(t) ? super.getBaseTargetFromProps(e, t) ?? vm(t) : e[t];
@@ -18927,23 +18927,23 @@ var lne = class extends Av {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = vy.has(t) ? t : Fg(t), e.getAttribute(t);
+ return t = py.has(t) ? t : Fg(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return by(e, t, n);
+ return hy(e, t, n);
}
build(e, t, n) {
Rg(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- cne(e, t, n, r);
+ pne(e, t, n, r);
}
mount(e) {
- this.isSVGTag = yy(e.tagName), super.mount(e);
+ this.isSVGTag = my(e.tagName), super.mount(e);
}
};
// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function xy(e, t) {
+function gy(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -18951,18 +18951,18 @@ function xy(e, t) {
return !0;
}
// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var une = [...bv].reverse(), Sy = (e) => e?.out === !0 ? e : e?.out;
-function dne(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => mee(e, t, n))), n = Cy(), r = !0, i = !1;
+var hne = [...mv].reverse(), _y = (e) => e?.out === !0 ? e : e?.out;
+function gne(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => pee(e, t, n))), n = vy(), r = !0, i = !1;
function a(a) {
let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && sg(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
do
g = g.props.inherit !== !1 && g.parent;
while (g && !g.isControllingVariants);
- let _ = u && Sy(f(l ?? (g && g.props.initial))?.transition);
- if (une.forEach((t, r) => {
- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? yv(f) || f === !1 ? f : void 0 : l, y = yv(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || vv(v) || typeof v == "boolean") return;
+ let _ = u && _y(f(l ?? (g && g.props.initial))?.transition);
+ if (hne.forEach((t, r) => {
+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? pv(f) || f === !1 ? f : void 0 : l, y = pv(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || fv(v) || typeof v == "boolean") return;
if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {
m = {
...m,
@@ -18970,14 +18970,14 @@ function dne(e) {
};
return;
}
- let S = fne(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
+ let S = _ne(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
if (b !== !1) for (let n of T) {
let { transition: r, transitionEnd: i, ...a } = sg(e, n, cg(e, t)) || {};
E = {
...E,
...a,
...i
- }, D = Sy(r) || D;
+ }, D = _y(r) || D;
}
let { prevResolvedValues: O } = i;
for (let t in {
@@ -18985,7 +18985,7 @@ function dne(e) {
...E
}) {
if (t in m) continue;
- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !xy(n, r) || S : n !== r, o;
+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !gy(n, r) || S : n !== r, o;
if (a && n == null) p.has(t) || p.set(t, i.prevOut);
else if (a || n !== void 0 && p.has(t)) {
C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;
@@ -19018,7 +19018,7 @@ function dne(e) {
let s = e.getValue(a);
s && (s.liveStyle = !0);
let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);
- t[a] = (c === void 0 ? u !== void 0 && !ug(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
+ t[a] = (c === void 0 ? u !== void 0 && !dg(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
}), r && (t.transition = r), d.push({ animation: t });
}
let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);
@@ -19039,16 +19039,16 @@ function dne(e) {
},
getState: () => n,
reset: () => {
- n = Cy(), i = !0;
+ n = vy(), i = !0;
}
};
}
-function fne(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !xy(t, e) : !1;
+function _ne(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !gy(t, e) : !1;
}
-function Cy() {
+function vy() {
let e = {};
- for (let t of bv) e[t] = {
+ for (let t of mv) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -19058,55 +19058,55 @@ function Cy() {
return e;
}
// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
-var wy = /* @__PURE__ */ (0, P.createContext)({
+var yy = /* @__PURE__ */ (0, P.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function Ty(e, t) {
+function by(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function pne(...e) {
+function xy(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = Ty(e, t);
+ let r = by(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() : Ty(e[t], null);
+ typeof n == "function" ? n() : by(e[t], null);
}
};
};
}
-function mne(...e) {
- return P.useCallback(pne(...e), e);
+function Sy(...e) {
+ return P.useCallback(xy(...e), e);
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Ey = (e) => {
+var Cy = (e) => {
let { width: t, height: n } = e?.getBoundingClientRect() || {};
return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];
-}, Dy = (e) => {
+}, wy = (e) => {
let { left: t, top: n } = e.getBoundingClientRect(), r = e;
for (; r = r.parentElement || r.parentNode?.host;) {
let { scrollLeft: e, scrollTop: i } = r;
if (e || i) {
- let [a, o] = Ey(r);
+ let [a, o] = Cy(r);
t += e * a, n += i * o;
}
if (getComputedStyle(r).position === "fixed") break;
}
- let [i, a] = Ey(e.offsetParent);
+ let [i, a] = Cy(e.offsetParent);
return [t / i, n / a];
-}, hne = class extends P.Component {
+}, vne = class extends P.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.getElement();
if (wg(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
let e = t.offsetParent, n = wg(e) && e.offsetWidth || 0, r = wg(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Dy(t);
+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = wy(t);
}
return null;
}
@@ -19115,7 +19115,7 @@ var Ey = (e) => {
return this.props.children;
}
};
-function gne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
+function yne({ 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,
@@ -19124,7 +19124,7 @@ function gne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: u } = (0, P.useContext)(wy), d = mne(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
+ }), { nonce: u } = (0, P.useContext)(yy), d = Sy(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;
e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);
};
@@ -19137,10 +19137,10 @@ function gne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
let d = i ?? o.head;
d.appendChild(c), p(c.sheet);
let m = 0, h = 0;
- return s_.setup(() => {
- let [e, t] = Dy(r);
+ return o_.setup(() => {
+ let [e, t] = wy(r);
m = l.current.point[0] - e, h = l.current.point[1] - t;
- }), s_.read(() => {
+ }), o_.read(() => {
let { sheet: e } = c;
if (!e || !m && !h) return;
let t = l.current;
@@ -19148,7 +19148,7 @@ function gne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}), () => {
r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);
};
- }, [t]), (0, F.jsx)(hne, {
+ }, [t]), (0, F.jsx)(vne, {
isPresent: t,
getElement: f,
sizeRef: l,
@@ -19157,8 +19157,8 @@ function gne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
});
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var _ne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = Bu(vne), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);
+var bne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = Bu(xne), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);
Vu(() => {
p.current = n, m.current = r;
});
@@ -19184,7 +19184,7 @@ var _ne = ({ 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)(gne, {
+ }, [n]), e = (0, F.jsx)(yne, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -19197,11 +19197,11 @@ var _ne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function vne() {
+function xne() {
return /* @__PURE__ */ new Map();
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Oy(e = !0) {
+function Ty(e = !0) {
let t = (0, P.useContext)(Hu);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, P.useId)();
@@ -19215,23 +19215,23 @@ function Oy(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function ky() {
- return Ay((0, P.useContext)(Hu));
+function Ey() {
+ return Sne((0, P.useContext)(Hu));
}
-function Ay(e) {
+function Sne(e) {
return e === null || e.isPresent;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var jy = (e) => e.key || "";
-function My(e) {
+var Dy = (e) => e.key || "";
+function Oy(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 Ny = ({ 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] = Oy(o), f = (0, P.useMemo)(() => My(e), [e]), p = o && !u ? [] : f.map(jy), m = (0, P.useRef)(!0), h = Bu(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);
+var ky = ({ 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] = Ty(o), f = (0, P.useMemo)(() => Oy(e), [e]), p = o && !u ? [] : f.map(Dy), m = (0, P.useRef)(!0), h = Bu(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);
Vu(() => {
o && !u && !y.length && d?.();
}, [
@@ -19247,7 +19247,7 @@ var Ny = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
}, [y]), Vu(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = jy(y[e]);
+ let t = Dy(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -19259,15 +19259,15 @@ var Ny = ({ 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(jy(n));
+ let r = p.indexOf(Dy(n));
r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;
}
- return S.every((e) => h.get(jy(e))) ? e = f : a === "wait" && (e = S), b(My(e)), v(f), null;
+ return S.every((e) => h.get(Dy(e))) ? e = f : a === "wait" && (e = S), b(Oy(e)), v(f), null;
}
let { forceRender: C } = (0, P.useContext)(zu);
return (0, F.jsx)(F.Fragment, { children: y.map((e) => {
- let _ = jy(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, F.jsx)(_ne, {
+ let _ = Dy(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, F.jsx)(bne, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -19288,8 +19288,8 @@ var Ny = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, Py = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), Fy = {
- animation: ["variants", ...bv],
+}, Ay = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), jy = {
+ animation: ["variants", ...mv],
exit: ["exit"],
drag: ["drag", "dragControls"],
focus: ["whileFocus"],
@@ -19316,28 +19316,28 @@ var Ny = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Iy = !1;
-function Ly() {
- if (Iy) return;
+}, My = !1;
+function Cne() {
+ if (My) return;
let e = {};
- for (let t in Fy) e[t] = { isEnabled: (e) => Fy[t].some((t) => !!e[t]) };
- kv(e), Iy = !0;
+ for (let t in jy) e[t] = { isEnabled: (e) => jy[t].some((t) => !!e[t]) };
+ Cv(e), My = !0;
}
-function Ry() {
- return Ly(), Dte();
+function Ny() {
+ return Cne(), Nte();
}
// node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function zy(e) {
- let t = Ry();
+function wne(e) {
+ let t = Ny();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- kv(t);
+ Cv(t);
}
// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function By({ children: e, ...t }) {
- let n = (0, P.useContext)(wy);
+function Tne({ children: e, ...t }) {
+ let n = (0, P.useContext)(yy);
t = {
...n,
...t
@@ -19349,77 +19349,77 @@ function By({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, F.jsx)(wy.Provider, {
+ return (0, F.jsx)(yy.Provider, {
value: r,
children: e
});
}
// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var Vy = /* @__PURE__ */ (0, P.createContext)({});
+var Py = /* @__PURE__ */ (0, P.createContext)({});
// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function Hy(e, t) {
- if (Sv(e)) {
+function Ene(e, t) {
+ if (gv(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || yv(t) ? t : void 0,
- animate: yv(n) ? n : void 0
+ initial: t === !1 || pv(t) ? t : void 0,
+ animate: pv(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function Uy(e) {
- let { initial: t, animate: n } = Hy(e, (0, P.useContext)(Vy));
+function Dne(e) {
+ let { initial: t, animate: n } = Ene(e, (0, P.useContext)(Py));
return (0, P.useMemo)(() => ({
initial: t,
animate: n
- }), [Wy(t), Wy(n)]);
+ }), [Fy(t), Fy(n)]);
}
-function Wy(e) {
+function Fy(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Gy = () => ({
+var Iy = () => ({
style: {},
transform: {},
transformOrigin: {},
vars: {}
});
// node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function Ky(e, t, n) {
- for (let r in t) !ug(t[r]) && !Mv(r, n) && (e[r] = t[r]);
+function Ly(e, t, n) {
+ for (let r in t) !dg(t[r]) && !Ev(r, n) && (e[r] = t[r]);
}
-function qy({ transformTemplate: e }, t) {
+function One({ transformTemplate: e }, t) {
return (0, P.useMemo)(() => {
- let n = Gy();
+ let n = Iy();
return Ig(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function yne(e, t) {
+function kne(e, t) {
let n = e.style || {}, r = {};
- return Ky(r, n, e), Object.assign(r, qy(e, t)), r;
+ return Ly(r, n, e), Object.assign(r, One(e, t)), r;
}
-function bne(e, t) {
- let n = {}, r = yne(e, t);
+function Ane(e, t) {
+ let n = {}, r = kne(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 Jy = () => ({
- ...Gy(),
+var Ry = () => ({
+ ...Iy(),
attrs: {}
});
// node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function xne(e, t, n, r) {
+function jne(e, t, n, r) {
let i = (0, P.useMemo)(() => {
- let n = Jy();
- return Rg(n, t, yy(r), e.transformTemplate, e.style), {
+ let n = Ry();
+ return Rg(n, t, my(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- return Ky(t, e.style, e), {
+ return Ly(t, e.style, e), {
...i,
style: {
...t,
@@ -19430,21 +19430,21 @@ function xne(e, t, n, r) {
return i;
}
// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Sne = /* @__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 Yy(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Sne.has(e);
+var Mne = /* @__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 zy(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Mne.has(e);
}
// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function Cne(e, t) {
- return e.startsWith("on") ? !Yy(e) : t?.(e) ?? !Yy(e);
+function Nne(e, t) {
+ return e.startsWith("on") ? !zy(e) : t?.(e) ?? !zy(e);
}
-function wne(e, t, n, r) {
+function Pne(e, t, n, r) {
let i = {};
- for (let a in e) a === "values" && typeof e.values == "object" || ug(e[a]) || (Cne(a, r) || n === !0 && Yy(a) || !t && !Yy(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
+ for (let a in e) a === "values" && typeof e.values == "object" || dg(e[a]) || (Nne(a, r) || n === !0 && zy(a) || !t && !zy(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
return i;
}
// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var Tne = [
+var Fne = [
"animate",
"circle",
"defs",
@@ -19472,37 +19472,37 @@ var Tne = [
"view"
];
// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Xy(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(Tne.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function By(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(Fne.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
// node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function Ene(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? Xy(e) ? xne : bne)(t, r, i, e), l = wne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {
+function Ine(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? By(e) ? jne : Ane)(t, r, i, e), l = Pne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {
...l,
...c,
ref: n
- }, { children: d } = t, f = (0, P.useMemo)(() => ug(d) ? d.get() : d, [d]);
+ }, { children: d } = t, f = (0, P.useMemo)(() => dg(d) ? d.get() : d, [d]);
return (0, P.createElement)(e, {
...u,
children: f
});
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function Dne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function Lne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: One(n, r, i, e),
+ latestValues: Rne(n, r, i, e),
renderState: t()
};
}
-function One(e, t, n, r) {
+function Rne(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = d_(a[e]);
- let { initial: o, animate: s } = e, c = Sv(e), l = Cv(e);
+ for (let e in a) i[e] = u_(a[e]);
+ let { initial: o, animate: s } = e, c = gv(e), l = _v(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" && !vv(d)) {
+ if (d && typeof d != "boolean" && !fv(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
let r = og(e, t[n]);
@@ -19522,18 +19522,18 @@ function One(e, t, n, r) {
}
return i;
}
-var Zy = (e) => (t, n) => {
- let r = (0, P.useContext)(Vy), i = (0, P.useContext)(Hu), a = () => Dne(e, t, r, i);
+var Vy = (e) => (t, n) => {
+ let r = (0, P.useContext)(Py), i = (0, P.useContext)(Hu), a = () => Lne(e, t, r, i);
return n ? a() : Bu(a);
-}, kne = /*@__PURE__*/ Zy({
- scrapeMotionValuesFromProps: Nv,
- createRenderState: Gy
-}), Ane = /*@__PURE__*/ Zy({
- scrapeMotionValuesFromProps: by,
- createRenderState: Jy
-}), jne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
+}, zne = /*@__PURE__*/ Vy({
+ scrapeMotionValuesFromProps: Dv,
+ createRenderState: Iy
+}), Bne = /*@__PURE__*/ Vy({
+ scrapeMotionValuesFromProps: hy,
+ createRenderState: Ry
+}), Vne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function Mne(e, t, n) {
+function Hne(e, t, n) {
let r = (0, P.useRef)(n);
(0, P.useInsertionEffect)(() => {
r.current = n;
@@ -19551,10 +19551,10 @@ function Mne(e, t, n) {
}, [t]);
}
// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Qy = /* @__PURE__ */ (0, P.createContext)({});
+var Hy = /* @__PURE__ */ (0, P.createContext)({});
// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function Nne(e, t, n, r, i, a) {
- let { visualElement: o } = (0, P.useContext)(Vy), s = (0, P.useContext)(Py), c = (0, P.useContext)(Hu), l = (0, P.useContext)(wy), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);
+function Une(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, P.useContext)(Py), s = (0, P.useContext)(Ay), c = (0, P.useContext)(Hu), l = (0, P.useContext)(yy), 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,
@@ -19565,11 +19565,11 @@ function Nne(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)(Qy);
+ let m = f.current, h = (0, P.useContext)(Hy);
m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, P.useInsertionEffect)(() => {
m && m.props !== n && m.update(n, c);
});
- let g = n[fg], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
+ let g = n[pg], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
return Vu(() => {
p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);
}, []), Vu(() => {
@@ -19581,46 +19581,46 @@ function Nne(e, t, n, r, i, a) {
}), m;
}
// node_modules/framer-motion/dist/es/motion/index.mjs
-function $y(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && zy(r);
- let a = n ? n === "svg" : Xy(e), o = a ? Ane : kne;
+function Uy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && wne(r);
+ let a = n ? n === "svg" : By(e), o = a ? Bne : zne;
function s(n, s) {
- let c, l = Pne(n);
- Bu(() => !!hv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
+ let c, l = Wne(n);
+ Bu(() => !!lv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
...n,
initial: !1
});
let u = {
- ...(0, P.useContext)(wy),
+ ...(0, P.useContext)(yy),
...n,
layoutId: l
- }, { isStatic: d, isValidProp: f } = u, p = Uy(n), m = o(n, d);
+ }, { isStatic: d, isValidProp: f } = u, p = Dne(n), m = o(n, d);
if (!d && typeof window < "u") {
- Fne(u, r);
- let t = Ine(u);
- p.visualElement = Nne(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
+ Gne(u, r);
+ let t = Kne(u);
+ p.visualElement = Une(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
}
- return (0, F.jsxs)(Vy.Provider, {
+ return (0, F.jsxs)(Py.Provider, {
value: p,
children: [c && p.visualElement ? (0, F.jsx)(c, {
visualElement: p.visualElement,
...u
- }) : null, Ene(e, n, Mne(m, p.visualElement, s), m, d, t, a, f)]
+ }) : null, Ine(e, n, Hne(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[jne] = e, c;
+ return c[Vne] = e, c;
}
-function Pne({ layoutId: e }) {
+function Wne({ layoutId: e }) {
let t = (0, P.useContext)(zu).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function Fne(e, t) {
- (0, P.useContext)(Py).strict;
+function Gne(e, t) {
+ (0, P.useContext)(Ay).strict;
}
-function Ine(e) {
- let { drag: t, layout: n } = Ry();
+function Kne(e) {
+ let { drag: t, layout: n } = Ny();
if (!t && !n) return {};
let r = {
...t,
@@ -19633,19 +19633,19 @@ function Ine(e) {
};
}
// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function Lne(e, t) {
- if (typeof Proxy > "u") return $y;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => $y(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, $y(a, void 0, e, t)), n.get(a)) });
+function qne(e, t) {
+ if (typeof Proxy > "u") return Uy;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Uy(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Uy(a, void 0, e, t)), n.get(a)) });
}
// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection: e !== P.Fragment }), zne = class extends _y {
+var Jne = (e, t) => t.isSVG ?? By(e) ? new mne(t) : new Ite(t, { allowProjection: e !== P.Fragment }), Yne = class extends fy {
constructor(e) {
- super(e), e.animationState ||= dne(e);
+ super(e), e.animationState ||= gne(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- vv(e) && (this.unmountControls = e.subscribe(this.node));
+ fv(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -19656,11 +19656,11 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Bne = 0, Vne = {
- animation: { Feature: zne },
- exit: { Feature: class extends _y {
+}, Xne = 0, Zne = {
+ animation: { Feature: Yne },
+ exit: { Feature: class extends fy {
constructor() {
- super(...arguments), this.id = Bne++;
+ super(...arguments), this.id = Xne++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -19690,9 +19690,9 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
}
unmount() {}
} }
-}, Hne = class extends _y {
+}, Qne = class extends fy {
constructor(e) {
- super(e), this.removeGroupControls = Zu, this.removeListeners = Zu, this.controls = new tne(e);
+ super(e), this.removeGroupControls = Zu, this.removeListeners = Zu, this.controls = new one(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -19705,14 +19705,14 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, eb = (e) => (t, n) => {
+}, Wy = (e) => (t, n) => {
e && Jf.update(() => e(t, n), !1, !0);
-}, Une = class extends _y {
+}, $ne = class extends fy {
constructor() {
super(...arguments), this.removePointerDownListener = Zu;
}
onPointerDown(e) {
- this.session = new Gv(e, this.createPanHandlers(), {
+ this.session = new zv(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
contextWindow: this.node.current?.ownerDocument.defaultView
});
@@ -19720,16 +19720,16 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: eb(e),
- onStart: eb(t),
- onMove: eb(n),
+ onSessionStart: Wy(e),
+ onStart: Wy(t),
+ onMove: Wy(n),
onEnd: (e, t) => {
delete this.session, r && Jf.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = Iv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = Av(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session?.updateHandlers(this.createPanHandlers());
@@ -19737,12 +19737,12 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
unmount() {
this.removePointerDownListener(), this.session?.end();
}
-}, tb = !1, nb = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
+}, Gy = !1, Ky = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
layout: e,
layoutDependency: t,
layoutAnchor: n,
animationType: typeof e == "string" ? e : "both"
-}), rb = (e, t) => {
+}), qy = (e, t) => {
let { snapshot: n } = e, r = e.getStack();
r?.remove(e);
let i = r?.lead;
@@ -19751,33 +19751,33 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
let { resumeFrom: t } = e;
t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);
};
-}, Wne = class extends P.Component {
+}, ere = class extends P.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group?.add(i), r && n?.register?.(i), tb && i.root.didUpdate(), i.options.layoutId !== r && rb(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
+ i && (t.group?.add(i), r && n?.register?.(i), Gy && i.root.didUpdate(), i.options.layoutId !== r && qy(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
...i.options,
- ...nb(this.props),
+ ...Ky(this.props),
onExitComplete: () => this.safeToRemove()
- })), G_.hasEverUpdated = !0;
+ })), J_.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;
- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), rb(o, n)), o.setOptions({
+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), qy(o, n)), o.setOptions({
...o.options,
- ...nb(this.props)
- }), tb = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Jf.postRender(() => {
+ ...Ky(this.props)
+ }), Gy = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Jf.postRender(() => {
o.getStack()?.members.length || this.safeToRemove();
}))), null;
}
componentDidUpdate() {
let { projection: e } = this.props.visualElement;
- e && (this.takeOver?.(), e.root.didUpdate(), s_.postRender(() => {
+ e && (this.takeOver?.(), e.root.didUpdate(), o_.postRender(() => {
!e.currentAnimation && e.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- tb = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
+ Gy = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
}
safeToRemove() {
this.props.safeToRemove?.();
@@ -19786,39 +19786,39 @@ var Rne = (e, t) => t.isSVG ?? Xy(e) ? new lne(t) : new Ate(t, { allowProjection
return null;
}
};
-function ib(e) {
- let [t, n] = Oy(), r = (0, P.useContext)(zu);
- return (0, F.jsx)(Wne, {
+function Jy(e) {
+ let [t, n] = Ty(), r = (0, P.useContext)(zu);
+ return (0, F.jsx)(ere, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, P.useContext)(Qy),
+ switchLayoutGroup: (0, P.useContext)(Hy),
isPresent: t,
safeToRemove: n
});
}
// node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Gne = {
- pan: { Feature: Une },
+var tre = {
+ pan: { Feature: $ne },
drag: {
- Feature: Hne,
- ProjectionNode: gv,
- MeasureLayout: ib
+ Feature: Qne,
+ ProjectionNode: uv,
+ MeasureLayout: Jy
}
};
// node_modules/framer-motion/dist/es/gestures/hover.mjs
-function ab(e, t, n, r) {
+function Yy(e, t, n, r) {
let { props: i } = e, a = "while" + n;
e.animationState && i[a] && e.animationState.setActive(a, r === "Start");
let o = i["on" + n + r];
- o && Jf.postRender(() => o(t, Fv(t)));
+ o && Jf.postRender(() => o(t, kv(t)));
}
-var Kne = class extends _y {
+var nre = class extends fy {
mount() {
let { current: e } = this.node;
- e && (this.unmount = ane(e, (e, t) => (ab(this.node, t, "Hover", "Start"), (e) => ab(this.node, e, "Hover", "End"))));
+ e && (this.unmount = une(e, (e, t) => (Yy(this.node, t, "Hover", "Start"), (e) => Yy(this.node, e, "Hover", "End"))));
}
unmount() {}
-}, qne = class extends _y {
+}, rre = class extends fy {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -19835,51 +19835,51 @@ var Kne = class extends _y {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Qu(mv(this.node.current, "focus", () => this.onFocus()), mv(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Qu(cv(this.node.current, "focus", () => this.onFocus()), cv(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
// node_modules/framer-motion/dist/es/gestures/press.mjs
-function ob(e, t, n) {
- e.current instanceof HTMLButtonElement && e.current.disabled || ab(e, t, "Tap", n);
+function Xy(e, t, n) {
+ e.current instanceof HTMLButtonElement && e.current.disabled || Yy(e, t, "Tap", n);
}
-var Jne = class extends _y {
+var ire = class extends fy {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = sne(e, (e, t) => (ob(this.node, t, "Start"), (e, { success: t }) => ob(this.node, e, t ? "" : "Cancel")), {
+ this.unmount = fne(e, (e, t) => (Xy(this.node, t, "Start"), (e, { success: t }) => Xy(this.node, e, t ? "" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, sb = /* @__PURE__ */ new WeakMap(), cb = /* @__PURE__ */ new WeakMap(), Yne = (e) => {
- let t = sb.get(e.target);
+}, Zy = /* @__PURE__ */ new WeakMap(), Qy = /* @__PURE__ */ new WeakMap(), are = (e) => {
+ let t = Zy.get(e.target);
t && t(e);
-}, Xne = (e) => {
- e.forEach(Yne);
+}, ore = (e) => {
+ e.forEach(are);
};
-function Zne({ root: e, ...t }) {
+function sre({ root: e, ...t }) {
let n = e || document;
- cb.has(n) || cb.set(n, {});
- let r = cb.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Xne, {
+ Qy.has(n) || Qy.set(n, {});
+ let r = Qy.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(ore, {
root: e,
...t
})), r[i];
}
-function Qne(e, t, n) {
- let r = Zne(t);
- return sb.set(e, n), r.observe(e), () => {
- sb.delete(e), r.unobserve(e);
+function cre(e, t, n) {
+ let r = sre(t);
+ return Zy.set(e, n), r.observe(e), () => {
+ Zy.delete(e), r.unobserve(e);
};
}
// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var $ne = {
+var lre = {
some: 0,
all: 1
-}, ere = class extends _y {
+}, ure = class extends fy {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -19888,7 +19888,7 @@ var $ne = {
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 : $ne[r]
+ threshold: typeof r == "number" ? r : lre[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -19896,7 +19896,7 @@ var $ne = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Qne(this.node.current, a, o);
+ this.stopObserver = cre(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -19908,61 +19908,61 @@ var $ne = {
"amount",
"margin",
"root"
- ].some(tre(e, t)) && this.startObserver();
+ ].some(dre(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function tre({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function dre({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
-var nre = /*@__PURE__*/ Lne(/* @__PURE__ */ Object.assign({}, Vne, {
- inView: { Feature: ere },
- tap: { Feature: Jne },
- focus: { Feature: qne },
- hover: { Feature: Kne }
-}, Gne, { layout: {
- ProjectionNode: gv,
- MeasureLayout: ib
-} }), Rne);
+var fre = /*@__PURE__*/ qne(/* @__PURE__ */ Object.assign({}, Zne, {
+ inView: { Feature: ure },
+ tap: { Feature: ire },
+ focus: { Feature: rre },
+ hover: { Feature: nre }
+}, tre, { layout: {
+ ProjectionNode: uv,
+ MeasureLayout: Jy
+} }), Jne);
// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function lb() {
- !Tv.current && Ev();
- let [e] = (0, P.useState)(wv.current);
+function $y() {
+ !yv.current && bv();
+ let [e] = (0, P.useState)(vv.current);
return e;
}
// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function ub(e) {
+function eb(e) {
return typeof e == "object" && !Array.isArray(e);
}
// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function db(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && ub(t) ? kg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function tb(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && eb(t) ? kg(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 rre(e, t, n) {
+function pre(e, t, n) {
return e * (t + 1) + n * t;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function fb(e, t) {
+function nb(e, t) {
if (t.has(e)) return t.get(e);
let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];
return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;
}
-function ire(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))) : fb(t, r) ?? e;
+function mre(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))) : nb(t, r) ?? e;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function are(e, t, n) {
+function hre(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (Wu(e, i), r--);
}
}
-function ore(e, t, n, r, i, a) {
- are(e, i, a);
+function gre(e, t, n, r, i, a) {
+ hre(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: Df(i, a, r[o]),
@@ -19970,19 +19970,19 @@ function ore(e, t, n, r, i, a) {
});
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function sre(e, t, n = 0) {
+function _re(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 cre(e, t) {
+function vre(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 lre = "easeInOut", ure = 20;
-function dre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
+var yre = "easeInOut", bre = 20;
+function xre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {
- let a = n, s = (e) => typeof e == "number" ? n + e : ire(f, e, d, u);
+ let a = n, s = (e) => typeof e == "number" ? n + e : mre(f, e, d, u);
for (let n = 0; n < e.length; n++) {
let h = e[n];
if (typeof h == "string") {
@@ -19997,12 +19997,12 @@ function dre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let [g, _, v = {}] = h;
v.at !== void 0 && (f = s(v.at));
let y = 0, b = (e, n, r, a = 0, s = 0) => {
- let c = fre(e), { delay: l = 0, times: u = jp(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
+ let c = ab(e), { delay: l = 0, times: u = jp(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
r.mixer ||= n.mixer;
let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = Zm(d) ? d : i?.[d || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && hre(c)) {
+ if (S === 2 && cb(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -20018,9 +20018,9 @@ function dre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let w = f + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && Ap(u, T), c.length === 1 && c.unshift(null), m && m < ure) {
+ if (T > 0 && Ap(u, T), c.length === 1 && c.unshift(null), m && m < bre) {
let e = b > 0 ? g / b : 0;
- b = rre(b, m, g);
+ b = pre(b, m, g);
let t = [...c], n = [...u];
v = Array.isArray(v) ? [...v] : [v];
let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -20030,20 +20030,20 @@ function dre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ bd(f, e - 1));
}
- sre(u, m, e);
+ _re(u, m, e);
}
let E = w + b;
- ore(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
+ gre(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
};
- if (ug(g)) {
- let e = pb(g, c);
- b(_, v, mb("default", e));
+ if (dg(g)) {
+ let e = rb(g, c);
+ b(_, v, ib("default", e));
} else {
- let e = db(g, _, r, l), t = e.length;
+ let e = tb(g, _, r, l), t = e.length;
for (let n = 0; n < t; n++) {
_ = _, v = v;
- let r = e[n], i = pb(r, c);
- for (let e in _) b(_[e], pre(v, e), mb(e, i), n, t);
+ let r = e[n], i = rb(r, c);
+ for (let e in _) b(_[e], ob(v, e), ib(e, i), n, t);
}
}
d = f, f += y, a = Math.max(a, f);
@@ -20053,13 +20053,13 @@ function dre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(cre);
+ a.sort(vre);
let o = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
o.push(n), c.push(/* @__PURE__ */ $u(0, p, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(lre)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(yre)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
keyframes: {},
transition: {}
});
@@ -20077,43 +20077,43 @@ function dre(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
}
}), s;
}
-function pb(e, t) {
+function rb(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function mb(e, t) {
+function ib(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function fre(e) {
+function ab(e) {
return Array.isArray(e) ? e : [e];
}
-function pre(e, t) {
+function ob(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var mre = (e) => typeof e == "number", hre = (e) => e.every(mre);
+var sb = (e) => typeof e == "number", cb = (e) => e.every(sb);
// node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function gre(e, t) {
- return ug(e) || typeof e == "number" || typeof e == "string" && !ub(t);
+function lb(e, t) {
+ return dg(e) || typeof e == "number" || typeof e == "string" && !eb(t);
}
-function hb(e, t, n, r) {
+function ub(e, t, n, r) {
let i = [];
- if (gre(e, t)) i.push(c_(e, ub(t) && t.default || t, n && (n.default || n)));
+ if (lb(e, t)) i.push(s_(e, eb(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = db(e, t, r), o = a.length;
+ let a = tb(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(...Uee(r, t, s, _v.get(r))) : i.push(...Cg(Cee(r) ?? o_, r, t, s));
+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Uee(r, t, s, dv.get(r))) : i.push(...Cg(Cee(r) ?? Wee, r, t, s));
}
}
return i;
}
// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function _re(e, t, n, r) {
+function db(e, t, n, r) {
let i = [];
- return dre(e.map((e) => {
+ return xre(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
let t = e[0], n = Qh(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
@@ -20128,26 +20128,26 @@ function _re(e, t, n, r) {
}
return e;
}), t, n, { spring: Ep }, r).forEach(({ keyframes: e, transition: t }, n) => {
- i.push(...hb(n, e, t));
+ i.push(...ub(n, e, t));
}), i;
}
// node_modules/framer-motion/dist/es/animation/timeline/index.mjs
-var gb = 0;
-function vre(e, t) {
+var fb = 0;
+function pb(e, t) {
let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;
return n[r] = {
...n[r],
at: t
}, n;
}
-var _b = (e, t) => t === void 0 ? e : {
+var mb = (e, t) => t === void 0 ? e : {
name: e,
at: t
};
-function vb(e) {
+function hb(e) {
e.pause(), e.time = 0, e.stop();
}
-var yb = class e {
+var gb = class e {
constructor(e = [], t = {}, n) {
this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Eg.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
this.flush(), this.group?.stop();
@@ -20166,7 +20166,7 @@ var yb = class e {
item: e,
at: t,
marker: {
- name: "_m" + gb++,
+ name: "_m" + fb++,
time: 0,
callback: e
}
@@ -20177,7 +20177,7 @@ var yb = class e {
item: t || {},
at: e,
marker: {
- name: "_m" + gb++,
+ name: "_m" + fb++,
time: 0,
callback: t,
pause: !0
@@ -20271,19 +20271,19 @@ var yb = class e {
this.isDirty && !this.parent && !this.isKilled && this.build();
}
adopt(e) {
- this.group &&= (vb(this.group), void 0), this.isDirty = !1, this.parent = e;
+ this.group &&= (hb(this.group), void 0), this.isDirty = !1, this.parent = e;
}
build() {
this.isDirty = !1, this.isWrapped = !1;
let e = this.group, t = 0;
- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, vb(e)), this.isRebuilding = !1);
+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, hb(e)), this.isRebuilding = !1);
let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};
c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);
let d = /* @__PURE__ */ new Map(), f = {}, p = Eg.current;
Eg.current = this.motionScope;
let m;
try {
- m = _re(this.toSequence(d), {
+ m = db(this.toSequence(d), {
defaultTransition: n,
...u
}, c, f);
@@ -20295,7 +20295,7 @@ var yb = class e {
e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);
}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {
let e = this.clock = Qh(0);
- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = c_(e, [0, g], {
+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = s_(e, [0, g], {
...u,
duration: g,
ease: "linear"
@@ -20305,16 +20305,16 @@ var yb = class e {
t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();
}
toSequence(t) {
- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), _b(i.name, r)) : n instanceof e ? {
+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), mb(i.name, r)) : n instanceof e ? {
sequence: n.toSequence(t),
at: r
- } : typeof n == "string" ? _b(n, r) : r === void 0 ? n : Array.isArray(n) ? vre(n, r) : {
+ } : typeof n == "string" ? mb(n, r) : r === void 0 ? n : Array.isArray(n) ? pb(n, r) : {
...n,
at: r
});
}
resolve(e) {
- return this.flush(), typeof e == "number" ? e : fb(e, this.labels) ?? this.time;
+ return this.flush(), typeof e == "number" ? e : nb(e, this.labels) ?? this.time;
}
currentRepeat() {
let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;
@@ -20362,16 +20362,16 @@ var yb = class e {
}
};
// node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function yre(e) {
+function Sre(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function bre(e = {}) {
+function Cre(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
let o = Eg.current?.transition, s = {};
n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);
let c;
- if (yre(e)) {
+ if (Sre(e)) {
let n = {
...s,
...i,
@@ -20380,14 +20380,14 @@ function bre(e = {}) {
o && (n.defaultTransition = {
...o,
...n.defaultTransition
- }), c = new yb(e, n);
+ }), c = new gb(e, n);
} else {
let { onComplete: n, ...r } = a || {}, l = {
...s,
...o,
...r
}, { onUpdate: u } = r;
- c = new yb([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
+ c = new gb([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
u || (() => {}),
Array.isArray(i) ? i : [e, i],
{
@@ -20402,18 +20402,18 @@ function bre(e = {}) {
...s,
onComplete: n,
scope: t
- }, hb(e, i, l, t));
+ }, ub(e, i, l, t));
}
return c;
}
return i;
}
-var bb = /* @__PURE__ */ Object.assign(/* @__PURE__ */ bre(), {
+var _b = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Cre(), {
addEffect: See,
removeEffect: xg
});
// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function xre(e, t, n, r) {
+function wre(e, t, n, r) {
if (e == null) return [];
let i = kg(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
@@ -20440,7 +20440,7 @@ function xre(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] = gy(r, i)), lm(t), xee(t, i), !a && t.length < 2 && t.unshift(gy(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = dy(r, i)), lm(t), xee(t, i), !a && t.length < 2 && t.unshift(dy(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
@@ -20449,12 +20449,12 @@ function xre(e, t, n, r) {
}
return s;
}
-var Sre = /*@__PURE__*/ ((e) => {
+var Tre = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new Uh(xre(t, n, r, e));
+ return new Uh(wre(t, n, r, e));
}
return t;
-})(), xb = nre, Sb = class {
+})(), vb = fre, yb = 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;
}
@@ -20469,22 +20469,22 @@ var Sre = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, Cb = class extends Sb {
+}, bb = class extends yb {
filter(e, t, n) {
- let [r, i] = Db(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = wb(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends Sb {
+(class extends yb {
static {
this.type = "header";
}
});
-var wb = class extends Sb {
+var xb = class extends yb {
static {
this.type = "loader";
}
-}, Tb = class extends Cb {
+}, Sb = class extends bb {
static {
this.type = "item";
}
@@ -20495,7 +20495,7 @@ var wb = class extends Sb {
}
return null;
}
-}, Cre = class extends Cb {
+}, Ere = class extends bb {
static {
this.type = "section";
}
@@ -20507,7 +20507,7 @@ var wb = class extends Sb {
}
return null;
}
-}, Eb = class {
+}, Cb = class {
get size() {
return this.itemCount;
}
@@ -20582,14 +20582,14 @@ var wb = class extends Sb {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = Db(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = wb(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 Db(e, t, n, r) {
+function wb(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -20603,7 +20603,7 @@ function Db(e, t, n, r) {
return [i?.key ?? null, a?.key ?? null];
}
// node_modules/react-aria/dist/private/collections/Document.mjs
-var Ob = class {
+var Tb = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -20684,7 +20684,7 @@ var Ob = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, kb = class e extends Ob {
+}, Eb = class e extends Tb {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -20735,7 +20735,7 @@ var Ob = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, wre = class extends Ob {
+}, Dre = class extends Tb {
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;
}
@@ -20743,7 +20743,7 @@ var Ob = class {
return !0;
}
createElement(e) {
- return new kb(e, this);
+ return new Eb(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -20765,8 +20765,8 @@ var Ob = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof kb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof kb ? (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 Eb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof Eb ? (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() {
@@ -20784,13 +20784,13 @@ var Ob = class {
}
};
// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function Ab(e) {
+function Db(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 = Tre(a) ? a : null, o = n ? s.get(n) : null;
+ let n = Ore(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -20815,7 +20815,7 @@ function Ab(e) {
i
]);
}
-function Tre(e) {
+function Ore(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -20824,24 +20824,24 @@ function Tre(e) {
}
}
// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function jb(e) {
+function Ob(e) {
e.focus({ preventScroll: !0 });
}
// node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var Mb = (e) => Ere(e) ? e.document : Dre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Nb = (e) => Mb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function Pb(e) {
+var kb = (e) => kre(e) ? e.document : Are(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Ab = (e) => kb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function jb(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function Ere(e) {
+function kre(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function Dre(e) {
- return Pb(e) && e.nodeType === 9;
+function Are(e) {
+ return jb(e) && e.nodeType === 9;
}
-function Fb(e) {
- return Pb(e) && e.nodeType === 11 && "host" in e;
+function Mb(e) {
+ return jb(e) && e.nodeType === 11 && "host" in e;
}
-function Ib(e, t, n, r) {
+function Nb(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);
@@ -20849,7 +20849,7 @@ function Ib(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function Lb(e, t, n, r) {
+function Pb(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -20863,70 +20863,70 @@ function Lb(e, t, n, r) {
};
}
// node_modules/react-stately/dist/private/flags/flags.mjs
-var Ore = !1;
-function Rb() {
- return Ore;
+var jre = !1;
+function Fb() {
+ return jre;
}
// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function zb(e, t) {
- if (!Rb()) return t && e ? e.contains(t) : !1;
+function Ib(e, t) {
+ if (!Fb()) 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 : Fb(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Mb(n) ? n.host : n.parentNode;
}
return !1;
}
-var Bb = (e = document) => {
- if (!Rb()) return e.activeElement;
+var Lb = (e = document) => {
+ if (!Fb()) 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 (Fb() && 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 Vb(e, t) {
+function Rb(e, t) {
if (t === null) return [];
- t ??= Nb(e);
+ t ??= Ab(e);
let n = [t];
- if (!Rb() || !e || e === t) return n;
+ if (!Fb() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; Fb(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; Mb(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function Hb(e) {
+function zb(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = Nb(e);
+ let t = e.getRootNode(), n = Ab(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 kre = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function Are(e) {
- let t = Nb(e);
+var Mre = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function Nre(e) {
+ let t = Ab(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 } = Nb(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = Ab(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function jre(e, t) {
+function Pre(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 Ub(e, t) {
- return kre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Are(e) && jre(e, t) && (!e.parentElement || Ub(e.parentElement, e));
+function Bb(e, t) {
+ return Mre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Nre(e) && Pre(e, t) && (!e.parentElement || Bb(e.parentElement, e));
}
// node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var Wb = [
+var Vb = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -20941,39 +20941,39 @@ var Wb = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], Mre = Wb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-Wb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var Nre = Wb.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function Gb(e, t) {
- return e.matches(Mre) && !qb(e) && (t?.skipVisibilityCheck || Ub(e));
+], Fre = Vb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+Vb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var Ire = Vb.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function Hb(e, t) {
+ return e.matches(Fre) && !Wb(e) && (t?.skipVisibilityCheck || Bb(e));
}
-function Kb(e) {
- return e.matches(Nre) && Ub(e) && !qb(e);
+function Ub(e) {
+ return e.matches(Ire) && Bb(e) && !Wb(e);
}
-function qb(e) {
+function Wb(e) {
let t = e;
for (; t != null;) {
- if (t instanceof Nb(t).HTMLElement && t.inert) return !0;
+ if (t instanceof Ab(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var Jb = typeof document < "u" ? P.useLayoutEffect : () => {};
+var Gb = typeof document < "u" ? P.useLayoutEffect : () => {};
// node_modules/react-aria/dist/private/interactions/utils.mjs
-function Yb(e) {
+function Kb(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function Xb(e, t) {
+function qb(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function Zb(e) {
+function Jb(e) {
let t = (0, P.useRef)({
isFocused: !1,
observer: null
});
- return Jb(() => {
+ return Gb(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -20985,14 +20985,14 @@ function Zb(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = Yb(r);
+ let t = Kb(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 === Bb() ? null : Bb();
+ let e = n === Lb() ? null : Lb();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -21005,80 +21005,80 @@ function Zb(e) {
}
}, [e]);
}
-var Qb = !1;
-function Pre(e) {
- for (; e && !Gb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = Bb(Nb(e).document);
+var Yb = !1;
+function Lre(e) {
+ for (; e && !Hb(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = Lb(Ab(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && Fb(n) ? n : Nb(e), i = (t) => t === e || Pb(t) && zb(e, t), a = (e) => e === t || t != null && Pb(e) && zb(t, e);
- Qb = !0;
+ let n = e?.getRootNode(), r = n != null && Mb(n) ? n : Ab(e), i = (t) => t === e || jb(t) && Ib(e, t), a = (e) => e === t || t != null && jb(e) && Ib(t, e);
+ Yb = !0;
let o = !1, s = (e) => {
(a(G(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, jb(t), d()));
+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ob(t), d()));
}, l = (e) => {
(i(G(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, jb(t), d()));
+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ob(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), Qb = !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), Yb = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
// node_modules/react-aria/dist/private/utils/platform.mjs
-function $b(e) {
+function Xb(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 ex(e) {
+function Zb(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function tx(e) {
+function Qb(e) {
let t = null;
return () => (t ??= e(), t);
}
-var nx = tx(function() {
- return ex(/^Mac/i);
-}), Fre = tx(function() {
- return ex(/^iPhone/i);
-}), rx = tx(function() {
- return ex(/^iPad/i) || nx() && navigator.maxTouchPoints > 1;
-}), ix = tx(function() {
- return Fre() || rx();
-}), Ire = tx(function() {
- return nx() || ix();
-}), ax = tx(function() {
- return $b(/AppleWebKit/i) && (ix() || !ox());
-}), ox = tx(function() {
- return $b(/Chrome|CriOS|CrMo/i);
-}), sx = tx(function() {
- return $b(/Android/i);
+var $b = Qb(function() {
+ return Zb(/^Mac/i);
+}), Rre = Qb(function() {
+ return Zb(/^iPhone/i);
+}), ex = Qb(function() {
+ return Zb(/^iPad/i) || $b() && navigator.maxTouchPoints > 1;
+}), tx = Qb(function() {
+ return Rre() || ex();
+}), zre = Qb(function() {
+ return $b() || tx();
+}), nx = Qb(function() {
+ return Xb(/AppleWebKit/i) && (tx() || !rx());
+}), rx = Qb(function() {
+ return Xb(/Chrome|CriOS|CrMo/i);
+}), ix = Qb(function() {
+ return Xb(/Android/i);
});
// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function cx(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : sx() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function ax(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : ix() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function Lre(e) {
- return !sx() && e.width === 0 && e.height === 0 || sx() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function Bre(e) {
+ return !ix() && e.width === 0 && e.height === 0 || ix() && 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 Rre = /*#__PURE__*/ (0, P.createContext)({
+var Vre = /*#__PURE__*/ (0, P.createContext)({
isNative: !0,
- open: Vre,
+ open: Wre,
useHref: (e) => e
});
-function lx() {
- return (0, P.useContext)(Rre);
+function ox() {
+ return (0, P.useContext)(Vre);
}
-function zre(e, t) {
+function Hre(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 ux(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = ax() && nx() && !rx() ? new KeyboardEvent("keydown", {
+function sx(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = nx() && $b() && !ex() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -21093,21 +21093,21 @@ function ux(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- ux.isOpening = n, jb(e), e.dispatchEvent(s), ux.isOpening = !1;
+ sx.isOpening = n, Ob(e), e.dispatchEvent(s), sx.isOpening = !1;
}
-ux.isOpening = !1;
-function Bre(e, t) {
+sx.isOpening = !1;
+function Ure(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 Vre(e, t) {
- Bre(e, (e) => ux(e, t));
+function Wre(e, t) {
+ Ure(e, (e) => sx(e, t));
}
-function dx(e) {
- let t = lx().useHref(e.href ?? "");
+function cx(e) {
+ let t = ox().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -21117,8 +21117,8 @@ function dx(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function fx(e) {
- let t = lx().useHref(e?.href ?? ""), n = {};
+function lx(e) {
+ let t = ox().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -21129,138 +21129,138 @@ function fx(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Hre(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && zre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function Gre(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Hre(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var px = {
+var ux = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, mx = /*#__PURE__*/ P.createContext(px), Ure = /*#__PURE__*/ P.createContext(!1);
+}, dx = /*#__PURE__*/ P.createContext(ux), Kre = /*#__PURE__*/ P.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var hx = /* @__PURE__ */ new WeakMap();
-function Wre(e = !1) {
- let t = (0, P.useContext)(mx), n = (0, P.useRef)(null);
+var fx = /* @__PURE__ */ new WeakMap();
+function qre(e = !1) {
+ let t = (0, P.useContext)(dx), 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 = hx.get(e);
- n == null ? hx.set(e, {
+ let n = fx.get(e);
+ n == null ? fx.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, hx.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, fx.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Gre(e) {
- let t = (0, P.useContext)(mx), n = Wre(!!e), r = `react-aria${t.prefix}`;
+function Jre(e) {
+ let t = (0, P.useContext)(dx), n = qre(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function Kre(e) {
- let t = P.useId(), [n] = (0, P.useState)(gx()), r = n ? "react-aria" : `react-aria${px.prefix}`;
+function Yre(e) {
+ let t = P.useId(), [n] = (0, P.useState)(px()), r = n ? "react-aria" : `react-aria${ux.prefix}`;
return e || `${r}-${t}`;
}
-var qre = typeof P.useId == "function" ? Kre : Gre;
-function Jre() {
+var Xre = typeof P.useId == "function" ? Yre : Jre;
+function Zre() {
return !1;
}
-function Yre() {
+function Qre() {
return !0;
}
-function Xre(e) {
+function $re(e) {
return () => {};
}
-function gx() {
- return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(Xre, Jre, Yre) : (0, P.useContext)(Ure);
+function px() {
+ return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore($re, Zre, Qre) : (0, P.useContext)(Kre);
}
// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var _x = null, vx = /* @__PURE__ */ new Set(), yx = /* @__PURE__ */ new Map(), bx = !1, xx = !1, Zre = {
+var mx = null, hx = /* @__PURE__ */ new Set(), gx = /* @__PURE__ */ new Map(), _x = !1, vx = !1, eie = {
Tab: !0,
Escape: !0
};
-function Sx(e, t) {
- for (let n of vx) n(e, t);
+function yx(e, t) {
+ for (let n of hx) n(e, t);
}
-function Qre(e) {
- return !(e.metaKey || !nx() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function tie(e) {
+ return !(e.metaKey || !$b() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function Cx(e) {
- bx = !0, !ux.isOpening && Qre(e) && (_x = "keyboard", Sx("keyboard", e));
+function bx(e) {
+ _x = !0, !sx.isOpening && tie(e) && (mx = "keyboard", yx("keyboard", e));
}
-function wx(e) {
- _x = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (bx = !0, Sx("pointer", e));
+function xx(e) {
+ mx = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (_x = !0, yx("pointer", e));
}
-function Tx(e) {
- !ux.isOpening && cx(e) && (bx = !0, _x = "virtual");
+function Sx(e) {
+ !sx.isOpening && ax(e) && (_x = !0, mx = "virtual");
}
-function Ex(e) {
- if (Qb) return;
- let t = G(e), n = Nb(t), r = Mb(t);
- t === n ? xx = !0 : t !== r && e.isTrusted && (!bx && !xx && (_x = "virtual", Sx("virtual", e)), bx = !1, xx = !1);
+function Cx(e) {
+ if (Yb) return;
+ let t = G(e), n = Ab(t), r = kb(t);
+ t === n ? vx = !0 : t !== r && e.isTrusted && (!_x && !vx && (mx = "virtual", yx("virtual", e)), _x = !1, vx = !1);
}
-function Dx() {
- Qb || (bx = !1, xx = !0);
+function wx() {
+ Yb || (_x = !1, vx = !0);
}
-function Ox(e) {
- let t = Bb(Mb(G(e)));
+function Tx(e) {
+ let t = Lb(kb(G(e)));
queueMicrotask(() => {
- Bb(Mb(G(e))) !== t && Nx("keyboard");
+ Lb(kb(G(e))) !== t && Ax("keyboard");
});
}
-function kx(e) {
+function Ex(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = Nb(e), n = Mb(e);
- if (yx.get(t)) return;
+ let t = Ab(e), n = kb(e);
+ if (gx.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- bx = !0, r.apply(this, arguments);
+ _x = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", Cx, !0), n.addEventListener("keyup", Cx, !0), n.addEventListener("click", Tx, !0), n.addEventListener("invalid", Ox, !0), t.addEventListener("focus", Ex, !0), t.addEventListener("blur", Dx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", wx, !0), n.addEventListener("pointermove", wx, !0), n.addEventListener("pointerup", wx, !0)), t.addEventListener("beforeunload", () => {
- Ax(e);
- }, { once: !0 }), yx.set(t, { focus: r });
+ }), n.addEventListener("keydown", bx, !0), n.addEventListener("keyup", bx, !0), n.addEventListener("click", Sx, !0), n.addEventListener("invalid", Tx, !0), t.addEventListener("focus", Cx, !0), t.addEventListener("blur", wx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", xx, !0), n.addEventListener("pointermove", xx, !0), n.addEventListener("pointerup", xx, !0)), t.addEventListener("beforeunload", () => {
+ Dx(e);
+ }, { once: !0 }), gx.set(t, { focus: r });
}
-var Ax = (e, t) => {
- let n = Nb(e), r = Mb(e);
- t && r.removeEventListener("DOMContentLoaded", t), yx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var Dx = (e, t) => {
+ let n = Ab(e), r = kb(e);
+ t && r.removeEventListener("DOMContentLoaded", t), gx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: yx.get(n).focus
- }), r.removeEventListener("keydown", Cx, !0), r.removeEventListener("keyup", Cx, !0), r.removeEventListener("click", Tx, !0), r.removeEventListener("invalid", Ox, !0), n.removeEventListener("focus", Ex, !0), n.removeEventListener("blur", Dx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", wx, !0), r.removeEventListener("pointermove", wx, !0), r.removeEventListener("pointerup", wx, !0)), yx.delete(n));
+ value: gx.get(n).focus
+ }), r.removeEventListener("keydown", bx, !0), r.removeEventListener("keyup", bx, !0), r.removeEventListener("click", Sx, !0), r.removeEventListener("invalid", Tx, !0), n.removeEventListener("focus", Cx, !0), n.removeEventListener("blur", wx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", xx, !0), r.removeEventListener("pointermove", xx, !0), r.removeEventListener("pointerup", xx, !0)), gx.delete(n));
};
-function $re(e) {
- let t = Mb(e), n;
+function nie(e) {
+ let t = kb(e), n;
return t.readyState === "loading" ? (n = () => {
- kx(e);
- }, t.addEventListener("DOMContentLoaded", n)) : kx(e), () => Ax(e, n);
+ Ex(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : Ex(e), () => Dx(e, n);
}
-typeof document < "u" && $re();
-function jx() {
- return _x !== "pointer";
+typeof document < "u" && nie();
+function Ox() {
+ return mx !== "pointer";
}
-function Mx() {
- return _x;
+function kx() {
+ return mx;
}
-function Nx(e) {
- _x = e, Sx(e, null);
+function Ax(e) {
+ mx = e, yx(e, null);
}
-function Px() {
- kx();
- let [e, t] = (0, P.useState)(_x);
+function jx() {
+ Ex();
+ let [e, t] = (0, P.useState)(mx);
return (0, P.useEffect)(() => {
let e = () => {
- t(_x);
+ t(mx);
};
- return vx.add(e), () => {
- vx.delete(e);
+ return hx.add(e), () => {
+ hx.delete(e);
};
- }, []), gx() ? null : e;
+ }, []), px() ? null : e;
}
-var eie = /* @__PURE__ */ new Set([
+var rie = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21271,107 +21271,107 @@ var eie = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function tie(e, t, n) {
- let r = n ? G(n) : void 0, i = Mb(r), a = Nb(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 = Bb(i);
- return e = e || u instanceof o && !eie.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Zre[n.key]);
+function iie(e, t, n) {
+ let r = n ? G(n) : void 0, i = kb(r), a = Ab(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 = Lb(i);
+ return e = e || u instanceof o && !rie.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !eie[n.key]);
}
-function Fx(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || jx());
- return Ix((e) => {
+function Mx(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Ox());
+ return Nx((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function Ix(e, t, n) {
- kx(), (0, P.useEffect)(() => {
+function Nx(e, t, n) {
+ Ex(), (0, P.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- tie(!!n?.isTextInput, t, r) && e(jx());
+ iie(!!n?.isTextInput, t, r) && e(Ox());
};
- return vx.add(t), () => {
- vx.delete(t);
+ return hx.add(t), () => {
+ hx.delete(t);
};
}, t);
}
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var Lx = /* @__PURE__ */ new Map(), Rx = /* @__PURE__ */ new Set();
-function zx(e) {
+var Px = /* @__PURE__ */ new Map(), Fx = /* @__PURE__ */ new Set();
+function Ix(e) {
return "propertyName" in e;
}
-function nie(e) {
+function aie(e) {
let t = G(e);
- if (!zx(e) || !t) return;
- let n = Lx.get(t);
- n || (n = /* @__PURE__ */ new Set(), Lx.set(t, n), t.addEventListener("transitioncancel", Bx, { once: !0 })), n.add(e.propertyName);
+ if (!Ix(e) || !t) return;
+ let n = Px.get(t);
+ n || (n = /* @__PURE__ */ new Set(), Px.set(t, n), t.addEventListener("transitioncancel", Lx, { once: !0 })), n.add(e.propertyName);
}
-function Bx(e) {
+function Lx(e) {
let t = G(e);
- if (!zx(e) || !t) return;
- let n = Lx.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Bx), Lx.delete(t)), Lx.size === 0)) for (let e of Rx) e(!0), Rx.delete(e);
+ if (!Ix(e) || !t) return;
+ let n = Px.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Lx), Px.delete(t)), Px.size === 0)) for (let e of Fx) e(!0), Fx.delete(e);
}
-function Vx() {
- Ib(document, "transitionrun", nie), Ib(document, "transitionend", Bx);
+function Rx() {
+ Nb(document, "transitionrun", aie), Nb(document, "transitionend", Lx);
}
-function rie() {
- for (let [e] of Lx) "isConnected" in e && !e.isConnected && Lx.delete(e);
+function oie() {
+ for (let [e] of Px) "isConnected" in e && !e.isConnected && Px.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? Ib(document, "DOMContentLoaded", Vx) : Vx());
-function Hx(e) {
+typeof document < "u" && (document.readyState === "loading" ? Nb(document, "DOMContentLoaded", Rx) : Rx());
+function zx(e) {
let t = window.requestAnimationFrame(() => {
- if (rie(), Lx.size === 0) return e(!1);
- Rx.add(e);
+ if (oie(), Px.size === 0) return e(!1);
+ Fx.add(e);
});
return () => {
- window.cancelAnimationFrame(t), Rx.delete(e);
+ window.cancelAnimationFrame(t), Fx.delete(e);
};
}
// node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function Ux(e) {
+function Bx(e) {
if (!e.isConnected) return;
- let t = Mb(e);
- if (Mx() === "virtual") {
- let n = Bb(t);
- Hx(() => {
- let r = Bb(t);
- (r === n || r === t.body) && e.isConnected && jb(e);
+ let t = kb(e);
+ if (kx() === "virtual") {
+ let n = Lb(t);
+ zx(() => {
+ let r = Lb(t);
+ (r === n || r === t.body) && e.isConnected && Ob(e);
});
- } else jb(e);
+ } else Ob(e);
}
// node_modules/react-aria/dist/private/utils/chain.mjs
-function Wx(...e) {
+function Vx(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
// node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function iie(e) {
+function sie(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 Jb(() => {
+ return Gb(() => {
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 aie = !!(typeof window < "u" && window.document && window.document.createElement), Gx = /* @__PURE__ */ new Map(), Kx;
-typeof FinalizationRegistry < "u" && (Kx = new FinalizationRegistry((e) => {
- Gx.delete(e);
+var cie = !!(typeof window < "u" && window.document && window.document.createElement), Hx = /* @__PURE__ */ new Map(), Ux;
+typeof FinalizationRegistry < "u" && (Ux = new FinalizationRegistry((e) => {
+ Hx.delete(e);
}));
-var qx = /* @__PURE__ */ new WeakMap();
-function Jx(e) {
- let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = qre(t), a = (0, P.useRef)(null), o = qx.get(a);
- if (Kx && o !== i && (o != null && Kx.unregister(a), Kx.register(a, i, a), qx.set(a, i)), aie) {
- let e = Gx.get(i);
- e && !e.includes(r) ? e.push(r) : Gx.set(i, [r]);
- }
- return Jb(() => {
+var Wx = /* @__PURE__ */ new WeakMap();
+function Gx(e) {
+ let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = Xre(t), a = (0, P.useRef)(null), o = Wx.get(a);
+ if (Ux && o !== i && (o != null && Ux.unregister(a), Ux.register(a, i, a), Wx.set(a, i)), cie) {
+ let e = Hx.get(i);
+ e && !e.includes(r) ? e.push(r) : Hx.set(i, [r]);
+ }
+ return Gb(() => {
let e = i;
return () => {
- Kx && (Kx.unregister(a), qx.delete(a)), Gx.delete(e);
+ Ux && (Ux.unregister(a), Wx.delete(a)), Hx.delete(e);
};
}, [i]), (0, P.useEffect)(() => {
let e = r.current;
@@ -21380,57 +21380,57 @@ function Jx(e) {
};
}), i;
}
-function oie(e, t) {
+function lie(e, t) {
if (e === t) return e;
- let n = Gx.get(e);
+ let n = Hx.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = Gx.get(t);
+ let r = Hx.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Yx(e = []) {
- let t = Jx(), [n, r] = iie(t), i = (0, P.useCallback)(() => {
+function Kx(e = []) {
+ let t = Gx(), [n, r] = sie(t), i = (0, P.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return Jb(i, [
+ return Gb(i, [
t,
i,
...e
]), n;
}
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function Xx(...e) {
+function qx(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Zx(e, t);
+ let r = Jx(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Zx(e[n], null);
+ typeof t == "function" ? t() : Jx(e[n], null);
});
};
};
}
-function Zx(e, t) {
+function Jx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
// node_modules/clsx/dist/clsx.mjs
-function Qx(e) {
+function Yx(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 = Qx(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Yx(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function $x() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Qx(e)) && (r && (r += " "), r += t);
+function Xx() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Yx(e)) && (r && (r += " "), r += t);
return r;
}
// node_modules/react-aria/dist/private/utils/mergeProps.mjs
@@ -21440,17 +21440,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] = Wx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = $x(n, i) : e === "id" && n && i ? t.id = oie(n, i) : e === "ref" && n && i ? t.ref = Xx(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] = Vx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Xx(n, i) : e === "id" && n && i ? t.id = lie(n, i) : e === "ref" && n && i ? t.ref = qx(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
// node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function eS(e) {
+function Zx(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 = Zb(a), s = (0, P.useCallback)((e) => {
- let t = G(e), r = Mb(t), a = r ? Bb(r) : Bb();
+ }, [r, i]), o = Jb(a), s = (0, P.useCallback)((e) => {
+ let t = G(e), r = kb(t), a = r ? Lb(r) : Lb();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -21463,7 +21463,7 @@ function eS(e) {
} };
}
// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function tS(e) {
+function Qx(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -21487,33 +21487,33 @@ function tS(e) {
};
}
// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var sie = /* @__PURE__ */ new Set([
+var uie = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), cie = [
+]), die = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function lie(e) {
+function fie(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(nx() ? "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($b() ? "Meta" : "Control"), t;
}
-function uie(e) {
+function pie(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 nS(e) {
- return cie.filter((t) => e.has(t));
+function $x(e) {
+ return die.filter((t) => e.has(t));
}
-function die(e) {
+function mie(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return sie.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 uie.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,
@@ -21525,10 +21525,10 @@ function die(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 rS(e) {
+function eS(e) {
return e.toLowerCase();
}
-var fie = {
+var hie = {
space: " ",
esc: "escape",
del: "delete",
@@ -21540,26 +21540,26 @@ var fie = {
pageup: "pageup",
pagedown: "pagedown"
};
-function pie(e) {
- let t = rS(e);
- return fie[t] ?? t;
+function gie(e) {
+ let t = eS(e);
+ return hie[t] ?? t;
}
-function mie(e) {
- let t = nS(lie(e)), n = pie(e.key);
+function _ie(e) {
+ let t = $x(fie(e)), n = gie(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function hie(e) {
- let t = nS(uie(e)), n = rS(e.key);
+function vie(e) {
+ let t = $x(pie(e)), n = eS(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function gie(e) {
+function yie(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = die(n);
- t.set(mie(e), r);
+ let e = mie(n);
+ t.set(_ie(e), r);
}
return (e) => {
- let n = hie(e), r = t.get(n), i = r?.(e);
+ let n = vie(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -21570,23 +21570,23 @@ function gie(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function iS(e) {
+function tS(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = gie(t), s = tS((e) => {
- zb(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = tS((e) => {
- zb(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = yie(t), s = Qx((e) => {
+ Ib(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = Qx((e) => {
+ Ib(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? Wx(e.onKeyDown, s) : s, a = e.onKeyUp ? Wx(e.onKeyUp, c) : c;
- } else i = tS(e.onKeyDown), a = tS(e.onKeyUp);
+ i = e.onKeyDown ? Vx(e.onKeyDown, s) : s, a = e.onKeyUp ? Vx(e.onKeyUp, c) : c;
+ } else i = Qx(e.onKeyDown), a = Qx(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
} };
}
// node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function aS(e) {
+function nS(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);
@@ -21608,25 +21608,25 @@ function aS(e) {
}), [r]);
}
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function oS(e, t) {
- Jb(() => {
+function rS(e, t) {
+ Gb(() => {
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 sS = /*#__PURE__*/ P.createContext(null);
-function _ie(e) {
- let t = (0, P.useContext)(sS) || {};
- oS(t, e);
+var iS = /*#__PURE__*/ P.createContext(null);
+function bie(e) {
+ let t = (0, P.useContext)(iS) || {};
+ rS(t, e);
let { ref: n, ...r } = t;
return r;
}
-function cS(e, t) {
- let { focusProps: n } = eS(e), { keyboardProps: r } = iS(e), i = K(n, r), a = _ie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);
+function aS(e, t) {
+ let { focusProps: n } = Zx(e), { keyboardProps: r } = tS(e), i = K(n, r), a = bie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);
(0, P.useEffect)(() => {
- s.current && t.current && Ux(t.current), s.current = !1;
+ s.current && t.current && Bx(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: K({
@@ -21660,21 +21660,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var lS = /*#__PURE__*/ (0, P.createContext)(!1);
-function vie(e) {
- if ((0, P.useContext)(lS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);
- let t = /*#__PURE__*/ P.createElement(lS.Provider, { value: !0 }, e.children);
+var oS = /*#__PURE__*/ (0, P.createContext)(!1);
+function xie(e) {
+ if ((0, P.useContext)(oS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);
+ let t = /*#__PURE__*/ P.createElement(oS.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ P.createElement("template", null, t);
}
-function uS(e) {
- let t = (t, n) => (0, P.useContext)(lS) ? null : e(t, n);
+function sS(e) {
+ let t = (t, n) => (0, P.useContext)(oS) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, P.forwardRef)(t);
}
-function dS() {
- return (0, P.useContext)(lS);
+function cS() {
+ return (0, P.useContext)(oS);
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var fS = /* @__PURE__ */ o(((e) => {
+var Sie = /* @__PURE__ */ o(((e) => {
var t = A();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -21712,47 +21712,47 @@ var fS = /* @__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;
-})), pS = /* @__PURE__ */ o(((e, t) => {
- t.exports = fS();
-})), mS = pS(), hS = /*#__PURE__*/ (0, P.createContext)(!1), gS = /*#__PURE__*/ (0, P.createContext)(null);
-function _S(e) {
- if ((0, P.useContext)(gS)) return e.content;
- let { collection: t, document: n } = xS(e.createCollection);
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(vie, null, /*#__PURE__*/ P.createElement(gS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(vS, {
+})), lS = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Sie();
+})), Cie = lS(), uS = /*#__PURE__*/ (0, P.createContext)(!1), dS = /*#__PURE__*/ (0, P.createContext)(null);
+function fS(e) {
+ if ((0, P.useContext)(dS)) return e.content;
+ let { collection: t, document: n } = Die(e.createCollection);
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(xie, null, /*#__PURE__*/ P.createElement(dS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(wie, {
render: e.children,
collection: t
}));
}
-function vS({ collection: e, render: t }) {
+function wie({ collection: e, render: t }) {
return t(e);
}
-function yS(e, t, n) {
- let r = gx(), i = (0, P.useRef)(r);
+function Tie(e, t, n) {
+ let r = px(), i = (0, P.useRef)(r);
i.current = r;
let a = (0, P.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, mS.useSyncExternalStore)(e, a);
+ return (0, Cie.useSyncExternalStore)(e, a);
}
-var bS = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : yS;
-function xS(e) {
- let [t] = (0, P.useState)(() => new wre(e?.() || new Eb()));
+var Eie = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : Tie;
+function Die(e) {
+ let [t] = (0, P.useState)(() => new Dre(e?.() || new Cb()));
return {
- collection: bS((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {
+ collection: Eie((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 SS = /*#__PURE__*/ (0, P.createContext)(null);
-function CS(e) {
- return class extends Sb {
+var pS = /*#__PURE__*/ (0, P.createContext)(null);
+function Oie(e) {
+ return class extends yb {
static {
this.type = e;
}
};
}
-function wS(e, t, n, r, i, a) {
- typeof e == "string" && (e = CS(e));
+function mS(e, t, n, r, i, a) {
+ typeof e == "string" && (e = Oie(e));
let o = (0, P.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -21761,82 +21761,82 @@ function wS(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, P.useContext)(SS);
+ ]), s = (0, P.useContext)(pS);
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(SS.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(pS.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ P.createElement(e.type, { ref: o }, i);
}
-function TS(e, t) {
+function hS(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, P.forwardRef)((r, i) => {
- let a = (0, P.useContext)(sS);
- if (!(0, P.useContext)(hS)) {
+ let a = (0, P.useContext)(iS);
+ if (!(0, P.useContext)(uS)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return wS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(sS.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));
+ return mS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(iS.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function ES(e, t, n = DS) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => wS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));
+function gS(e, t, n = _S) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => mS(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 DS(e) {
- return Ab({
+function _S(e) {
+ return Db({
...e,
addIdAndValue: !0
});
}
-var OS = /*#__PURE__*/ (0, P.createContext)(null);
-function kS(e) {
- let t = (0, P.useContext)(OS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = DS({
+var vS = /*#__PURE__*/ (0, P.createContext)(null);
+function yS(e) {
+ let t = (0, P.useContext)(vS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = _S({
...e,
idScope: r,
dependencies: n
});
- return (0, P.useContext)(gS) && (i = /*#__PURE__*/ P.createElement(AS, null, i)), t = (0, P.useMemo)(() => ({
+ return (0, P.useContext)(dS) && (i = /*#__PURE__*/ P.createElement(kie, null, i)), t = (0, P.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ P.createElement(OS.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ P.createElement(vS.Provider, { value: t }, i);
}
-function AS({ children: e }) {
- let t = (0, P.useContext)(gS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(gS.Provider, { value: null }, /*#__PURE__*/ P.createElement(hS.Provider, { value: !0 }, e)), [e]);
- return gx() ? /*#__PURE__*/ P.createElement(SS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
+function kie({ children: e }) {
+ let t = (0, P.useContext)(dS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(dS.Provider, { value: null }, /*#__PURE__*/ P.createElement(uS.Provider, { value: !0 }, e)), [e]);
+ return px() ? /*#__PURE__*/ P.createElement(pS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);
}
// node_modules/react-aria/dist/private/utils/constants.mjs
-var jS = "react-aria-clear-focus", MS = "react-aria-focus";
+var Aie = "react-aria-clear-focus", jie = "react-aria-focus";
// node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function NS(e) {
- let t = IS(Mb(e));
- t !== e && (t && PS(t, e), e && FS(e, t));
+function bS(e) {
+ let t = Nie(kb(e));
+ t !== e && (t && Mie(t, e), e && xS(e, t));
}
-function PS(e, t) {
+function Mie(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function FS(e, t) {
+function xS(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function IS(e) {
- let t = Bb(e), n = t?.getAttribute("aria-activedescendant");
+function Nie(e) {
+ let t = Lb(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function LS(e, t) {
- let n = Nb(t), r = Mb(t);
+function SS(e, t) {
+ let n = Ab(t), r = kb(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 RS = 100, zS = 600, BS = {
+var CS = 100, wS = 600, TS = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -21846,7 +21846,7 @@ var RS = 100, zS = 600, BS = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, VS = /* @__PURE__ */ new Set([
+}, Pie = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21857,7 +21857,7 @@ var RS = 100, zS = 600, BS = {
"submit",
"reset"
]);
-function HS() {
+function ES() {
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,
@@ -21865,58 +21865,58 @@ function HS() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function yie(e) {
- BS.resizeTimeStamp <= e.timeStamp + 50 && (BS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(BS.resizeTimeout), BS.resizeTimeout = window.setTimeout(US, 150));
+function Fie(e) {
+ TS.resizeTimeStamp <= e.timeStamp + 50 && (TS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(TS.resizeTimeout), TS.resizeTimeout = window.setTimeout(DS, 150));
}
-function US() {
- let e = LS("viewport");
- if (sx() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = HS(), r = t - BS.startTimeStamp, i = BS.screenHeight - n.height, a = BS.screenAngle - n.angle;
- Math.abs(a) % 180 && BS.screenWidth - n.height < RS && (BS.screenWidth = n.width, BS.screenHeight = n.height, BS.screenAngle = n.angle, i = 0), r > zS && (window.clearTimeout(BS.screenTimeout), BS.screenTimeout = window.setTimeout(() => {
- let e = KS(document.hasFocus() ? Bb() : null), t = HS();
- Math.abs(BS.screenAngle - t.angle) % 180 || BS.isOpen && e || (BS.screenWidth = t.width, BS.screenHeight = t.height, BS.screenAngle = t.angle, BS.isOpen = !1);
- }, zS)), r <= zS && i >= RS && (BS.endTimeStamp = t), BS.isOpen = i >= RS;
+function DS() {
+ let e = SS("viewport");
+ if (ix() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = ES(), r = t - TS.startTimeStamp, i = TS.screenHeight - n.height, a = TS.screenAngle - n.angle;
+ Math.abs(a) % 180 && TS.screenWidth - n.height < CS && (TS.screenWidth = n.width, TS.screenHeight = n.height, TS.screenAngle = n.angle, i = 0), r > wS && (window.clearTimeout(TS.screenTimeout), TS.screenTimeout = window.setTimeout(() => {
+ let e = AS(document.hasFocus() ? Lb() : null), t = ES();
+ Math.abs(TS.screenAngle - t.angle) % 180 || TS.isOpen && e || (TS.screenWidth = t.width, TS.screenHeight = t.height, TS.screenAngle = t.angle, TS.isOpen = !1);
+ }, wS)), r <= wS && i >= CS && (TS.endTimeStamp = t), TS.isOpen = i >= CS;
}
-function bie() {
- let e = HS(), t = BS.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !BS.isOpen) {
- let e = BS.screenWidth;
- BS.screenWidth = BS.screenHeight, BS.screenHeight = e;
+function Iie() {
+ let e = ES(), t = TS.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !TS.isOpen) {
+ let e = TS.screenWidth;
+ TS.screenWidth = TS.screenHeight, TS.screenHeight = e;
}
- BS.isOpen || (BS.screenAngle = e.angle);
+ TS.isOpen || (TS.screenAngle = e.angle);
}
-function xie(e) {
- let t = KS(G(e)), n = performance.now(), r = HS(), i = BS.screenHeight - r.height;
- i < RS && t && (BS.screenWidth = r.width, BS.screenHeight = r.height, BS.screenAngle = r.angle, BS.startTimeStamp = n), t && window.clearTimeout(BS.screenTimeout), i >= RS && t && (BS.endTimeStamp = n);
+function Lie(e) {
+ let t = AS(G(e)), n = performance.now(), r = ES(), i = TS.screenHeight - r.height;
+ i < CS && t && (TS.screenWidth = r.width, TS.screenHeight = r.height, TS.screenAngle = r.angle, TS.startTimeStamp = n), t && window.clearTimeout(TS.screenTimeout), i >= CS && t && (TS.endTimeStamp = n);
}
-function WS() {
- let e = HS();
- Ib(window.visualViewport, "resize", ax() ? US : yie), Ib(window.screen.orientation, "change", bie), Ib(window, "focus", xie, {
+function OS() {
+ let e = ES();
+ Nb(window.visualViewport, "resize", nx() ? DS : Fie), Nb(window.screen.orientation, "change", Iie), Nb(window, "focus", Lie, {
capture: !0,
passive: !0
- }), BS.screenWidth = e.width, BS.screenHeight = e.height, BS.screenAngle = e.angle;
+ }), TS.screenWidth = e.width, TS.screenHeight = e.height, TS.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? Ib(document, "DOMContentLoaded", WS) : WS());
-function GS() {
- let e = LS("viewport");
- return sx() && e?.includes("overlays-content") ? !1 : BS.isOpen ? !0 : BS.startTimeStamp ? BS.endTimeStamp >= BS.startTimeStamp ? !0 : performance.now() - BS.startTimeStamp <= zS ? BS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? Nb(document, "DOMContentLoaded", OS) : OS());
+function kS() {
+ let e = SS("viewport");
+ return ix() && e?.includes("overlays-content") ? !1 : TS.isOpen ? !0 : TS.startTimeStamp ? TS.endTimeStamp >= TS.startTimeStamp ? !0 : performance.now() - TS.startTimeStamp <= wS ? TS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function KS(e) {
- if (!(e instanceof Element) || !Gb(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !VS.has(e.type);
+function AS(e) {
+ if (!(e instanceof Element) || !Hb(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Pie.has(e.type);
return t || n || r;
}
-function qS(e) {
- return nx() ? e.metaKey : e.ctrlKey;
+function jS(e) {
+ return $b() ? e.metaKey : e.ctrlKey;
}
-function JS() {
- return BS.isOpen;
+function MS() {
+ return TS.isOpen;
}
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var Sie = P.useInsertionEffect ?? Jb;
-function YS(e) {
+var Rie = P.useInsertionEffect ?? Gb;
+function NS(e) {
let t = (0, P.useRef)(null);
- return Sie(() => {
+ return Rie(() => {
t.current = e;
}, [e]), (0, P.useCallback)((...e) => {
let n = t.current;
@@ -21924,10 +21924,10 @@ function YS(e) {
}, []);
}
// node_modules/react-aria/dist/private/utils/useEvent.mjs
-function XS(e, t, n, r) {
- let i = YS(n), a = n == null;
+function PS(e, t, n, r) {
+ let i = NS(n), a = n == null;
(0, P.useEffect)(() => {
- if (!(a || e.current == null)) return Ib(e.current, t, i, r);
+ if (!(a || e.current == null)) return Nb(e.current, t, i, r);
}, [
e,
t,
@@ -21936,16 +21936,16 @@ function XS(e, t, n, r) {
]);
}
// node_modules/react-aria/dist/private/utils/useLabels.mjs
-function ZS(e, t) {
+function FS(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Jx(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 = Gx(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 Cie = /* @__PURE__ */ new Set([
+var zie = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -21956,7 +21956,7 @@ var Cie = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), wie = /* @__PURE__ */ new Set([
+]), Bie = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -21977,19 +21977,19 @@ var Cie = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function Tie(e) {
+function Vie(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 Cie.has(t.script);
+ if (t.script) return zie.has(t.script);
}
let t = e.split("-")[0];
- return wie.has(t);
+ return Bie.has(t);
}
// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var QS = Symbol.for("react-aria.i18n.locale");
-function $S() {
- let e = typeof window < "u" && window[QS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var IS = Symbol.for("react-aria.i18n.locale");
+function LS() {
+ let e = typeof window < "u" && window[IS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -21997,31 +21997,31 @@ function $S() {
}
return {
locale: e,
- direction: Tie(e) ? "rtl" : "ltr"
+ direction: Vie(e) ? "rtl" : "ltr"
};
}
-var eC = $S(), tC = /* @__PURE__ */ new Set();
-function nC() {
- eC = $S();
- for (let e of tC) e(eC);
+var RS = LS(), zS = /* @__PURE__ */ new Set();
+function BS() {
+ RS = LS();
+ for (let e of zS) e(RS);
}
-function Eie() {
- let e = gx(), [t, n] = (0, P.useState)(eC);
- return (0, P.useEffect)(() => (tC.size === 0 && window.addEventListener("languagechange", nC), tC.add(n), () => {
- tC.delete(n), tC.size === 0 && window.removeEventListener("languagechange", nC);
+function Hie() {
+ let e = px(), [t, n] = (0, P.useState)(RS);
+ return (0, P.useEffect)(() => (zS.size === 0 && window.addEventListener("languagechange", BS), zS.add(n), () => {
+ zS.delete(n), zS.size === 0 && window.removeEventListener("languagechange", BS);
}), []), e ? {
- locale: typeof window < "u" && window[QS] || "en-US",
+ locale: typeof window < "u" && window[IS] || "en-US",
direction: "ltr"
} : t;
}
// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Die = /*#__PURE__*/ P.createContext(null);
-function rC() {
- let e = Eie();
- return (0, P.useContext)(Die) || e;
+var Uie = /*#__PURE__*/ P.createContext(null);
+function VS() {
+ let e = Hie();
+ return (0, P.useContext)(Uie) || e;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var Oie = Symbol.for("react-aria.i18n.locale"), kie = Symbol.for("react-aria.i18n.strings"), iC = void 0, aC = class e {
+var Wie = Symbol.for("react-aria.i18n.locale"), Gie = Symbol.for("react-aria.i18n.strings"), HS = void 0, US = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -22032,38 +22032,38 @@ var Oie = Symbol.for("react-aria.i18n.locale"), kie = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = Aie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = Kie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[Oie];
- if (iC === void 0) {
- let t = window[kie];
+ let n = window[Wie];
+ if (HS === void 0) {
+ let t = window[Gie];
if (!t) return null;
- iC = {};
- for (let r in t) iC[r] = new e({ [n]: t[r] }, n);
+ HS = {};
+ for (let r in t) HS[r] = new e({ [n]: t[r] }, n);
}
- let r = iC?.[t];
+ let r = HS?.[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 Aie(e, t, n = "en-US") {
+function Kie(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = jie(e), i = Mie(e);
+ let r = qie(e), i = Jie(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 jie(e) {
+function qie(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function Mie(e) {
+function Jie(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var oC = /* @__PURE__ */ new Map(), sC = /* @__PURE__ */ new Map(), Nie = class {
+var WS = /* @__PURE__ */ new Map(), GS = /* @__PURE__ */ new Map(), Yie = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -22074,36 +22074,36 @@ var oC = /* @__PURE__ */ new Map(), sC = /* @__PURE__ */ new Map(), Nie = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = oC.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), oC.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = WS.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), WS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = sC.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), sC.set(this.locale, t)), t.format(e);
+ let t = GS.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), GS.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, cC = /* @__PURE__ */ new WeakMap();
-function Pie(e) {
- let t = cC.get(e);
- return t || (t = new aC(e), cC.set(e, t)), t;
+}, KS = /* @__PURE__ */ new WeakMap();
+function Xie(e) {
+ let t = KS.get(e);
+ return t || (t = new US(e), KS.set(e, t)), t;
}
-function Fie(e, t) {
- return t && aC.getGlobalDictionaryForPackage(t) || Pie(e);
+function Zie(e, t) {
+ return t && US.getGlobalDictionaryForPackage(t) || Xie(e);
}
-function lC(e, t) {
- let { locale: n } = rC(), r = Fie(e, t);
- return (0, P.useMemo)(() => new Nie(n, r), [n, r]);
+function qS(e, t) {
+ let { locale: n } = VS(), r = Zie(e, t);
+ return (0, P.useMemo)(() => new Yie(n, r), [n, r]);
}
// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var Iie = /* @__PURE__ */ new Set(["id"]), Lie = /* @__PURE__ */ new Set([
+var Qie = /* @__PURE__ */ new Set(["id"]), $ie = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Rie = /* @__PURE__ */ new Set([
+]), eae = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -22111,60 +22111,60 @@ var Iie = /* @__PURE__ */ new Set(["id"]), Lie = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), zie = /* @__PURE__ */ new Set([
+]), tae = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), uC = /* @__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(".")), Bie = /^(data-.*)$/;
-function dC(e, t = {}) {
+]), JS = /* @__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(".")), nae = /^(data-.*)$/;
+function YS(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) && (Iie.has(t) || n && Lie.has(t) || r && Rie.has(t) || i && zie.has(t) || a && (uC.has(t) || t.endsWith("Capture") && uC.has(t.slice(0, -7))) || o?.has(t) || Bie.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Qie.has(t) || n && $ie.has(t) || r && eae.has(t) || i && tae.has(t) || a && (JS.has(t) || t.endsWith("Capture") && JS.has(t.slice(0, -7))) || o?.has(t) || nae.test(t)) && (s[t] = e[t]);
return s;
}
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var fC = "default", pC = "", mC = /* @__PURE__ */ new WeakMap();
-function hC(e) {
- if (ix() && ax()) {
- if (fC === "default") {
- let t = Mb(e);
- pC = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- fC = "disabled";
+var XS = "default", ZS = "", QS = /* @__PURE__ */ new WeakMap();
+function $S(e) {
+ if (tx() && nx()) {
+ if (XS === "default") {
+ let t = kb(e);
+ ZS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ XS = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- mC.set(e, e.style[t]), e.style[t] = "none";
+ QS.set(e, e.style[t]), e.style[t] = "none";
}
}
-function gC(e) {
- if (ix() && ax()) {
- if (fC !== "disabled") return;
- fC = "restoring", setTimeout(() => {
- Hx(() => {
- if (fC === "restoring") {
- let t = Mb(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = pC || ""), pC = "", fC = "default";
+function eC(e) {
+ if (tx() && nx()) {
+ if (XS !== "disabled") return;
+ XS = "restoring", setTimeout(() => {
+ zx(() => {
+ if (XS === "restoring") {
+ let t = kb(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ZS || ""), ZS = "", XS = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && mC.has(e)) {
- let t = mC.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), mC.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && QS.has(e)) {
+ let t = QS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), QS.delete(e);
}
}
// node_modules/react-aria/dist/private/utils/getNonce.mjs
-var _C = /* @__PURE__ */ new WeakMap();
-function vC(e) {
- let t = Mb(e), n = _C.get(t);
- return n ??= LS("csp-nonce", t), n !== void 0 && _C.set(t, n), n;
+var tC = /* @__PURE__ */ new WeakMap();
+function nC(e) {
+ let t = kb(e), n = tC.get(t);
+ return n ??= SS("csp-nonce", t), n !== void 0 && tC.set(t, n), n;
}
// node_modules/react-aria/dist/private/interactions/context.mjs
-var yC = P.createContext({ register: () => {} });
-yC.displayName = "PressResponderContext";
+var rC = P.createContext({ register: () => {} });
+rC.displayName = "PressResponderContext";
// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function bC() {
+function iC() {
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);
@@ -22190,15 +22190,15 @@ function bC() {
};
}
// node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Vie(e) {
- let t = (0, P.useContext)(yC);
+function aC(e) {
+ let t = (0, P.useContext)(rC);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return oS(t, e.ref), e;
+ return rS(t, e.ref), e;
}
-var xC = class {
+var oC = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -22211,9 +22211,9 @@ var xC = class {
get shouldStopPropagation() {
return this.#e;
}
-}, SC = Symbol("linkClicked"), CC = "react-aria-pressable-style", wC = "data-react-aria-pressable";
-function TC(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 } = Vie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({
+}, sC = Symbol("linkClicked"), cC = "react-aria-pressable-style", lC = "data-react-aria-pressable";
+function uC(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 } = aC(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -22223,12 +22223,12 @@ function TC(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = bC(), y = (0, P.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = iC(), 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 xC("pressstart", t, e);
+ let n = new oC("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -22242,11 +22242,11 @@ function TC(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new xC("pressend", r, e);
+ let t = new oC("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new xC("press", r, e);
+ let n = new oC("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -22255,19 +22255,19 @@ function TC(e) {
i,
n,
t
- ]), x = YS(b), S = YS((0, P.useCallback)((e, t) => {
+ ]), x = NS(b), S = NS((0, P.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new xC("pressup", t, e);
+ let r = new oC("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(OC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || gC(t.target);
+ t.didFirePressStart && t.pointerType != null && b(pC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || eC(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -22275,7 +22275,7 @@ function TC(e) {
d,
v,
b
- ]), w = YS(C);
+ ]), w = NS(C);
(0, P.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -22292,39 +22292,39 @@ function TC(e) {
}, [s, o]), D = (0, P.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- Xb(n, t), o(Yb(n));
+ qb(n, t), o(Kb(n));
}
}, [s, o]), O = (0, P.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (DC(t.nativeEvent, t.currentTarget) && zb(t.currentTarget, G(t))) {
- kC(G(t), t.key) && t.preventDefault();
+ if (fC(t.nativeEvent, t.currentTarget) && Ib(t.currentTarget, G(t))) {
+ hC(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;
- _(Mb(t.currentTarget), "keyup", Wx((t) => {
- DC(t, i) && !t.repeat && zb(i, G(t)) && e.target && S(OC(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && nx() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(kb(t.currentTarget), "keyup", Vx((t) => {
+ fC(t, i) && !t.repeat && Ib(i, G(t)) && e.target && S(pC(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && $b() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || zb(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !ux.isOpening) {
+ if ((!t || Ib(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !sx.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || cx(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || ax(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(OC(t.currentTarget, t), r), a = x(OC(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(pC(t.currentTarget, t), r), a = x(pC(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 && DC(t, e.target)) {
- kC(G(t), t.key) && t.preventDefault();
- let n = G(t), r = zb(e.target, n);
- x(OC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && EC(e.target) && zb(e.target, n) && !t[SC] && (t[SC] = !0, ux(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && fC(t, e.target)) {
+ hC(G(t), t.key) && t.preventDefault();
+ let n = G(t), r = Ib(e.target, n);
+ x(pC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && dC(e.target) && Ib(e.target, n) && !t[sC] && (t[sC] = !0, sx(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;
@@ -22333,39 +22333,39 @@ function TC(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !zb(t.currentTarget, G(t))) return;
- if (Lre(t.nativeEvent)) {
+ if (t.button !== 0 || !Ib(t.currentTarget, G(t))) return;
+ if (Bre(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 || hC(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || $S(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)), _(Mb(t.currentTarget), "pointerup", n, !1), _(Mb(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(kb(t.currentTarget), "pointerup", n, !1), _(kb(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (zb(t.currentTarget, G(t)) && t.button === 0) {
+ if (Ib(t.currentTarget, G(t)) && t.button === 0) {
if (l) {
- let n = Pre(t.target);
+ let n = Lre(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- zb(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ Ib(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(OC(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(pC(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(OC(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(pC(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (zb(e.target, G(t)) && e.pointerType != null) {
+ if (Ib(e.target, G(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (jb(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Ob(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -22375,7 +22375,7 @@ function TC(e) {
w(e);
};
t.onDragStart = (e) => {
- zb(e.currentTarget, G(e)) && w(e);
+ Ib(e.currentTarget, G(e)) && w(e);
};
}
return t;
@@ -22392,14 +22392,14 @@ function TC(e) {
]);
return (0, P.useEffect)(() => {
if (!f) return;
- let e = Mb(f.current);
- if (!e || !e.head || e.getElementById(CC)) return;
+ let e = kb(f.current);
+ if (!e || !e.head || e.getElementById(cC)) return;
let t = e.createElement("style");
- t.id = CC;
- let n = vC(e);
+ t.id = cC;
+ let n = nC(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${wC}] {
+ [${lC}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -22407,23 +22407,23 @@ function TC(e) {
}, [f]), (0, P.useEffect)(() => {
let e = g.current;
return () => {
- d || gC(e.target ?? void 0);
+ d || eC(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, O, { [wC]: !0 })
+ pressProps: K(p, O, { [lC]: !0 })
};
}
-function EC(e) {
+function dC(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function DC(e, t) {
+function fC(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Nb(i).HTMLInputElement && !AC(i, n) || i instanceof Nb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && EC(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Ab(i).HTMLInputElement && !_C(i, n) || i instanceof Ab(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && dC(i)) && n !== "Enter");
}
-function OC(e, t) {
+function pC(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -22436,13 +22436,13 @@ function OC(e, t) {
key: t.key
};
}
-function Hie(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !EC(e);
+function mC(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !dC(e);
}
-function kC(e, t) {
- return nx() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !AC(e, t) : Hie(e);
+function hC(e, t) {
+ return $b() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !_C(e, t) : mC(e);
}
-var Uie = /* @__PURE__ */ new Set([
+var gC = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22453,11 +22453,11 @@ var Uie = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function AC(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Uie.has(e.type);
+function _C(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : gC.has(e.type);
}
// node_modules/react-aria/dist/private/button/useButton.mjs
-function Wie(e, t) {
+function vC(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,
@@ -22479,7 +22479,7 @@ function Wie(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = TC({
+ let { pressProps: _, isPressed: v } = uC({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -22489,9 +22489,9 @@ function Wie(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = cS(e, t);
+ }), { focusableProps: y } = aS(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, dC(e, { labelable: !0 }));
+ let b = K(y, _, YS(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -22505,7 +22505,7 @@ function Wie(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Gie = class {
+var yC = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -22530,7 +22530,7 @@ var Gie = class {
return this._currentNode;
}
set currentNode(e) {
- if (!zb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!Ib(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 });
@@ -22544,7 +22544,7 @@ var Gie = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return zb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return Ib(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -22608,44 +22608,44 @@ var Gie = class {
return null;
}
};
-function jC(e, t, n, r) {
- return Rb() ? new Gie(e, t, n, r) : e.createTreeWalker(t, n, r);
+function bC(e, t, n, r) {
+ return Fb() ? new yC(e, t, n, r) : e.createTreeWalker(t, n, r);
}
// node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var MC = /*#__PURE__*/ P.createContext(null), NC = "react-aria-focus-scope-restore", PC = null;
-function FC(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)(MC) || {}, l = (0, P.useMemo)(() => new JC({ scopeRef: s }), [s]);
- Jb(() => {
- let e = c || YC.root;
- if (YC.getTreeNode(e.scopeRef) && PC && !VC(PC, e.scopeRef)) {
- let t = YC.getTreeNode(PC);
+var xC = /*#__PURE__*/ P.createContext(null), SC = "react-aria-focus-scope-restore", CC = null;
+function wC(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)(xC) || {}, l = (0, P.useMemo)(() => new RC({ scopeRef: s }), [s]);
+ Gb(() => {
+ let e = c || zC.root;
+ if (zC.getTreeNode(e.scopeRef) && CC && !jC(CC, e.scopeRef)) {
+ let t = zC.getTreeNode(CC);
t && (e = t);
}
- e.addChild(l), YC.addNode(l);
- }, [l, c]), Jb(() => {
- let e = YC.getTreeNode(s);
+ e.addChild(l), zC.addNode(l);
+ }, [l, c]), Gb(() => {
+ let e = zC.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), Jb(() => {
+ }, [n]), Gb(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(NC, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(SC, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(NC, n);
+ for (let e of t) e.removeEventListener(SC, n);
};
- }, [t]), Qie(s, r, n), Yie(s, n), $ie(s, r, n), Zie(s, i), (0, P.useEffect)(() => {
- let e = Bb(Mb(s.current ? s.current[0] : void 0)), t = null;
- if (zC(e, s.current)) {
- for (let n of YC.traverse()) n.scopeRef && zC(e, n.scopeRef.current) && (t = n);
- t === YC.getTreeNode(s) && (PC = t.scopeRef);
- }
- }, [s]), Jb(() => () => {
- let e = YC.getTreeNode(s)?.parent?.scopeRef ?? null;
- s !== PC && !VC(s, PC) || e && !YC.getTreeNode(e) || (PC = e), YC.removeTreeNode(s);
+ }, [t]), cae(s, r, n), aae(s, n), lae(s, r, n), sae(s, i), (0, P.useEffect)(() => {
+ let e = Lb(kb(s.current ? s.current[0] : void 0)), t = null;
+ if (kC(e, s.current)) {
+ for (let n of zC.traverse()) n.scopeRef && kC(e, n.scopeRef.current) && (t = n);
+ t === zC.getTreeNode(s) && (CC = t.scopeRef);
+ }
+ }, [s]), Gb(() => () => {
+ let e = zC.getTreeNode(s)?.parent?.scopeRef ?? null;
+ s !== CC && !jC(s, CC) || e && !zC.getTreeNode(e) || (CC = e), zC.removeTreeNode(s);
}, [s]);
- let u = (0, P.useMemo)(() => Kie(s), []), d = (0, P.useMemo)(() => ({
+ let u = (0, P.useMemo)(() => TC(s), []), d = (0, P.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ P.createElement(MC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {
+ return /*#__PURE__*/ P.createElement(xC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -22655,154 +22655,154 @@ function FC(e) {
ref: o
}));
}
-function Kie(e) {
+function TC(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Bb(Mb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = qC(IC(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Lb(kb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = LC(EC(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = zC(s, n) ? s : c;
+ l.currentNode = kC(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && HC(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && MC(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Bb(Mb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = qC(IC(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Lb(kb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = LC(EC(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = zC(s, n) ? s : c;
+ l.currentNode = kC(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && HC(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && MC(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = qC(IC(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = LC(EC(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && HC(o, !0), o;
+ return o && MC(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = qC(IC(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = LC(EC(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && HC(o, !0), o;
+ return o && MC(o, !0), o;
}
};
}
-function IC(e) {
+function EC(e) {
return e[0].parentElement;
}
-function LC(e) {
- let t = YC.getTreeNode(PC);
+function DC(e) {
+ let t = zC.getTreeNode(CC);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function qie(e) {
- if (!e.form) return Array.from(Mb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = Nb(e);
+function rae(e) {
+ if (!e.form) return Array.from(kb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = Ab(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Jie(e) {
+function iae(e) {
if (e.checked) return !0;
- let t = qie(e);
+ let t = rae(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Yie(e, t) {
+function aae(e, t) {
let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);
- Jb(() => {
+ Gb(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = Mb(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !LC(e) || t.isComposing) return;
- let n = Bb(a), r = e.current;
- if (!r || !zC(n, r)) return;
- let i = qC(IC(r), { tabbable: !0 }, r);
+ let a = kb(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !DC(e) || t.isComposing) return;
+ let n = Lb(a), r = e.current;
+ if (!r || !kC(n, r)) return;
+ let i = LC(EC(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 && (HC(o, !0), o instanceof Nb(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 && (MC(o, !0), o instanceof Ab(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!PC || VC(PC, e)) && zC(G(t), e.current) ? (PC = e, n.current = G(t)) : LC(e) && !BC(G(t), e) ? n.current ? HC(n.current) : PC && PC.current && WC(PC.current) : LC(e) && (n.current = G(t));
+ (!CC || jC(CC, e)) && kC(G(t), e.current) ? (CC = e, n.current = G(t)) : DC(e) && !AC(G(t), e) ? n.current ? MC(n.current) : CC && CC.current && PC(CC.current) : DC(e) && (n.current = G(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = Mx(), i = (r === "virtual" || r === null) && sx() && ox(), o = Bb(a);
- if (!i && o && LC(e) && !BC(o, e)) {
- PC = e;
+ let r = kx(), i = (r === "virtual" || r === null) && ix() && rx(), o = Lb(a);
+ if (!i && o && DC(e) && !AC(o, e)) {
+ CC = e;
let r = G(t);
- r && r.isConnected ? (n.current = r, HC(n.current)) : PC.current && WC(PC.current);
+ r && r.isConnected ? (n.current = r, MC(n.current)) : CC.current && PC(CC.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]), Jb(() => () => {
+ }, [e, t]), Gb(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function RC(e) {
- return BC(e);
+function OC(e) {
+ return AC(e);
}
-function zC(e, t) {
- return !e || !t ? !1 : t.some((t) => zb(t, e));
+function kC(e, t) {
+ return !e || !t ? !1 : t.some((t) => Ib(t, e));
}
-function BC(e, t = null) {
+function AC(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of YC.traverse(YC.getTreeNode(t))) if (n && zC(e, n.current)) return !0;
+ for (let { scopeRef: n } of zC.traverse(zC.getTreeNode(t))) if (n && kC(e, n.current)) return !0;
return !1;
}
-function Xie(e) {
- return BC(e, PC);
+function oae(e) {
+ return AC(e, CC);
}
-function VC(e, t) {
- let n = YC.getTreeNode(t)?.parent;
+function jC(e, t) {
+ let n = zC.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function HC(e, t = !1) {
+function MC(e, t = !1) {
if (e != null && !t) try {
- Ux(e);
+ Bx(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function UC(e, t = !0) {
- let n = e[0].previousElementSibling, r = IC(e), i = qC(r, { tabbable: t }, e);
+function NC(e, t = !0) {
+ let n = e[0].previousElementSibling, r = EC(e), i = LC(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = IC(e), i = qC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = EC(e), i = LC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function WC(e, t = !0) {
- HC(UC(e, t));
+function PC(e, t = !0) {
+ MC(NC(e, t));
}
-function Zie(e, t) {
+function sae(e, t) {
let n = P.useRef(t);
(0, P.useEffect)(() => {
- n.current && (PC = e, !zC(Bb(Mb(e.current ? e.current[0] : void 0)), PC.current) && e.current && WC(e.current)), n.current = !1;
+ n.current && (CC = e, !kC(Lb(kb(e.current ? e.current[0] : void 0)), CC.current) && e.current && PC(e.current)), n.current = !1;
}, [e]);
}
-function Qie(e, t, n) {
- Jb(() => {
+function cae(e, t, n) {
+ Gb(() => {
if (t || n) return;
- let r = e.current, i = Mb(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = kb(r ? r[0] : void 0), a = (t) => {
let n = G(t);
- zC(n, e.current) ? PC = e : RC(n) || (PC = null);
+ kC(n, e.current) ? CC = e : OC(n) || (CC = 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));
@@ -22813,43 +22813,43 @@ function Qie(e, t, n) {
n
]);
}
-function GC(e) {
- let t = YC.getTreeNode(PC);
+function FC(e) {
+ let t = zC.getTreeNode(CC);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function $ie(e, t, n) {
- let r = (0, P.useRef)(typeof document < "u" ? Bb(Mb(e.current ? e.current[0] : void 0)) : null);
- Jb(() => {
- let r = e.current, i = Mb(r ? r[0] : void 0);
+function lae(e, t, n) {
+ let r = (0, P.useRef)(typeof document < "u" ? Lb(kb(e.current ? e.current[0] : void 0)) : null);
+ Gb(() => {
+ let r = e.current, i = kb(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!PC || VC(PC, e)) && zC(Bb(i), e.current) && (PC = e);
+ (!CC || jC(CC, e)) && kC(Lb(i), e.current) && (CC = 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]), Jb(() => {
- let r = Mb(e.current ? e.current[0] : void 0);
+ }, [e, n]), Gb(() => {
+ let r = kb(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !LC(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !DC(e) || t.isComposing) return;
let n = r.activeElement;
- if (!BC(n, e) || !GC(e)) return;
- let i = YC.getTreeNode(e);
+ if (!AC(n, e) || !FC(e)) return;
+ let i = zC.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = qC(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = LC(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 || !BC(s, e)) && a) {
+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !AC(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (BC(s, e));
- t.preventDefault(), t.stopPropagation(), s ? HC(s, !0) : RC(a) ? HC(a, !0) : n.blur();
+ while (AC(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? MC(s, !0) : OC(a) ? MC(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -22859,31 +22859,31 @@ function $ie(e, t, n) {
e,
t,
n
- ]), Jb(() => {
- let n = Mb(e.current ? e.current[0] : void 0);
+ ]), Gb(() => {
+ let n = kb(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = YC.getTreeNode(e);
+ let i = zC.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = YC.getTreeNode(e);
+ let r = zC.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = Bb(n);
- if (t && i && (a && BC(a, e) || a === n.body && GC(e))) {
- let t = YC.clone();
+ let i = r.nodeToRestore, a = Lb(n);
+ if (t && i && (a && AC(a, e) || a === n.body && FC(e))) {
+ let t = zC.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- KC(n.nodeToRestore);
+ IC(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && YC.getTreeNode(n.scopeRef)) {
- let e = UC(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && zC.getTreeNode(n.scopeRef)) {
+ let e = NC(n.scopeRef.current, !0);
if (e) {
- KC(e);
+ IC(e);
return;
}
}
@@ -22895,21 +22895,21 @@ function $ie(e, t, n) {
};
}, [e, t]);
}
-function KC(e) {
- e.dispatchEvent(new CustomEvent(NC, {
+function IC(e) {
+ e.dispatchEvent(new CustomEvent(SC, {
bubbles: !0,
cancelable: !0
- })) && HC(e);
+ })) && MC(e);
}
-function qC(e, t, n) {
- let r = t?.tabbable ? Kb : Gb, i = Mb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = jC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return zb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Jie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || zC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function LC(e, t, n) {
+ let r = t?.tabbable ? Ub : Hb, i = kb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = bC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return Ib(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!iae(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || kC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var eae = class e {
+var uae = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new JC({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new RC({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -22920,7 +22920,7 @@ var eae = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new JC({ scopeRef: e });
+ let i = new RC({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -22931,7 +22931,7 @@ var eae = 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 && zC(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 && kC(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);
}
@@ -22943,7 +22943,7 @@ var eae = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, JC = class {
+}, RC = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -22953,13 +22953,13 @@ var eae = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, YC = new eae(), XC = 7e3, ZC = null;
-function QC(e, t = "assertive", n = XC) {
- ZC ? ZC.announce(e, t, n) : (ZC = new tae(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? ZC.announce(e, t, n) : setTimeout(() => {
- ZC?.isAttached() && ZC?.announce(e, t, n);
+}, zC = new uae(), BC = 7e3, VC = null;
+function HC(e, t = "assertive", n = BC) {
+ VC ? VC.announce(e, t, n) : (VC = new dae(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? VC.announce(e, t, n) : setTimeout(() => {
+ VC?.isAttached() && VC?.announce(e, t, n);
}, 100));
}
-var tae = class {
+var dae = 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,
@@ -22984,7 +22984,7 @@ var tae = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = XC) {
+ announce(e, t = "assertive", n = BC) {
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(() => {
@@ -22996,8 +22996,8 @@ var tae = 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 = YS(e);
+function UC(e, t) {
+ let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = NS(e);
(0, P.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, P.useEffect)(() => {
@@ -23006,30 +23006,30 @@ function $C(e, t) {
}, t);
}
// node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function ew(e, t) {
+function WC(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 tw(e, t) {
+function GC(e, t) {
let n = e;
- for (ew(n, t) && (n = n.parentElement); n && !ew(n, t);) n = n.parentElement;
+ for (WC(n, t) && (n = n.parentElement); n && !WC(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
// node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function nw(e, t) {
+function KC(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (ew(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (WC(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function rw(e, t, n = {}) {
- e !== t && nae(e, t, t.getBoundingClientRect(), n);
+function qC(e, t, n = {}) {
+ e !== t && fae(e, t, t.getBoundingClientRect(), n);
}
-function nae(e, t, n, r = {}) {
+function fae(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;
- ix() && ax() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);
+ tx() && nx() || 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;
@@ -23050,7 +23050,7 @@ function nae(e, t, n, r = {}) {
top: o
});
}
-function iw(e, t = {}) {
+function JC(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -23063,45 +23063,45 @@ function iw(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = nw(e, !0);
- for (let t of i) rw(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = KC(e, !0);
+ for (let t of i) qC(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? nw(n, !0) : [];
- for (let e of i) rw(e, n, {
+ i = n ? KC(n, !0) : [];
+ for (let e of i) qC(e, n, {
block: "center",
inline: "center"
});
- for (let t of nw(e, !0)) rw(t, e);
+ for (let t of KC(e, !0)) qC(t, e);
}
}
}
}
// node_modules/react-aria/dist/private/utils/useDescription.mjs
-var rae = 0, aw = /* @__PURE__ */ new Map();
-function ow(e) {
+var pae = 0, YC = /* @__PURE__ */ new Map();
+function XC(e) {
let [t, n] = (0, P.useState)();
- return Jb(() => {
+ return Gb(() => {
if (!e) return;
- let t = aw.get(e);
+ let t = YC.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${rae++}`;
+ let r = `react-aria-description-${pae++}`;
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
- }, aw.set(e, t);
+ }, YC.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), aw.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 sw(e, t, n) {
- let r = YS((e) => {
+function ZC(e, t, n) {
+ let r = NS((e) => {
n && !e.defaultPrevented && n(t);
});
(0, P.useEffect)(() => {
@@ -23112,21 +23112,21 @@ function sw(e, t, n) {
}, [e]);
}
// node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function cw(e, t, n) {
+function QC(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- Jb(() => {
+ Gb(() => {
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(aae(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(hae(n.current));
}
});
- let a = (0, P.useRef)(!1), o = YS(() => {
+ let a = (0, P.useRef)(!1), o = NS(() => {
a.current || t.resetValidation();
- }), s = YS((e) => {
+ }), s = NS((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && oae(r) === n.current && (i ? i() : n.current?.focus(), Nx("keyboard")), e.preventDefault();
- }), c = YS(() => {
+ !e.defaultPrevented && n && r && gae(r) === n.current && (i ? i() : n.current?.focus(), Ax("keyboard")), e.preventDefault();
+ }), c = NS(() => {
t.commitValidation();
});
(0, P.useEffect)(() => {
@@ -23140,7 +23140,7 @@ function cw(e, t, n) {
};
}, [n, r]);
}
-function iae(e) {
+function mae(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -23156,14 +23156,14 @@ function iae(e) {
valid: t.valid
};
}
-function aae(e) {
+function hae(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: iae(e),
+ validationDetails: mae(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function oae(e) {
+function gae(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -23171,23 +23171,23 @@ function oae(e) {
return null;
}
// node_modules/react-aria/dist/private/utils/useSlot.mjs
-function sae(e = !0) {
+function _ae(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 Jb(() => {
+ return Gb(() => {
r.current || n(!1);
}, []), [i, t];
}
-function lw(e = !0) {
- let t = Jx(), [n, r] = sae(e);
+function $C(e = !0) {
+ let t = Gx(), [n, r] = _ae(e);
return {
id: r ? t : void 0,
ref: n
};
}
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var uw = {
+var ew = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -23199,18 +23199,18 @@ var uw = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, dw = {
- ...uw,
+}, tw = {
+ ...ew,
customError: !0,
valid: !1
-}, fw = {
+}, nw = {
isInvalid: !1,
- validationDetails: uw,
+ validationDetails: ew,
validationErrors: []
-}, cae = (0, P.createContext)({}), pw = "__reactAriaFormValidationState";
-function mw(e) {
+}, vae = (0, P.createContext)({}), rw = "__reactAriaFormValidationState";
+function iw(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[pw];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[rw];
return {
realtimeValidation: t,
displayValidation: n,
@@ -23219,70 +23219,70 @@ function mw(e) {
commitValidation: a
};
}
- return lae(e);
+ return yae(e);
}
-function lae(e) {
+function yae(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: dw
- }, l = (0, P.useMemo)(() => !o || i == null ? null : gw(uae(o, i)), [o, i]);
+ validationDetails: tw
+ }, l = (0, P.useMemo)(() => !o || i == null ? null : ow(bae(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, P.useContext)(cae), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => hw(u[e])) : hw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);
+ let u = (0, P.useContext)(vae), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => aw(u[e])) : aw(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)(() => gw(m ? [] : d), [m, d]), _ = (0, P.useRef)(fw), [v, y] = (0, P.useState)(fw), b = (0, P.useRef)(fw), x = () => {
+ let g = (0, P.useMemo)(() => ow(m ? [] : d), [m, d]), _ = (0, P.useRef)(nw), [v, y] = (0, P.useState)(nw), b = (0, P.useRef)(nw), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- _w(e, b.current) || (b.current = e, y(e));
+ sw(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, P.useState)(!1);
return (0, P.useEffect)(x), {
- realtimeValidation: c || g || l || a || fw,
+ realtimeValidation: c || g || l || a || nw,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !_w(v, e) ? y(e) : _.current = e;
+ s === "aria" && !sw(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = fw;
- _w(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = nw;
+ sw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function hw(e) {
+function aw(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function uae(e, t) {
+function bae(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return hw(n);
+ if (n && typeof n != "boolean") return aw(n);
}
return [];
}
-function gw(e) {
+function ow(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: dw
+ validationDetails: tw
} : null;
}
-function _w(e, t) {
+function sw(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 vw(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 = mw({
+function cw(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 = iw({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- cw(e, b, n);
+ QC(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: T, isPressed: E } = TC({
+ }, { pressProps: T, isPressed: E } = uC({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -23290,7 +23290,7 @@ function vw(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = TC({
+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = uC({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
},
@@ -23307,13 +23307,13 @@ function vw(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [pw]: i } = e, { commitValidation: a } = i || b;
+ let { [rw]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = cS(e, n), j = K(T, A), M = dC(e, { labelable: !0 });
- sw(n, t.defaultSelected, t.setSelected);
- let ee = lw(), te = lw();
+ }), { focusableProps: A } = aS(e, n), j = K(T, A), M = YS(e, { labelable: !0 });
+ ZC(n, t.defaultSelected, t.setSelected);
+ let ee = $C(), te = $C();
return {
labelProps: K(k, { onClick: (e) => e.preventDefault() }),
inputProps: K(M, {
@@ -23349,8 +23349,8 @@ function vw(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function yw(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 } = vw(e, t, n), { isIndeterminate: m } = e;
+function lw(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 } = cw(e, t, n), { isIndeterminate: m } = e;
return (0, P.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -23368,17 +23368,17 @@ function yw(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/utils.mjs
-var dae = /* @__PURE__ */ new WeakMap();
+var xae = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/label/useLabel.mjs
-function bw(e) {
+function uw(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Jx(t);
- let o = Jx(), s = {};
+ t = Gx(t);
+ let o = Gx(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = ZS({
+ let c = FS({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -23389,13 +23389,13 @@ function bw(e) {
};
}
// node_modules/react-aria/dist/private/label/useField.mjs
-function xw(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = bw(e), s = Yx([
+function dw(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = uw(e), s = Kx([
!!t,
!!n,
r,
i
- ]), c = Yx([
+ ]), c = Kx([
!!t,
!!n,
r,
@@ -23413,26 +23413,26 @@ function xw(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function Sw(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = bC(), c = (0, P.useCallback)((e) => {
- zb(e.currentTarget, G(e)) && a.current.isFocusWithin && !zb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function fw(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = iC(), 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));
}, [
n,
i,
a,
s
- ]), l = Zb(c), u = (0, P.useCallback)((e) => {
- if (!zb(e.currentTarget, G(e))) return;
- let t = G(e), n = Mb(t), s = Bb(n);
+ ]), l = Jb(c), u = (0, P.useCallback)((e) => {
+ if (!Ib(e.currentTarget, G(e))) return;
+ let t = G(e), n = kb(t), s = Lb(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 && !zb(t, r)) {
+ if (a.current.isFocusWithin && !Ib(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- Xb(e, t);
- let i = Yb(e);
+ qb(e, t);
+ let i = Kb(e);
c(i);
}
}, { capture: !0 });
@@ -23453,14 +23453,14 @@ function Sw(e) {
} };
}
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var fae = P.useInsertionEffect ?? P.useLayoutEffect;
-function Cw(e, t, n) {
+var Sae = P.useInsertionEffect ?? P.useLayoutEffect;
+function pw(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;
- fae(() => {
+ Sae(() => {
a.current = c;
});
let [, l] = (0, P.useReducer)(() => ({}), {});
@@ -23470,8 +23470,8 @@ function Cw(e, t, n) {
}, [n])];
}
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function ww(e = {}) {
- let { isReadOnly: t } = e, [n, r] = Cw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);
+function mw(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = pw(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, P.useState)(n);
function a(e) {
t || r(e);
}
@@ -23486,26 +23486,26 @@ function ww(e = {}) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function pae(e, t, n) {
- let r = ww({
+function Cae(e, t, n) {
+ let r = mw({
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 } = dae.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = xae.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = mw({
+ let { realtimeValidation: l } = iw({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, P.useRef)(fw), d = () => {
+ }), u = (0, P.useRef)(nw), 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 = yw({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = lw({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -23513,7 +23513,7 @@ function pae(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [pw]: {
+ [rw]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -23536,10 +23536,10 @@ function pae(e, t, n) {
};
}
// node_modules/react-stately/dist/private/utils/number.mjs
-function Tw(e, t = -Infinity, n = Infinity) {
+function hw(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function Ew(e, t) {
+function gw(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 {
@@ -23552,23 +23552,23 @@ function Ew(e, t) {
}
return n;
}
-function Dw(e, t, n, r) {
+function _w(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = Ew(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(Ew(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(Ew((n - t) / r, r)) * r), a = Ew(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = gw(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(gw(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(gw((n - t) / r, r)) * r), a = gw(a, r), a;
}
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var Ow = /* @__PURE__ */ new Map(), kw = !1;
+var vw = /* @__PURE__ */ new Map(), yw = !1;
try {
- kw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ yw = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var mae = class {
+var wae = class {
constructor(e, t = {}) {
- this.numberFormatter = hae(e, t), this.options = t;
+ this.numberFormatter = Tae(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !kw && this.options.signDisplay != null ? gae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !yw && this.options.signDisplay != null ? Eae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -23600,21 +23600,21 @@ var mae = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !kw && this.options.signDisplay != null && (e = {
+ return !yw && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function hae(e, t = {}) {
+function Tae(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 (Ow.has(r)) return Ow.get(r);
+ if (vw.has(r)) return vw.get(r);
let i = new Intl.NumberFormat(e, t);
- return Ow.set(r, i), i;
+ return vw.set(r, i), i;
}
-function gae(e, t, n) {
+function Eae(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -23627,12 +23627,12 @@ function gae(e, t, n) {
}
}
// node_modules/react-aria/dist/private/interactions/useMove.mjs
-function Aw(e) {
+function bw(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, P.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = bC(), s = YS((0, P.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = iC(), s = NS((0, P.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -23654,8 +23654,8 @@ function Aw(e) {
t,
n,
i
- ])), c = YS((0, P.useCallback)((e, t) => {
- gC(), i.current.didMove && r?.({
+ ])), c = NS((0, P.useCallback)((e, t) => {
+ eC(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -23666,7 +23666,7 @@ function Aw(e) {
}, [r, i]));
return { moveProps: (0, P.useMemo)(() => {
let e = {}, t = () => {
- hC(), i.current.didMove = !1;
+ $S(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -23681,7 +23681,7 @@ function Aw(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = Nb(G(e));
+ let a = Ab(G(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -23691,7 +23691,7 @@ function Aw(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = Nb(G(e));
+ let o = Ab(G(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -23724,7 +23724,7 @@ function Aw(e) {
]) };
}
// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var jw = {
+var xw = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -23736,37 +23736,37 @@ var jw = {
width: "1px",
whiteSpace: "nowrap"
};
-function Mw(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = Sw({
+function Sw(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, P.useState)(!1), { focusWithinProps: a } = fw({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, P.useMemo)(() => r ? t : t ? {
- ...jw,
+ ...xw,
...t
- } : jw, [r]);
+ } : xw, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function Nw(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Mw(e);
+function Cw(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Sw(e);
return /*#__PURE__*/ P.createElement(n, K(a, o), t);
}
// node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function _ae(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Cw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = cS(e, t), d = mw({
+function Dae(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = pw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = aS(e, t), d = iw({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = xw({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = dw({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = dC(e, { labelable: !0 }), b = {
+ }), y = YS(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, P.useState)(c);
- return sw(t, e.defaultValue ?? x, l), cw(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,
@@ -23812,26 +23812,26 @@ function _ae(e, t) {
};
}
// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function vae(e = {}) {
- let { locale: t } = rC();
- return (0, P.useMemo)(() => new mae(t, e), [t, e]);
+function Oae(e = {}) {
+ let { locale: t } = VS();
+ return (0, P.useMemo)(() => new wae(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/slider/utils.mjs
-var Pw = /* @__PURE__ */ new WeakMap();
-function Fw(e, t) {
- let n = Pw.get(e);
+var ww = /* @__PURE__ */ new WeakMap();
+function Tw(e, t) {
+ let n = ww.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
// node_modules/react-aria/dist/private/slider/useSlider.mjs
-function yae(e, t, n) {
- let { labelProps: r, fieldProps: i } = bw(e), a = e.orientation === "vertical";
- Pw.set(t, {
+function kae(e, t, n) {
+ let { labelProps: r, fieldProps: i } = uw(e), a = e.orientation === "vertical";
+ ww.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = rC(), { addGlobalListener: s, removeGlobalListener: c } = bC(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = Aw({
+ let { direction: o } = VS(), { addGlobalListener: s, removeGlobalListener: c } = iC(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = bw({
onMoveStart() {
d.current = null;
},
@@ -23841,7 +23841,7 @@ function yae(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 = Tw(d.current / s, 0, 1);
+ let e = hw(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -23865,7 +23865,7 @@ function yae(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(Fw(t, 0))?.focus(), Nx("keyboard");
+ document.getElementById(Tw(t, 0))?.focus(), Ax("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -23888,26 +23888,26 @@ function yae(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => Fw(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => Tw(t, n)).join(" "),
"aria-live": "off"
}
};
}
// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function bae(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 } = rC(), { addGlobalListener: m, removeGlobalListener: h } = bC(), g = Pw.get(t), { labelProps: _, fieldProps: v } = bw({
+function Aae(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 } = VS(), { addGlobalListener: m, removeGlobalListener: h } = iC(), g = ww.get(t), { labelProps: _, fieldProps: v } = uw({
...e,
- id: Fw(t, n),
+ id: Tw(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, P.useCallback)(() => {
- s.current && jb(s.current);
+ s.current && Ob(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 } = iS({
+ }, { keyboardProps: T } = tS({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -23923,7 +23923,7 @@ function bae(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = Aw({
+ }), { moveProps: E } = bw({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -23934,7 +23934,7 @@ function bae(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, Tw(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, hw(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -23942,7 +23942,7 @@ function bae(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: D } = cS(K(e, {
+ let { focusableProps: D } = aS(K(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), O = (0, P.useRef)(void 0), k = (e) => {
@@ -23962,7 +23962,7 @@ function bae(e, t) {
k(e.changedTouches[0].identifier);
}
});
- return sw(s, t.defaultValues[n], (e) => {
+ return ZC(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(D, v, {
@@ -24002,42 +24002,42 @@ function bae(e, t) {
};
}
// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var xae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function Iw(e) {
+var jae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function Ew(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var Lw = /* @__PURE__ */ new WeakMap(), Rw = [];
-function zw(e, t) {
- let n = Nb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && xae, 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 Dw = /* @__PURE__ */ new WeakMap(), Ow = [];
+function kw(e, t) {
+ let n = Ab(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && jae, 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 (Fb()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; Fb(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; Mb(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 (zb(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (Ib(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = jC(Mb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = bC(kb(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 = Lw.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Lw.set(e, t + 1));
+ let t = Dw.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Dw.set(e, t + 1));
};
- Rw.length && Rw[Rw.length - 1].disconnect(), d(i);
+ Ow.length && Ow[Ow.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) => zb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Iw(e) ? o.add(e) : e instanceof Element && d(e);
- if (Rb()) {
+ 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 (Fb()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -24050,11 +24050,11 @@ function zw(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (Rb()) for (let e of u) {
+ if (Fb()) 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) => zb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Iw(e) ? o.add(e) : e instanceof Element && d(e);
- if (Rb()) {
+ 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 (Fb()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -24080,56 +24080,56 @@ function zw(e, t) {
p.disconnect();
}
};
- return Rw.push(h), () => {
- if (p.disconnect(), Rb()) for (let e of m) e.disconnect();
+ return Ow.push(h), () => {
+ if (p.disconnect(), Fb()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = Lw.get(e);
- t != null && (t === 1 ? (l(e, !1), Lw.delete(e)) : Lw.set(e, t - 1));
+ let t = Dw.get(e);
+ t != null && (t === 1 ? (l(e, !1), Dw.delete(e)) : Dw.set(e, t - 1));
}
- h === Rw[Rw.length - 1] ? (Rw.pop(), Rw.length && Rw[Rw.length - 1].observe()) : Rw.splice(Rw.indexOf(h), 1);
+ h === Ow[Ow.length - 1] ? (Ow.pop(), Ow.length && Ow[Ow.length - 1].observe()) : Ow.splice(Ow.indexOf(h), 1);
};
}
-function Bw(e) {
- let t = Rw[Rw.length - 1];
+function Aw(e) {
+ let t = Ow[Ow.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 Vw = /* @__PURE__ */ new WeakMap();
-function Sae(e) {
+var jw = /* @__PURE__ */ new WeakMap();
+function Mae(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Cae(e, t) {
- let n = Vw.get(e);
+function Nae(e, t) {
+ let n = jw.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${Sae(t)}`;
+ return `${n.id}-option-${Mae(t)}`;
}
// node_modules/react-aria/dist/private/selection/utils.mjs
-function Hw(e) {
- return Ire() ? e.altKey : e.ctrlKey;
+function Mw(e) {
+ return zre() ? e.altKey : e.ctrlKey;
}
-function Uw(e, t) {
+function Nw(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 Ww = /* @__PURE__ */ new WeakMap();
-function wae(e) {
- let t = Jx();
- return Ww.set(e, t), t;
+var Pw = /* @__PURE__ */ new WeakMap();
+function Pae(e) {
+ let t = Gx();
+ return Pw.set(e, t), t;
}
-function Tae(e) {
- return Ww.get(e);
+function Fae(e) {
+ return Pw.get(e);
}
// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var Gw = class {
+var Fw = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Uw(this.ref, e);
+ let n = e == null ? null : Nw(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -24155,12 +24155,12 @@ var Gw = class {
height: e?.clientHeight ?? 0
};
}
-}, Kw = class {
+}, Iw = 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 Gw(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 Gw(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 Fw(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 Fw(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -24200,14 +24200,14 @@ var Gw = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Uw(this.ref, e);
+ let t = this.getNextKey(e), n = Nw(this.ref, e);
if (t != null) {
- let e = Uw(this.ref, t);
+ let e = Nw(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Uw(this.ref, r);
+ let e = Nw(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -24241,7 +24241,7 @@ var Gw = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !ew(t)) return this.getFirstKey();
+ if (t && !WC(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -24256,7 +24256,7 @@ var Gw = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !ew(t)) return this.getLastKey();
+ if (t && !WC(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);
@@ -24279,149 +24279,149 @@ var Gw = class {
}
return null;
}
-}, qw = {};
-qw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Lw = {};
+Lw = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Jw = {};
-Jw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Rw = {};
+Rw = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Yw = {};
-Yw = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var zw = {};
+zw = { 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 Xw = {};
-Xw = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Bw = {};
+Bw = { 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 Zw = {};
-Zw = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Vw = {};
+Vw = { 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 Qw = {};
-Qw = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Hw = {};
+Hw = { 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 Uw = {};
+Uw = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var eT = {};
-eT = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Ww = {};
+Ww = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var tT = {};
-tT = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Gw = {};
+Gw = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var nT = {};
-nT = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Kw = {};
+Kw = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var rT = {};
-rT = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var qw = {};
+qw = { 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 iT = {};
-iT = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Jw = {};
+Jw = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var aT = {};
-aT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Yw = {};
+Yw = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var oT = {};
-oT = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Xw = {};
+Xw = { 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 sT = {};
-sT = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var Zw = {};
+Zw = { 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 cT = {};
-cT = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Qw = {};
+Qw = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var lT = {};
-lT = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var $w = {};
+$w = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var uT = {};
-uT = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var eT = {};
+eT = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var dT = {};
-dT = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var tT = {};
+tT = { 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 fT = {};
-fT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var nT = {};
+nT = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var pT = {};
-pT = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var rT = {};
+rT = { 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 mT = {};
-mT = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var iT = {};
+iT = { 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 hT = {};
-hT = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var aT = {};
+aT = { 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 gT = {};
-gT = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var oT = {};
+oT = { 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 _T = {};
-_T = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var sT = {};
+sT = { 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 vT = {};
-vT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var cT = {};
+cT = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var yT = {};
-yT = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var lT = {};
+lT = { 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 bT = {};
-bT = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var uT = {};
+uT = { 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 xT = {};
-xT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var dT = {};
+dT = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var ST = {};
-ST = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var fT = {};
+fT = { 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 CT = {};
-CT = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var pT = {};
+pT = { 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 wT = {};
-wT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var mT = {};
+mT = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var TT = {};
-TT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var hT = {};
+hT = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var ET = {};
-ET = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var gT = {};
+gT = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
// node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var DT = {};
-DT = {
- "ar-AE": qw,
- "bg-BG": Jw,
- "cs-CZ": Yw,
- "da-DK": Xw,
- "de-DE": Zw,
- "el-GR": Qw,
- "en-US": $w,
- "es-ES": eT,
- "et-EE": tT,
- "fi-FI": nT,
- "fr-FR": rT,
- "he-IL": iT,
- "hr-HR": aT,
- "hu-HU": oT,
- "it-IT": sT,
- "ja-JP": cT,
- "ko-KR": lT,
- "lt-LT": uT,
- "lv-LV": dT,
- "nb-NO": fT,
- "nl-NL": pT,
- "pl-PL": mT,
- "pt-BR": hT,
- "pt-PT": gT,
- "ro-RO": _T,
- "ru-RU": vT,
- "sk-SK": yT,
- "sl-SI": bT,
- "sr-SP": xT,
- "sv-SE": ST,
- "tr-TR": CT,
- "uk-UA": wT,
- "zh-CN": TT,
- "zh-TW": ET
+var _T = {};
+_T = {
+ "ar-AE": Lw,
+ "bg-BG": Rw,
+ "cs-CZ": zw,
+ "da-DK": Bw,
+ "de-DE": Vw,
+ "el-GR": Hw,
+ "en-US": Uw,
+ "es-ES": Ww,
+ "et-EE": Gw,
+ "fi-FI": Kw,
+ "fr-FR": qw,
+ "he-IL": Jw,
+ "hr-HR": Yw,
+ "hu-HU": Xw,
+ "it-IT": Zw,
+ "ja-JP": Qw,
+ "ko-KR": $w,
+ "lt-LT": eT,
+ "lv-LV": tT,
+ "nb-NO": nT,
+ "nl-NL": rT,
+ "pl-PL": iT,
+ "pt-BR": aT,
+ "pt-PT": oT,
+ "ro-RO": sT,
+ "ru-RU": cT,
+ "sk-SK": lT,
+ "sl-SI": uT,
+ "sr-SP": dT,
+ "sv-SE": fT,
+ "tr-TR": pT,
+ "uk-UA": mT,
+ "zh-CN": hT,
+ "zh-TW": gT
};
// node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var Eae = 500;
-function OT(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Eae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = bC(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = TC({
+var Iae = 500;
+function vT(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Iae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = iC(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = uC({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -24429,12 +24429,12 @@ function OT(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Mb(e.target).activeElement !== e.target && jb(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), kb(e.target).activeElement !== e.target && Ob(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 = Nb(e.target);
+ let t = Ab(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -24449,11 +24449,11 @@ function OT(e) {
});
}
});
- return { longPressProps: K(f, ow(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 Dae(e) {
- let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = OT({
+function Lae(e) {
+ let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = vT({
onLongPressStart() {
n.current = !1;
},
@@ -24465,7 +24465,7 @@ function Dae(e) {
});
}
});
- return t ? { contextMenuProps: K(ix() ? r : {}, {
+ return t ? { contextMenuProps: K(tx() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -24476,7 +24476,7 @@ function Dae(e) {
});
},
onKeyDown(e) {
- if (nx() && e.ctrlKey && e.key === "Enter") {
+ if ($b() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -24495,13 +24495,13 @@ function Dae(e) {
}) } : { contextMenuProps: {} };
}
// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var kT = /* @__PURE__ */ new WeakMap();
-function Oae(e) {
+var yT = /* @__PURE__ */ new WeakMap();
+function Rae(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, P.useEffect)(() => !n || r === null ? void 0 : Ib(Vb(t.current), "scroll", (e) => {
+ (0, P.useEffect)(() => !n || r === null ? void 0 : Nb(Rb(t.current), "scroll", (e) => {
let n = G(e);
- if (!t.current || n instanceof Node && !zb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || kT.get(t.current);
+ if (!t.current || n instanceof Node && !Ib(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || yT.get(t.current);
i && i();
}, !0), [
n,
@@ -24510,14 +24510,14 @@ function Oae(e) {
]);
}
// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function kae(e, t, n) {
+function zae(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, P.useEffect)(() => {
- n && n.current && kT.set(n.current, t.close);
+ n && n.current && yT.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Jx();
+ let o = Gx();
return {
triggerProps: {
"aria-haspopup": a,
@@ -24529,14 +24529,14 @@ function kae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Aae(e) {
+function Bae(e) {
return e && e.__esModule ? e.default : e;
}
-function AT(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Jx(), { triggerProps: s, overlayProps: c } = kae({ type: r }, t, n), l = (e, n, r = "first") => {
+function bT(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Gx(), { triggerProps: s, overlayProps: c } = zae({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = iS({
+ }, { keyboardProps: u } = tS({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -24548,7 +24548,7 @@ function AT(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = lC(Aae(DT), "@react-aria/menu"), { longPressProps: f } = OT({
+ }), d = qS(Bae(_T), "@react-aria/menu"), { longPressProps: f } = vT({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -24560,14 +24560,14 @@ function AT(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (jb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ob(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (jb(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (Ob(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = Dae({ onContextMenu(e) {
+ let { contextMenuProps: m } = Lae({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -24611,8 +24611,8 @@ function AT(e, t, n) {
};
}
// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var jT = 1e3;
-function MT(e) {
+var xT = 1e3;
+function ST(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, P.useRef)({
search: "",
timeout: void 0
@@ -24631,12 +24631,12 @@ function MT(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, jT);
+ }, xT);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = jae(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !zb(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Vae(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Ib(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();
@@ -24647,32 +24647,32 @@ function MT(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, jT);
+ }, xT);
}
} : void 0
} };
}
-function jae(e) {
+function Vae(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function NT(e, t) {
+function CT(e, t) {
let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);
- Jb(() => (n.current = !0, () => {
+ Gb(() => (n.current = !0, () => {
n.current = !1;
- }), []), Jb(() => {
+ }), []), Gb(() => {
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 PT(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 } = rC(), _ = lx(), v = (e, n, i) => {
+function wT(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 } = VS(), _ = ox(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !Hw(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Mw(e)) {
(0, Lt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Uw(r, n), o = t.getItemProps(n);
+ let a = Nw(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -24684,7 +24684,7 @@ function PT(e) {
t.extendSelection(n);
return;
}
- if (l && !Hw(e)) {
+ if (l && !Mw(e)) {
t.replaceSelection(n);
return;
}
@@ -24711,9 +24711,9 @@ function PT(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, qS(e));
+ let r = n.getFirstKey(t.focusedKey, jS(e));
if (t.setFocusedKey(r), r != null) {
- if (qS(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (jS(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24745,9 +24745,9 @@ function PT(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, qS(e));
+ let r = n.getLastKey(t.focusedKey, jS(e));
if (t.setFocusedKey(r), r != null) {
- if (qS(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (jS(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24778,12 +24778,12 @@ function PT(e) {
else return !1;
}, k = () => {
if (!f && r.current) {
- let e = qC(r.current, { tabbable: !0 }), t, n;
+ let e = LC(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = Bb();
- t && (!Hb(t) || i && !Kb(i)) && jb(t);
+ let i = Lb();
+ t && (!zb(t) || i && !Ub(i)) && Ob(t);
}
return {
shouldContinuePropagation: !0,
@@ -24793,11 +24793,11 @@ function PT(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [nx() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [$b() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [nx() ? e + "+Alt" : e + "+Control"]: t,
+ [$b() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = iS({
+ }), { keyboardProps: M } = tS({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -24807,7 +24807,7 @@ function PT(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: ee } = iS({ shortcuts: {
+ }), { keyboardProps: ee } = tS({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -24818,7 +24818,7 @@ function PT(e) {
top: 0,
left: 0
});
- XS(p, "scroll", () => {
+ PS(p, "scroll", () => {
te.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -24826,11 +24826,11 @@ function PT(e) {
});
let ne = (e) => {
if (t.isFocused) {
- zb(e.currentTarget, G(e)) || t.setFocused(!1);
+ Ib(e.currentTarget, G(e)) || t.setFocused(!1);
return;
}
- if (!zb(e.currentTarget, G(e))) return;
- let i = Mx();
+ if (!Ib(e.currentTarget, G(e))) return;
+ let i = kx();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -24841,27 +24841,27 @@ function PT(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 = Uw(r, t.focusedKey);
- e instanceof HTMLElement && (!Hb(e) && !d && jb(e), (i === "keyboard" || h && i === "virtual") && iw(e, { containingElement: r.current }));
+ let e = Nw(r, t.focusedKey);
+ e instanceof HTMLElement && (!zb(e) && !d && Ob(e), (i === "keyboard" || h && i === "virtual") && JC(e, { containingElement: r.current }));
}
}, N = (e) => {
- zb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ Ib(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, re = (0, P.useRef)(!1);
- XS(r, MS, d ? (e) => {
+ PS(r, jie, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);
} : void 0);
let ie = n.getFirstKey?.() ?? null;
- NT(() => {
+ CT(() => {
if (re.current) {
if (ie == null) {
- let e = Bb();
- NS(r.current), FS(e, null), t.collection.size > 0 && (re.current = !1);
+ let e = Lb();
+ bS(r.current), xS(e, null), t.collection.size > 0 && (re.current = !1);
} else t.setFocusedKey(ie), re.current = !1;
}
- }, [ie, t.collection.size]), NT(() => {
+ }, [ie, t.collection.size]), CT(() => {
t.collection.size > 0 && (re.current = !1);
- }, [t.focusedKey]), XS(r, jS, d ? (e) => {
+ }, [t.focusedKey]), PS(r, Aie, 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);
@@ -24876,22 +24876,22 @@ function PT(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Ux(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 && Bx(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 = Mx(), n = Uw(r, t.focusedKey);
+ let e = kx(), n = Nw(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {
- p.current && (rw(p.current, n), e !== "virtual" && iw(n, { containingElement: r.current }));
+ p.current && (qC(p.current, n), e !== "virtual" && JC(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Ux(r.current), oe.current = t.focusedKey, ae.current = !1;
+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Bx(r.current), oe.current = t.focusedKey, ae.current = !1;
}), (0, P.useEffect)(() => () => {
se.current && cancelAnimationFrame(se.current);
- }, []), XS(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), PS(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let ce = {
@@ -24901,27 +24901,27 @@ function PT(e) {
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: le } = MT({
+ }, { typeSelectProps: le } = ST({
keyboardDelegate: n,
selectionManager: t
});
u || (ce = K(le, ce));
let ue;
d || (ue = t.focusedKey == null ? 0 : -1);
- let de = wae(t.collection);
+ let de = Pae(t.collection);
return { collectionProps: K(ce, {
tabIndex: ue,
"data-collection": de
}) };
}
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function FT(e, t) {
+function TT(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function IT(e) {
- return LT(e, 0);
+function ET(e) {
+ return DT(e, 0);
}
-function LT(e, t) {
+function DT(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -24929,106 +24929,106 @@ function LT(e, t) {
n++;
}
}
-function RT(e) {
+function OT(e) {
let t;
for (let n of e) t = n;
return t;
}
-function zT(e, t, n) {
+function kT(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...BT(e, t), t], i = [...BT(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...AT(e, t), t], i = [...AT(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 BT(e, t) {
+function AT(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 VT = /* @__PURE__ */ new WeakMap();
-function HT(e) {
- let t = VT.get(e);
+var jT = /* @__PURE__ */ new WeakMap();
+function MT(e) {
+ let t = jT.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(FT(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(TT(i, e)) : i.type === "item" && n++;
};
- return r(e), VT.set(e, n), n;
+ return r(e), jT.set(e, n), n;
}
// node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var UT = /* @__PURE__ */ new Map();
-function WT(e) {
- let { locale: t } = rC(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (UT.has(n)) return UT.get(n);
+var NT = /* @__PURE__ */ new Map();
+function PT(e) {
+ let { locale: t } = VS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (NT.has(n)) return NT.get(n);
let r = new Intl.Collator(t, e);
- return UT.set(n, r), r;
+ return NT.set(n, r), r;
}
// node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Mae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, P.useRef)(!1), i = (0, P.useContext)(yC), a = K(i || {}, {
+var Hae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, P.useRef)(!1), i = (0, P.useContext)(rC), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = aS(n || i?.ref), oS(i, a.ref), (0, P.useEffect)(() => {
+ return a.ref = nS(n || i?.ref), rS(i, a.ref), (0, P.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ P.createElement(yC.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ P.createElement(rC.Provider, { value: a }, e);
});
-function Nae({ children: e }) {
+function Uae({ children: e }) {
let t = (0, P.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ P.createElement(yC.Provider, { value: t }, e);
+ return /*#__PURE__*/ P.createElement(rC.Provider, { value: t }, e);
}
// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var GT = /*#__PURE__*/ (0, P.createContext)({});
-function KT(e) {
- let { getContainer: t } = e, { getContainer: n } = qT();
- return /*#__PURE__*/ P.createElement(GT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var FT = /*#__PURE__*/ (0, P.createContext)({});
+function IT(e) {
+ let { getContainer: t } = e, { getContainer: n } = LT();
+ return /*#__PURE__*/ P.createElement(FT.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function qT() {
- return (0, P.useContext)(GT) ?? {};
+function LT() {
+ return (0, P.useContext)(FT) ?? {};
}
// node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var JT = /*#__PURE__*/ P.createContext(null);
-function YT(e) {
- let t = gx(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({
+var RT = /*#__PURE__*/ P.createContext(null);
+function zT(e) {
+ let t = px(), { 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 } = qT();
+ }), [i, a]), { getContainer: s } = LT();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(FC, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(wC, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ P.createElement(JT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Nae, null, /*#__PURE__*/ P.createElement(sS.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ P.createElement(RT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Uae, null, /*#__PURE__*/ P.createElement(iS.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);
}
-function XT() {
- let e = (0, P.useContext)(JT)?.setContain;
- Jb(() => {
+function BT() {
+ let e = (0, P.useContext)(RT)?.setContain;
+ Gb(() => {
e?.(!0);
}, [e]);
}
// node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function Pae(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = Yx();
+function Wae(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = Kx();
i = e["aria-label"] ? void 0 : i;
- let a = Yx();
+ let a = Kx();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, P.useRef)(!1);
(0, P.useEffect)(() => {
- if (!r && t.current && !Hb(t.current)) {
- Ux(t.current);
+ if (!r && t.current && !zb(t.current)) {
+ Bx(t.current);
let e = setTimeout(() => {
- (Bb() === t.current || Bb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Ux(t.current)), o.current = !1);
+ (Lb() === t.current || Lb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Bx(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), XT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});
+ }, [t, r]), BT(), (0, P.useRef)(!1), (0, P.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...dC(e, { labelable: !0 }),
+ ...YS(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -25042,23 +25042,23 @@ function Pae(e, t) {
};
}
// node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function ZT(e = {}) {
+function VT(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({
isFocused: !1,
- isFocusVisible: t || jx()
+ isFocusVisible: t || Ox()
}), [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 = jx(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = Ox(), o(e), l();
}, [l]);
- Ix((e) => {
+ Nx((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = eS({
+ let { focusProps: d } = Zx({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = Sw({
+ }), { focusWithinProps: f } = fw({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -25069,41 +25069,41 @@ function ZT(e = {}) {
};
}
// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Fae(e = {}) {
- let { locale: t } = rC();
+function Gae(e = {}) {
+ let { locale: t } = VS();
return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/interactions/useHover.mjs
-var QT = !1, $T = 0;
-function Iae() {
- QT = !0, setTimeout(() => {
- QT = !1;
+var HT = !1, UT = 0;
+function Kae() {
+ HT = !0, setTimeout(() => {
+ HT = !1;
}, 500);
}
-function eE(e) {
- e.pointerType === "touch" && Iae();
+function WT(e) {
+ e.pointerType === "touch" && Kae();
}
-function Lae() {
- let e = Mb(null);
- if (e !== void 0) return $T === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", eE), $T++, () => {
- $T--, !($T > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", eE);
+function qae() {
+ let e = kb(null);
+ if (e !== void 0) return UT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", WT), UT++, () => {
+ UT--, !(UT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", WT);
};
}
-function tE(e) {
+function GT(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)(Lae, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = bC(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {
+ (0, P.useEffect)(qae, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = iC(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !zb(e.currentTarget, G(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Ib(e.currentTarget, G(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(Mb(G(e)), "pointerover", (e) => {
- s.isHovered && s.target && !zb(s.target, G(e)) && a(e, e.pointerType);
+ s.target = l, c(kb(G(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !Ib(s.target, G(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -25118,9 +25118,9 @@ function tE(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- QT && t.pointerType === "mouse" || e(t, t.pointerType);
+ HT && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && zb(e.currentTarget, G(e)) && a(e, e.pointerType);
+ !i && Ib(e.currentTarget, G(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -25142,22 +25142,22 @@ function tE(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Rae(e) {
+function Jae(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = YS((e) => {
- n && nE(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = YS((e) => {
+ }), o = NS((e) => {
+ n && KT(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = NS((e) => {
n && n(e);
});
(0, P.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = Mb(n);
+ let n = t.current, i = kb(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && nE(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && KT(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);
@@ -25165,28 +25165,28 @@ function Rae(e) {
}
}, [t, r]);
}
-function nE(e, t) {
+function KT(e, t) {
if (e.button > 0) return !1;
let n = G(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !zb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !Ib(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 rE = /* @__PURE__ */ new WeakMap();
-function iE(e, t) {
- let { id: n } = rE.get(e) ?? {};
+var qT = /* @__PURE__ */ new WeakMap();
+function JT(e, t) {
+ let { id: n } = qT.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${zae(t)}`;
+ return `${n}-${Yae(t)}`;
}
-function zae(e) {
+function Yae(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var aE = {};
-aE = {
+var YT = {};
+YT = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -25199,8 +25199,8 @@ aE = {
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 oE = {};
-oE = {
+var XT = {};
+XT = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -25213,8 +25213,8 @@ oE = {
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 sE = {};
-sE = {
+var ZT = {};
+ZT = {
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",
@@ -25227,8 +25227,8 @@ sE = {
selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var cE = {};
-cE = {
+var QT = {};
+QT = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -25241,8 +25241,8 @@ cE = {
selectedItem: (e) => `${e.item} valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var lE = {};
-lE = {
+var $T = {};
+$T = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -25255,8 +25255,8 @@ lE = {
selectedItem: (e) => `${e.item} ausgew\xe4hlt.`
};
// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var uE = {};
-uE = {
+var eE = {};
+eE = {
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: "Επιλογή",
@@ -25269,8 +25269,8 @@ uE = {
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 dE = {};
-dE = {
+var tE = {};
+tE = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -25283,8 +25283,8 @@ dE = {
longPressToSelect: "Long press to enter selection mode."
};
// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var fE = {};
-fE = {
+var nE = {};
+nE = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -25297,8 +25297,8 @@ fE = {
selectedItem: (e) => `${e.item} seleccionado.`
};
// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var pE = {};
-pE = {
+var rE = {};
+rE = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -25311,8 +25311,8 @@ pE = {
selectedItem: (e) => `${e.item} valitud.`
};
// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var mE = {};
-mE = {
+var iE = {};
+iE = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -25325,8 +25325,8 @@ mE = {
selectedItem: (e) => `${e.item} valittu.`
};
// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var hE = {};
-hE = {
+var aE = {};
+aE = {
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",
@@ -25339,8 +25339,8 @@ hE = {
selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`
};
// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var gE = {};
-gE = {
+var oE = {};
+oE = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -25353,8 +25353,8 @@ gE = {
selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
};
// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var _E = {};
-_E = {
+var sE = {};
+sE = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -25367,8 +25367,8 @@ _E = {
selectedItem: (e) => `Stavka ${e.item} je odabrana.`
};
// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var vE = {};
-vE = {
+var cE = {};
+cE = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -25381,8 +25381,8 @@ vE = {
selectedItem: (e) => `${e.item} kijel\xf6lve.`
};
// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var yE = {};
-yE = {
+var lE = {};
+lE = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -25395,8 +25395,8 @@ yE = {
selectedItem: (e) => `${e.item} selezionato.`
};
// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var bE = {};
-bE = {
+var uE = {};
+uE = {
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: "選択",
@@ -25409,8 +25409,8 @@ bE = {
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 xE = {};
-xE = {
+var dE = {};
+dE = {
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: "선택",
@@ -25423,8 +25423,8 @@ xE = {
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 SE = {};
-SE = {
+var fE = {};
+fE = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -25437,8 +25437,8 @@ SE = {
selectedItem: (e) => `Pasirinkta: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var CE = {};
-CE = {
+var pE = {};
+pE = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -25451,8 +25451,8 @@ CE = {
selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var wE = {};
-wE = {
+var mE = {};
+mE = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -25465,8 +25465,8 @@ wE = {
selectedItem: (e) => `${e.item} er valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var TE = {};
-TE = {
+var hE = {};
+hE = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -25479,8 +25479,8 @@ TE = {
selectedItem: (e) => `${e.item} geselecteerd.`
};
// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var EE = {};
-EE = {
+var gE = {};
+gE = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -25493,8 +25493,8 @@ EE = {
selectedItem: (e) => `Zaznaczono ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var DE = {};
-DE = {
+var _E = {};
+_E = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -25507,8 +25507,8 @@ DE = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var OE = {};
-OE = {
+var vE = {};
+vE = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -25521,8 +25521,8 @@ OE = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var kE = {};
-kE = {
+var yE = {};
+yE = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -25535,8 +25535,8 @@ kE = {
selectedItem: (e) => `${e.item} selectat.`
};
// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var AE = {};
-AE = {
+var bE = {};
+bE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -25549,8 +25549,8 @@ AE = {
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 jE = {};
-jE = {
+var xE = {};
+xE = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -25563,8 +25563,8 @@ jE = {
selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var ME = {};
-ME = {
+var SE = {};
+SE = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -25577,8 +25577,8 @@ ME = {
selectedItem: (e) => `Element ${e.item} je izbran.`
};
// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var NE = {};
-NE = {
+var CE = {};
+CE = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -25591,8 +25591,8 @@ NE = {
selectedItem: (e) => `${e.item} je izabrano.`
};
// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var PE = {};
-PE = {
+var wE = {};
+wE = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -25605,8 +25605,8 @@ PE = {
selectedItem: (e) => `${e.item} markerat.`
};
// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var FE = {};
-FE = {
+var TE = {};
+TE = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -25619,8 +25619,8 @@ FE = {
selectedItem: (e) => `${e.item} se\xe7ildi.`
};
// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var IE = {};
-IE = {
+var EE = {};
+EE = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -25633,8 +25633,8 @@ IE = {
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 LE = {};
-LE = {
+var DE = {};
+DE = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -25647,8 +25647,8 @@ LE = {
selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var RE = {};
-RE = {
+var OE = {};
+OE = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -25661,54 +25661,54 @@ RE = {
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 zE = {};
-zE = {
- "ar-AE": aE,
- "bg-BG": oE,
- "cs-CZ": sE,
- "da-DK": cE,
- "de-DE": lE,
- "el-GR": uE,
- "en-US": dE,
- "es-ES": fE,
- "et-EE": pE,
- "fi-FI": mE,
- "fr-FR": hE,
- "he-IL": gE,
- "hr-HR": _E,
- "hu-HU": vE,
- "it-IT": yE,
- "ja-JP": bE,
- "ko-KR": xE,
- "lt-LT": SE,
- "lv-LV": CE,
- "nb-NO": wE,
- "nl-NL": TE,
- "pl-PL": EE,
- "pt-BR": DE,
- "pt-PT": OE,
- "ro-RO": kE,
- "ru-RU": AE,
- "sk-SK": jE,
- "sl-SI": ME,
- "sr-SP": NE,
- "sv-SE": PE,
- "tr-TR": FE,
- "uk-UA": IE,
- "zh-CN": LE,
- "zh-TW": RE
+var kE = {};
+kE = {
+ "ar-AE": YT,
+ "bg-BG": XT,
+ "cs-CZ": ZT,
+ "da-DK": QT,
+ "de-DE": $T,
+ "el-GR": eE,
+ "en-US": tE,
+ "es-ES": nE,
+ "et-EE": rE,
+ "fi-FI": iE,
+ "fr-FR": aE,
+ "he-IL": oE,
+ "hr-HR": sE,
+ "hu-HU": cE,
+ "it-IT": lE,
+ "ja-JP": uE,
+ "ko-KR": dE,
+ "lt-LT": fE,
+ "lv-LV": pE,
+ "nb-NO": mE,
+ "nl-NL": hE,
+ "pl-PL": gE,
+ "pt-BR": _E,
+ "pt-PT": vE,
+ "ro-RO": yE,
+ "ru-RU": bE,
+ "sk-SK": xE,
+ "sl-SI": SE,
+ "sr-SP": CE,
+ "sv-SE": wE,
+ "tr-TR": TE,
+ "uk-UA": EE,
+ "zh-CN": DE,
+ "zh-TW": OE
};
// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Bae(e) {
+function Xae(e) {
return e && e.__esModule ? e.default : e;
}
-function BE(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = lC(Bae(zE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {
+function AE(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = qS(Xae(kE), "@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 = VE(i, a.current), o = VE(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = jE(i, a.current), o = jE(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)) {
@@ -25728,7 +25728,7 @@ function BE(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 && QC(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 && HC(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -25739,7 +25739,7 @@ function BE(e, t) {
n,
r
]);
- $C(() => {
+ UC(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -25747,20 +25747,20 @@ function BE(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function VE(e, t) {
+function jE(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 HE(e, t) {
+function ME(e, t) {
let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);
- return Jb(() => {
+ return Gb(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = qC(e.current, { tabbable: !0 });
+ let t = LC(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -25778,12 +25778,12 @@ function HE(e, t) {
}), !n && r;
}
// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Vae(e) {
+function Zae(e) {
return e && e.__esModule ? e.default : e;
}
-function UE(e) {
- let t = lC(Vae(zE), "@react-aria/grid"), n = Px(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return ow((0, P.useMemo)(() => {
+function NE(e) {
+ let t = qS(Zae(kE), "@react-aria/grid"), n = jx(), 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;
}, [
@@ -25795,11 +25795,11 @@ function UE(e) {
]));
}
// node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function WE(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = WT({
+function PE(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = PT({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Kw({
+ }), l = t.disabledBehavior, u = (0, P.useMemo)(() => a || new Iw({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -25816,7 +25816,7 @@ function WE(e) {
c,
l,
s
- ]), { collectionProps: d } = PT({
+ ]), { collectionProps: d } = wT({
...e,
ref: i,
selectionManager: t,
@@ -25825,10 +25825,10 @@ function WE(e) {
return { listProps: d };
}
// node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function Hae(e, t, n) {
+function Qae(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 } = WE({
+ let { listProps: f } = PE({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -25843,30 +25843,30 @@ function Hae(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = Jx(e.id);
- rE.set(t, {
+ }), p = Gx(e.id);
+ qT.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = UE({
+ let m = NE({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = HE(n, { isDisabled: t.collection.size !== 0 }), g = K(dC(e, { labelable: !0 }), {
+ }), h = ME(n, { isDisabled: t.collection.size !== 0 }), g = K(YS(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), BE({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), AE({}, t), { gridProps: g };
}
// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function GE(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 = lx();
- t = Jx(t);
+function FE(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 = ox();
+ t = Gx(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && Hw(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Mw(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -25877,11 +25877,11 @@ function GE(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 && (qS(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 && (jS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, P.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? NS(i.current) : s ? s() : Bb() !== i.current && i.current && Ux(i.current));
+ r === n.focusedKey && n.isFocused && (o ? bS(i.current) : s ? s() : Lb() !== i.current && i.current && Bx(i.current));
}, [
i,
r,
@@ -25909,22 +25909,22 @@ function GE(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 || qE(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || LE(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" && !KE(e.key)) return;
+ if (e.pointerType === "keyboard" && !IE(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 || qE(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || LE(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && KE(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 && IE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = Tae(n.collection);
+ let A = Fae(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));
@@ -25939,10 +25939,10 @@ function GE(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = Wx(k[e], D[e]));
- let { pressProps: j, isPressed: M } = TC(k), ee = x ? (e) => {
+ ]) D[e] && (k[e] = Vx(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = uC(k), ee = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: te } = OT({
+ } : void 0, { longPressProps: te } = vT({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -25950,7 +25950,7 @@ function GE(e) {
}), ne = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, N = d !== "none" && n.isLink(r) ? (e) => {
- ux.isOpening || e.preventDefault();
+ sx.isOpening || e.preventDefault();
} : void 0, re = K(m, v || b || o && !c ? j : {}, w ? te : {}, {
onDoubleClick: ee,
onDragStartCapture: ne,
@@ -25963,7 +25963,7 @@ function GE(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return Kb(e);
+ return Ub(e);
}, F = re.onPointerDown;
re.onPointerDown = (e) => {
let t = G(e);
@@ -25983,14 +25983,14 @@ function GE(e) {
hasAction: S
};
}
-function KE(e) {
+function IE(e) {
return e === "Enter";
}
-function qE(e) {
+function LE(e) {
return e === " ";
}
// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var JE = {
+var RE = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -26000,18 +26000,18 @@ var JE = {
rtl: "ArrowRight"
}
};
-function Uae(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = rC(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = rE.get(t), f = Yx(), p = (0, P.useRef)(null), m = () => {
+function $ae(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = VS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = qT.get(t), f = Kx(), p = (0, P.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (Hb(n.current) && n.current !== Bb(Mb(n.current))) return;
- let e = qC(n.current, { tabbable: !0 }).firstChild();
+ if (zb(n.current) && n.current !== Lb(kb(n.current))) return;
+ let e = LC(n.current, { tabbable: !0 }).firstChild();
if (e) {
- Ux(e), iw(e, { containingElement: tw(e) });
+ Bx(e), JC(e, { containingElement: GC(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !Hb(n.current)) && Ux(n.current);
+ (p.current != null && r.key !== p.current || !zb(n.current)) && Bx(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -26021,7 +26021,7 @@ function Uae(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = Wae(e, t.collection);
+ let n = eoe(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;
@@ -26032,75 +26032,75 @@ function Uae(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = GE({
+ let { itemProps: v, ...y } = FE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? Wx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? Vx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = Bb(Mb(n.current));
- if (!zb(e.currentTarget, G(e)) || !n.current || !i) return;
- let a = qC(n.current);
- if (a.currentNode = i, !YE(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = Lb(kb(n.current));
+ if (!Ib(e.currentTarget, G(e)) || !n.current || !i) return;
+ let a = LC(n.current);
+ if (a.currentNode = i, !zE(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(), Ux(t), iw(t, { containingElement: tw(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Ux(n.current), iw(n.current, { containingElement: tw(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Bx(t), JC(t, { containingElement: GC(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Bx(n.current), JC(n.current, { containingElement: GC(n.current) });
else {
a.currentNode = n.current;
- let e = XE(a);
- e && (Ux(e), iw(e, { containingElement: tw(n.current) }));
+ let e = BE(a);
+ e && (Bx(e), JC(e, { containingElement: GC(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), Ux(t), iw(t, { containingElement: tw(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Ux(n.current), iw(n.current, { containingElement: tw(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Bx(t), JC(t, { containingElement: GC(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Bx(n.current), JC(n.current, { containingElement: GC(n.current) });
else {
a.currentNode = n.current;
- let e = XE(a);
- e && (Ux(e), iw(e, { containingElement: tw(n.current) }));
+ let e = BE(a);
+ e && (Bx(e), JC(e, { containingElement: GC(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && zb(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && Ib(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 && zb(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && Bb(Mb(n.current)) === n.current && m();
- }) : jx() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && Ib(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && Lb(kb(n.current)) === n.current && m();
+ }) : Ox() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = Bb(Mb(n.current));
- if (zb(e.currentTarget, G(e)) && n.current && i) {
+ let i = Lb(kb(n.current));
+ if (Ib(e.currentTarget, G(e)) && n.current && i) {
if (u === "tab") {
if (G(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (YE(e, t, r, g, s, i, n.current, o)) return;
+ if (zE(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = qC(n.current, { tabbable: !0 });
+ let t = LC(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = dx(r.props), w = K(v, y.hasAction ? C : {}, {
+ }, C = cx(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) ? `${iE(t, r.key)} ${f}` : void 0,
- id: iE(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${JT(t, r.key)} ${f}` : void 0,
+ id: JT(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -26121,66 +26121,66 @@ function Uae(e, t, n) {
...y
};
}
-function YE(e, t, n, r, i, a, o, s) {
+function zE(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === JE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === JE.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === RE.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === RE.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 XE(e) {
+function BE(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function Wae(e, t) {
+function eoe(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 Gae(e) {
+function toe(e) {
return e && e.__esModule ? e.default : e;
}
-function ZE(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Jx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function VE(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = Gx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": lC(Gae(zE), "@react-aria/grid").format("select"),
+ "aria-label": qS(toe(kE), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
} };
}
// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Kae(e, t) {
- let { key: n } = e, { checkboxProps: r } = ZE(e, t);
+function noe(e, t) {
+ let { key: n } = e, { checkboxProps: r } = VE(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${iE(t, n)}`
+ "aria-labelledby": `${r.id} ${JT(t, n)}`
} };
}
// node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function qae(e, t, n) {
- let r = dC(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function roe(e, t, n) {
+ let r = YS(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 } = WE({
+ let { listProps: s } = PE({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = Sw({
+ }), { focusWithinProps: c } = fw({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Jx(e.id);
- Vw.set(t, {
+ }), l = Gx(e.id);
+ jw.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -26190,7 +26190,7 @@ function qae(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = bw({
+ let { labelProps: u, fieldProps: d } = uw({
...e,
id: l,
labelElementType: "span"
@@ -26205,8 +26205,8 @@ function qae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Jae(e) {
- let { heading: t, "aria-label": n } = e, r = Jx();
+function ioe(e) {
+ let { heading: t, "aria-label": n } = e, r = Gx();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26224,8 +26224,8 @@ function Jae(e) {
};
}
// node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Yae(e, t, n) {
- let { key: r } = e, i = Vw.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 = Yx(), f = Yx(), p = {
+function aoe(e, t, n) {
+ let { key: r } = e, i = jw.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 = Kx(), f = Kx(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -26235,9 +26235,9 @@ function Yae(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"] = HT(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = MT(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Cae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = GE({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Nae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = FE({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -26246,18 +26246,18 @@ function Yae(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? Wx(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? Vx(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = tE({
+ }), { hoverProps: S } = GT({
isDisabled: a || !c,
onHoverStart() {
- jx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ Ox() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = dC(m?.props);
+ }), C = YS(m?.props);
delete C.id;
- let w = fx(m?.props);
+ let w = lx(m?.props);
return {
optionProps: {
...p,
@@ -26267,7 +26267,7 @@ function Yae(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && jx(),
+ isFocusVisible: y && t.selectionManager.isFocused && Ox(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -26276,12 +26276,12 @@ function Yae(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/utils.mjs
-var QE = /* @__PURE__ */ new WeakMap();
+var HE = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Xae(e, t, n) {
+function ooe(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = dC(e, { labelable: !0 }), { listProps: c } = WE({
+ let s = YS(e, { labelable: !0 }), { listProps: c } = PE({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -26290,7 +26290,7 @@ function Xae(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return QE.set(t, {
+ return HE.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -26306,15 +26306,15 @@ function Xae(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Zae(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 = QE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = lx(), M = () => {
+function soe(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 = HE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = ox(), 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 = Yx(), ne = Yx(), N = Yx(), re = {
+ let te = Kx(), ne = Kx(), N = Kx(), re = {
id: r,
"aria-disabled": E || void 0,
role: ee,
@@ -26331,17 +26331,17 @@ function Zae(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"] = HT(t.collection);
+ re["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, re["aria-setsize"] = MT(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(), Hre(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), Gre(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 } = GE({
+ }, { itemProps: ce, isFocused: le } = FE({
id: r,
selectionManager: C,
key: i,
@@ -26350,27 +26350,27 @@ function Zae(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: ue, isPressed: de } = TC({
+ }), { pressProps: ue, isPressed: de } = uC({
onPressStart: l,
onPress: d,
onPressUp: oe,
onPressChange: F,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: fe } = tE({
+ }), { hoverProps: fe } = GT({
isDisabled: E,
onHoverStart(e) {
- !jx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !Ox() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: pe } = iS({
+ }), { keyboardProps: pe } = tS({
shortcuts: {
" ": (e) => {
ae.current = {
pointerType: "keyboard",
key: " "
- }, G(e).click(), Nx("keyboard");
+ }, G(e).click(), Ax("keyboard");
},
Enter: (e) => {
ae.current = {
@@ -26378,8 +26378,8 @@ function Zae(e, t, n) {
key: "Enter"
};
let t = G(e);
- if (t.tagName !== "A") t.click(), Nx("keyboard");
- else return Nx("keyboard"), {
+ if (t.tagName !== "A") t.click(), Ax("keyboard");
+ else return Ax("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -26387,13 +26387,13 @@ function Zae(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: me } = cS({
+ }), { focusableProps: me } = aS({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), he = dC(k?.props);
+ }, n), he = YS(k?.props);
delete he.id;
- let I = fx(k?.props);
+ let I = lx(k?.props);
return {
menuItemProps: {
...re,
@@ -26408,15 +26408,15 @@ function Zae(e, t, n) {
descriptionProps: { id: ne },
keyboardShortcutProps: { id: N },
isFocused: le,
- isFocusVisible: le && C.isFocused && jx() && !T,
+ isFocusVisible: le && C.isFocused && Ox() && !T,
isSelected: D,
isPressed: de,
isDisabled: E
};
}
// node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function Qae(e) {
- let { heading: t, "aria-label": n } = e, r = Jx();
+function coe(e) {
+ let { heading: t, "aria-label": n } = e, r = Gx();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26431,15 +26431,15 @@ function Qae(e) {
};
}
// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function $ae() {
+function loe() {
return window.ResizeObserver !== void 0;
}
-function $E(e) {
- let { ref: t, box: n, onResize: r } = e, i = YS(r);
+function UE(e) {
+ let { ref: t, box: n, onResize: r } = e, i = NS(r);
(0, P.useEffect)(() => {
let e = t?.current;
if (e) {
- if ($ae()) {
+ if (loe()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -26454,154 +26454,154 @@ function $E(e) {
}, [t, n]);
}
// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var eD = {};
-eD = { dismiss: "تجاهل" };
+var WE = {};
+WE = { dismiss: "تجاهل" };
// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var tD = {};
-tD = { dismiss: "Отхвърляне" };
+var GE = {};
+GE = { dismiss: "Отхвърляне" };
// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var nD = {};
-nD = { dismiss: "Odstranit" };
+var KE = {};
+KE = { dismiss: "Odstranit" };
// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var rD = {};
-rD = { dismiss: "Luk" };
+var qE = {};
+qE = { dismiss: "Luk" };
// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var iD = {};
-iD = { dismiss: "Schließen" };
+var JE = {};
+JE = { dismiss: "Schließen" };
// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var aD = {};
-aD = { dismiss: "Απόρριψη" };
+var YE = {};
+YE = { dismiss: "Απόρριψη" };
// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var oD = {};
-oD = { dismiss: "Dismiss" };
+var XE = {};
+XE = { dismiss: "Dismiss" };
// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var sD = {};
-sD = { dismiss: "Descartar" };
+var ZE = {};
+ZE = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var cD = {};
-cD = { dismiss: "Lõpeta" };
+var QE = {};
+QE = { dismiss: "Lõpeta" };
// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var lD = {};
-lD = { dismiss: "Hylkää" };
+var $E = {};
+$E = { dismiss: "Hylkää" };
// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var uD = {};
-uD = { dismiss: "Rejeter" };
+var eD = {};
+eD = { dismiss: "Rejeter" };
// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var dD = {};
-dD = { dismiss: "התעלם" };
+var tD = {};
+tD = { dismiss: "התעלם" };
// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var fD = {};
-fD = { dismiss: "Odbaci" };
+var nD = {};
+nD = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var pD = {};
-pD = { dismiss: "Elutasítás" };
+var rD = {};
+rD = { dismiss: "Elutasítás" };
// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var mD = {};
-mD = { dismiss: "Ignora" };
+var iD = {};
+iD = { dismiss: "Ignora" };
// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var hD = {};
-hD = { dismiss: "閉じる" };
+var aD = {};
+aD = { dismiss: "閉じる" };
// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var gD = {};
-gD = { dismiss: "무시" };
+var oD = {};
+oD = { dismiss: "무시" };
// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var _D = {};
-_D = { dismiss: "Atmesti" };
+var sD = {};
+sD = { dismiss: "Atmesti" };
// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var vD = {};
-vD = { dismiss: "Nerādīt" };
+var cD = {};
+cD = { dismiss: "Nerādīt" };
// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var yD = {};
-yD = { dismiss: "Lukk" };
+var lD = {};
+lD = { dismiss: "Lukk" };
// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var bD = {};
-bD = { dismiss: "Negeren" };
+var uD = {};
+uD = { dismiss: "Negeren" };
// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var xD = {};
-xD = { dismiss: "Zignoruj" };
+var dD = {};
+dD = { dismiss: "Zignoruj" };
// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var SD = {};
-SD = { dismiss: "Descartar" };
+var fD = {};
+fD = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var CD = {};
-CD = { dismiss: "Dispensar" };
+var pD = {};
+pD = { dismiss: "Dispensar" };
// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var wD = {};
-wD = { dismiss: "Revocare" };
+var mD = {};
+mD = { dismiss: "Revocare" };
// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var TD = {};
-TD = { dismiss: "Пропустить" };
+var hD = {};
+hD = { dismiss: "Пропустить" };
// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var ED = {};
-ED = { dismiss: "Zrušiť" };
+var gD = {};
+gD = { dismiss: "Zrušiť" };
// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var DD = {};
-DD = { dismiss: "Opusti" };
+var _D = {};
+_D = { dismiss: "Opusti" };
// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var OD = {};
-OD = { dismiss: "Odbaci" };
+var vD = {};
+vD = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var kD = {};
-kD = { dismiss: "Avvisa" };
+var yD = {};
+yD = { dismiss: "Avvisa" };
// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var AD = {};
-AD = { dismiss: "Kapat" };
+var bD = {};
+bD = { dismiss: "Kapat" };
// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var jD = {};
-jD = { dismiss: "Скасувати" };
+var xD = {};
+xD = { dismiss: "Скасувати" };
// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var MD = {};
-MD = { dismiss: "取消" };
+var SD = {};
+SD = { dismiss: "取消" };
// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var ND = {};
-ND = { dismiss: "關閉" };
+var CD = {};
+CD = { dismiss: "關閉" };
// node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var PD = {};
-PD = {
- "ar-AE": eD,
- "bg-BG": tD,
- "cs-CZ": nD,
- "da-DK": rD,
- "de-DE": iD,
- "el-GR": aD,
- "en-US": oD,
- "es-ES": sD,
- "et-EE": cD,
- "fi-FI": lD,
- "fr-FR": uD,
- "he-IL": dD,
- "hr-HR": fD,
- "hu-HU": pD,
- "it-IT": mD,
- "ja-JP": hD,
- "ko-KR": gD,
- "lt-LT": _D,
- "lv-LV": vD,
- "nb-NO": yD,
- "nl-NL": bD,
- "pl-PL": xD,
- "pt-BR": SD,
- "pt-PT": CD,
- "ro-RO": wD,
- "ru-RU": TD,
- "sk-SK": ED,
- "sl-SI": DD,
- "sr-SP": OD,
- "sv-SE": kD,
- "tr-TR": AD,
- "uk-UA": jD,
- "zh-CN": MD,
- "zh-TW": ND
+var wD = {};
+wD = {
+ "ar-AE": WE,
+ "bg-BG": GE,
+ "cs-CZ": KE,
+ "da-DK": qE,
+ "de-DE": JE,
+ "el-GR": YE,
+ "en-US": XE,
+ "es-ES": ZE,
+ "et-EE": QE,
+ "fi-FI": $E,
+ "fr-FR": eD,
+ "he-IL": tD,
+ "hr-HR": nD,
+ "hu-HU": rD,
+ "it-IT": iD,
+ "ja-JP": aD,
+ "ko-KR": oD,
+ "lt-LT": sD,
+ "lv-LV": cD,
+ "nb-NO": lD,
+ "nl-NL": uD,
+ "pl-PL": dD,
+ "pt-BR": fD,
+ "pt-PT": pD,
+ "ro-RO": mD,
+ "ru-RU": hD,
+ "sk-SK": gD,
+ "sl-SI": _D,
+ "sr-SP": vD,
+ "sv-SE": yD,
+ "tr-TR": bD,
+ "uk-UA": xD,
+ "zh-CN": SD,
+ "zh-TW": CD
};
// node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function FD(e) {
+function uoe(e) {
return e && e.__esModule ? e.default : e;
}
-function ID(e) {
- let { onDismiss: t, ...n } = e, r = ZS(n, lC(FD(PD), "@react-aria/overlays").format("dismiss")), i = () => {
+function TD(e) {
+ let { onDismiss: t, ...n } = e, r = FS(n, qS(uoe(wD), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ P.createElement(Nw, null, /*#__PURE__*/ P.createElement("button", {
+ return /*#__PURE__*/ P.createElement(Cw, null, /*#__PURE__*/ P.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -26612,35 +26612,35 @@ function ID(e) {
}));
}
// node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var LD = [];
-function RD(e, t) {
+var ED = [];
+function DD(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 && !LD.includes(t)) return LD.push(t), () => {
- let e = LD.indexOf(t);
- e >= 0 && LD.splice(e, 1);
+ if (i && !ED.includes(t)) return ED.push(t), () => {
+ let e = ED.indexOf(t);
+ e >= 0 && ED.splice(e, 1);
};
}, [i, t]);
let l = () => {
- LD[LD.length - 1] === t && n && n();
+ ED[ED.length - 1] === t && n && n();
}, u = (e) => {
- let n = LD[LD.length - 1];
+ let n = ED[ED.length - 1];
c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(G(e))) && (LD[LD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = iS({ shortcuts: { Escape: () => {
+ (!s || s(G(e))) && (ED[ED.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = tS({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Rae({
+ Jae({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = Sw({
+ let { focusWithinProps: p } = fw({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Xie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !oae(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -26652,87 +26652,87 @@ function RD(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var zD = 200, eoe = 50, toe = 600, BD = /* @__PURE__ */ new WeakMap(), VD = /* @__PURE__ */ new Set(), HD = /* @__PURE__ */ new Set();
-function noe(e, t) {
- let n = JS();
- if (e !== n || t.aborted) for (let e of HD) e(n), HD.delete(e);
- if (!e && n && ax() && !t.aborted) window.clearInterval(BD.get(window)), BD.set(window, UD(zD));
+var doe = 200, foe = 50, poe = 600, OD = /* @__PURE__ */ new WeakMap(), kD = /* @__PURE__ */ new Set(), AD = /* @__PURE__ */ new Set();
+function moe(e, t) {
+ let n = MS();
+ if (e !== n || t.aborted) for (let e of AD) e(n), AD.delete(e);
+ if (!e && n && nx() && !t.aborted) window.clearInterval(OD.get(window)), OD.set(window, jD(doe));
else {
- if (e !== n || t.aborted) for (let e of VD) e(n), VD.delete(e);
- (HD.size + VD.size <= 0 || t.aborted) && (window.clearInterval(BD.get(window)), BD.delete(window));
+ if (e !== n || t.aborted) for (let e of kD) e(n), kD.delete(e);
+ (AD.size + kD.size <= 0 || t.aborted) && (window.clearInterval(OD.get(window)), OD.delete(window));
}
}
-function UD(e = toe) {
- return window.setInterval(noe, eoe, JS(), AbortSignal.timeout(e));
+function jD(e = poe) {
+ return window.setInterval(moe, foe, MS(), AbortSignal.timeout(e));
}
-function WD(e) {
- if (!GS()) return e(!1), () => {};
+function MD(e) {
+ if (!kS()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = KS(document.hasFocus() ? Bb() : null);
- if (JS() === t || JS() && !t) return e(t);
- HD.add(e), BD.has(window) || BD.set(window, UD());
+ let t = AS(document.hasFocus() ? Lb() : null);
+ if (MS() === t || MS() && !t) return e(t);
+ AD.add(e), OD.has(window) || OD.set(window, jD());
});
});
return () => {
- window.cancelAnimationFrame(t), HD.delete(e);
+ window.cancelAnimationFrame(t), AD.delete(e);
};
}
-function roe(e) {
- if (!GS()) return e(!1), () => {};
+function hoe(e) {
+ if (!kS()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = KS(document.hasFocus() ? Bb() : null);
- if (JS() === t) return e(t);
- VD.add(e), BD.has(window) || BD.set(window, UD());
+ let t = AS(document.hasFocus() ? Lb() : null);
+ if (MS() === t) return e(t);
+ kD.add(e), OD.has(window) || OD.set(window, jD());
});
});
return () => {
- window.cancelAnimationFrame(t), VD.delete(e);
+ window.cancelAnimationFrame(t), kD.delete(e);
};
}
// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var GD = typeof document < "u" && window.visualViewport, KD = 0, qD;
-function JD(e = {}) {
+var ND = typeof document < "u" && window.visualViewport, PD = 0, FD;
+function ID(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- Jb(() => {
- if (!t) return KD++, KD === 1 && (qD = ix() && ax() ? aoe() : ioe(n)), () => {
- KD--, KD === 0 && qD();
+ Gb(() => {
+ if (!t) return PD++, PD === 1 && (FD = tx() && nx() ? _oe() : goe(n)), () => {
+ PD--, PD === 0 && FD();
};
}, [t, n]);
}
-function ioe(e) {
+function goe(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return Wx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Lb(document.documentElement, "scrollbar-gutter", "stable") : Lb(document.documentElement, "padding-right", `${t}px`)), Lb(document.documentElement, "overflow", "hidden"), e && XD(), e && GS() && YD());
+ return Vx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Pb(document.documentElement, "scrollbar-gutter", "stable") : Pb(document.documentElement, "padding-right", `${t}px`)), Pb(document.documentElement, "overflow", "hidden"), e && RD(), e && kS() && LD());
}
-function aoe() {
- let e = Lb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function _oe() {
+ let e = Pb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = G(e);
- t = ew(r, !0) ? r : tw(r, !0), n = !1;
+ t = WC(r, !0) ? r : GC(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 = vC();
+ }, i = document.createElement("style"), a = nC();
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 = XD(), c = Wx(Ib(document, "touchstart", r, {
+ }, s = RD(), c = Vx(Nb(document, "touchstart", r, {
passive: !1,
capture: !0
- }), Ib(document, "touchmove", o, {
+ }), Nb(document, "touchmove", o, {
passive: !1,
capture: !0
- }), YD());
+ }), LD());
return () => {
e(), c(), i.remove(), s();
};
}
-function YD() {
- return Ib(document, "blur", (e) => {
+function LD() {
+ return Nb(document, "blur", (e) => {
let t = G(e), n = e.relatedTarget;
- n && KS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && AS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function XD() {
+function RD() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -26743,9 +26743,9 @@ function XD() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- Bb() === this && ooe(this);
+ Lb() === this && voe(this);
};
- WD((t) => t ? e() : roe(() => e()));
+ MD((t) => t ? e() : hoe(() => e()));
}
}
}), () => {
@@ -26756,15 +26756,15 @@ function XD() {
});
};
}
-function ooe(e) {
+function voe(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = tw(n);
+ let e = GC(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;
- GD && (n = Math.min(n, GD.offsetTop + GD.height));
+ ND && (n = Math.min(n, ND.offsetTop + ND.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)),
@@ -26776,19 +26776,19 @@ function ooe(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function soe(e, t, n) {
- let { overlayProps: r, underlayProps: i } = RD({
+function yoe(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = DD({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- JD({
+ ID({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), XT();
+ }), BT();
let { isEntering: a } = e;
return (0, P.useEffect)(() => {
- if (t.isOpen && n.current) return a ? Bw(n.current) : zw([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? Aw(n.current) : kw([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -26799,33 +26799,33 @@ function soe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var ZD = {
+var zD = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, QD = {
+}, BD = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, coe = {
+}, boe = {
top: "left",
left: "top"
-}, $D = {
+}, VD = {
top: "height",
left: "width"
-}, eO = {
+}, HD = {
width: "totalWidth",
height: "totalHeight"
-}, tO = {}, loe = () => typeof document < "u" ? window.visualViewport : null;
-function nO(e, t) {
+}, UD = {}, xoe = () => typeof document < "u" ? window.visualViewport : null;
+function WD(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} = cO(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return ax() && (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} = XD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return nx() && (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,
@@ -26835,7 +26835,7 @@ function nO(e, t) {
left: s
};
}
-function uoe(e) {
+function Soe(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -26843,11 +26843,11 @@ function uoe(e) {
height: e.scrollHeight
};
}
-function rO(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[$D[e]], l = o[e] + r.scroll[ZD[e]] + a, u = o[e] + r.scroll[ZD[e]] + c - a, d = t - s + r.scroll[ZD[e]] + o[e] - r[ZD[e]], f = t - s + n + r.scroll[ZD[e]] + o[e] - r[ZD[e]];
+function GD(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[VD[e]], l = o[e] + r.scroll[zD[e]] + a, u = o[e] + r.scroll[zD[e]] + c - a, d = t - s + r.scroll[zD[e]] + o[e] - r[zD[e]], f = t - s + n + r.scroll[zD[e]] + o[e] - r[zD[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function doe(e) {
+function Coe(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -26856,55 +26856,55 @@ function doe(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function iO(e) {
- if (tO[e]) return tO[e];
- let [t, n] = e.split(" "), r = ZD[t] || "right", i = coe[r];
- ZD[n] || (n = "center");
- let a = $D[r], o = $D[i];
- return tO[e] = {
+function KD(e) {
+ if (UD[e]) return UD[e];
+ let [t, n] = e.split(" "), r = zD[t] || "right", i = boe[r];
+ zD[n] || (n = "center");
+ let a = VD[r], o = VD[i];
+ return UD[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, tO[e];
+ }, UD[e];
}
-function aO(e, t, n, r, i, a, o, s, c, l, u) {
+function qD(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] = Tw(_[m], v, y), d === p) {
- let t = s ? u[h] : u[eO[h]];
- _[QD[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = hw(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[HD[h]];
+ _[BD[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function foe(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[eO.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function woe(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[HD.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 oO(e, t, n, r, i, a, o, s) {
+function JD(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[QD[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[QD[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[BD[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[BD[l]] - i);
}
-function poe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = iO(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = aO(t, s, n, v, u, d, l, f, m, h, c), T = u, E = oO(s, l, t, i, a + u, v, c, g);
+function Toe(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 = qD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = JD(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = iO(`${QD[S]} ${C}`), r = aO(t, s, n, e, u, d, l, f, m, h, c);
- oO(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = KD(`${BD[S]} ${C}`), r = qD(t, s, n, e, u, d, l, f, m, h, c);
+ JD(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 = rO(b, w[b], n[x], s, c, a, l);
+ let O = GD(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = foe(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = aO(t, s, n, v, T, d, l, f, m, h, c), O = rO(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[ZD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = ZD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;
- A[b] = Tw(Tw(M, t[b] + m / 2 - (w[b] + i[ZD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[ZD[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 = woe(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = qD(t, s, n, v, T, d, l, f, m, h, c), O = GD(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[zD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = zD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;
+ A[b] = hw(hw(M, t[b] + m / 2 - (w[b] + i[zD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[zD[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
@@ -26918,17 +26918,17 @@ function poe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: re
};
}
-function moe(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 = loe(), h = r instanceof HTMLElement ? hoe(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? cO(n, !1, p) : lO(n, h, !1, p);
+function Eoe(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 = xoe(), h = r instanceof HTMLElement ? Doe(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? XD(n, !1, p) : ZD(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 = cO(r, !0), x = doe(r);
+ let b = XD(r, !0), x = Coe(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = uoe(i), C = nO(s, m), w = nO(h, m), T;
+ let S = Soe(i), C = WD(s, m), w = WD(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = sO(h, !1);
+ let e = YD(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -26940,11 +26940,11 @@ function moe(e) {
left: 0,
width: 0,
height: 0
- } : lO(s, h, !1);
- let E = zb(s, h);
- return poe(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : ZD(s, h, !1);
+ let E = Ib(s, h);
+ return Toe(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function sO(e, t) {
+function YD(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,
@@ -26953,8 +26953,8 @@ function sO(e, t) {
height: a
};
}
-function cO(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || sO(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function XD(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || YD(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -26962,29 +26962,29 @@ function cO(e, t, n) {
height: o
};
}
-function lO(e, t, n, r) {
+function ZD(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || sO(e, n);
+ if (i.position === "fixed") a = r || YD(e, n);
else {
- a = cO(e, n, r);
- let i = cO(t, n), o = window.getComputedStyle(t);
+ a = XD(e, n, r);
+ let i = XD(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 hoe(e) {
+function Doe(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !uO(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !uO(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !QD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !QD(t);) t = t.parentElement;
return t || document.documentElement;
}
-function uO(e) {
+function QD(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 dO = typeof document < "u" ? window.visualViewport : null;
-function goe(e) {
- let { direction: t } = rC(), { 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 $D = typeof document < "u" ? window.visualViewport : null;
+function Ooe(e) {
+ let { direction: t } = VS(), { 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,
@@ -27001,15 +27001,15 @@ function goe(e) {
g,
_,
n
- ], S = (0, P.useRef)(dO?.scale);
+ ], S = (0, P.useRef)($D?.scale);
(0, P.useEffect)(() => {
- m && (S.current = dO?.scale);
+ m && (S.current = $D?.scale);
}, [m]);
let C = (0, P.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || dO?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || $D?.scale !== S.current) return;
let e = null;
- if (o.current && Hb(o.current)) {
- let t = Bb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && zb(o.current)) {
+ let t = Lb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -27017,8 +27017,8 @@ function goe(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 = moe({
- placement: voe(s, t),
+ let y = Eoe({
+ placement: Aoe(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -27028,28 +27028,28 @@ function goe(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? sO(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? YD(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 = Bb();
+ let x = Lb();
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);
- Jb(C, x), _oe(C), $E({
+ Gb(C, x), koe(C), UE({
ref: i,
onResize: C
- }), $E({
+ }), UE({
ref: r,
onResize: C
});
let w = (0, P.useRef)(!1);
- Jb(() => {
+ Gb(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -27057,16 +27057,16 @@ function goe(e) {
}, n = () => {
w.current && t();
};
- dO?.addEventListener("resize", t), dO?.addEventListener("scroll", n);
- let r = Ib(Vb(window), "scroll", n);
+ $D?.addEventListener("resize", t), $D?.addEventListener("scroll", n);
+ let r = Nb(Rb(window), "scroll", n);
return () => {
- dO?.removeEventListener("resize", t), dO?.removeEventListener("scroll", n), r();
+ $D?.removeEventListener("resize", t), $D?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, P.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Oae({
+ return Rae({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -27092,24 +27092,24 @@ function goe(e) {
updatePosition: C
};
}
-function _oe(e) {
- Jb(() => (window.addEventListener("resize", e, !1), () => {
+function koe(e) {
+ Gb(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function voe(e, t) {
+function Aoe(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 yoe(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 } = RD({
+function joe(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 } = DD({
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 } = goe({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Ooe({
...c,
targetRef: n,
overlayRef: r,
@@ -27117,15 +27117,15 @@ function yoe(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)
});
- JD({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Bw(i?.current ?? r.current) : zw([i?.current ?? r.current], { shouldUseInert: !0 });
+ ID({ isDisabled: a || !t.isOpen }), (0, P.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Aw(i?.current ?? r.current) : kw([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = Sw(e);
+ let { focusWithinProps: g } = fw(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -27135,12 +27135,12 @@ function yoe(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var fO = /* @__PURE__ */ new WeakMap();
+var eO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function boe(e, t, n) {
+function Moe(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: _ } = TC({
+ }, { pressProps: g, isPressed: _ } = uC({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -27148,7 +27148,7 @@ function boe(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = TC({
+ }), { pressProps: v, isPressed: y } = uC({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -27158,11 +27158,11 @@ function boe(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = cS(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = dC(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = aS(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = YS(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 } = fO.get(t);
- sw(n, t.defaultSelectedValue, t.setSelectedValue), cw({ validationBehavior: O }, t, n);
- let k = lw();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = eO.get(t);
+ ZC(n, t.defaultSelectedValue, t.setSelectedValue), QC({ validationBehavior: O }, t, n);
+ let k = $C();
return {
labelProps: K(v, (0, P.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -27193,13 +27193,13 @@ function boe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function xoe(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = rC(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = xw({
+function Noe(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = VS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = dw({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = dC(e, { labelable: !0 }), { focusWithinProps: v } = Sw({
+ }), _ = YS(e, { labelable: !0 }), { focusWithinProps: v } = fw({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -27207,13 +27207,13 @@ function xoe(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = qC(n.currentTarget, {
+ let r = LC(n.currentTarget, {
from: G(n),
- accept: (e) => e instanceof Nb(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof Ab(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 } = iS({
+ let { keyboardProps: b } = tS({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -27221,8 +27221,8 @@ function xoe(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Jx(n);
- return fO.set(t, {
+ }), x = Gx(n);
+ return eO.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -27250,21 +27250,21 @@ function xoe(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-var pO = /* @__PURE__ */ new WeakMap();
-function Soe(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = WT({
+var tO = /* @__PURE__ */ new WeakMap();
+function Poe(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = PT({
usage: "search",
sensitivity: "base"
- }), u = (0, P.useMemo)(() => r || new Kw(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, P.useMemo)(() => r || new Iw(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = AT({
+ ]), { menuTriggerProps: d, menuProps: f } = bT({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = iS({
+ }, t, n), { keyboardProps: p } = tS({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -27280,21 +27280,21 @@ function Soe(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = MT({
+ }), { typeSelectProps: m } = ST({
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 } = xw({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = dw({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = dC(e, { labelable: !0 }), C = K(m, d, y), w = Jx();
- return pO.set(t, {
+ let S = YS(e, { labelable: !0 }), C = K(m, d, y), w = Gx();
+ return tO.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -27304,13 +27304,13 @@ function Soe(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), Nx("keyboard"));
+ e.isDisabled || (n.current?.focus(), Ax("keyboard"));
}
},
triggerProps: K(S, {
...C,
isDisabled: i,
- onKeyDown: Wx(C.onKeyDown, p.onKeyDown),
+ onKeyDown: Vx(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -27334,7 +27334,7 @@ function Soe(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- zb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ Ib(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(" ")
},
@@ -27354,13 +27354,13 @@ function Soe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function Coe(e, t, n) {
- let r = pO.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Mw({ style: {
+function Foe(e, t, n) {
+ let r = tO.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Sw({ style: {
position: "fixed",
top: 0,
left: 0
} });
- sw(e.selectRef, t.defaultValue, t.setValue), cw({
+ ZC(e.selectRef, t.defaultValue, t.setValue), QC({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -27390,8 +27390,8 @@ function Coe(e, t, n) {
}
};
}
-function woe(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 } = Coe({
+function Ioe(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 } = Foe({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -27415,7 +27415,7 @@ function woe(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = pO.get(t) || {};
+ let { validationBehavior: e } = tO.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -27445,8 +27445,8 @@ function woe(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Toe(e) {
- let t = dC(e, { labelable: !0 }), n;
+function Loe(e) {
+ let t = YS(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -27454,8 +27454,8 @@ function Toe(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Eoe(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = vw(e, t, n);
+function Roe(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = cw(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -27468,10 +27468,10 @@ function Eoe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var mO = class {
+var nO = 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 Doe(e.layout) : new Gw(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new zoe(e.layout) : new Fw(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -27507,7 +27507,7 @@ var mO = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of FT(n, this.collection)) {
+ for (let e of TT(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -27541,13 +27541,13 @@ var mO = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = FT(t, this.collection);
- return (this.direction === "rtl" ? RT(e)?.key : IT(e)?.key) ?? null;
+ let e = TT(t, this.collection);
+ return (this.direction === "rtl" ? OT(e)?.key : ET(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = FT(n, this.collection), i = (this.direction === "rtl" ? LT(r, t.index - 1) : LT(r, t.index + 1)) ?? null;
+ let r = TT(n, this.collection), i = (this.direction === "rtl" ? DT(r, t.index - 1) : DT(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;
@@ -27556,13 +27556,13 @@ var mO = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = FT(t, this.collection);
- return (this.direction === "rtl" ? IT(e)?.key : RT(e)?.key) ?? null;
+ let e = TT(t, this.collection);
+ return (this.direction === "rtl" ? ET(e)?.key : OT(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = FT(n, this.collection), i = (this.direction === "rtl" ? LT(r, t.index + 1) : LT(r, t.index - 1)) ?? null;
+ let r = TT(n, this.collection), i = (this.direction === "rtl" ? DT(r, t.index + 1) : DT(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;
@@ -27573,13 +27573,13 @@ var mO = 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 ? IT(FT(e, this.collection))?.key ?? null : null;
+ return e ? ET(TT(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 = IT(FT(e, this.collection))?.key ?? null;
+ n = ET(TT(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27589,13 +27589,13 @@ var mO = 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 ? RT(FT(e, this.collection))?.key ?? null : null;
+ return e ? OT(TT(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 = RT(FT(e, this.collection))?.key ?? null;
+ n = OT(TT(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27631,13 +27631,13 @@ var mO = 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" ? IT(FT(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? ET(TT(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;
}
-}, Doe = class {
+}, zoe = class {
constructor(e) {
this.layout = e;
}
@@ -27650,15 +27650,15 @@ var mO = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, hO = /* @__PURE__ */ new WeakMap();
+}, rO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Ooe(e, t, n) {
+function Boe(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 = WT({
+ let h = PT({
usage: "search",
sensitivity: "base"
- }), { direction: g } = rC(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new mO({
+ }), { direction: g } = VS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new nO({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -27675,7 +27675,7 @@ function Ooe(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = PT({
+ ]), { collectionProps: y } = wT({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -27683,8 +27683,8 @@ function Ooe(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Jx(e.id);
- hO.set(t, {
+ }), b = Gx(e.id);
+ rO.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -27693,42 +27693,42 @@ function Ooe(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = UE({
+ let x = NE({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = dC(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {
- m.isFocused ? zb(e.currentTarget, G(e)) || m.setFocused(!1) : zb(e.currentTarget, G(e)) && m.setFocused(!0);
+ }), S = YS(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);
}, [m]), w = (0, P.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = HE(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
+ }), [C, y.onBlur]), T = ME(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), BE({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), AE({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var gO = /* @__PURE__ */ new WeakMap();
-function _O(e) {
+var iO = /* @__PURE__ */ new WeakMap();
+function aO(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function vO(e, t) {
- let n = gO.get(e);
+function oO(e, t) {
+ let n = iO.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${_O(t)}`;
+ return `${n}-${aO(t)}`;
}
-function yO(e, t, n) {
- let r = gO.get(e);
+function sO(e, t, n) {
+ let r = iO.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${_O(t)}-${_O(n)}`;
+ return `${r}-${aO(t)}-${aO(n)}`;
}
-function bO(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => yO(e, t, n)).join(" ");
+function cO(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => sO(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var xO = {};
-xO = {
+var lO = {};
+lO = {
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: "طي",
@@ -27742,8 +27742,8 @@ xO = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var SO = {};
-SO = {
+var uO = {};
+uO = {
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: "Свиване",
@@ -27757,8 +27757,8 @@ SO = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var CO = {};
-CO = {
+var dO = {};
+dO = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -27772,8 +27772,8 @@ CO = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var wO = {};
-wO = {
+var fO = {};
+fO = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -27787,8 +27787,8 @@ wO = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var TO = {};
-TO = {
+var pO = {};
+pO = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -27802,8 +27802,8 @@ TO = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var EO = {};
-EO = {
+var mO = {};
+mO = {
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: "Σύμπτυξη",
@@ -27817,8 +27817,8 @@ EO = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var DO = {};
-DO = {
+var hO = {};
+hO = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -27832,8 +27832,8 @@ DO = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var OO = {};
-OO = {
+var gO = {};
+gO = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -27847,8 +27847,8 @@ OO = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var kO = {};
-kO = {
+var _O = {};
+_O = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -27862,8 +27862,8 @@ kO = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var AO = {};
-AO = {
+var vO = {};
+vO = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -27877,8 +27877,8 @@ AO = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var jO = {};
-jO = {
+var yO = {};
+yO = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -27892,8 +27892,8 @@ jO = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var MO = {};
-MO = {
+var bO = {};
+bO = {
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: "כווץ",
@@ -27907,8 +27907,8 @@ MO = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var NO = {};
-NO = {
+var xO = {};
+xO = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -27922,8 +27922,8 @@ NO = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var PO = {};
-PO = {
+var SO = {};
+SO = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -27937,8 +27937,8 @@ PO = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var FO = {};
-FO = {
+var CO = {};
+CO = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -27952,8 +27952,8 @@ FO = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var IO = {};
-IO = {
+var wO = {};
+wO = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -27967,8 +27967,8 @@ IO = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var LO = {};
-LO = {
+var TO = {};
+TO = {
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: "접기",
@@ -27982,8 +27982,8 @@ LO = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var RO = {};
-RO = {
+var EO = {};
+EO = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -27997,8 +27997,8 @@ RO = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var zO = {};
-zO = {
+var DO = {};
+DO = {
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",
@@ -28012,8 +28012,8 @@ zO = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var BO = {};
-BO = {
+var OO = {};
+OO = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -28027,8 +28027,8 @@ BO = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var VO = {};
-VO = {
+var kO = {};
+kO = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -28042,8 +28042,8 @@ VO = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var HO = {};
-HO = {
+var AO = {};
+AO = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -28057,8 +28057,8 @@ HO = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var UO = {};
-UO = {
+var jO = {};
+jO = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -28072,8 +28072,8 @@ UO = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var WO = {};
-WO = {
+var MO = {};
+MO = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -28087,8 +28087,8 @@ WO = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var GO = {};
-GO = {
+var NO = {};
+NO = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -28102,8 +28102,8 @@ GO = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var KO = {};
-KO = {
+var PO = {};
+PO = {
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: "Свернуть",
@@ -28117,8 +28117,8 @@ KO = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var qO = {};
-qO = {
+var FO = {};
+FO = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -28132,8 +28132,8 @@ qO = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var JO = {};
-JO = {
+var IO = {};
+IO = {
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",
@@ -28147,8 +28147,8 @@ JO = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var YO = {};
-YO = {
+var LO = {};
+LO = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -28162,8 +28162,8 @@ YO = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var XO = {};
-XO = {
+var RO = {};
+RO = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -28177,8 +28177,8 @@ XO = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var ZO = {};
-ZO = {
+var zO = {};
+zO = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -28192,8 +28192,8 @@ ZO = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var QO = {};
-QO = {
+var BO = {};
+BO = {
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: "Згорнути",
@@ -28207,8 +28207,8 @@ QO = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var $O = {};
-$O = {
+var VO = {};
+VO = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -28222,8 +28222,8 @@ $O = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var ek = {};
-ek = {
+var HO = {};
+HO = {
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: "收合",
@@ -28237,45 +28237,45 @@ ek = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var tk = {};
-tk = {
- "ar-AE": xO,
- "bg-BG": SO,
- "cs-CZ": CO,
- "da-DK": wO,
- "de-DE": TO,
- "el-GR": EO,
- "en-US": DO,
- "es-ES": OO,
- "et-EE": kO,
- "fi-FI": AO,
- "fr-FR": jO,
- "he-IL": MO,
- "hr-HR": NO,
- "hu-HU": PO,
- "it-IT": FO,
- "ja-JP": IO,
- "ko-KR": LO,
- "lt-LT": RO,
- "lv-LV": zO,
- "nb-NO": BO,
- "nl-NL": VO,
- "pl-PL": HO,
- "pt-BR": UO,
- "pt-PT": WO,
- "ro-RO": GO,
- "ru-RU": KO,
- "sk-SK": qO,
- "sl-SI": JO,
- "sr-SP": YO,
- "sv-SE": XO,
- "tr-TR": ZO,
- "uk-UA": QO,
- "zh-CN": $O,
- "zh-TW": ek
+var UO = {};
+UO = {
+ "ar-AE": lO,
+ "bg-BG": uO,
+ "cs-CZ": dO,
+ "da-DK": fO,
+ "de-DE": pO,
+ "el-GR": mO,
+ "en-US": hO,
+ "es-ES": gO,
+ "et-EE": _O,
+ "fi-FI": vO,
+ "fr-FR": yO,
+ "he-IL": bO,
+ "hr-HR": xO,
+ "hu-HU": SO,
+ "it-IT": CO,
+ "ja-JP": wO,
+ "ko-KR": TO,
+ "lt-LT": EO,
+ "lv-LV": DO,
+ "nb-NO": OO,
+ "nl-NL": kO,
+ "pl-PL": AO,
+ "pt-BR": jO,
+ "pt-PT": MO,
+ "ro-RO": NO,
+ "ru-RU": PO,
+ "sk-SK": FO,
+ "sl-SI": IO,
+ "sr-SP": LO,
+ "sv-SE": RO,
+ "tr-TR": zO,
+ "uk-UA": BO,
+ "zh-CN": VO,
+ "zh-TW": HO
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var koe = class extends mO {
+var Voe = class extends nO {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -28283,7 +28283,7 @@ var koe = class extends mO {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = IT(FT(n, this.collection));
+ let e = ET(TT(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);
@@ -28304,13 +28304,13 @@ var koe = class extends mO {
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 FT(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of TT(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 = [...FT(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...TT(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -28339,7 +28339,7 @@ var koe = class extends mO {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of FT(o, this.collection)) {
+ for (let r of TT(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);
@@ -28352,14 +28352,14 @@ var koe = class extends mO {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function Aoe(e) {
+function Hoe(e) {
return e && e.__esModule ? e.default : e;
}
-function joe(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = WT({
+function Uoe(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = PT({
usage: "search",
sensitivity: "base"
- }), { direction: c } = rC(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new koe({
+ }), { direction: c } = VS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Voe({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -28378,51 +28378,51 @@ function joe(e, t, n) {
s,
a,
o
- ]), d = Jx(e.id);
- gO.set(t, d);
- let { gridProps: f } = Ooe({
+ ]), d = Gx(e.id);
+ iO.set(t, d);
+ let { gridProps: f } = Boe({
...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 = lC(Aoe(tk), "@react-aria/table"), g = (0, P.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = qS(Hoe(UO), "@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
- ]), _ = ow(g);
- return $C(() => {
- g && QC(g, "assertive", 500);
+ ]), _ = XC(g);
+ return UC(() => {
+ g && HC(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 nk(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = rC(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = hO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {
+function WO(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = VS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = rO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {
if (n.current) {
- let e = qC(n.current);
+ let e = LC(n.current);
if (p === "child") {
- let i = Bb(Mb(n.current));
- if (Hb(n.current) && n.current !== i) return;
- let a = Mb(n.current);
+ let i = Lb(kb(n.current));
+ if (zb(n.current) && n.current !== i) return;
+ let a = kb(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && zb(n.current, e)) {
- Ux(e);
+ if (e && m.current === r.key && Ib(n.current, e)) {
+ Bx(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? rk(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? GO(e) : e.firstChild();
if (o) {
- Ux(o);
+ Bx(o);
return;
}
}
- (m.current != null && r.key !== m.current || !Hb(n.current)) && Ux(n.current);
+ (m.current != null && r.key !== m.current || !zb(n.current)) && Bx(n.current);
}
- }, { itemProps: _, isPressed: v } = GE({
+ }, { itemProps: _, isPressed: v } = FE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -28434,44 +28434,44 @@ function nk(e, t, n) {
}), y = K(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = Bb(Mb(n.current));
- if (!zb(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = qC(n.current);
+ let i = Lb(kb(n.current));
+ if (!Ib(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = LC(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) Ux(t), iw(t, { containingElement: tw(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Bx(t), JC(t, { containingElement: GC(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" ? (Ux(n.current), iw(n.current, { containingElement: tw(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : rk(a), t && (Ux(t), iw(t, { containingElement: tw(n.current) })));
+ p === "cell" && l === "rtl" ? (Bx(n.current), JC(n.current, { containingElement: GC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : GO(a), t && (Bx(t), JC(t, { containingElement: GC(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) Ux(t), iw(t, { containingElement: tw(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Bx(t), JC(t, { containingElement: GC(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" ? (Ux(n.current), iw(n.current, { containingElement: tw(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? rk(a) : a.firstChild(), t && (Ux(t), iw(t, { containingElement: tw(n.current) })));
+ p === "cell" && l === "ltr" ? (Bx(n.current), JC(n.current, { containingElement: GC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? GO(a) : a.firstChild(), t && (Bx(t), JC(t, { containingElement: GC(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && zb(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && Ib(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 = Bb(Mb(n.current));
- if (zb(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = Lb(kb(n.current));
+ if (Ib(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 = qC(n.current, { tabbable: !0 });
+ let t = LC(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -28482,9 +28482,9 @@ function nk(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, G(e) !== n.current) {
let i = G(e);
- n.current && zb(n.current, i) && (h.current = i), jx() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && zb(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && Bb(Mb(n.current)) === n.current && g();
+ n.current && Ib(n.current, i) && (h.current = i), Ox() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && Ib(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && Lb(kb(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -28499,7 +28499,7 @@ function nk(e, t, n) {
isPressed: v
};
}
-function rk(e) {
+function GO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -28507,32 +28507,32 @@ function rk(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function Moe(e, t, n) {
- let { gridCellProps: r, isPressed: i } = nk(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = yO(t, e.node.parentKey, a)), {
+function Woe(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = WO(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = sO(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Noe(e) {
+function Goe(e) {
return e && e.__esModule ? e.default : e;
}
-function Poe(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = nk({
+function Koe(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = WO({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = TC({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = uC({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = cS({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !sx() && (u = d ? f : "none");
- let p = lC(Noe(tk), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && sx() && (m = `${m}, ${p.format(f)}`));
- let h = ow(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = aS({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !ix() && (u = d ? f : "none");
+ let p = qS(Goe(UO), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && ix() && (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);
}, [
@@ -28543,7 +28543,7 @@ function Poe(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: vO(t, r.key),
+ id: oO(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -28551,17 +28551,17 @@ function Poe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function Foe(e) {
+function qoe(e) {
return e && e.__esModule ? e.default : e;
}
-function Ioe(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = lC(Foe(tk), "@react-aria/table"), d = Jx(), 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 } = rC(), b = (0, P.useCallback)((e) => {
+function Joe(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = qS(qoe(UO), "@react-aria/table"), d = Gx(), 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 } = VS(), 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 && Ux(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 && Bx(i.current)), m.current = null;
}, [
t,
i,
@@ -28569,14 +28569,14 @@ function Ioe(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = iS({ shortcuts: {
+ }, { keyboardProps: w } = tS({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, P.useRef)(0), { moveProps: E } = Aw({
+ } }), T = (0, P.useRef)(0), { moveProps: E } = bw({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -28592,12 +28592,12 @@ function Ioe(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 = Px();
+ let A = Math.floor(t.getColumnWidth(r.key)), j = jx();
j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");
- let M = ow(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} ${vO(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${oO(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -28605,11 +28605,11 @@ function Ioe(e, t, n) {
value: A,
...M
}, te = (0, P.useCallback)(() => {
- n.current && Ux(n.current);
- }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = YS(b);
+ n.current && Bx(n.current);
+ }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = NS(b);
(0, P.useEffect)(() => {
if (N.current !== ne && ne != null && ne === r.key) {
- h.current = Bb() === n.current, re(r);
+ h.current = Lb() === n.current, re(r);
let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -28625,7 +28625,7 @@ function Ioe(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 } = TC({
+ }, { pressProps: F } = uC({
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)));
@@ -28633,7 +28633,7 @@ function Ioe(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ae } = Mw();
+ }), { visuallyHiddenProps: ae } = Sw();
return {
resizerProps: K(w, {
...E,
@@ -28652,19 +28652,19 @@ function Ioe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Loe(e, t, n) {
+function Yoe(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 Roe(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = hO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = GE({
+function Xoe(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = rO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = FE({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? Wx(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? Vx(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -28678,10 +28678,10 @@ function Roe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function zoe(e) {
+function Zoe(e) {
return e && e.__esModule ? e.default : e;
}
-var ik = {
+var KO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -28691,21 +28691,21 @@ var ik = {
rtl: "ArrowRight"
}
};
-function Boe(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Roe(e, t, n), { direction: s } = rC();
+function Qoe(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Xoe(e, t, n), { direction: s } = VS();
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 = lC(zoe(tk), "@react-aria/table"), u = ZS({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = qS(Zoe(UO), "@react-aria/table"), u = FS({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": bO(t, r.key)
+ "aria-labelledby": cO(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = ak(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 = ak(t.collection, a);
+ let n = qO(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 = qO(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === ik.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === ik.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 === KO.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === KO.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,
@@ -28723,42 +28723,42 @@ function Boe(e, t, n) {
};
}
}
- let p = dx(r.props), m = o.hasAction ? p : {};
+ let p = cx(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": bO(t, r.key)
+ "aria-labelledby": cO(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function ak(e, t) {
+function qO(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 Voe() {
+function $oe() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function ok() {
- return Voe();
+function JO() {
+ return $oe();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Hoe(e) {
+function ese(e) {
return e && e.__esModule ? e.default : e;
}
-function Uoe(e, t) {
- let { key: n } = e, { checkboxProps: r } = ZE(e, t);
+function tse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = VE(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${bO(t, n)}`
+ "aria-labelledby": `${r.id} ${cO(t, n)}`
} };
}
-function Woe(e) {
+function nse(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": lC(Hoe(tk), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": qS(ese(UO), "@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,
@@ -28766,22 +28766,22 @@ function Woe(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var sk = /* @__PURE__ */ new WeakMap();
-function ck(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${sk.get(e)}-${n}-${t}`) : "";
+var YO = /* @__PURE__ */ new WeakMap();
+function XO(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${YO.get(e)}-${n}-${t}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Goe(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 } = GE({
+function rse(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 } = FE({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = ck(t, r, "tab"), m = ck(t, r, "tabpanel"), { tabIndex: h } = d, g = dC(u?.props, { labelable: !0 });
+ }), p = XO(t, r, "tab"), m = XO(t, r, "tabpanel"), { tabIndex: h } = d, g = YS(u?.props, { labelable: !0 });
delete g.id;
- let _ = fx(u?.props), { focusableProps: v } = cS({
+ let _ = lx(u?.props), { focusableProps: v } = aS({
...u?.props,
isDisabled: l
}, n);
@@ -28800,7 +28800,7 @@ function Goe(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Koe = class {
+var ise = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -28843,11 +28843,11 @@ var Koe = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function qoe(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = rC(), { collectionProps: l } = PT({
+function ase(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = VS(), { collectionProps: l } = wT({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, P.useMemo)(() => new Koe(a, c, r, s), [
+ keyboardDelegate: (0, P.useMemo)(() => new ise(a, c, r, s), [
a,
s,
r,
@@ -28857,9 +28857,9 @@ function qoe(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Jx();
- return sk.set(t, u), { tabListProps: {
- ...K(l, ZS({
+ }), u = Gx();
+ return YO.set(t, u), { tabListProps: {
+ ...K(l, FS({
...e,
id: u
})),
@@ -28869,12 +28869,12 @@ function qoe(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Joe(e, t, n) {
- let r = HE(n) ? void 0 : 0, i = ck(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(ZS({
+function ose(e, t, n) {
+ let r = ME(n) ? void 0 : 0, i = XO(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(FS({
...e,
id: i,
- "aria-labelledby": ck(t, t?.selectedKey, "tab")
+ "aria-labelledby": XO(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -28883,265 +28883,265 @@ function Joe(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Yoe(e, t, n) {
- let { gridProps: r } = Hae(e, t, n);
+function sse(e, t, n) {
+ let { gridProps: r } = Qae(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var lk = {};
-lk = {
+var ZO = {};
+ZO = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var uk = {};
-uk = {
+var QO = {};
+QO = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var dk = {};
-dk = {
+var $O = {};
+$O = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var fk = {};
-fk = {
+var ek = {};
+ek = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var pk = {};
-pk = {
+var tk = {};
+tk = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var mk = {};
-mk = {
+var nk = {};
+nk = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var hk = {};
-hk = {
+var rk = {};
+rk = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var gk = {};
-gk = {
+var ik = {};
+ik = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var _k = {};
-_k = {
+var ak = {};
+ak = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var vk = {};
-vk = {
+var ok = {};
+ok = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var yk = {};
-yk = {
+var sk = {};
+sk = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var bk = {};
-bk = {
+var ck = {};
+ck = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var xk = {};
-xk = {
+var lk = {};
+lk = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var Sk = {};
-Sk = {
+var uk = {};
+uk = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var Ck = {};
-Ck = {
+var dk = {};
+dk = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var wk = {};
-wk = {
+var fk = {};
+fk = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var Tk = {};
-Tk = {
+var pk = {};
+pk = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var Ek = {};
-Ek = {
+var mk = {};
+mk = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var Dk = {};
-Dk = {
+var hk = {};
+hk = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var Ok = {};
-Ok = {
+var gk = {};
+gk = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var kk = {};
-kk = {
+var _k = {};
+_k = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var Ak = {};
-Ak = {
+var vk = {};
+vk = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var jk = {};
-jk = {
+var yk = {};
+yk = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var Mk = {};
-Mk = {
+var bk = {};
+bk = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var Nk = {};
-Nk = {
+var xk = {};
+xk = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var Pk = {};
-Pk = {
+var Sk = {};
+Sk = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var Fk = {};
-Fk = {
+var Ck = {};
+Ck = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var Ik = {};
-Ik = {
+var wk = {};
+wk = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var Lk = {};
-Lk = {
+var Tk = {};
+Tk = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var Rk = {};
-Rk = {
+var Ek = {};
+Ek = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var zk = {};
-zk = {
+var Dk = {};
+Dk = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var Bk = {};
-Bk = {
+var Ok = {};
+Ok = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var Vk = {};
-Vk = {
+var kk = {};
+kk = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var Hk = {};
-Hk = {
+var Ak = {};
+Ak = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var Uk = {};
-Uk = {
- "ar-AE": lk,
- "bg-BG": uk,
- "cs-CZ": dk,
- "da-DK": fk,
- "de-DE": pk,
- "el-GR": mk,
- "en-US": hk,
- "es-ES": gk,
- "et-EE": _k,
- "fi-FI": vk,
- "fr-FR": yk,
- "he-IL": bk,
- "hr-HR": xk,
- "hu-HU": Sk,
- "it-IT": Ck,
- "ja-JP": wk,
- "ko-KR": Tk,
- "lt-LT": Ek,
- "lv-LV": Dk,
- "nb-NO": Ok,
- "nl-NL": kk,
- "pl-PL": Ak,
- "pt-BR": jk,
- "pt-PT": Mk,
- "ro-RO": Nk,
- "ru-RU": Pk,
- "sk-SK": Fk,
- "sl-SI": Ik,
- "sr-SP": Lk,
- "sv-SE": Rk,
- "tr-TR": zk,
- "uk-UA": Bk,
- "zh-CN": Vk,
- "zh-TW": Hk
+var jk = {};
+jk = {
+ "ar-AE": ZO,
+ "bg-BG": QO,
+ "cs-CZ": $O,
+ "da-DK": ek,
+ "de-DE": tk,
+ "el-GR": nk,
+ "en-US": rk,
+ "es-ES": ik,
+ "et-EE": ak,
+ "fi-FI": ok,
+ "fr-FR": sk,
+ "he-IL": ck,
+ "hr-HR": lk,
+ "hu-HU": uk,
+ "it-IT": dk,
+ "ja-JP": fk,
+ "ko-KR": pk,
+ "lt-LT": mk,
+ "lv-LV": hk,
+ "nb-NO": gk,
+ "nl-NL": _k,
+ "pl-PL": vk,
+ "pt-BR": yk,
+ "pt-PT": bk,
+ "ro-RO": xk,
+ "ru-RU": Sk,
+ "sk-SK": Ck,
+ "sl-SI": wk,
+ "sr-SP": Tk,
+ "sv-SE": Ek,
+ "tr-TR": Dk,
+ "uk-UA": Ok,
+ "zh-CN": kk,
+ "zh-TW": Ak
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function Xoe(e) {
+function cse(e) {
return e && e.__esModule ? e.default : e;
}
-function Wk(e, t, n) {
- let { node: r } = e, i = Uae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = lC(Xoe(Uk), "@react-aria/tree"), s = {
+function Mk(e, t, n) {
+ let { node: r } = e, i = $ae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = qS(cse(jk), "@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,
- ...ZS({
+ ...FS({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -29152,15 +29152,15 @@ function Wk(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var Gk = "(prefers-reduced-motion: reduce)", Zoe = () => matchMedia(Gk).matches, Qoe = (e) => {
- let t = matchMedia(Gk);
+var Nk = "(prefers-reduced-motion: reduce)", lse = () => matchMedia(Nk).matches, use = (e) => {
+ let t = matchMedia(Nk);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, Kk = /* @__PURE__ */ new Map(), qk = () => {
+}, Pk = /* @__PURE__ */ new Map(), Fk = () => {
let e = document.documentElement;
- Kk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Kk.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ Pk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Pk.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function $oe({ children: e, count: t, label: n }) {
- let r = (0, P.useRef)(null), i = ky(), a = (0, P.useSyncExternalStore)(Qoe, Zoe, () => !1), { isFocusVisible: o } = Fx(), s = a || o, c = {
+function dse({ children: e, count: t, label: n }) {
+ let r = (0, P.useRef)(null), i = Ey(), a = (0, P.useSyncExternalStore)(use, lse, () => !1), { isFocusVisible: o } = Mx(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -29168,12 +29168,12 @@ function $oe({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- Kk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), qk();
+ Pk.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Fk();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), Kk.delete(e), qk();
+ n.disconnect(), window.removeEventListener("resize", t), Pk.delete(e), Fk();
};
- }, [i]), /* @__PURE__ */ (0, F.jsxs)(xb.div, {
+ }, [i]), /* @__PURE__ */ (0, F.jsxs)(vb.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -29206,17 +29206,17 @@ function $oe({ children: e, count: t, label: n }) {
}), e]
});
}
-function Jk({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, F.jsx)(Ny, { children: e ? /* @__PURE__ */ (0, F.jsx)($oe, { ...t }, "selection") : null });
+function Ik({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, F.jsx)(ky, { children: e ? /* @__PURE__ */ (0, F.jsx)(dse, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var Yk = {
+var Lk = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function ese(e, t = !1) {
+function fse(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -29232,7 +29232,7 @@ function ese(e, t = !1) {
glyph: "trash",
danger: !0
},
- Yk
+ Lk
];
case "junk": return [
t ? {
@@ -29253,7 +29253,7 @@ function ese(e, t = !1) {
glyph: "trash",
danger: !0
},
- Yk
+ Lk
];
case "follow": return [
{
@@ -29274,7 +29274,7 @@ function ese(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Yk
+ Lk
];
default: return [
{
@@ -29308,38 +29308,38 @@ function ese(e, t = !1) {
glyph: "trash",
danger: !0
},
- Yk
+ Lk
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var Xk = null, Zk = {
+var Rk = null, zk = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Qk = /* @__PURE__ */ new Set();
-function tse(e) {
- return Qk.add(e), () => {
- Qk.delete(e);
+}, Bk = /* @__PURE__ */ new Set();
+function pse(e) {
+ return Bk.add(e), () => {
+ Bk.delete(e);
};
}
-function nse() {
- for (let e of [...Qk]) e();
+function Vk() {
+ for (let e of [...Bk]) e();
}
-var rse = { render(e) {
- Zk = e, (0, Lt.flushSync)(nse);
+var mse = { render(e) {
+ zk = e, (0, Lt.flushSync)(Vk);
} };
-function ise(e) {
- return Xk = e, rse;
+function hse(e) {
+ return Rk = e, mse;
}
-function ase() {
- let e = (0, P.useSyncExternalStore)(tse, () => Zk);
- return Xk ? /* @__PURE__ */ (0, F.jsx)(ose, {
- host: Xk,
+function gse() {
+ let e = (0, P.useSyncExternalStore)(pse, () => zk);
+ return Rk ? /* @__PURE__ */ (0, F.jsx)(_se, {
+ host: Rk,
props: e
}) : null;
}
-function ose({ host: e, props: t }) {
+function _se({ host: e, props: t }) {
let n = t.count > 0;
return (0, P.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -29349,11 +29349,11 @@ function ose({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, F.jsx)(Jk, {
+ children: /* @__PURE__ */ (0, F.jsx)(Ik, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: ese(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {
+ children: fse(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -29369,11 +29369,11 @@ function ose({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function $k(e, t, n, r) {
+function Hk(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function sse(e, t) {
+function vse(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -29392,7 +29392,7 @@ function sse(e, t) {
};
}
// src/sort-preferences.ts
-var eA = [
+var Uk = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -29401,7 +29401,7 @@ var eA = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], tA = ["release", "发行时间"], nA = [...eA, tA].map(([e]) => e), rA = {
+], Wk = ["release", "发行时间"], Gk = [...Uk, Wk].map(([e]) => e), Kk = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -29410,43 +29410,43 @@ var eA = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, iA = {
+}, qk = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, aA = (e, t, n = rA) => (n[e] || [])[+(t === "asc")] || "", oA = (e, t = rA) => t[e] ? "desc" : "";
-function sA(e, t, n, r = rA) {
+}, Jk = (e, t, n = Kk) => (n[e] || [])[+(t === "asc")] || "", Yk = (e, t = Kk) => t[e] ? "desc" : "";
+function Xk(e, t, n, r = Kk) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: oA(e, r)
+ dir: Yk(e, r)
};
}
-function cA(e, t, n) {
+function Zk(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function lA(e, t, n, r, i = n) {
- let a = e ? iA[e] : void 0, o = a ? a[0] : e, s = o && nA.includes(o) ? o : i;
- return rA[s] ? {
+function Qk(e, t, n, r, i = n) {
+ let a = e ? qk[e] : void 0, o = a ? a[0] : e, s = o && Gk.includes(o) ? o : i;
+ return Kk[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : cA(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Zk(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var uA = [
+var $k = [
"spot1",
"spot2",
"spot3"
-], cse = [
+], yse = [
"光晕一",
"光晕二",
"光晕三"
-], dA = "native", fA = [
+], eA = "native", tA = [
[
"ash",
"灰雾",
@@ -29752,7 +29752,7 @@ var uA = [
"rose"
],
[
- dA,
+ eA,
"玻璃原色",
{
spot1: {
@@ -29770,7 +29770,7 @@ var uA = [
},
"blue"
]
-], pA = (e) => e === dA, mA = [...fA.map(([e, t]) => [e, t]), ["custom", "自定义"]], lse = (e) => (mA.find(([t]) => t === e) || mA[0])[1], hA = (e) => structuredClone((fA.find(([t]) => t === e) || fA[0])[2]), gA = [
+], nA = (e) => e === eA, rA = [...tA.map(([e, t]) => [e, t]), ["custom", "自定义"]], bse = (e) => (rA.find(([t]) => t === e) || rA[0])[1], iA = (e) => structuredClone((tA.find(([t]) => t === e) || tA[0])[2]), aA = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -29783,7 +29783,7 @@ var uA = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], _A = "blue", vA = (e) => gA.some(([t]) => t === e) ? e : _A, use = (e) => (fA.find(([t]) => t === e) || [])[3] || "blue", dse = [
+], oA = "blue", sA = (e) => aA.some(([t]) => t === e) ? e : oA, xse = (e) => (tA.find(([t]) => t === e) || [])[3] || "blue", Sse = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -29793,7 +29793,7 @@ var uA = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], fse = [
+], Cse = [
[
"gray",
"云灰",
@@ -30189,11 +30189,11 @@ var uA = [
"霁蓝",
"#6686b8"
]
-], yA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, bA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, pse = (e, t) => `rgba(${[
+], cA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, lA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, wse = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, mse = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Tse = {
strength: [
0,
100,
@@ -30219,7 +30219,7 @@ var uA = [
100,
50
]
-}, xA = {
+}, uA = {
on: !0,
preset: "ash",
strength: 100,
@@ -30227,56 +30227,56 @@ var uA = [
speed: 100,
soften: 50,
size: 50,
- ...hA("ash")
+ ...iA("ash")
};
-function SA(e) {
- let t = e && typeof e == "object" ? e : {}, n = mA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = hA(r === "custom" ? "ash" : r), a = {
+function dA(e) {
+ let t = e && typeof e == "object" ? e : {}, n = rA.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = iA(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(mse)) a[e] = yA(+t[e], n, r, i);
- for (let e of uA) {
+ for (let [e, [n, r, i]] of Object.entries(Tse)) a[e] = cA(+t[e], n, r, i);
+ for (let e of $k) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: bA(r.color, o.color),
- alpha: yA(+r.alpha, 0, 100, o.alpha)
+ color: lA(r.color, o.color),
+ alpha: cA(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var hse = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, CA = /* @__PURE__ */ new WeakMap();
-function gse(e, t) {
+var fA = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, pA = /* @__PURE__ */ new WeakMap();
+function mA(e, t) {
if (!e) return;
- let n = CA.get(e);
- n || (n = /* @__PURE__ */ new Map(), CA.set(e, n));
- let r = t.on && !pA(t.preset), i = (t, r) => {
+ let n = pA.get(e);
+ n || (n = /* @__PURE__ */ new Map(), pA.set(e, n));
+ let r = t.on && !nA(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"), uA.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"), $k.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, pse(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, wse(r.color, r.alpha));
});
}
-function _se(e, t) {
+function hA(e, t) {
if (!e) return;
- let n = !t.on || pA(t.preset);
+ let n = !t.on || nA(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 vse = "peach.settings.v1", yse = [
+var gA = "peach.settings.v1", Ese = [
"system",
"light",
"dark"
-], wA = [
+], _A = [
0,
7,
30,
90
-], bse = [
+], Dse = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], TA = {
+], vA = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -30297,56 +30297,56 @@ var vse = "peach.settings.v1", yse = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...eu],
- homeGlow: xA,
- accent: _A,
+ homeGlow: uA,
+ accent: oA,
performerNameLanguage: "zh-CN"
-}, EA = (e, t, n) => t.includes(e) ? e : n;
-function xse(e) {
+}, yA = (e, t, n) => t.includes(e) ? e : n;
+function Ose(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...TA,
+ ...vA,
...t
};
- n.followInitialDays = wA.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 = iA[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = $k(+n.batchSize, 1, 200, 60), n.defaultSort = EA(n.defaultSort, nA, "seed"), n.hoverDelaySeconds = $k(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = $k(+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 = $k(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = $k(+n.relatedLimit, 0, 60, 20), n.feedLimit = $k(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = EA(n.theme, yse, "system"), n.performerNameLanguage = EA(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = SA(n.homeGlow), n.accent = vA(n.accent), n.sidebarOrder = iu(n.sidebarOrder), {
+ let a = qk[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Hk(+n.batchSize, 1, 200, 60), n.defaultSort = yA(n.defaultSort, Gk, "seed"), n.hoverDelaySeconds = Hk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Hk(+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 = Hk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Hk(+n.relatedLimit, 0, 60, 20), n.feedLimit = Hk(+n.feedLimit, 1, 100, 12), Object.assign(n, Qa(n)), n.theme = yA(n.theme, Ese, "system"), n.performerNameLanguage = yA(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = dA(n.homeGlow), n.accent = sA(n.accent), n.sidebarOrder = iu(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function Sse(e) {
+function kse(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return xse(t);
+ return Ose(t);
}
-var DA = null;
-function OA() {
- if (DA) return DA;
- let { settings: e, migrated: t } = Sse(localStorage);
- return DA = sse(vse, e), t && DA.save(), DA;
+var bA = null;
+function xA() {
+ if (bA) return bA;
+ let { settings: e, migrated: t } = kse(localStorage);
+ return bA = vse(gA, e), t && bA.save(), bA;
}
-function kA(e, t, n = OA()) {
+function SA(e, t, n = xA()) {
let r = n.value, i = e?.performerNameLanguage;
(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));
let a = e && e.followInitialDays;
- wA.includes(a) && (r.followInitialDays = a, n.save());
- for (let t of bse) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ _A.includes(a) && (r.followInitialDays = a, n.save());
+ for (let t of Dse) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = $k(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== TA.searchHistoryLimit && Cse(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Hk(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== vA.searchHistoryLimit && Ase(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function Cse(e = OA()) {
+function Ase(e = xA()) {
return wn("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var wse = [
+var jse = [
[
"system",
"跟随系统",
@@ -30362,31 +30362,31 @@ var wse = [
"深色",
"moon"
]
-], Tse = null, AA = () => Tse ??= matchMedia("(prefers-color-scheme: dark)"), jA = null;
-function Ese() {
- return jA || (jA = document.createElement("style"), jA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), jA.isConnected || document.head.append(jA), () => {
+], Mse = null, CA = () => Mse ??= matchMedia("(prefers-color-scheme: dark)"), wA = null;
+function Nse() {
+ 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), jA?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), wA?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function MA(e = OA().value.theme) {
- let t = Ese(), n = document.documentElement;
+function TA(e = xA().value.theme) {
+ let t = Nse(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && AA().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 NA = !1;
-function Dse() {
- NA || (NA = !0, AA().addEventListener("change", () => {
- OA().value.theme === "system" && MA();
+var EA = !1;
+function Pse() {
+ EA || (EA = !0, CA().addEventListener("change", () => {
+ xA().value.theme === "system" && TA();
}));
}
// src/appearance/layout.ts
-var PA = [[
+var DA = [[
"big",
"大图",
"maximize"
@@ -30394,7 +30394,7 @@ var PA = [[
"small",
"小图",
"layout-grid"
-]], FA = [[
+]], OA = [[
"big",
"大图",
"maximize"
@@ -30402,7 +30402,7 @@ var PA = [[
"small",
"小图",
"layout-grid"
-]], IA = [[
+]], kA = [[
"fixed",
"固定比例",
"layout-grid"
@@ -30410,127 +30410,127 @@ var PA = [[
"masonry",
"瀑布流",
"columns-2"
-]], LA = .75, RA = () => OA().value, zA = (e = RA()) => Za(e.javLayout), Ose = (e = RA()) => Za(e.homeLayout), BA = (e, t = RA()) => e ? Ose(t) : zA(t), VA = FA.map(([e]) => e), HA = IA.map(([e]) => e), UA = (e = RA()) => EA(e.photoSize, VA, "small"), WA = (e = RA()) => EA(e.photoLayout, HA, "masonry"), GA = null;
-function KA(e, t = RA()) {
+]], AA = .75, jA = () => xA().value, MA = (e = jA()) => Za(e.javLayout), Fse = (e = jA()) => Za(e.homeLayout), NA = (e, t = jA()) => e ? Fse(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: BA(e.home, t),
+ size: NA(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = GA;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (GA = n), GA;
+ }, r = RA;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (RA = n), RA;
}
-function qA(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? LA : 16 / 9;
+function BA(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? AA : 16 / 9;
}
-function kse(e, t = OA()) {
+function Ise(e, t = xA()) {
t.value.homeLayout = Za(e), t.save();
}
-function JA(e, t = OA()) {
+function VA(e, t = xA()) {
t.value.javLayout = Za(e), t.save();
}
-function Ase(e, t = OA()) {
+function Lse(e, t = xA()) {
t.value.homeLayout = t.value.javLayout = Za(e), t.save();
}
-function jse(e, t = OA()) {
- t.value.photoSize = EA(e, VA, "small"), t.save();
+function Rse(e, t = xA()) {
+ t.value.photoSize = yA(e, PA, "small"), t.save();
}
-function YA(e, t = OA()) {
- t.value.photoLayout = EA(e, HA, "masonry"), t.save();
+function HA(e, t = xA()) {
+ t.value.photoLayout = yA(e, FA, "masonry"), t.save();
}
// src/appearance/density.ts
-var XA = "density", ZA = {
+var UA = "density", WA = {
big: "336px",
dense: "168px"
-}, QA = () => localStorage.getItem(XA) === "dense" ? "dense" : "big";
-function $A(e, t) {
- let [n, r] = FA;
+}, GA = () => localStorage.getItem(UA) === "dense" ? "dense" : "big";
+function KA(e, t) {
+ let [n, r] = OA;
if (e.querySelector("[data-icon-swap]")) Ks(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = Gs(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- ej(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ qA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function ej(e, t, n) {
+function qA(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var tj = () => document.querySelector("#density");
-function nj(e = QA()) {
+var JA = () => document.querySelector("#density");
+function YA(e = GA()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== ZA[e] && t.style.setProperty("--tile", ZA[e]), ej(document.body, "data-density", e);
- let n = tj();
- n && (ej(n, "aria-pressed", String(e === "dense")), ej(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), $A(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 Mse() {
- let e = QA() === "big" ? "dense" : "big";
- localStorage.setItem(XA, e), nj(e);
+function XA() {
+ let e = GA() === "big" ? "dense" : "big";
+ localStorage.setItem(UA, e), YA(e);
}
-function Nse(e) {
- let t = tj();
- t && (ej(t, "aria-pressed", String(e === "small")), ej(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), $A(t, e));
+function ZA(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 rj(e = OA()) {
- gse(document.querySelector(".glowlayer"), e.value.homeGlow);
+function QA(e = xA()) {
+ mA(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var ij = 0;
-function aj(e = OA()) {
- ij ||= requestAnimationFrame(() => {
- ij = 0, rj(e);
+var $A = 0;
+function ej(e = xA()) {
+ $A ||= requestAnimationFrame(() => {
+ $A = 0, QA(e);
});
}
-function oj(e = OA()) {
- _se(document.documentElement, e.value.homeGlow);
+function tj(e = xA()) {
+ hA(document.documentElement, e.value.homeGlow);
}
-function sj(e = OA()) {
+function nj(e = xA()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var cj = (e, t, n) => ({
+var rj = (e, t, n) => ({
key: e,
label: t,
- native: pA(e),
- fill: pA(e) ? "" : hse(n)
+ native: nA(e),
+ fill: nA(e) ? "" : fA(n)
});
-function Pse(e) {
- let t = fA.map(([e, t, n]) => cj(e, t, uA.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(cj("custom", "自定义", uA.map((t) => e[t].color))), t;
+function zse(e) {
+ let t = tA.map(([e, t, n]) => rj(e, t, $k.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(rj("custom", "自定义", $k.map((t) => e[t].color))), t;
}
-var Fse = gA;
-function Ise(e, t = OA()) {
+var Bse = aA;
+function Vse(e, t = xA()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, hA(e)), t.value.accent = use(e), t.save(), aj(t), oj(t), sj(t);
+ n.preset = e, Object.assign(n, iA(e)), t.value.accent = xse(e), t.save(), ej(t), tj(t), nj(t);
}
-function Lse(e, t = OA()) {
- t.value.accent = vA(e), t.save(), sj(t);
+function Hse(e, t = xA()) {
+ t.value.accent = sA(e), t.save(), nj(t);
}
-function Rse(e = OA()) {
+function Use(e = xA()) {
let t = e.value.homeGlow;
- t.preset = xA.preset, Object.assign(t, hA(t.preset)), e.value.accent = _A, e.save(), aj(e), oj(e), sj(e);
+ t.preset = uA.preset, Object.assign(t, iA(t.preset)), e.value.accent = oA, e.save(), ej(e), tj(e), nj(e);
}
-function lj(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && pA(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function ij(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && nA(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function zse(e, t = OA()) {
- return lj(e, t.value.homeGlow), t.subscribe(() => lj(e, t.value.homeGlow));
+function Wse(e, t = xA()) {
+ return ij(e, t.value.homeGlow), t.subscribe(() => ij(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function uj({ store: e, label: t, hidden: n }) {
+function aj({ 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: zse(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: () => Ise(t.key, e),
+ onClick: () => Vse(t.key, e),
children: /* @__PURE__ */ (0, F.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -30541,14 +30541,14 @@ function uj({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var dj = null;
-function Bse(e) {
- dj = e;
+var oj = null;
+function Gse(e) {
+ oj = e;
}
-function Vse() {
- return dj ? /* @__PURE__ */ (0, F.jsx)(Hse, { host: dj }) : null;
+function Kse() {
+ return oj ? /* @__PURE__ */ (0, F.jsx)(qse, { host: oj }) : null;
}
-function Hse({ host: e }) {
+function qse({ host: e }) {
let { store: t } = e;
(0, P.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -30560,11 +30560,11 @@ function Hse({ host: e }) {
children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Rse(t),
+ onClick: () => Use(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, F.jsx)(uj, {
+ /* @__PURE__ */ (0, F.jsx)(aj, {
store: t,
label: "光晕",
hidden: !n.on
@@ -30578,14 +30578,14 @@ function Hse({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: Fse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Bse.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: () => Lse(e, t),
+ onClick: () => Hse(e, t),
children: /* @__PURE__ */ (0, F.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -30603,31 +30603,31 @@ function Hse({ host: e }) {
] });
}
// src/player/host.ts
-var fj = null;
-function Use(e) {
- fj = e;
+var sj = null;
+function Jse(e) {
+ sj = e;
}
-function pj() {
- if (!fj) throw Error("播放器还没有接上宿主(configurePlayer)");
- return fj;
+function cj() {
+ if (!sj) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return sj;
}
// src/player/menu.ts
-var mj = null;
-function Wse(e) {
- mj = e;
+var lj = null;
+function Yse(e) {
+ lj = e;
}
-function Gse() {
+function Xse() {
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 hj = null, gj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function _j() {
+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 && cs(e, () => {
e.innerHTML = "";
- }), hj &&= (hj(), null);
+ }), uj &&= (uj(), null);
}
-async function Kse(e) {
+async function Zse(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -30640,8 +30640,8 @@ async function Kse(e) {
return t.remove(), n;
}
}
-function qse(e) {
- let t = !!mj?.inMiniplayer(e), n = e.peachItem, r = mj?.kind(e) ?? "item", i = (t) => {
+function Qse(e) {
+ let t = !!lj?.inMiniplayer(e), n = e.peachItem, r = lj?.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);
@@ -30657,7 +30657,7 @@ function qse(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Kse(i(e)).then((e) => pj().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Zse(i(e)).then((e) => cj().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -30669,11 +30669,11 @@ function qse(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => mj?.expand()
+ run: () => lj?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => mj?.toMiniplayer()
+ run: () => lj?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -30696,29 +30696,29 @@ function qse(e) {
run: () => s.click()
}), o;
}
-function Jse(e, t, n) {
- let r = Gse();
- _j();
- let i = pj().stage();
+function $se(e, t, n) {
+ let r = Xse();
+ fj();
+ let i = cj().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = qse(e);
+ let a = Qse(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}">${gj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? gj(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(""), ss(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)];
- _j(), n?.run();
+ fj(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || _j();
+ r.contains(e.target) || fj();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), _j();
+ e.preventDefault(), e.stopPropagation(), fj();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -30726,49 +30726,49 @@ function Jse(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- us(t, e.el()) && _j();
+ us(t, e.el()) && fj();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), hj = () => {
+ }, 0), uj = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Yse(e) {
+function ece(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Jse(e, t.clientX, t.clientY));
- }), e.on("dispose", _j);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), $se(e, t.clientX, t.clientY));
+ }), e.on("dispose", fj);
}
// src/player/registry.ts
-var vj = null, yj = () => vj;
-function bj(e) {
- vj = e;
+var pj = null, mj = () => pj;
+function hj(e) {
+ pj = e;
}
-function xj(e) {
+function gj(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function Sj(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 Xse(e) {
+function tce(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 Cj = 3e3;
-function wj(e, t) {
+var vj = 3e3;
+function yj(e, t) {
let n = Number(e) || 0, r = Kn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Zse(e) {
+function nce(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -30783,10 +30783,10 @@ function Zse(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = Xse(e), s = e.currentTime || 0;
+ let a = performance.now(), o = tce(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 > Cj * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > vj * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -30795,55 +30795,55 @@ function Zse(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > Cj;) 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 Tj = 24;
-function Ej(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > Tj && e.splice(0, e.length - Tj);
+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 Dj = "peach-player-panel";
-function Oj(e, t, n, r) {
- let i = [...Array(Math.max(0, Tj - 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 Qse() {
+function rce() {
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 kj(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 Aj(e, t = "") {
- let n = kj(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 jj(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 : Aj(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : Tj(t, n);
}
-function Mj(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 $se(e, t) {
- return e > 0 ? Mj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Mj(0);
+function ice(e, t) {
+ return e > 0 ? Dj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : Dj(0);
}
// src/player/subtitle-style.ts
-var Nj = {
+var Oj = {
font: {
label: "字体",
values: [
@@ -30946,7 +30946,7 @@ var Nj = {
["shadow", "阴影"]
]
}
-}, Pj = {
+}, kj = {
font: "sans",
size: "100",
color: "white",
@@ -30956,7 +30956,7 @@ var Nj = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, Fj = "peach.caption-style.v1", ece = {
+}, Aj = "peach.caption-style.v1", ace = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -30965,7 +30965,7 @@ var Nj = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, tce = {
+}, oce = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -30973,28 +30973,28 @@ var Nj = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, nce = {
+}, sce = {
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 rce() {
+function cce() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(Fj) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(Aj) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(Pj).map(([t, n]) => [t, Nj[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 Ij(e, t, n, r) {
- let i = rce(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
+function jj(e, t, n, r) {
+ let i = cce(), 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(${ece[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", tce[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", nce[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${ace[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", oce[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", sce[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 || [])) {
@@ -31010,15 +31010,15 @@ function Ij(e, t, n, r) {
if (!n.aborted) {
if (e.caption_style) {
let t = {
- ...Pj,
+ ...kj,
...e.caption_style
};
- for (let e of Object.keys(Pj)) 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(Fj);
+ e = !!localStorage.getItem(Aj);
} catch {}
e && !a.size && r.save({ caption_style: i }).catch(() => {});
}
@@ -31026,18 +31026,18 @@ function Ij(e, t, n, r) {
}), {
current: () => i,
set(e, t) {
- Nj[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(Pj).forEach((e) => a.add(e)), i = { ...Pj }, 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 Lj = /* @__PURE__ */ new Map(), Rj = /* @__PURE__ */ new WeakMap(), ice = class {
+var Mj = /* @__PURE__ */ new Map(), Nj = /* @__PURE__ */ new WeakMap(), lce = class {
cleanup = new AbortController();
reading;
listeners = /* @__PURE__ */ new Set();
@@ -31065,7 +31065,7 @@ var Lj = /* @__PURE__ */ new Map(), Rj = /* @__PURE__ */ new WeakMap(), ice = cl
}
load() {
return this.url ? this.reading ||= (async () => {
- await Lj.get(this.url)?.catch(() => {});
+ await Mj.get(this.url)?.catch(() => {});
let e = await wn(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) => {
@@ -31077,7 +31077,7 @@ var Lj = /* @__PURE__ */ new Map(), Rj = /* @__PURE__ */ new WeakMap(), ice = cl
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (Lj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (Mj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = {
...this.unsaved,
...e,
@@ -31104,8 +31104,8 @@ var Lj = /* @__PURE__ */ new Map(), Rj = /* @__PURE__ */ new WeakMap(), ice = cl
this.changed();
}
});
- return Lj.set(this.url, t), t.finally(() => {
- Lj.get(this.url) === t && Lj.delete(this.url);
+ return Mj.set(this.url, t), t.finally(() => {
+ Mj.get(this.url) === t && Mj.delete(this.url);
}).catch(() => {}), t;
}
async retry() {
@@ -31114,12 +31114,12 @@ var Lj = /* @__PURE__ */ new Map(), Rj = /* @__PURE__ */ new WeakMap(), ice = cl
} catch {}
}
};
-function zj(e) {
- let t = Rj.get(e);
- return t || (t = new ice(e), Rj.set(e, t)), t;
+function Pj(e) {
+ let t = Nj.get(e);
+ return t || (t = new lce(e), Nj.set(e, t)), t;
}
-function Bj(e, t) {
- let n = zj(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) => {
@@ -31132,7 +31132,7 @@ function Bj(e, t) {
};
}
// src/player/subtitle-memory.ts
-var Vj = class {
+var Ij = class {
player;
video;
changed;
@@ -31143,7 +31143,7 @@ var Vj = class {
ready;
error = "";
constructor(e, t, n = () => {}) {
- this.player = e, this.video = t, this.changed = n, this.memory = zj(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();
@@ -31240,7 +31240,7 @@ var Vj = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, Hj = () => "<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>", ace = 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>", uce = class {
player;
video;
panels;
@@ -31259,7 +31259,7 @@ var Vj = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = Ij(e.el(), t, this.cleanup.signal, zj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Hj(), 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", () => {
@@ -31269,7 +31269,7 @@ var Vj = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new Vj(e, t, () => {
+ }), this.session = new Ij(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -31317,7 +31317,7 @@ var Vj = 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(Nj).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);
@@ -31329,7 +31329,7 @@ var Vj = class {
}
styleOptions(e) {
this.page = "style";
- let t = Nj[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>`;
@@ -31445,7 +31445,7 @@ var Vj = class {
}
};
// src/player/timeline.ts
-function oce(e, t) {
+function dce(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;
@@ -31457,8 +31457,8 @@ function oce(e, t) {
return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;
}
// src/player/rotation.ts
-function Uj(e, t) {
- let n = 0, r = !1, i = zj(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",
@@ -31486,7 +31486,7 @@ function Uj(e, t) {
};
}
// src/player/pip.ts
-function sce(e, t, n, r) {
+function fce(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";
@@ -31518,7 +31518,7 @@ function sce(e, t, n, r) {
});
}
// src/player/controls.ts
-function Wj(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));
@@ -31529,27 +31529,27 @@ function Wj(e, t, n = "") {
};
return o(), o;
}
-function Gj(e, t) {
+function Bj(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function cce(e, t = !0) {
- let n = pj(), r = n.settings();
+function pce(e, t = !0) {
+ let n = cj(), 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 Kj = /* @__PURE__ */ new WeakMap();
-function qj(e) {
+var Vj = /* @__PURE__ */ new WeakMap();
+function Hj(e) {
if (!e) return;
- let t = pj().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Kj.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = cj().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 Jj(e, t = !0) {
- let n = pj(), r = n.settings();
+function Uj(e, t = !0) {
+ let n = cj(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), qj(i?.querySelector("[data-player-theater]")), xj(yj());
+ i?.toggleAttribute("data-theater", r.theaterMode), Hj(i?.querySelector("[data-player-theater]")), gj(mj());
}
-function lce(e) {
- let t = pj().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function mce(e) {
+ let t = cj().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -31572,9 +31572,9 @@ function lce(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (pj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (cj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && pj().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && cj().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -31583,7 +31583,7 @@ function lce(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function Yj(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");
@@ -31593,8 +31593,8 @@ function Yj(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]");
- Wj(s, "设置");
- let l = a.querySelector(".vjs-peach-settings-menu"), u = Uj(e, t), d = Bj(e, t), f = zj(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 = () => {
@@ -31633,11 +31633,11 @@ function Yj(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(Dj, { 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(Dj, 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;
@@ -31653,15 +31653,15 @@ function Yj(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="${pj().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="${cj().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">${Hj()}</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 = () => {
- cce(!pj().settings().ambientMode), k();
+ pce(!cj().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();
@@ -31765,8 +31765,8 @@ function Yj(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(Dj, C), w && clearTimeout(w);
- }), p = new ace(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 uce(e, t, {
render: E,
open: () => {
O = "subtitles", x(!0);
@@ -31775,21 +31775,21 @@ function Yj(e, t, n = 0, r = null) {
back: () => {
p?.hide(), k(-1);
}
- }), y(), uce(e, a), dce(e), (e) => {
+ }), y(), hce(e, a), gce(e), (e) => {
h = e?.length ? e : null, ie();
};
}
-function uce(e, t) {
+function hce(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = pj().settings().theaterMode, i = document.createElement("div");
+ let r = cj().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");
- Kj.set(a, Wj(a, "影院模式", "T")), qj(a), a.onclick = (e) => {
- e.stopPropagation(), Jj(!pj().settings().theaterMode);
+ Vj.set(a, zj(a, "影院模式", "T")), Hj(a), a.onclick = (e) => {
+ e.stopPropagation(), Uj(!cj().settings().theaterMode);
};
}
-function dce(e) {
+function gce(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");
@@ -31801,7 +31801,7 @@ function dce(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 = Wj(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 ? "播放" : "暂停");
};
@@ -31812,7 +31812,7 @@ function dce(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 = Wj(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 ? "取消静音" : "静音");
};
@@ -31838,7 +31838,7 @@ function dce(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 = Wj(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 = Jn(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : Jn(t)} / ${Jn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Jn(n)};点击显示已播放时间` : `已播放 ${Jn(t)},总时长 ${Jn(n)};点击显示剩余时间`);
};
@@ -31850,10 +31850,10 @@ function dce(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- Wj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), sce(e, E, Wj(E, "画中画"), (e) => pj().toast(e, { warn: !0 }));
- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = Wj(D, "全屏", "F"), A = () => {
+ zj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), fce(e, E, zj(E, "画中画"), (e) => cj().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 ? "退出全屏" : "全屏"), xj(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",
@@ -31874,7 +31874,7 @@ function dce(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 = Wj(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) => {
@@ -31886,7 +31886,7 @@ function dce(e) {
}, ie = new ResizeObserver(re);
ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), N(!1), re();
}
-function Xj(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");
@@ -31897,7 +31897,7 @@ function Xj(e, t, n = {}) {
}).catch(() => {});
let f = (e, n, r, i) => {
if (!t) return;
- let a = n.columns || 10, o = a * (n.rows || 10), s = oce(e, n);
+ let a = n.columns || 10, o = a * (n.rows || 10), s = dce(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;
@@ -31922,13 +31922,13 @@ function Xj(e, t, n = {}) {
r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);
});
}
-function fce(e, t) {
+function _ce(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => Kn(e.duration()) || Kn(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(pj().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(cj().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -31969,11 +31969,11 @@ function fce(e, t) {
} catch {}
});
}
-function Zj(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 Qj(e, t) {
+function qj(e, t) {
wn(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -31989,35 +31989,35 @@ function Qj(e, t) {
}).catch(() => {});
}
// src/player/progress.ts
-var $j = "peach.playback-position.v1", eM = /* @__PURE__ */ new WeakMap();
-function tM(e) {
- eM.get(e)?.(), eM.delete(e);
+var Jj = "peach.playback-position.v1", Yj = /* @__PURE__ */ new WeakMap();
+function Xj(e) {
+ Yj.get(e)?.(), Yj.delete(e);
}
-function nM(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 pce(e) {
+function vce(e) {
try {
- let t = localStorage.getItem(`${$j}:${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 mce(e, t) {
- let n = pce(e);
+function yce(e, t) {
+ let n = vce(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * Kn(t.duration) : 0;
}
-function hce(e, t) {
- tM(t);
+function bce(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(`${$j}:${e}`, String(r));
+ localStorage.setItem(`${Jj}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -32031,7 +32031,7 @@ function hce(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), eM.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",
@@ -32043,19 +32043,19 @@ function hce(e, t) {
});
}
// src/player/telemetry.ts
-var rM = /* @__PURE__ */ new WeakMap();
-function iM(e) {
- rM.get(e)?.(), rM.delete(e);
+var Qj = /* @__PURE__ */ new WeakMap();
+function $j(e) {
+ Qj.get(e)?.(), Qj.delete(e);
}
-function aM(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), rM.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 oM(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 = Kn(e.duration) || Kn(t.duration);
@@ -32096,11 +32096,11 @@ function oM(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, aM(t, l, u, () => {
+ }, eM(t, l, u, () => {
a++;
}), c();
}
-function gce(e, t) {
+function xce(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = Kn(e.duration) || Kn(t.duration);
(r || n) && (wn("/api/follow/activity", {
@@ -32131,22 +32131,22 @@ function gce(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, aM(t, o, s, () => {});
+ }, eM(t, o, s, () => {});
}
// src/player/dispose.ts
-function sM(e) {
+function nM(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (tM(t), iM(t));
+ t && (Xj(t), $j(t));
try {
e.dispose();
} catch {}
}
// src/core/random-id.ts
-function cM() {
+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;
@@ -32154,23 +32154,23 @@ function cM() {
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 lM() {
- return cM();
+function iM() {
+ return rM();
}
-function uM(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 _ce(e) {
+function oM(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function dM(e, t) {
- let n = _ce(e);
+async function sM(e, t) {
+ let n = oM(e);
if (n) return n;
try {
let n = await wn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -32179,9 +32179,9 @@ async function dM(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return uM(e, t);
+ return aM(e, t);
}
-function fM(e) {
+function cM(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -32190,22 +32190,22 @@ function fM(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var pM = "";
-function mM() {
- return pM;
+var lM = "";
+function uM() {
+ return lM;
}
-function hM() {
- return pM ||= lM(), pM;
+function dM() {
+ return lM ||= iM(), lM;
}
-var vce = (e) => uM(e, hM()), yce = (e) => dM(e, hM());
-function gM() {
- let e = pM;
- e && (pM = "", fM(e));
+var fM = (e) => aM(e, dM()), pM = (e) => sM(e, dM());
+function mM() {
+ let e = lM;
+ e && (lM = "", cM(e));
}
// src/player/v10-player.ts
-var _M = (e) => typeof e == "string" ? [e] : e, bce = (e, t) => {
+var hM = (e) => typeof e == "string" ? [e] : e, gM = (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-${cM()}`, 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 = {
@@ -32300,9 +32300,9 @@ var _M = (e) => typeof e == "string" ? [e] : e, bce = (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) => _M(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => _M(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => _M(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => hM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => hM(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => hM(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -32357,7 +32357,7 @@ var _M = (e) => typeof e == "string" ? [e] : e, bce = (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);
}
};
-}, xce = "/vendor/videojs/10.2.0/", Sce = [
+}, _M = "/vendor/videojs/10.2.0/", vM = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -32375,17 +32375,17 @@ var _M = (e) => typeof e == "string" ? [e] : e, bce = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], vM = null;
-function yM() {
- return vM ??= Promise.all(Sce.map((e) => import(
+], yM = null;
+function bM() {
+ return yM ??= Promise.all(vM.map((e) => import(
/* @vite-ignore */
- `${xce}${e}`
-))).then(() => bce).catch((e) => {
- throw vM = null, e;
- }), vM;
+ `${_M}${e}`
+))).then(() => gM).catch((e) => {
+ throw yM = null, e;
+ }), yM;
}
// src/player/immerse-player.ts
-var Cce = {
+var Sce = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -32397,38 +32397,38 @@ var Cce = {
errorDisplay: !1,
textTrackSettings: !1
};
-function wce(e, t) {
+function Cce(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([dM(n, r), yM().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([sM(n, r), bM().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = uM(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, Cce);
- i = t, t.peachItem = n, t.peachPlaybackKey = nM("item", n);
+ let t = s(e, Sce);
+ i = t, t.peachItem = n, t.peachPlaybackKey = Zj("item", n);
let r = new AbortController();
- Ij(t.el(), e, r.signal, zj(t)), Uj(t, e), Bj(t, e), t.on("dispose", () => r.abort()), new Vj(t, e), Qj(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);
}
- oM(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ tM(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, fM(r), i ? sM(i) : (e.pause(), iM(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, cM(r), i ? nM(i) : (e.pause(), $j(e), e.removeAttribute("src"), e.load()));
};
}
// src/player/detail-player.ts
-var bM = /* @__PURE__ */ new WeakMap(), xM = null, SM = null, CM = null;
-function wM() {
- xM &&= (clearInterval(xM), null), SM &&= (clearInterval(SM), null), CM &&= (clearTimeout(CM), null);
+var xM = /* @__PURE__ */ new WeakMap(), SM = null, CM = null, wM = null;
+function TM() {
+ SM &&= (clearInterval(SM), null), CM &&= (clearInterval(CM), null), wM &&= (clearTimeout(wM), null);
}
-async function Tce(e, t, n, r = {}) {
- let i = yj();
+async function wce(e, t, n, r = {}) {
+ let i = mj();
if (i && !i.isDisposed()) return i;
- let a = pj(), o = r.resume ?? null;
+ let a = cj(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : yce(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : pM(e), c;
try {
- c = await yM();
+ c = await bM();
} catch {
return t.controls = !0, s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -32454,7 +32454,7 @@ async function Tce(e, t, n, r = {}) {
} }
}
});
- bj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || nM("item", e), Yse(l), l.on("loadedmetadata", () => {
+ hj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Zj("item", e), ece(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}`);
});
@@ -32462,7 +32462,7 @@ async function Tce(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Zse(wj(f, e.duration)), m = 0, h = !1, g = () => yj() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = nce(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(() => {
@@ -32473,15 +32473,15 @@ async function Tce(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- bM.set(l, y), y.updateStats = () => {
+ xM.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 = mM(), h = s ? kj(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 = uM(), 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 = jj(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 = Sj(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 ? [
"网络活动",
`${_ ? Yn(_) : "—"} · ${h.length} 请求`,
@@ -32499,17 +32499,17 @@ async function Tce(e, t, n, r = {}) {
[
"连接速度",
D,
- Oj(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],
- Oj(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ Cj(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- Oj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ Cj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Jn(t.currentTime)} / ${Jn(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -32525,15 +32525,15 @@ async function Tce(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = jj(l, e.id, mM(), r ? null : p), a = r ? Mj(i) : $se(i, Sj(t));
+ let i = Ej(l, e.id, uM(), r ? null : p), a = r ? Dj(i) : ice(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(), SM && clearInterval(SM), SM = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), CM && clearInterval(CM), CM = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (CM && clearTimeout(CM), CM = setTimeout(() => {
- e.hidden = !0, SM &&= (clearInterval(SM), null);
+ e && (wM && clearTimeout(wM), wM = setTimeout(() => {
+ e.hidden = !0, CM &&= (clearInterval(CM), null);
}, 1400));
};
return l.on([
@@ -32544,7 +32544,7 @@ async function Tce(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(vce(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(fM(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))}`
@@ -32552,13 +32552,13 @@ async function Tce(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Yj(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 = wj(r, e.duration));
- }).catch(() => {}), Xj(l, e, { thumbnail: !r.source }), fce(l, e), Zj(l), r.source || Qj(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 }), _ce(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;
@@ -32567,16 +32567,16 @@ async function Tce(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var Ece = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function TM(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Ece), e.querySelector("#playerStatsBtn")) return;
+var Tce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function EM(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Tce), e.querySelector("#playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Qse();
+ n.innerHTML = rce();
let r = e.querySelector(":scope > [data-player-toolbar]");
r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);
}
-function EM(e, t) {
- let n = bM.get(e);
+function DM(e, t) {
+ let n = xM.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`#${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -32588,29 +32588,29 @@ function EM(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), xM &&= (clearInterval(xM), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), SM &&= (clearInterval(SM), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(Dj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), xM && clearInterval(xM), xM = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(Sj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), SM && clearInterval(SM), SM = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(Dj, t), s = () => document.removeEventListener(Dj, t);
+ document.addEventListener(Sj, t), s = () => document.removeEventListener(Sj, t);
}
- let c = e.el().querySelector("video"), l = c ? lce(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, wM()));
+ let c = e.el().querySelector("video"), l = c ? mce(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, TM()));
};
return e.one("dispose", d), d;
}
-function DM(e, t) {
- if (t.kind === "immerse") return wce(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = pj(), c = t.chrome === !1 ? null : e.parentElement;
- c && TM(c, e);
- let l = nM(n, r, i?.index ?? null), u = {
+function OM(e, t) {
+ if (t.kind === "immerse") return Cce(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = cj(), c = t.chrome === !1 ? null : e.parentElement;
+ c && EM(c, e);
+ let l = Zj(n, r, i?.index ?? null), u = {
playbackKey: l,
resume: t.resume ?? {
- time: mce(l, r),
+ time: yce(l, r),
autoplay: !1
}
};
@@ -32630,36 +32630,36 @@ function DM(e, t) {
t && (e.poster = t);
}
let d = null, f = !1, p = () => {}, m = e, h = () => {
- p(), !(d && a?.(d)) && (tM(m), d ? (yj() === d && (bj(null), wM()), sM(d)) : iM(m));
+ p(), !(d && a?.(d)) && (Xj(m), d ? (mj() === d && (hj(null), TM()), nM(d)) : $j(m));
};
- return Tce(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, hce(l, m), n === "follow" ? gce(r, m) : (m.addEventListener("play", () => {
+ return wce(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {
+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, bce(l, m), n === "follow" ? xce(r, m) : (m.addEventListener("play", () => {
wn("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), oM(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 = DM(t, c)), o?.(t)) : o?.(null));
}), () => {
f = !0, h();
};
}
// src/player/playback.ts
-function OM(e) {
+function kM(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function kM(e, t) {
+function AM(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 Dce(e, t, n) {
+function Ece(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return yM().then((a) => {
+ return bM().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -32684,56 +32684,56 @@ function Dce(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (Yj(o, e), Xj(o, null, { thumbnail: !1 }), Zj(o));
+ r || o.isDisposed() || (Wj(o, e), Gj(o, null, { thumbnail: !1 }), Kj(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, sM(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 AM = "peach.catalog-view.v1", jM = /* @__PURE__ */ new Set(), MM = "cards";
-function NM() {
+var jM = "peach.catalog-view.v1", MM = /* @__PURE__ */ new Set(), NM = "cards";
+function PM() {
try {
- return localStorage.getItem(AM) === "list" ? "list" : "cards";
+ return localStorage.getItem(jM) === "list" ? "list" : "cards";
} catch {
- return MM;
+ return NM;
}
}
-function Oce(e) {
- MM = e === "list" ? "list" : "cards";
+function Dce(e) {
+ NM = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(AM, MM);
+ localStorage.setItem(jM, NM);
} catch {}
- jM.forEach((e) => e());
+ MM.forEach((e) => e());
}
-function kce(e) {
- jM.add(e);
+function Oce(e) {
+ MM.add(e);
let t = (t) => {
- (t.key === AM || t.key === null) && e();
+ (t.key === jM || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- jM.delete(e), removeEventListener("storage", t);
+ MM.delete(e), removeEventListener("storage", t);
};
}
-var PM = () => (0, P.useSyncExternalStore)(kce, NM, () => "cards");
-function FM(e, t) {
+var FM = () => (0, P.useSyncExternalStore)(Oce, PM, () => "cards");
+function IM(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Ace = (e, t) => [
+var kce = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], jce = (e, t) => [
+], Ace = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Mce(e, t, n, r, i) {
+async function jce(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 = {
@@ -32743,22 +32743,22 @@ async function Mce(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 Nce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Pce = (e, t) => {
+var Mce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Nce = (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 IM(e) {
- let t = FM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function LM(e) {
+ let t = IM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Ace(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => Mce(t, e, n, r, i),
+ queryKey: kce(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => jce(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: Nce(n)
+ getNextPageParam: Mce(n)
};
}
-function Fce(e) {
+function Pce(e) {
return {
- queryKey: jce(e.entityKey || "", e.revision || 0),
+ queryKey: Ace(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -32773,12 +32773,12 @@ function Fce(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Pce
+ getNextPageParam: Nce
};
}
-async function Ice(e, t) {
- if (e.mode !== "catalog" || e.wall || NM() === "list") return;
- let n = IM(e);
+async function Fce(e, t) {
+ if (e.mode !== "catalog" || e.wall || PM() === "list") return;
+ let n = LM(e);
await H.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -32787,11 +32787,11 @@ async function Ice(e, t) {
})
});
}
-function Lce(e) {
+function Ice(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 LM(e, t, n) {
+function RM(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -32806,24 +32806,24 @@ function LM(e, t, n) {
return !0;
}) : [...e];
}
-var RM = (e, t) => !!e && !!eo(e, t);
-function Rce(e, t) {
- let n = (e) => RM(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) => RM(e, t)) || e[e.length - 1];
+var zM = (e, t) => !!e && !!eo(e, t);
+function Lce(e, t) {
+ let n = (e) => zM(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) => zM(e, t)) || e[e.length - 1];
}
-function zce(e, { collapse: t, mix: n, javImage: r }) {
+function Rce(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 = LM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = RM(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 = Rce(e, r);
+ let t = Lce(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -32836,16 +32836,16 @@ function zce(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Bce(e, t, n) {
+function zce(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 Vce(e, t) {
+function Bce(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 Hce(e, t) {
+function Vce(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -32858,10 +32858,10 @@ function Hce(e, t) {
strip: null
}), r;
}
-function zM(e, t) {
- BM((t) => t.id === e, t);
-}
function BM(e, t) {
+ VM((t) => t.id === e, t);
+}
+function VM(e, t) {
H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {
...n,
items: n.items.map((n) => e(n) ? {
@@ -32882,34 +32882,34 @@ function BM(e, t) {
} : n)
});
}
-var VM = (e) => Math.min(Math.max(e || 0, 0), 100), HM = (e) => Math.round(VM(e) / 20), Uce = (e) => {
- let t = HM(e);
+var HM = (e) => Math.min(Math.max(e || 0, 0), 100), UM = (e) => Math.round(HM(e) / 20), Hce = (e) => {
+ let t = UM(e);
return t ? `${t} 星` : "未评分";
-}, UM = (e, t) => t === HM(e) ? 0 : t * 20, WM = (e) => ["item", e], GM = (e) => [
+}, WM = (e, t) => t === UM(e) ? 0 : t * 20, GM = (e) => ["item", e], KM = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Wce = (e, t) => [
+], Uce = (e, t) => [
"item-related",
e,
t
-], Gce = (e) => `/api/item?id=${e}`, Kce = (e, t) => `/api/related?id=${e}&limit=${t}`, KM = "/api/playlist", qM = "/api/feedback", JM = "/api/item-tag", YM = "/api/watch-later", XM = "/api/quality-goal", ZM = "/api/preference", QM = class extends Error {};
-async function $M(e, t) {
- let n = await B(Gce(e), t);
- if (n.error) throw new QM(n.error);
+], Wce = (e) => `/api/item?id=${e}`, Gce = (e, t) => `/api/related?id=${e}&limit=${t}`, qM = "/api/playlist", JM = "/api/feedback", YM = "/api/item-tag", XM = "/api/watch-later", ZM = "/api/quality-goal", QM = "/api/preference", $M = class extends Error {};
+async function eN(e, t) {
+ let n = await B(Wce(e), t);
+ if (n.error) throw new $M(n.error);
return n;
}
-async function eN(e, t, n) {
+async function tN(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([$M(r, n), t.mixRelated(r)]);
- return H.setQueryData(WM(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([eN(r, n), t.mixRelated(r)]);
+ return H.setQueryData(GM(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${jo(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return tN(await B(`${KM}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return nN(await B(`${qM}?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 {
@@ -32920,19 +32920,19 @@ async function eN(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var tN = (e) => ({
+var nN = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), nN = (e) => e.disposal === "vanished";
-function rN(e, t) {
+}), rN = (e) => e.disposal === "vanished";
+function iN(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !nN(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !rN(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 qce(e, t) {
+function Kce(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 : {
@@ -32940,20 +32940,20 @@ function qce(e, t) {
part_label: n
};
}
-function iN(e, t) {
+function aN(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 aN(e, t) {
+async function oN(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = GM(n);
+ let o = KM(n);
try {
let r = n.fresh ? void 0 : H.getQueryData(o);
a = !r && n.kind === "mix", i = r || await H.fetchQuery({
queryKey: o,
- queryFn: () => eN(n, e.helpers, t),
+ queryFn: () => tN(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -32965,21 +32965,21 @@ async function aN(e, t) {
return;
}
}
- let o = i ? rN(i, e.id) : e.id;
+ let o = i ? iN(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(WM(o)) : void 0;
+ let s, c = a && o === i?.seedId ? H.getQueryData(GM(o)) : void 0;
try {
s = c || await H.fetchQuery({
- queryKey: WM(o),
- queryFn: () => $M(o, t),
+ queryKey: GM(o),
+ queryFn: () => eN(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof QM) {
+ if (e instanceof $M) {
r.redirect({ kind: "gone" });
return;
}
@@ -32990,7 +32990,7 @@ async function aN(e, t) {
id: Number(s.follow_item_id)
});
}
-function Jce(e) {
+function qce(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Hn(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -33012,35 +33012,35 @@ function Jce(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function Yce(e, t) {
+function Jce(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Hn(t.tagLabel(e.k)), i = n.get(r);
(!i || Hn(e.k) === r && Hn(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var oN = (e, t) => (e.tags || []).some((e) => Hn(e.k) === Hn(t)), sN = (e, t) => ({
+var sN = (e, t) => (e.tags || []).some((e) => Hn(e.k) === Hn(t)), cN = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Hn(e.k) !== Hn(t))
-}), cN = (e, t) => oN(e, t.k) ? e : {
+}), lN = (e, t) => sN(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, lN = "peach.recentTags";
-function uN() {
+}, uN = "peach.recentTags";
+function dN() {
try {
- let e = JSON.parse(localStorage.getItem(lN) || "[]");
+ let e = JSON.parse(localStorage.getItem(uN) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function dN(e) {
+function fN(e) {
try {
- let t = uN().filter((t) => Hn(t) !== Hn(e));
- localStorage.setItem(lN, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = dN().filter((t) => Hn(t) !== Hn(e));
+ localStorage.setItem(uN, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Xce(e, t, n) {
+function Yce(e, t, n) {
let r = Hn(e), i = new Map(t.map((e) => [Hn(e.k), e])), a = t.filter((e) => !r || Hn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Hn(e)) || {
k: e,
n: 0
@@ -33051,72 +33051,72 @@ function Xce(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Zce = {
+var Xce = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Qce = {
+}, Zce = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function $ce(e) {
+function Qce(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: Qce[e.kind],
+ title: Zce[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var fN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, ele = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(fN(e.part_label))}</small>` : "";
-function tle(e, t, n, r) {
+var pN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, $ce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(pN(e.part_label))}</small>` : "";
+function ele(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var nle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function rle(e, t) {
+var tle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function nle(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 ile(e) {
+function rle(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 pN(e, t) {
+function mN(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
// src/react/immerse/immerse.ts
-var ale = (e, t, n) => [
+var ile = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function ole(e) {
+function ale(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 sle = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function cle(e, t = Math.random) {
+var ole = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function sle(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 lle(e, t) {
- return cle(((await B(`/api/items?${e}`)).items || []).filter((e) => sle(e, t)));
+async function cle(e, t) {
+ return sle(((await B(`/api/items?${e}`)).items || []).filter((e) => ole(e, t)));
}
-var mN = (e) => H.ensureQueryData({
- queryKey: WM(e),
- queryFn: ({ signal: t }) => $M(e, t)
+var hN = (e) => H.ensureQueryData({
+ queryKey: GM(e),
+ queryFn: ({ signal: t }) => eN(e, t)
});
-function ule(e, t) {
+function lle(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function dle(e) {
+function ule(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,
@@ -33125,306 +33125,306 @@ function dle(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function fle(e, t, n) {
+function dle(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 ple(e, t) {
+function fle(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 mle = 15e3, hN = {
+var ple = 15e3, gN = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, gN = null, _N = null, vN = hN, yN = /* @__PURE__ */ new Set(), bN = 0, xN = 0, SN = 0, CN = "", wN = [], TN = 0, EN = !1, DN = !1, ON = null, kN = /* @__PURE__ */ new Set(), AN = "", jN = null, MN = 0, NN = null, PN = !1;
-function FN() {
- if (!gN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return gN;
+}, _N = null, vN = null, yN = gN, bN = /* @__PURE__ */ new Set(), xN = 0, SN = 0, CN = 0, wN = "", TN = [], EN = 0, DN = !1, ON = !1, kN = null, AN = /* @__PURE__ */ new Set(), jN = "", MN = null, NN = 0, PN = null, FN = !1;
+function IN() {
+ if (!_N) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return _N;
}
-function hle(e) {
- return yN.add(e), () => {
- yN.delete(e);
+function mle(e) {
+ return bN.add(e), () => {
+ bN.delete(e);
};
}
-function gle() {
- for (let e of [...yN]) e();
-}
-function IN() {
- (0, Lt.flushSync)(gle);
+function hle() {
+ for (let e of [...bN]) e();
}
function LN() {
- let e = jN ? Aj(jN.id) : 0;
- return e ? `${AN} · ${Mj(e)}` : AN;
+ (0, Lt.flushSync)(hle);
+}
+function RN() {
+ let e = MN ? Tj(MN.id) : 0;
+ return e ? `${jN} · ${Dj(e)}` : jN;
}
-function RN(e, t = null) {
- clearInterval(MN), MN = 0, e === null ? (vN = {
- ...vN,
+function zN(e, t = null) {
+ clearInterval(NN), NN = 0, e === null ? (yN = {
+ ...yN,
loading: null
- }, IN()) : (AN = e, jN = t, vN = {
- ...vN,
- loading: LN()
- }, IN(), MN = window.setInterval(() => {
- jN = wN[TN] ?? null, vN = {
- ...vN,
- loading: LN()
- }, IN();
+ }, LN()) : (jN = e, MN = t, yN = {
+ ...yN,
+ loading: RN()
+ }, LN(), NN = window.setInterval(() => {
+ MN = TN[EN] ?? null, yN = {
+ ...yN,
+ loading: RN()
+ }, LN();
}, 500));
}
-function zN(e) {
+function gle(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), _N.track.append(t);
- let r = lM(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), vN.track.append(t);
+ let r = iM(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => fM(r),
+ release: () => cM(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return kN.add(a), a;
+ return AN.add(a), a;
}
-function BN(e, t) {
+function _le(e, t) {
return new Promise((n) => {
- e.release = DM(e.video, {
+ e.release = OM(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- vN.open && ZN(1);
+ yN.open && KN(1);
}
}), e.gone.then(n);
});
}
-function VN(e) {
- e && !e.disposed && (e.disposed = !0, kN.delete(e), e.leave(), e.release(), e.el.remove(), ON === e && (ON = null));
+function BN(e) {
+ e && !e.disposed && (e.disposed = !0, AN.delete(e), e.leave(), e.release(), e.el.remove(), kN === e && (kN = null));
}
-var HN = [
+var VN = [
"loadeddata",
"canplay",
"error"
];
-function UN(e) {
+function vle(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), HN.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), VN.forEach((e) => t.removeEventListener(e, i)), n());
};
- HN.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, mle);
+ VN.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, ple);
e.gone.then(i);
});
}
-function WN(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = fle(e.videoWidth, e.videoHeight, n);
+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 = dle(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var GN = () => _N?.track.querySelectorAll("video").forEach(WN);
-function KN(e) {
- delete e.dataset.fit, e.readyState >= 1 ? WN(e) : e.addEventListener("loadedmetadata", () => WN(e), { once: !0 });
+var UN = () => vN?.track.querySelectorAll("video").forEach(HN);
+function yle(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? HN(e) : e.addEventListener("loadedmetadata", () => HN(e), { once: !0 });
}
-function qN(e) {
- vN = {
- ...vN,
+function ble(e) {
+ yN = {
+ ...yN,
wide: e
- }, IN(), GN();
+ }, LN(), UN();
}
-var JN = () => {
- let e = CN;
+var WN = () => {
+ let e = wN;
return H.fetchQuery({
- queryKey: ale(e, xN, SN),
- queryFn: () => lle(e, FN().sourceOffline),
+ queryKey: ile(e, SN, CN),
+ queryFn: () => cle(e, IN().sourceOffline),
staleTime: Infinity
});
};
-function YN(e, t) {
+function xle(e, t) {
let n = () => Kn(e.duration) || Kn(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && _N && (_N.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), NN = {
+ t && vN && (vN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), PN = {
video: e,
duration: n
};
}
-async function XN(e = 0) {
- let t = wN[TN];
- if (!t || EN) return;
- let n = bN;
- FN().route(t.id), EN = !0, RN(e ? "切换中" : "加载中", t);
+async function GN(e = 0) {
+ let t = TN[EN];
+ if (!t || DN) return;
+ let n = xN;
+ IN().route(t.id), DN = !0, zN(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await mN(t.id).catch((e) => {
- if (!(e instanceof QM)) throw e;
- }), n !== bN) return;
- let i = ON, a = !!(e && i);
- a || VN(i);
- let o = zN(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, KN(o.video), await BN(o, t), await UN(o), o.disposed || (qN(ple(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await hN(t.id).catch((e) => {
+ if (!(e instanceof $M)) throw e;
+ }), n !== xN) return;
+ let i = kN, a = !!(e && i);
+ a || BN(i);
+ let o = gle(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, yle(o.video), await _le(o, t), await vle(o), o.disposed || (ble(fle(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)), VN(i), o.el.style.transform = ""), o.disposed)) return;
- ON = o, r = null, o.video.play()?.catch(() => {}), vN = {
- ...vN,
+ })), await new Promise((e) => setTimeout(e, 210)), BN(i), o.el.style.transform = ""), o.disposed)) return;
+ kN = o, r = null, o.video.play()?.catch(() => {}), yN = {
+ ...yN,
idle: !1,
shown: {
item: t,
- index: TN,
- length: wN.length
+ index: EN,
+ length: TN.length
}
- }, YN(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), RN(null);
+ }, xle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), zN(null);
} catch {
- VN(r), n === bN && RN(null);
+ BN(r), n === xN && zN(null);
} finally {
- n === bN && (EN = !1);
+ n === xN && (DN = !1);
}
}
-async function ZN(e) {
- if (EN || !vN.open) return;
- let t = bN;
- if (TN += e, RN("切换中", wN[TN] ?? null), TN >= wN.length - 3 && !DN) {
- DN = !0;
+async function KN(e) {
+ if (DN || !yN.open) return;
+ let t = xN;
+ if (EN += e, zN("切换中", TN[EN] ?? null), EN >= TN.length - 3 && !ON) {
+ ON = !0;
try {
- SN += 1;
- let e = await JN();
- t === bN && (wN = ule(wN, e));
+ CN += 1;
+ let e = await WN();
+ t === xN && (TN = lle(TN, e));
} catch {} finally {
- DN = !1;
+ ON = !1;
}
}
- t === bN && (TN >= wN.length && (TN = 0), TN < 0 && (TN = wN.length - 1), await XN(e));
+ t === xN && (EN >= TN.length && (EN = 0), EN < 0 && (EN = TN.length - 1), await GN(e));
}
-async function QN(e) {
- let t = ++bN;
- $N(), xN += 1, SN = 0, CN = ole(FN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), vN = {
- ...vN,
+async function Sle(e) {
+ let t = ++xN;
+ qN(), SN += 1, CN = 0, wN = ale(IN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), yN = {
+ ...yN,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), RN("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), zN("加载内容");
try {
- let n = await JN();
+ let n = await WN();
if (e && !n.some((t) => t.id === e)) {
- let t = await mN(e).catch((e) => {
- if (e instanceof QM) return null;
+ let t = await hN(e).catch((e) => {
+ if (e instanceof $M) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== bN) return;
- if (wN = n, !wN.length) {
- eP(), FN().warn("当前筛选下没有可直接播放的内容");
+ if (t !== xN) return;
+ if (TN = n, !TN.length) {
+ JN(), IN().warn("当前筛选下没有可直接播放的内容");
return;
}
- TN = Math.max(0, wN.findIndex((t) => t.id === e)), await XN();
+ EN = Math.max(0, TN.findIndex((t) => t.id === e)), await GN();
} catch {
- if (t !== bN) return;
- RN(null), eP();
+ if (t !== xN) return;
+ zN(null), JN();
}
}
-function $N() {
- clearInterval(MN), MN = 0, oP(), iP = null, NN = null, PN = !1, [...kN].forEach(VN), EN = !1;
+function qN() {
+ clearInterval(NN), NN = 0, eP(), QN = null, PN = null, FN = !1, [...AN].forEach(BN), DN = !1;
}
-function eP() {
- vN.open && (bN++, $N(), vN = hN, document.body.removeAttribute("data-immerse-open"), IN(), FN().closed());
+function JN() {
+ yN.open && (xN++, qN(), yN = gN, document.body.removeAttribute("data-immerse-open"), LN(), IN().closed());
}
-var tP = 0, nP = null, rP = 0, iP = null, aP = 0;
-function oP() {
- clearTimeout(tP), tP = 0, nP = null;
+var YN = 0, XN = null, ZN = 0, QN = null, $N = 0;
+function eP() {
+ clearTimeout(YN), YN = 0, XN = null;
}
-function sP(e) {
- let t = ON?.video;
+function Cle(e) {
+ let t = kN?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- nP && nP.side === n && r - nP.at <= 280 ? (oP(), kM(t, FN().seekSeconds() * n)) : (tP && (clearTimeout(tP), tP = 0, OM(t)), nP = {
+ XN && XN.side === n && r - XN.at <= 280 ? (eP(), AM(t, IN().seekSeconds() * n)) : (YN && (clearTimeout(YN), YN = 0, kM(t)), XN = {
side: n,
at: r
- }, tP = window.setTimeout(() => {
- tP = 0, nP = null, vN.open && OM(ON?.video);
+ }, YN = window.setTimeout(() => {
+ YN = 0, XN = null, yN.open && kM(kN?.video);
}, 280));
}
-function cP() {
- Date.now() < rP || OM(ON?.video);
+function wle() {
+ Date.now() < ZN || kM(kN?.video);
}
-var lP = (e) => _N?.bar.toggleAttribute("data-scrubbing", e);
-function uP(e) {
- _N && (_N.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var tP = (e) => vN?.bar.toggleAttribute("data-scrubbing", e);
+function nP(e) {
+ vN && (vN.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function dP(e) {
+function rP(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- iP = null;
+ QN = null;
return;
}
- let n = ON?.video;
- iP = {
+ let n = kN?.video;
+ QN = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function fP(e) {
- if (!iP || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - iP.x, n = e.touches[0].clientY - iP.y;
- if (!iP.axis) {
+function iP(e) {
+ if (!QN || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - QN.x, n = e.touches[0].clientY - QN.y;
+ if (!QN.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- iP.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", iP.axis === "x" && lP(!0);
+ QN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", QN.axis === "x" && tP(!0);
}
- if (iP.axis !== "x") return;
- let r = ON?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), iP.to = Math.min(i, Math.max(0, iP.from + t / window.innerWidth * i)), uP(iP.to / i));
+ if (QN.axis !== "x") return;
+ let r = kN?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), QN.to = Math.min(i, Math.max(0, QN.from + t / window.innerWidth * i)), nP(QN.to / i));
}
-function pP(e) {
- if (!iP) return;
- let t = iP;
- if (iP = null, rP = Date.now() + 700, lP(!1), t.axis === "x") {
- let e = ON?.video;
+function aP(e) {
+ if (!QN) return;
+ let t = QN;
+ if (QN = null, ZN = Date.now() + 700, tP(!1), t.axis === "x") {
+ let e = kN?.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 ? (oP(), ZN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), sP(n.clientX));
+ Math.abs(i) > 60 ? (eP(), KN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Cle(n.clientX));
}
-function mP() {
- iP = null, lP(!1);
+function oP() {
+ QN = null, tP(!1);
}
-function hP(e) {
+function sP(e) {
let t = Date.now();
- t - aP < 260 || (aP = t, ZN(e.deltaY > 0 ? 1 : -1));
+ t - $N < 260 || ($N = t, KN(e.deltaY > 0 ? 1 : -1));
}
-function gP(e) {
- let t = _N.bar.getBoundingClientRect();
+function cP(e) {
+ let t = vN.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function _P(e) {
- NN?.duration() && (PN = !0, lP(!0), e.currentTarget.setPointerCapture(e.pointerId), uP(gP(e)), e.preventDefault());
+function Tle(e) {
+ PN?.duration() && (FN = !0, tP(!0), e.currentTarget.setPointerCapture(e.pointerId), nP(cP(e)), e.preventDefault());
}
-function vP(e) {
- PN && uP(gP(e));
+function Ele(e) {
+ FN && nP(cP(e));
}
-function yP(e) {
- if (!PN) return;
- PN = !1, lP(!1);
- let t = NN?.duration();
- NN && t && (NN.video.currentTime = t * gP(e));
+function Dle(e) {
+ if (!FN) return;
+ FN = !1, tP(!1);
+ let t = PN?.duration();
+ PN && t && (PN.video.currentTime = t * cP(e));
}
-function bP() {
- PN = !1, lP(!1);
+function Ole() {
+ FN = !1, tP(!1);
}
-async function xP(e, t) {
- let n = await V(qM, {
+async function lP(e, t) {
+ let n = await V(JM, {
id: e,
kind: t
- }), r = H.getQueryData(WM(e));
- if (!r) return zM(e, {
+ }), r = H.getQueryData(GM(e));
+ if (!r) return BM(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -33433,7 +33433,7 @@ async function xP(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return H.setQueryData(WM(e), i), zM(e, {
+ return H.setQueryData(GM(e), i), BM(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -33441,7 +33441,7 @@ async function xP(e, t) {
o_count: i.o_count
}), n;
}
-var SP = [
+var kle = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -33458,31 +33458,31 @@ var SP = [
label: "记一次高潮"
}
];
-function CP(e) {
+function uP(e) {
return Pt({
- queryKey: WM(e ?? 0),
- queryFn: ({ signal: t }) => $M(e, t),
+ queryKey: GM(e ?? 0),
+ queryFn: ({ signal: t }) => eN(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function wP({ kind: e, glyph: t, label: n, id: r }) {
- let i = CP(r), a = Ft({
+function Ale({ kind: e, glyph: t, label: n, id: r }) {
+ let i = uP(r), a = Ft({
mutationFn: async (t) => {
- let n = H.getQueryData(WM(t))?.feedback || null;
+ let n = H.getQueryData(GM(t))?.feedback || null;
return {
- result: await xP(t, e),
+ result: await lP(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- FN().toast(pN(e, t), { undo: async () => {
- e === "o" ? await xP(r, "o-undo") : (t.feedback && await xP(r, t.feedback), n && await xP(r, n));
+ IN().toast(mN(e, t), { undo: async () => {
+ e === "o" ? await lP(r, "o-undo") : (t.feedback && await lP(r, t.feedback), n && await lP(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- ZN(1);
+ KN(1);
}, 260);
},
- onError: (e) => FN().failure("更新反馈", e)
+ onError: (e) => IN().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": "",
@@ -33513,11 +33513,11 @@ function wP({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function TP({ shown: e }) {
- let t = e?.item ?? null, n = CP(t?.id ?? null), r = n ? dle(n) : null, i = FN(), a = (e) => {
- e.preventDefault(), n && (eP(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function jle({ shown: e }) {
+ let t = e?.item ?? null, n = uP(t?.id ?? null), r = n ? ule(n) : null, i = IN(), a = (e) => {
+ e.preventDefault(), n && (JN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (eP(), i.openItem(t.id));
+ t && (JN(), i.openItem(t.id));
}, s = r ? go(r.name, r.ref, Xa(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-immerse-ui": "",
@@ -33546,18 +33546,18 @@ function TP({ shown: e }) {
})]
});
}
-var EP = { __html: zs("媒体加载中") };
-function DP({ view: e }) {
+var Mle = { __html: zs("媒体加载中") };
+function Nle({ 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 _N = {
+ return vN = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", dP, { passive: !0 }), e.addEventListener("touchmove", fP, { passive: !1 }), e.addEventListener("touchend", pP, { passive: !1 }), e.addEventListener("touchcancel", mP, { passive: !0 }), e.addEventListener("wheel", hP, { passive: !0 }), () => {
- e.removeEventListener("touchstart", dP), e.removeEventListener("touchmove", fP), e.removeEventListener("touchend", pP), e.removeEventListener("touchcancel", mP), e.removeEventListener("wheel", hP), _N = null;
+ }, e.addEventListener("touchstart", rP, { passive: !0 }), e.addEventListener("touchmove", iP, { passive: !1 }), e.addEventListener("touchend", aP, { passive: !1 }), e.addEventListener("touchcancel", oP, { passive: !0 }), e.addEventListener("wheel", sP, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", rP), e.removeEventListener("touchmove", iP), e.removeEventListener("touchend", aP), e.removeEventListener("touchcancel", oP), e.removeEventListener("wheel", sP), vN = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -33574,10 +33574,10 @@ function DP({ view: e }) {
children: [/* @__PURE__ */ (0, F.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: cP
+ onClick: wle
}), /* @__PURE__ */ (0, F.jsx)("div", {
"data-immerse-actions": "",
- children: SP.map((e) => /* @__PURE__ */ (0, F.jsx)(wP, {
+ children: kle.map((e) => /* @__PURE__ */ (0, F.jsx)(Ale, {
...e,
id: a
}, e.kind))
@@ -33590,7 +33590,7 @@ function DP({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: EP
+ dangerouslySetInnerHTML: Mle
}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -33598,7 +33598,7 @@ function DP({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: eP,
+ onClick: JN,
children: /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-x" })
@@ -33607,88 +33607,139 @@ function DP({ view: e }) {
/* @__PURE__ */ (0, F.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: _P,
- onPointerMove: vP,
- onPointerUp: yP,
- onPointerCancel: bP,
+ onPointerDown: Tle,
+ onPointerMove: Ele,
+ onPointerUp: Dle,
+ onPointerCancel: Ole,
children: /* @__PURE__ */ (0, F.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, F.jsx)(TP, { shown: e.shown })
+ /* @__PURE__ */ (0, F.jsx)(jle, { shown: e.shown })
]
});
}
-var OP = {
- open: QN,
- close: eP,
- isOpen: () => vN.open,
- activeVideo: () => vN.open ? ON?.video ?? null : null
+var Ple = {
+ open: Sle,
+ close: JN,
+ isOpen: () => yN.open,
+ activeVideo: () => yN.open ? kN?.video ?? null : null
};
-function kP(e) {
- if (!vN.open) return;
+function Fle(e) {
+ if (!yN.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && ZN(1), e.key === "ArrowUp" && ZN(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && KN(1), e.key === "ArrowUp" && KN(-1));
}
-function AP(e) {
- let t = !gN;
- return gN = e, t && (document.addEventListener("keydown", kP), addEventListener("resize", () => {
- vN.open && GN();
+function Ile(e) {
+ let t = !_N;
+ return _N = e, t && (document.addEventListener("keydown", Fle), addEventListener("resize", () => {
+ yN.open && UN();
}), addEventListener("pagehide", () => {
- kN.forEach((e) => fM(e.session));
- })), OP;
+ AN.forEach((e) => cM(e.session));
+ })), Ple;
}
-function jP() {
- let e = (0, P.useSyncExternalStore)(hle, () => vN);
- return gN ? /* @__PURE__ */ (0, F.jsx)(DP, { view: e }) : null;
+function Lle() {
+ let e = (0, P.useSyncExternalStore)(mle, () => yN);
+ return _N ? /* @__PURE__ */ (0, F.jsx)(Nle, { view: e }) : null;
}
-// src/manage-header.ts
-var MP = {
+// src/cleanup-tools.ts
+var dP = [
+ {
+ key: "organize",
+ path: "/data-cleanup/organize",
+ title: "整理文件",
+ icon: "folder-cog",
+ description: "清理文件名,按模板改名和归档;先预览,执行后可整批退回。"
+ },
+ {
+ key: "resource-sync",
+ path: "/data-cleanup/resource-sync",
+ title: "资源同步",
+ icon: "git-compare",
+ description: "核对文件与馆藏记录,检查失效条目、空文件夹和缓存。"
+ },
+ {
+ key: "orphan-records",
+ path: "/data-cleanup/orphan-records",
+ title: "文件已丢失的记录",
+ icon: "file-stack",
+ description: "为丢失的文件选择替代版本,转移或清理保留的个人记录。"
+ },
+ {
+ key: "media-repair",
+ path: "/data-cleanup/media-repair",
+ title: "媒体修复",
+ icon: "wrench",
+ description: "处理播放卡顿或打不开的视频,修复时间戳表和索引。"
+ },
+ {
+ key: "links",
+ path: "/data-cleanup/links",
+ title: "链接管理",
+ icon: "link",
+ description: "检查官网、社交账号和资料站链接,复核并清理失效地址。"
+ },
+ {
+ key: "batch-delete",
+ path: "/data-cleanup/batch-delete",
+ title: "批量删除",
+ icon: "trash",
+ description: "按女优勾选并永久删除关联影片,执行前确认范围与影响。"
+ }
+], fP = Object.fromEntries(dP.map((e) => [e.path, e.title])), Rle = {
+ "#organize": "/data-cleanup/organize",
+ "#mediaRepair": "/data-cleanup/media-repair",
+ "#link-manager": "/data-cleanup/links",
+ "#resource-sync": "/data-cleanup/resource-sync",
+ "#orphan-records": "/data-cleanup/orphan-records",
+ "#batch-delete": "/data-cleanup/batch-delete"
+}, pP = {
+ ...fP,
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, NP = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function PP(e) {
- let t = MP[e.path] ? "cleanup" : e.section;
+}, zle = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function Ble(e) {
+ let t = pP[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var FP = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
-function IP(e) {
+var Vle = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+function mP(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = MP[e.path] ?? "";
+ let n = pP[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: PP(e),
+ pressed: Ble(e),
crumb: n,
- compact: NP.has(e.path) || e.section === "configuration",
+ compact: zle.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: FP(e.trash),
+ text: Vle(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var LP = (e) => e.replace(/[&<>"']/g, (e) => ({
+var hP = (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-${LP(e)}"/></svg>`, zP = "<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 BP(e) {
- let t = IP(e);
+})[e]), gP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${hP(e)}"/></svg>`, _P = "<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 Hle(e) {
+ let t = mP(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
- return `<button type="button" data-manage="${LP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${RP(r)}<span>${LP(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>${LP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? zP : `<span data-lede-text="">${LP(t.lede.text)}</span>${t.lede.total ? VP : ""}`}</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=\"\"" : ""}>${LP(t.title)}</h2>` + i;
+ return `<button type="button" data-manage="${hP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${gP(r)}<span>${hP(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${gP("chevron-right")}</li><li aria-current="true"><span>${hP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? _P : `<span data-lede-text="">${hP(t.lede.text)}</span>${t.lede.total ? Ule : ""}`}</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=\"\"" : ""}>${hP(t.title)}</h2>` + i;
}
-var VP = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Ule = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
// src/react/settings-panel/icon.tsx
-function HP({ name: e }) {
+function vP({ name: e }) {
let { wide: t, viewBox: n } = Sn(e);
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: n,
@@ -33697,7 +33748,7 @@ function HP({ name: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
});
}
-function UP({ name: e }) {
+function Wle({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -33705,88 +33756,88 @@ function UP({ name: e }) {
});
}
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var WP = (e, t) => {
+var Gle = (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;
-}, GP = (e, t) => ({
+}, Kle = (e, t) => ({
classGroupId: e,
validator: t
-}), KP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), yP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), qP = "-", JP = [], _le = "arbitrary..", vle = (e) => {
- let t = ble(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), bP = "-", xP = [], qle = "arbitrary..", Jle = (e) => {
+ let t = Xle(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return yle(e);
- let n = e.split(qP);
- return YP(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Yle(e);
+ let n = e.split(bP);
+ return SP(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? WP(i, t) : t : i || JP;
+ return t ? i ? Gle(i, t) : t : i || xP;
}
- return n[e] || JP;
+ return n[e] || xP;
}
};
-}, YP = (e, t, n) => {
+}, SP = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = YP(e, t + 1, i);
+ let n = SP(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(qP) : e.slice(t).join(qP), s = a.length;
+ let o = t === 0 ? e.join(bP) : e.slice(t).join(bP), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, yle = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Yle = (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 ? _le + r : void 0;
-})(), ble = (e) => {
+ return r ? qle + r : void 0;
+})(), Xle = (e) => {
let { theme: t, classGroups: n } = e;
- return xle(n, t);
-}, xle = (e, t) => {
- let n = KP();
+ return Zle(n, t);
+}, Zle = (e, t) => {
+ let n = yP();
for (let r in e) {
let i = e[r];
- XP(i, n, r, t);
+ CP(i, n, r, t);
}
return n;
-}, XP = (e, t, n, r) => {
+}, CP = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Sle(i, t, n, r);
+ Qle(i, t, n, r);
}
-}, Sle = (e, t, n, r) => {
- typeof e == "string" ? Cle(e, t, n) : typeof e == "function" ? wle(e, t, n, r) : Tle(e, t, n, r);
-}, Cle = (e, t, n) => {
- let r = e === "" ? t : ZP(t, e);
+}, Qle = (e, t, n, r) => {
+ typeof e == "string" ? $le(e, t, n) : typeof e == "function" ? eue(e, t, n, r) : tue(e, t, n, r);
+}, $le = (e, t, n) => {
+ let r = e === "" ? t : wP(t, e);
r.classGroupId = n;
-}, wle = (e, t, n, r) => {
- Ele(e) ? XP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(GP(n, e)));
-}, Tle = (e, t, n, r) => {
+}, eue = (e, t, n, r) => {
+ nue(e) ? CP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Kle(n, e)));
+}, tue = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- XP(o, ZP(t, a), n, r);
+ CP(o, wP(t, a), n, r);
}
-}, ZP = (e, t) => {
- let n = e, r = t.split(qP), i = r.length;
+}, wP = (e, t) => {
+ let n = e, r = t.split(bP), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = KP(), n.nextPart.set(t, i)), n = i;
+ i || (i = yP(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Ele = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Dle = (e) => {
+}, nue = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, rue = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -33804,19 +33855,19 @@ var WP = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, QP = "!", $P = ":", Ole = [], eF = (e, t, n, r, i) => ({
+}, TP = "!", EP = ":", iue = [], DP = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), kle = (e) => {
+}), aue = (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 === $P) {
+ if (o === EP) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -33828,13 +33879,13 @@ var WP = (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(QP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(QP) && (c = s.slice(1), l = !0);
+ s.endsWith(TP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(TP) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return eF(t, l, c, u);
+ return DP(t, l, c, u);
};
if (t) {
- let e = t + $P, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : eF(Ole, !1, t, void 0, !0);
+ let e = t + EP, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : DP(iue, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -33844,7 +33895,7 @@ var WP = (e, t) => {
});
}
return r;
-}, Ale = (e) => {
+}, oue = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -33856,18 +33907,18 @@ var WP = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, jle = (e) => ({
- cache: Dle(e.cacheSize),
- parseClassName: kle(e),
- sortModifiers: Ale(e),
- postfixLookupClassGroupIds: Mle(e),
- ...vle(e)
-}), Mle = (e) => {
+}, sue = (e) => ({
+ cache: rue(e.cacheSize),
+ parseClassName: aue(e),
+ sortModifiers: oue(e),
+ postfixLookupClassGroupIds: cue(e),
+ ...Jle(e)
+}), cue = (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;
-}, Nle = /\s+/, Ple = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Nle), l = "";
+}, lue = /\s+/, uue = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(lue), 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) {
@@ -33887,7 +33938,7 @@ var WP = (e, t) => {
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + QP : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + TP : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -33898,34 +33949,34 @@ var WP = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Fle = (...e) => {
+}, due = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = tF(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = OP(n)) && (i && (i += " "), i += r);
return i;
-}, tF = (e) => {
+}, OP = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = tF(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = OP(e[r])) && (n && (n += " "), n += t);
return n;
-}, nF = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = jle(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, kP = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = sue(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 = Ple(e, n);
+ let a = uue(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Fle(...e));
-}, Ile = [], rF = (e) => {
- let t = (t) => t[e] || Ile;
+ return a = o, (...e) => a(due(...e));
+}, fue = [], AP = (e) => {
+ let t = (t) => t[e] || fue;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, iF = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, aF = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Lle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Rle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, zle = /\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$/, Ble = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Vle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Hle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, oF = (e) => Lle.test(e), sF = (e) => !!e && !Number.isNaN(Number(e)), cF = (e) => !!e && Number.isInteger(Number(e)), lF = (e) => e.endsWith("%") && sF(e.slice(0, -1)), uF = (e) => Rle.test(e), dF = () => !0, Ule = (e) => zle.test(e) && !Ble.test(e), fF = () => !1, Wle = (e) => Vle.test(e), Gle = (e) => Hle.test(e), Kle = (e) => !pF(e) && !vF(e), qle = (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)), Jle = (e) => SF(e, EF, fF), pF = (e) => iF.test(e), mF = (e) => SF(e, DF, Ule), hF = (e) => SF(e, nue, sF), Yle = (e) => SF(e, kF, dF), Xle = (e) => SF(e, OF, fF), gF = (e) => SF(e, wF, fF), Zle = (e) => SF(e, TF, Gle), _F = (e) => SF(e, AF, Wle), vF = (e) => aF.test(e), yF = (e) => CF(e, DF), Qle = (e) => CF(e, OF), bF = (e) => CF(e, wF), $le = (e) => CF(e, EF), eue = (e) => CF(e, TF), xF = (e) => CF(e, AF, !0), tue = (e) => CF(e, kF, !0), SF = (e, t, n) => {
- let r = iF.exec(e);
+}, jP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, MP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, pue = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, mue = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, hue = /\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$/, gue = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, _ue = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vue = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, NP = (e) => pue.test(e), PP = (e) => !!e && !Number.isNaN(Number(e)), FP = (e) => !!e && Number.isInteger(Number(e)), IP = (e) => e.endsWith("%") && PP(e.slice(0, -1)), LP = (e) => mue.test(e), RP = () => !0, yue = (e) => hue.test(e) && !gue.test(e), zP = () => !1, bue = (e) => _ue.test(e), xue = (e) => vue.test(e), Sue = (e) => !BP(e) && !GP(e), Cue = (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)), wue = (e) => YP(e, $P, zP), BP = (e) => jP.test(e), VP = (e) => YP(e, eF, yue), HP = (e) => YP(e, Mue, PP), Tue = (e) => YP(e, nF, RP), Eue = (e) => YP(e, tF, zP), UP = (e) => YP(e, ZP, zP), Due = (e) => YP(e, QP, xue), WP = (e) => YP(e, rF, bue), GP = (e) => MP.test(e), KP = (e) => XP(e, eF), Oue = (e) => XP(e, tF), qP = (e) => XP(e, ZP), kue = (e) => XP(e, $P), Aue = (e) => XP(e, QP), JP = (e) => XP(e, rF, !0), jue = (e) => XP(e, nF, !0), YP = (e, t, n) => {
+ let r = jP.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, CF = (e, t, n = !1) => {
- let r = aF.exec(e);
+}, XP = (e, t, n = !1) => {
+ let r = MP.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, wF = (e) => e === "position" || e === "percentage", TF = (e) => e === "image" || e === "url", EF = (e) => e === "length" || e === "size" || e === "bg-size", DF = (e) => e === "length", nue = (e) => e === "number", OF = (e) => e === "family-name", kF = (e) => e === "number" || e === "weight", AF = (e) => e === "shadow", jF = () => {
- let e = rF("color"), t = rF("font"), n = rF("text"), r = rF("font-weight"), i = rF("tracking"), a = rF("leading"), o = rF("breakpoint"), s = rF("container"), c = rF("spacing"), l = rF("radius"), u = rF("shadow"), d = rF("inset-shadow"), f = rF("text-shadow"), p = rF("drop-shadow"), m = rF("blur"), h = rF("perspective"), g = rF("aspect"), _ = rF("ease"), v = rF("animate"), y = () => [
+}, ZP = (e) => e === "position" || e === "percentage", QP = (e) => e === "image" || e === "url", $P = (e) => e === "length" || e === "size" || e === "bg-size", eF = (e) => e === "length", Mue = (e) => e === "number", tF = (e) => e === "family-name", nF = (e) => e === "number" || e === "weight", rF = (e) => e === "shadow", iF = () => {
+ let e = AP("color"), t = AP("font"), n = AP("text"), r = AP("font-weight"), i = AP("tracking"), a = AP("leading"), o = AP("breakpoint"), s = AP("container"), c = AP("spacing"), l = AP("radius"), u = AP("shadow"), d = AP("inset-shadow"), f = AP("text-shadow"), p = AP("drop-shadow"), m = AP("blur"), h = AP("perspective"), g = AP("aspect"), _ = AP("ease"), v = AP("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -33950,8 +34001,8 @@ var WP = (e, t) => {
"left-bottom"
], x = () => [
...b(),
- vF,
- pF
+ GP,
+ BP
], S = () => [
"auto",
"hidden",
@@ -33963,43 +34014,43 @@ var WP = (e, t) => {
"contain",
"none"
], w = () => [
- vF,
- pF,
+ GP,
+ BP,
c
], T = () => [
- oF,
+ NP,
"full",
"auto",
...w()
], E = () => [
- cF,
+ FP,
"none",
"subgrid",
- vF,
- pF
+ GP,
+ BP
], D = () => [
"auto",
{ span: [
"full",
- cF,
- vF,
- pF
+ FP,
+ GP,
+ BP
] },
- cF,
- vF,
- pF
+ FP,
+ GP,
+ BP
], O = () => [
- cF,
+ FP,
"auto",
- vF,
- pF
+ GP,
+ BP
], k = () => [
"auto",
"min",
"max",
"fr",
- vF,
- pF
+ GP,
+ BP
], A = () => [
"start",
"end",
@@ -34019,7 +34070,7 @@ var WP = (e, t) => {
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], ee = () => [
- oF,
+ NP,
"auto",
"full",
"dvw",
@@ -34034,7 +34085,7 @@ var WP = (e, t) => {
...w()
], te = () => [
s,
- oF,
+ NP,
"screen",
"full",
"dvw",
@@ -34045,7 +34096,7 @@ var WP = (e, t) => {
"fit",
...w()
], ne = () => [
- oF,
+ NP,
"screen",
"full",
"lh",
@@ -34058,13 +34109,13 @@ var WP = (e, t) => {
...w()
], N = () => [
e,
- vF,
- pF
+ GP,
+ BP
], re = () => [
...b(),
- bF,
- gF,
- { position: [vF, pF] }
+ qP,
+ UP,
+ { position: [GP, BP] }
], ie = () => ["no-repeat", { repeat: [
"",
"x",
@@ -34075,25 +34126,25 @@ var WP = (e, t) => {
"auto",
"cover",
"contain",
- $le,
- Jle,
- { size: [vF, pF] }
+ kue,
+ wue,
+ { size: [GP, BP] }
], F = () => [
- lF,
- yF,
- mF
+ IP,
+ KP,
+ VP
], ae = () => [
"",
"none",
"full",
l,
- vF,
- pF
+ GP,
+ BP
], oe = () => [
"",
- sF,
- yF,
- mF
+ PP,
+ KP,
+ VP
], se = () => [
"solid",
"dashed",
@@ -34117,32 +34168,32 @@ var WP = (e, t) => {
"color",
"luminosity"
], le = () => [
- sF,
- lF,
- bF,
- gF
+ PP,
+ IP,
+ qP,
+ UP
], ue = () => [
"",
"none",
m,
- vF,
- pF
+ GP,
+ BP
], de = () => [
"none",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
], fe = () => [
"none",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
], pe = () => [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
], me = () => [
- oF,
+ NP,
"full",
...w()
];
@@ -34156,17 +34207,17 @@ var WP = (e, t) => {
"bounce"
],
aspect: ["video"],
- blur: [uF],
- breakpoint: [uF],
- color: [dF],
- container: [uF],
- "drop-shadow": [uF],
+ blur: [LP],
+ breakpoint: [LP],
+ color: [RP],
+ container: [LP],
+ "drop-shadow": [LP],
ease: [
"in",
"out",
"in-out"
],
- font: [Kle],
+ font: [Sue],
"font-weight": [
"thin",
"extralight",
@@ -34178,7 +34229,7 @@ var WP = (e, t) => {
"extrabold",
"black"
],
- "inset-shadow": [uF],
+ "inset-shadow": [LP],
leading: [
"none",
"tight",
@@ -34195,11 +34246,11 @@ var WP = (e, t) => {
"distant",
"none"
],
- radius: [uF],
- shadow: [uF],
- spacing: ["px", sF],
- text: [uF],
- "text-shadow": [uF],
+ radius: [LP],
+ shadow: [LP],
+ spacing: ["px", PP],
+ text: [LP],
+ "text-shadow": [LP],
tracking: [
"tighter",
"tight",
@@ -34213,9 +34264,9 @@ var WP = (e, t) => {
aspect: [{ aspect: [
"auto",
"square",
- oF,
- pF,
- vF,
+ NP,
+ BP,
+ GP,
g
] }],
container: ["container"],
@@ -34223,15 +34274,15 @@ var WP = (e, t) => {
"",
"normal",
"size",
- vF,
- pF
+ GP,
+ BP
] }],
- "container-named": [qle],
+ "container-named": [Cue],
columns: [{ columns: [
- sF,
+ PP,
"auto",
- pF,
- vF,
+ BP,
+ GP,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -34328,13 +34379,13 @@ var WP = (e, t) => {
"collapse"
],
z: [{ z: [
- cF,
+ FP,
"auto",
- vF,
- pF
+ GP,
+ BP
] }],
basis: [{ basis: [
- oF,
+ NP,
"full",
"auto",
s,
@@ -34352,32 +34403,32 @@ var WP = (e, t) => {
"wrap-reverse"
] }],
flex: [{ flex: [
- sF,
- oF,
+ PP,
+ NP,
"auto",
"initial",
"none",
- pF
+ BP
] }],
grow: [{ grow: [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
shrink: [{ shrink: [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
order: [{ order: [
- cF,
+ FP,
"first",
"last",
"none",
- vF,
- pF
+ GP,
+ BP
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -34484,15 +34535,15 @@ var WP = (e, t) => {
"font-size": [{ text: [
"base",
n,
- yF,
- mF
+ KP,
+ VP
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- tue,
- Yle
+ jue,
+ Tue
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -34504,15 +34555,15 @@ var WP = (e, t) => {
"expanded",
"extra-expanded",
"ultra-expanded",
- lF,
- pF
+ IP,
+ BP
] }],
"font-family": [{ font: [
- Qle,
- Xle,
+ Oue,
+ Eue,
t
] }],
- "font-features": [{ "font-features": [pF] }],
+ "font-features": [{ "font-features": [BP] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -34521,14 +34572,14 @@ var WP = (e, t) => {
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- vF,
- pF
+ GP,
+ BP
] }],
"line-clamp": [{ "line-clamp": [
- sF,
+ PP,
"none",
- vF,
- hF
+ GP,
+ HP
] }],
leading: [{ leading: [
"none",
@@ -34537,16 +34588,16 @@ var WP = (e, t) => {
] }],
"list-image": [{ "list-image": [
"none",
- vF,
- pF
+ GP,
+ BP
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- vF,
- pF
+ GP,
+ BP
] }],
"text-alignment": [{ text: [
"left",
@@ -34566,18 +34617,18 @@ var WP = (e, t) => {
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- sF,
+ PP,
"from-font",
"auto",
- vF,
- mF
+ GP,
+ VP
] }],
"text-decoration-color": [{ decoration: N() }],
"underline-offset": [{ "underline-offset": [
- sF,
+ PP,
"auto",
- vF,
- pF
+ GP,
+ BP
] }],
"text-transform": [
"uppercase",
@@ -34598,9 +34649,9 @@ var WP = (e, t) => {
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- cF,
- vF,
- pF
+ FP,
+ GP,
+ BP
] }],
"vertical-align": [{ align: [
"baseline",
@@ -34611,8 +34662,8 @@ var WP = (e, t) => {
"text-bottom",
"sub",
"super",
- vF,
- pF
+ GP,
+ BP
] }],
whitespace: [{ whitespace: [
"normal",
@@ -34640,8 +34691,8 @@ var WP = (e, t) => {
] }],
content: [{ content: [
"none",
- vF,
- pF
+ GP,
+ BP
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -34676,24 +34727,24 @@ var WP = (e, t) => {
"l",
"tl"
] },
- cF,
- vF,
- pF
+ FP,
+ GP,
+ BP
],
radial: [
"",
- vF,
- pF
+ GP,
+ BP
],
conic: [
"",
- cF,
- vF,
- pF
+ FP,
+ GP,
+ BP
]
},
- eue,
- Zle
+ Aue,
+ Due
] }],
"bg-color": [{ bg: N() }],
"gradient-from-pos": [{ from: F() }],
@@ -34760,15 +34811,15 @@ var WP = (e, t) => {
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"outline-w": [{ outline: [
"",
- sF,
- yF,
- mF
+ PP,
+ KP,
+ VP
] }],
"outline-color": [{ outline: N() }],
shadow: [{ shadow: [
@@ -34776,35 +34827,35 @@ var WP = (e, t) => {
"inner",
"none",
u,
- xF,
- _F
+ JP,
+ WP
] }],
"shadow-color": [{ shadow: N() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- xF,
- _F
+ JP,
+ WP
] }],
"inset-shadow-color": [{ "inset-shadow": N() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: N() }],
- "ring-offset-w": [{ "ring-offset": [sF, mF] }],
+ "ring-offset-w": [{ "ring-offset": [PP, VP] }],
"ring-offset-color": [{ "ring-offset": N() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": N() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- xF,
- _F
+ JP,
+ WP
] }],
"text-shadow-color": [{ "text-shadow": N() }],
opacity: [{ opacity: [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"mix-blend": [{ "mix-blend": [
...ce(),
@@ -34826,7 +34877,7 @@ var WP = (e, t) => {
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [sF] }],
+ "mask-image-linear-pos": [{ "mask-linear": [PP] }],
"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() }],
@@ -34855,7 +34906,7 @@ var WP = (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": [vF, pF] }],
+ "mask-image-radial": [{ "mask-radial": [GP, BP] }],
"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() }],
@@ -34866,7 +34917,7 @@ var WP = (e, t) => {
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [sF] }],
+ "mask-image-conic-pos": [{ "mask-conic": [PP] }],
"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() }],
@@ -34890,111 +34941,111 @@ var WP = (e, t) => {
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- vF,
- pF
+ GP,
+ BP
] }],
filter: [{ filter: [
"",
"none",
- vF,
- pF
+ GP,
+ BP
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
contrast: [{ contrast: [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- xF,
- _F
+ JP,
+ WP
] }],
"drop-shadow-color": [{ "drop-shadow": N() }],
grayscale: [{ grayscale: [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"hue-rotate": [{ "hue-rotate": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
invert: [{ invert: [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
saturate: [{ saturate: [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
sepia: [{ sepia: [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- vF,
- pF
+ GP,
+ BP
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -35010,39 +35061,39 @@ var WP = (e, t) => {
"shadow",
"transform",
"none",
- vF,
- pF
+ GP,
+ BP
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- sF,
+ PP,
"initial",
- vF,
- pF
+ GP,
+ BP
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- vF,
- pF
+ GP,
+ BP
] }],
delay: [{ delay: [
- sF,
- vF,
- pF
+ PP,
+ GP,
+ BP
] }],
animate: [{ animate: [
"none",
v,
- vF,
- pF
+ GP,
+ BP
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- vF,
- pF
+ GP,
+ BP
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: de() }],
@@ -35058,8 +35109,8 @@ var WP = (e, t) => {
"skew-x": [{ "skew-x": pe() }],
"skew-y": [{ "skew-y": pe() }],
transform: [{ transform: [
- vF,
- pF,
+ GP,
+ BP,
"",
"none",
"gpu",
@@ -35073,9 +35124,9 @@ var WP = (e, t) => {
"translate-z": [{ "translate-z": me() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- cF,
- vF,
- pF
+ FP,
+ GP,
+ BP
] }],
accent: [{ accent: N() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -35125,8 +35176,8 @@ var WP = (e, t) => {
"nwse-resize",
"zoom-in",
"zoom-out",
- vF,
- pF
+ GP,
+ BP
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -35212,15 +35263,15 @@ var WP = (e, t) => {
"scroll",
"contents",
"transform",
- vF,
- pF
+ GP,
+ BP
] }],
fill: [{ fill: ["none", ...N()] }],
"stroke-w": [{ stroke: [
- sF,
- yF,
- mF,
- hF
+ PP,
+ KP,
+ VP,
+ HP
] }],
stroke: [{ stroke: ["none", ...N()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -35478,16 +35529,16 @@ var WP = (e, t) => {
"selection"
]
};
-}, rue = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (MF(e, "cacheSize", t), MF(e, "prefix", n), MF(e, "experimentalParseClassName", r), NF(e.theme, a.theme), NF(e.classGroups, a.classGroups), NF(e.conflictingClassGroups, a.conflictingClassGroups), NF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), MF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), MF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), PF(e.theme, i.theme), PF(e.classGroups, i.classGroups), PF(e.conflictingClassGroups, i.conflictingClassGroups), PF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), FF(e, i, "postfixLookupClassGroups"), FF(e, i, "orderSensitiveModifiers"), e), MF = (e, t, n) => {
+}, Nue = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (aF(e, "cacheSize", t), aF(e, "prefix", n), aF(e, "experimentalParseClassName", r), oF(e.theme, a.theme), oF(e.classGroups, a.classGroups), oF(e.conflictingClassGroups, a.conflictingClassGroups), oF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), aF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), aF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), sF(e.theme, i.theme), sF(e.classGroups, i.classGroups), sF(e.conflictingClassGroups, i.conflictingClassGroups), sF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), cF(e, i, "postfixLookupClassGroups"), cF(e, i, "orderSensitiveModifiers"), e), aF = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, NF = (e, t) => {
- if (t) for (let n in t) MF(e, n, t[n]);
-}, PF = (e, t) => {
- if (t) for (let n in t) FF(e, t, n);
-}, FF = (e, t, n) => {
+}, oF = (e, t) => {
+ if (t) for (let n in t) aF(e, n, t[n]);
+}, sF = (e, t) => {
+ if (t) for (let n in t) cF(e, t, n);
+}, cF = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, iue = (e, ...t) => typeof e == "function" ? nF(jF, e, ...t) : nF(() => rue(jF(), e), ...t), aue = [
+}, Pue = (e, ...t) => typeof e == "function" ? kP(iF, e, ...t) : kP(() => Nue(iF(), e), ...t), Fue = [
"large-title",
"display-1",
"display-2",
@@ -35501,17 +35552,17 @@ var WP = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], oue = [
+], Iue = [
"regular",
"medium",
"semibold",
"bold"
-], IF = iue({ extend: { classGroups: { "font-size": [{ text: aue.flatMap((e) => oue.map((t) => `${e}-${t}`)) }] } } });
-function LF(e) {
+], lF = Pue({ extend: { classGroups: { "font-size": [{ text: Fue.flatMap((e) => Iue.map((t) => `${e}-${t}`)) }] } } });
+function uF(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var sue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, RF = LF({
+var Lue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, dF = uF({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -35533,9 +35584,9 @@ var sue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, RF = LF({
gray: "text-text-primary"
}
});
-function zF({ children: e, className: t, ref: n, container: r, ...i }) {
+function fF({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, P.useRef)(null), [o, s] = (0, P.useState)(null);
- sue(() => {
+ Lue(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -35571,7 +35622,7 @@ function zF({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: IF("pointer-events-none absolute left-0 top-0", RF.radius[o.variant], RF.thumb[o.variant]),
+ className: lF("pointer-events-none absolute left-0 top-0", dF.radius[o.variant], dF.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -35582,43 +35633,43 @@ function zF({ children: e, className: t, ref: n, container: r, ...i }) {
return r === void 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {
ref: c,
role: "group",
- className: IF("relative inline-flex items-center gap-1", t),
+ className: lF("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 BF = null, VF = null, HF = /* @__PURE__ */ new Set();
-function cue(e) {
- return HF.add(e), () => {
- HF.delete(e);
+var pF = null, mF = null, hF = /* @__PURE__ */ new Set();
+function Rue(e) {
+ return hF.add(e), () => {
+ hF.delete(e);
};
}
-function lue() {
- for (let e of [...HF]) e();
+function zue() {
+ for (let e of [...hF]) e();
}
-var uue = { render(e) {
- VF = e, (0, Lt.flushSync)(lue);
+var Bue = { render(e) {
+ mF = e, (0, Lt.flushSync)(zue);
} };
-function due(e) {
- return BF = e, VF = null, uue;
+function Vue(e) {
+ return pF = e, mF = null, Bue;
}
-function fue() {
- let e = (0, P.useSyncExternalStore)(cue, () => VF);
- return BF && e ? /* @__PURE__ */ (0, F.jsx)(pue, {
- host: BF,
+function Hue() {
+ let e = (0, P.useSyncExternalStore)(Rue, () => mF);
+ return pF && e ? /* @__PURE__ */ (0, F.jsx)(Uue, {
+ host: pF,
props: e
}) : null;
}
-function pue({ host: e, props: t }) {
- let n = IP(t);
+function Uue({ host: e, props: t }) {
+ let n = mP(t);
return n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(mue, {
+ /* @__PURE__ */ (0, F.jsx)(Wue, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, F.jsx)(hue, {
+ n.crumb ? /* @__PURE__ */ (0, F.jsx)(Gue, {
host: e,
label: n.crumb
}) : null,
@@ -35627,13 +35678,13 @@ function pue({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(gue, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Kue, {
host: e,
lede: n.lede
})
] }) : null;
}
-function mue({ host: e, pressed: t, menu: n }) {
+function Wue({ 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\"]");
@@ -35643,7 +35694,7 @@ function mue({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, F.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, F.jsx)(zF, {
+ children: /* @__PURE__ */ (0, F.jsx)(fF, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -35657,13 +35708,13 @@ function mue({ 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)(HP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, F.jsx)(vP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]
}, n);
})
})
});
}
-function hue({ host: e, label: t }) {
+function Gue({ host: e, label: t }) {
return /* @__PURE__ */ (0, F.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -35673,20 +35724,20 @@ function hue({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {
+ }), /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, F.jsx)("span", { children: t })
})] })
});
}
-function gue({ host: e, lede: t }) {
+function Kue({ 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: zP }
- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(_ue, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: _P }
+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(que, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -35696,7 +35747,7 @@ function gue({ host: e, lede: t }) {
}) : null] })
});
}
-function _ue({ text: e }) {
+function que({ text: e }) {
let t = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
qs(t.current, e);
@@ -35706,29 +35757,29 @@ function _ue({ text: e }) {
});
}
// src/core/text-lang.ts
-var vue = /[぀-ヿㇰ-ㇿヲ-゚]/, yue = /[㐀-鿿豈-﫿]/, bue = /[A-Za-z]/;
-function UF(e) {
+var Jue = /[぀-ヿㇰ-ㇿヲ-゚]/, Yue = /[㐀-鿿豈-﫿]/, Xue = /[A-Za-z]/;
+function gF(e) {
let t = String(e ?? "");
- if (vue.test(t)) return "ja";
- if (!yue.test(t) && bue.test(t)) return "en";
+ if (Jue.test(t)) return "ja";
+ if (!Yue.test(t) && Xue.test(t)) return "en";
}
-var xue = (e) => {
- let t = UF(e);
+var Zue = (e) => {
+ let t = gF(e);
return t ? ` lang="${t}"` : "";
-}, Sue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Cue = (e, t = e?.name) => {
+}, Que = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, $ue = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(Sue, "") : n;
-}, wue = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Tue = (e) => {
+ return e?.is_jav ? n.replace(Que, "") : n;
+}, ede = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), tde = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(wue) || t[0] || "";
+ return t.find(ede) || t[0] || "";
};
-function WF(e, t = e?.name) {
- let n = Cue(e, t), r = String(e?.code || "").trim().toUpperCase();
+function _F(e, t = e?.name) {
+ let n = $ue(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 = Tue(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 = tde(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) => [
"中字",
"无码",
"无码破解"
@@ -35739,23 +35790,23 @@ function WF(e, t = e?.name) {
badges: f
};
}
-var GF = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = WF(e, t);
+var vF = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = _F(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function KF(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = WF(e, t);
+function yF(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = _F(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"${xue(r)}>${z(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Zue(r)}>${z(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var qF = "/api/tasks", JF = ["tasks"];
-function Eue(e, t) {
+var bF = "/api/tasks", xF = ["tasks"];
+function SF(e, t) {
let n = 0, r = 0, i = 0;
for (let a of t) for (let [t, o] of Object.entries(e?.[String(a.id)] || {})) n += o, (t === "pending" || t === "running") && (r += o), (t === "failed" || t === "interrupted") && (i += o);
return {
@@ -35765,7 +35816,7 @@ function Eue(e, t) {
settled: n - r
};
}
-function Due(e) {
+function CF(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
let e = t.get(n.task_key);
@@ -35776,11 +35827,11 @@ function Due(e) {
}
return [...t.values()];
}
-var Oue = (e, t) => B(`${qF}?${new URLSearchParams({
+var wF = (e, t) => B(`${bF}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function kue(...e) {
+function TF(...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) => {
@@ -35788,26 +35839,26 @@ function kue(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Aue = 2e3, jue = 1e4, YF = (e) => e?.running?.length ? Aue : jue, XF = (e) => B(qF, e);
-async function Mue(e) {
+var EF = 2e3, DF = 1e4, OF = (e) => e?.running?.length ? EF : DF, kF = (e) => B(bF, e);
+async function AF(e) {
await H.fetchQuery({
- queryKey: JF,
- queryFn: () => XF(e)
+ queryKey: xF,
+ queryFn: () => kF(e)
});
}
-var Nue = {
+var jF = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Pue = {
+}, MF = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Fue = (e) => Pue[e] || e, ZF = {
+}, NF = (e) => MF[e] || e, PF = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -35884,7 +35935,7 @@ var Nue = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, Iue = [
+}, FF = [
"gone_count",
"unclear_count",
"source_failed",
@@ -35906,14 +35957,14 @@ var Nue = {
"paused_count",
"miss",
"incomplete"
-], Lue = ["face_match_unavailable"], QF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || Lue.some((t) => e.result_summary?.[t] === !0) || Iue.some((t) => Number(e.result_summary?.[t]) > 0);
-function Rue(e) {
+], IF = ["face_match_unavailable"], LF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || IF.some((t) => e.result_summary?.[t] === !0) || FF.some((t) => Number(e.result_summary?.[t]) > 0);
+function RF(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 $F = /* @__PURE__ */ new Set(["library-processing"]);
-function zue(e, t = !0) {
- if (!QF(e) && e.status !== "failed" || $F.has(e.task_key) && !t) return null;
+var zF = /* @__PURE__ */ new Set(["library-processing"]);
+function BF(e, t = !0) {
+ if (!LF(e) && e.status !== "failed" || zF.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -35931,12 +35982,12 @@ function zue(e, t = !0) {
label: n[1]
} : null;
}
-function Bue(e) {
+function VF(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) $F.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) zF.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 Vue(e) {
+function HF(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -35945,7 +35996,7 @@ function Vue(e) {
}
return t;
}
-function Hue(e, t) {
+function UF(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -35967,12 +36018,12 @@ function Hue(e, t) {
}
return n;
}
-var Uue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !QF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), eI = (e) => e.status === "pending" || e.status === "running";
-function Wue(e) {
+var WF = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !LF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), GF = (e) => e.status === "pending" || e.status === "running";
+function KF(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, rI(e.error) || Zue(o) || (eI(e) && i > 0 ? `${nI(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, XF(e.error) || aI(o) || (GF(e) && i > 0 ? `${JF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function tI(e) {
+function qF(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -35981,19 +36032,19 @@ function tI(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function nI(e, t) {
+function JF(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function Gue(e) {
+function YF(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 rI(e) {
- let t = Gue(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function XF(e) {
+ let t = YF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? bn(n[1]) : t;
}
-var Kue = {
+var ZF = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -36010,11 +36061,11 @@ var Kue = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, iI = {
+}, QF = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, que = {
+}, $F = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -36025,8 +36076,8 @@ var Kue = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, Jue = (e) => Kue[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${iI[t.toLowerCase()]} 资料页` : `已保存来自 ${iI[t.toLowerCase()]} 的资料`);
-function aI(e) {
+}, eI = (e) => ZF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${QF[t.toLowerCase()]} 资料页` : `已保存来自 ${QF[t.toLowerCase()]} 的资料`);
+function tI(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -36036,7 +36087,7 @@ function aI(e) {
minute: "2-digit"
});
}
-var Yue = /* @__PURE__ */ new Set([
+var nI = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -36045,20 +36096,20 @@ var Yue = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function oI(e) {
- let t = Xue(e);
+function rI(e) {
+ let t = iI(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function Xue(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Yue.has(e) && (e in ZF || 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" ? rI(String(t)) : e === "outcome" || e === "result" ? Jue(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${ZF[e]} ${Yn(Number(t))}` : e === "operation" ? `操作:${que[String(t)] || "批量操作"}` : `${ZF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function iI(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !nI.has(e) && (e in PF || 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" ? XF(String(t)) : e === "outcome" || e === "result" ? eI(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${PF[e]} ${Yn(Number(t))}` : e === "operation" ? `操作:${$F[String(t)] || "批量操作"}` : `${PF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var Zue = (e) => oI(e).join(" · ");
+var aI = (e) => rI(e).join(" · ");
// src/react/use-entity-names.ts
-function sI() {
+function oI() {
return (0, P.useSyncExternalStore)(Jt, qt, qt);
}
// src/react/boardui/components/base/buttons/icon-button.tsx
-var cI = LF({
+var sI = uF({
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",
@@ -36069,20 +36120,20 @@ var cI = LF({
small: "size-4 shrink-0"
}
});
-function lI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function cI({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
ref: i,
type: r,
- className: IF(cI.base, cI.size[t], n),
+ className: lF(sI.base, sI.size[t], n),
...a,
children: /* @__PURE__ */ (0, F.jsx)(e, {
- className: cI.icon[t],
+ className: sI.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function uI() {
+function lI() {
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -36096,7 +36147,7 @@ function uI() {
});
}
// src/react/components/use-stuck.ts
-function dI(e) {
+function uI(e) {
(0, P.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -36113,7 +36164,7 @@ function dI(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function fI(e, t = !0) {
+function dI(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]);
@@ -36127,17 +36178,17 @@ function fI(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var Que = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var fI = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: zs("正在处理") }
});
function pI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsx)(lI, {
+ return /* @__PURE__ */ (0, F.jsx)(cI, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? Que : t,
+ icon: n && r === "spinner" ? fI : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -36147,9 +36198,9 @@ function pI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function $ue({ title: e, children: t }) {
+function nde({ title: e, children: t }) {
let n = (0, P.useRef)(null);
- return dI(n), /* @__PURE__ */ (0, F.jsxs)("div", {
+ return uI(n), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -36162,20 +36213,20 @@ function $ue({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, F.jsx)(uI, {})
+ /* @__PURE__ */ (0, F.jsx)(lI, {})
]
});
}
function mI({ 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 = fI(), p = fI(u);
- return dI(d), /* @__PURE__ */ (0, F.jsxs)("div", {
+ let d = (0, P.useRef)(null), f = dI(), p = dI(u);
+ return uI(d), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: IF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: lF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, F.jsx)("div", {
@@ -36183,37 +36234,37 @@ function mI({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: IF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: lF("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: IF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: lF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, F.jsx)(uI, {})
+ /* @__PURE__ */ (0, F.jsx)(lI, {})
]
});
}
-var ede = "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";
+var rde = "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 hI({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: IF(ede, r),
+ className: lF(rde, r),
onClick: n,
children: e
});
}
-var tde = "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";
+var ide = "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 gI({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: tde,
+ className: ide,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -36316,7 +36367,7 @@ function yI(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var bI = LF({
+var bI = uF({
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",
@@ -36349,7 +36400,7 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, F.jsxs)("button", {
ref: c,
type: s,
- className: IF(bI.base, bI.size[t], bI.variant[e], n && bI.iconOnlySize[t], o),
+ className: lF(bI.base, bI.size[t], bI.variant[e], n && bI.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, F.jsx)(r, {
@@ -36370,7 +36421,7 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
function xI({ 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: IF(bI.base, bI.size[t], bI.variant[e], n && bI.iconOnlySize[t], o),
+ className: lF(bI.base, bI.size[t], bI.variant[e], n && bI.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, F.jsx)(r, {
@@ -36442,7 +36493,7 @@ function TI(e, t) {
return n;
}
function EI(e, t, n) {
- let { ref: r, ...i } = TI(n, e.slot) || {}, a = aS((0, P.useMemo)(() => Xx(t, r), [t, r])), o = K(i, e);
+ let { ref: r, ...i } = TI(n, e.slot) || {}, a = nS((0, P.useMemo)(() => qx(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,
@@ -36464,7 +36515,7 @@ function DI(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 Jb(() => {
+ return Gb(() => {
r.current || n(!1);
}, []), [i, t];
}
@@ -36473,9 +36524,9 @@ function OI(e) {
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function nde(e, t, n) {
- let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Xx(n, a), [n, a]);
- Jb(() => {}, [e, r]);
+function ade(e, t, n) {
+ let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => qx(n, a), [n, a]);
+ Gb(() => {}, [e, r]);
let s = {
...i,
ref: o
@@ -36485,7 +36536,7 @@ function nde(e, t, n) {
var kI = {}, AI = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
let n = kI[t];
- return n || (n = /*#__PURE__*/ (0, P.forwardRef)(nde.bind(null, t)), kI[t] = n), n;
+ return n || (n = /*#__PURE__*/ (0, P.forwardRef)(ade.bind(null, t)), kI[t] = n), n;
} }), jI = /*#__PURE__*/ (0, P.createContext)(null), MI = /*#__PURE__*/ (0, P.createContext)(null), NI = /*#__PURE__*/ (0, P.createContext)(null), PI = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
return FI(e, null, t);
@@ -36495,7 +36546,7 @@ var kI = {}, AI = new Proxy({}, { get(e, t) {
}
};
function FI(e, t, n) {
- return Ab({
+ return Db({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -36505,11 +36556,11 @@ function FI(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, rde(e, t, n));
+ }), r, ode(e, t, n));
}
});
}
-function rde(e, t, n) {
+function ode(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);
@@ -36533,7 +36584,7 @@ function LI(e) {
return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var RI = /*#__PURE__*/ (0, P.createContext)({}), zI = /*#__PURE__*/ uS(function(e, t) {
+var RI = /*#__PURE__*/ (0, P.createContext)({}), zI = /*#__PURE__*/ sS(function(e, t) {
[e, t] = EI(e, t, RI);
let { elementType: n = "label", ...r } = e, i = AI[n];
return /*#__PURE__*/ P.createElement(i, {
@@ -36541,11 +36592,11 @@ var RI = /*#__PURE__*/ (0, P.createContext)({}), zI = /*#__PURE__*/ uS(function(
...r,
ref: t
});
-}), ide = /*#__PURE__*/ (0, P.createContext)(null), BI = /*#__PURE__*/ (0, P.createContext)({}), VI = /*#__PURE__*/ uS(function(e, t) {
+}), sde = /*#__PURE__*/ (0, P.createContext)(null), BI = /*#__PURE__*/ (0, P.createContext)({}), VI = /*#__PURE__*/ sS(function(e, t) {
[e, t] = EI(e, t, BI);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Wie(e, t);
- i = ode(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = ZT(e), { hoverProps: l, isHovered: u } = tE({
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = vC(e, t);
+ i = lde(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = VT(e), { hoverProps: l, isHovered: u } = GT({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -36559,19 +36610,19 @@ var RI = /*#__PURE__*/ (0, P.createContext)({}), zI = /*#__PURE__*/ uS(function(
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Jx(i.id), m = Jx(), h = i["aria-labelledby"];
+ }), p = Gx(i.id), m = Gx(), 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) && QC(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && HC(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = dC(e, { global: !0 });
+ let _ = YS(e, { global: !0 });
return delete _.onClick, /*#__PURE__*/ P.createElement(AI.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
@@ -36586,11 +36637,11 @@ var RI = /*#__PURE__*/ (0, P.createContext)({}), zI = /*#__PURE__*/ uS(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ P.createElement(ide.Provider, { value: { id: m } }, f.children));
-}), ade = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function ode(e, t) {
+ }, /*#__PURE__*/ P.createElement(sde.Provider, { value: { id: m } }, f.children));
+}), cde = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function lde(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !ade.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !cde.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
@@ -36604,7 +36655,7 @@ var HI = /*#__PURE__*/ (0, P.createContext)({}), UI = /*#__PURE__*/ (0, P.forwar
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), WI = /*#__PURE__*/ (0, P.createContext)({}), sde = /*#__PURE__*/ uS(function(e, t) {
+}), WI = /*#__PURE__*/ (0, P.createContext)({}), ude = /*#__PURE__*/ sS(function(e, t) {
[e, t] = EI(e, t, WI);
let { elementType: n = "span", ...r } = e, i = AI[n];
return /*#__PURE__*/ P.createElement(i, {
@@ -36612,32 +36663,32 @@ var HI = /*#__PURE__*/ (0, P.createContext)({}), UI = /*#__PURE__*/ (0, P.forwar
...r,
ref: t
});
-}), GI = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.createContext)(null), cde = /*#__PURE__*/ (0, P.createContext)(null), YI = /*#__PURE__*/ (0, P.createContext)(null);
-function lde(e, t) {
- let { validationBehavior: n } = TI(KI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(cde), a = aS((0, P.useMemo)(() => Xx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+}), GI = /*#__PURE__*/ (0, P.createContext)(null), KI = /*#__PURE__*/ (0, P.createContext)(null), qI = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.createContext)(null), dde = /*#__PURE__*/ (0, P.createContext)(null), YI = /*#__PURE__*/ (0, P.createContext)(null);
+function fde(e, t) {
+ let { validationBehavior: n } = TI(KI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(dde), a = nS((0, P.useMemo)(() => qx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
...OI(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? pae(o, i, a) : yw(o, ww(e), a), a];
+ return [i ? Cae(o, i, a) : lw(o, mw(e), a), a];
}
-var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var pde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
[e, t] = EI(r, t, qI);
- let [i, a] = lde(e, n);
+ let [i, a] = fde(e, n);
return /*#__PURE__*/ P.createElement(YI.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ P.createElement(dde, {
+ } }, /*#__PURE__*/ P.createElement(mde, {
...e,
ref: t
}));
-}), dde = /*#__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)(YI), { isFocused: p, isFocusVisible: m, focusProps: h } = ZT(), g = a || o, { hoverProps: _, isHovered: v } = tE({
+}), mde = /*#__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)(YI), { isFocused: p, isFocusVisible: m, focusProps: h } = VT(), g = a || o, { hoverProps: _, isHovered: v } = GT({
...e,
isDisabled: g
}), y = wI({
@@ -36655,7 +36706,7 @@ var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = dC(e, { global: !0 });
+ }), b = YS(e, { global: !0 });
return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(AI.label, {
...K(b, n, _, y),
ref: t,
@@ -36670,7 +36721,7 @@ var ude = /*#__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(Nw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Cw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...K(r, h),
ref: l
})), y.children);
@@ -36678,12 +36729,12 @@ var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
[e, t] = EI(e, t, XI);
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 } = tE({
+ let { hoverProps: l, isHovered: u } = GT({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = ZT({ within: !0 }), m = wI({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = VT({ within: !0 }), m = wI({
...e,
values: {
isHovered: u,
@@ -36707,15 +36758,15 @@ var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), QI = /*#__PURE__*/ (0, P.createContext)({}), fde = (e) => {
+}), QI = /*#__PURE__*/ (0, P.createContext)({}), hde = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, pde = /*#__PURE__*/ uS(function(e, t) {
+}, gde = /*#__PURE__*/ sS(function(e, t) {
[e, t] = EI(e, t, QI);
- let { hoverProps: n, isHovered: r } = tE({
+ let { hoverProps: n, isHovered: r } = GT({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = ZT({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = VT({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = wI({
@@ -36730,7 +36781,7 @@ var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
defaultClassName: "react-aria-Input"
});
return /*#__PURE__*/ P.createElement(AI.input, {
- ...K(fde(e), o, n),
+ ...K(hde(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -36739,16 +36790,16 @@ var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), mde = 0, hde = 100, gde = 1;
-function _de(e) {
- let { isDisabled: t = !1, minValue: n = mde, maxValue: r = hde, numberFormatter: i, step: a = gde, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {
+}), _de = 0, vde = 100, yde = 1;
+function bde(e) {
+ let { isDisabled: t = !1, minValue: n = _de, maxValue: r = vde, numberFormatter: i, step: a = yde, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {
let e = (r - n) / 10;
- return e = Dw(e, 0, e + a, a), Math.max(e, a);
+ return e = _w(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, P.useCallback)((e) => e?.map((t, i) => Dw(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) => _w(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
@@ -36756,7 +36807,7 @@ function _de(e) {
e.defaultValue,
n,
c
- ]), d = tL(e.value, e.defaultValue, e.onChange), f = tL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = Cw(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 = tL(e.value, e.defaultValue, e.onChange), f = tL(e.value, e.defaultValue, e.onChangeEnd), [p, m] = pw(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);
@@ -36779,7 +36830,7 @@ function _de(e) {
function A(e, n) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
- n = Dw(n, r, i, a);
+ n = _w(n, r, i, a);
let o = $I(x.current, e, n);
C(o);
}
@@ -36808,15 +36859,15 @@ function _de(e) {
return Math.round((e - n) / a) * a + n;
}
function N(e) {
- return Tw(ne(e * (r - n) + n), n, r);
+ return hw(ne(e * (r - n) + n), n, r);
}
function re(e, t = 1) {
let i = Math.max(t, a);
- A(e, Dw(p[e] + i, n, r, a));
+ A(e, _w(p[e] + i, n, r, a));
}
function ie(e, t = 1) {
let i = Math.max(t, a);
- A(e, Dw(p[e] - i, n, r, a));
+ A(e, _w(p[e] - i, n, r, a));
}
return {
values: p,
@@ -36861,12 +36912,12 @@ function tL(e, t, n) {
};
}
// node_modules/react-aria-components/dist/private/Slider.mjs
-var vde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.createContext)(null), rL = /*#__PURE__*/ (0, P.createContext)(null), yde = /*#__PURE__*/ (0, P.createContext)(null), bde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = EI(e, t, vde);
- let n = (0, P.useRef)(null), r = vae(e.formatOptions), i = _de({
+var xde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.createContext)(null), rL = /*#__PURE__*/ (0, P.createContext)(null), Sde = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = EI(e, t, xde);
+ let n = (0, P.useRef)(null), r = Oae(e.formatOptions), i = bde({
...e,
numberFormatter: r
- }), [a, o] = DI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = yae({
+ }), [a, o] = DI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = kae({
...e,
label: o
}, i, n), d = wI({
@@ -36877,14 +36928,14 @@ var vde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = dC(e, { global: !0 });
+ }), f = YS(e, { global: !0 });
return delete f.id, /*#__PURE__*/ P.createElement(CI, { values: [
[nL, i],
[rL, {
...c,
ref: n
}],
- [yde, u],
+ [Sde, u],
[RI, {
...l,
ref: a
@@ -36896,9 +36947,9 @@ var vde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.cre
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), xde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}), wde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
[e, t] = EI(e, t, rL);
- let n = (0, P.useContext)(nL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = tE({
+ let n = (0, P.useContext)(nL), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = GT({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
@@ -36920,14 +36971,14 @@ var vde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), Sde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, P.useContext)(nL), { ref: i } = TI(rL), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = DI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = bae({
+}), Tde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let { inputRef: n = null } = e, r = (0, P.useContext)(nL), { ref: i } = TI(rL), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = DI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Aae({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = ZT(), { hoverProps: v, isHovered: y } = tE(e), b = wI({
+ }, r), { focusProps: g, isFocusVisible: _ } = VT(), { hoverProps: v, isHovered: y } = GT(e), b = wI({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -36938,7 +36989,7 @@ var vde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = dC(e, { global: !0 });
+ }), x = YS(e, { global: !0 });
return delete x.id, /*#__PURE__*/ P.createElement(AI.div, {
...K(x, u, v),
...b,
@@ -36952,7 +37003,7 @@ var vde = /*#__PURE__*/ (0, P.createContext)(null), nL = /*#__PURE__*/ (0, P.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ P.createElement(Nw, null, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Cw, null, /*#__PURE__*/ P.createElement("input", {
ref: s,
...K(d, g)
})), /*#__PURE__*/ P.createElement(CI, { values: [[RI, {
@@ -37269,13 +37320,13 @@ RL = {
"zh-TW": LL
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var zL = /*#__PURE__*/ (0, P.createContext)({}), BL = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var zL = /*#__PURE__*/ (0, P.createContext)({}), BL = /*#__PURE__*/ (0, P.createContext)(null), Ede = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { render: n } = (0, P.useContext)(BL);
return /*#__PURE__*/ P.createElement(P.Fragment, null, n(e, t));
});
function VL(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, P.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(Cde, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(Ede, { target: e });
}, [
t?.target,
r,
@@ -37304,13 +37355,13 @@ function HL(e, t, n) {
return (0, P.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
// node_modules/react-aria-components/dist/private/Header.mjs
-var UL = /*#__PURE__*/ (0, P.createContext)({}), wde = /*#__PURE__*/ (0, P.createContext)(null);
+var UL = /*#__PURE__*/ (0, P.createContext)({}), Dde = /*#__PURE__*/ (0, P.createContext)(null);
function WL(e) {
let t = (0, P.useRef)({});
- return /*#__PURE__*/ P.createElement(wde.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ P.createElement(Dde.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var GL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), KL = /*#__PURE__*/ (0, P.createContext)({}), Tde = /*#__PURE__*/ TS(class extends Sb {
+var GL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), KL = /*#__PURE__*/ (0, P.createContext)({}), Ode = /*#__PURE__*/ hS(class extends yb {
static {
this.type = "separator";
}
@@ -37326,11 +37377,11 @@ var GL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), KL = /*#__PURE_
[e, t] = EI(e, t, KL);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = AI[c], { separatorProps: u } = Toe({
+ let l = AI[c], { separatorProps: u } = Loe({
...s,
elementType: n,
orientation: r
- }), d = dC(e, { global: !0 });
+ }), d = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(l, {
render: e.render,
...K(d, u),
@@ -37396,13 +37447,13 @@ var JL = class {
}
};
// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Ede(e, t) {
+function kde(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
function XL(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] = Cw((0, P.useMemo)(() => ZL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => ZL(e.defaultSelectedKeys, new YL()), [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] = pw((0, P.useMemo)(() => ZL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => ZL(e.defaultSelectedKeys, new YL()), [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)(() => {
@@ -37429,7 +37480,7 @@ function XL(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Ede(e, d)) && f(e);
+ (r || !kde(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
@@ -37495,7 +37546,7 @@ var QL = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && zT(this.collection, n, e) < 0) && (e = n);
+ (!e || n && kT(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37503,7 +37554,7 @@ var QL = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && zT(this.collection, n, e) > 0) && (e = n);
+ (!e || n && kT(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -37533,7 +37584,7 @@ var QL = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? zT(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? kT(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);
@@ -37583,7 +37634,7 @@ var QL = 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(IT(FT(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(ET(TT(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -37635,7 +37686,7 @@ var QL = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Dde = class {
+}, Ade = class {
build(e, t) {
return this.context = t, $L(() => this.iterateCollection(e));
}
@@ -37719,7 +37770,7 @@ var QL = class e {
...a,
key: l,
index: s,
- wrapper: Ode(e.wrapper, a.wrapper)
+ wrapper: jde(e.wrapper, a.wrapper)
}, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];
for (let t of u) {
if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${eR(t.type)}> in <${eR(r?.type ?? "unknown parent type")}>. Only <${eR(e.type)}> is supported.`);
@@ -37771,7 +37822,7 @@ function $L(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Ode(e, t) {
+function jde(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
@@ -37781,7 +37832,7 @@ function eR(e) {
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
function tR(e, t, n) {
- let r = (0, P.useMemo)(() => new Dde(), []), { children: i, items: a, collection: o } = e;
+ let r = (0, P.useMemo)(() => new Ade(), []), { children: i, items: a, collection: o } = e;
return (0, P.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -37807,7 +37858,7 @@ function nR(e) {
selectionManager: o
};
}
-function kde(e, t) {
+function Mde(e, t) {
let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return rR(n, r), {
collection: n,
@@ -37843,14 +37894,14 @@ function rR(e, t) {
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
function iR(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = YS((e) => {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = NS((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- Jb(() => {
+ Gb(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: tw(t?.current),
+ root: GC(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -37865,20 +37916,20 @@ function iR(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var aR = /*#__PURE__*/ (0, P.createContext)(null), oR = /*#__PURE__*/ (0, P.createContext)(null), Ade = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var aR = /*#__PURE__*/ (0, P.createContext)(null), oR = /*#__PURE__*/ (0, P.createContext)(null), Nde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
[e, t] = EI(e, t, aR);
let n = (0, P.useContext)(oR);
return n ? /*#__PURE__*/ P.createElement(sR, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ P.createElement(_S, { content: /*#__PURE__*/ P.createElement(kS, e) }, (n) => /*#__PURE__*/ P.createElement(jde, {
+ }) : /*#__PURE__*/ P.createElement(fS, { content: /*#__PURE__*/ P.createElement(yS, e) }, (n) => /*#__PURE__*/ P.createElement(Pde, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function jde({ props: e, listBoxRef: t, collection: n }) {
+function Pde({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
@@ -37897,10 +37948,10 @@ function jde({ props: e, listBoxRef: t, collection: n }) {
}
function sR({ state: e, props: t, listBoxRef: n }) {
[t, n] = EI(t, n, jI);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = kde(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = rC(), { disabledBehavior: p, disabledKeys: m } = l, h = WT({
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Mde(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = VS(), { disabledBehavior: p, disabledKeys: m } = l, h = PT({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(II), b = (0, P.useMemo)(() => t.keyboardDelegate || new Kw({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(II), b = (0, P.useMemo)(() => t.keyboardDelegate || new Iw({
collection: c,
collator: h,
ref: n,
@@ -37921,7 +37972,7 @@ function sR({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = qae({
+ ]), { listBoxProps: x } = roe({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -37953,7 +38004,7 @@ function sR({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = ZT(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = VT(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -37971,8 +38022,8 @@ function sR({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let ne = dC(t, { global: !0 });
- return /*#__PURE__*/ P.createElement(FC, null, /*#__PURE__*/ P.createElement(AI.div, {
+ let ne = YS(t, { global: !0 });
+ return /*#__PURE__*/ P.createElement(wC, null, /*#__PURE__*/ P.createElement(AI.div, {
...K(ne, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -37992,10 +38043,10 @@ function sR({ state: e, props: t, listBoxRef: n }) {
dropState: C
}],
[KL, { elementType: "div" }],
- [BL, { render: Pde }],
+ [BL, { render: Lde }],
[NI, {
name: "ListBoxSection",
- render: Mde
+ render: Fde
}]
] }, /*#__PURE__*/ P.createElement(WL, null, /*#__PURE__*/ P.createElement(y, {
collection: c,
@@ -38004,8 +38055,8 @@ function sR({ state: e, props: t, listBoxRef: n }) {
renderDropIndicator: VL(r, C)
}))), te, E));
}
-function Mde(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, P.useContext)(oR), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(zL), { CollectionBranch: s } = (0, P.useContext)(II), [c, l] = DI(), { headingProps: u, groupProps: d } = Jae({
+function Fde(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, P.useContext)(oR), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(zL), { CollectionBranch: s } = (0, P.useContext)(II), [c, l] = DI(), { headingProps: u, groupProps: d } = ioe({
heading: l,
"aria-label": e["aria-label"] ?? void 0
}), f = wI({
@@ -38014,7 +38065,7 @@ function Mde(e, t, n, r = "react-aria-ListBoxSection") {
children: void 0,
defaultClassName: r,
values: void 0
- }), p = dC(e, { global: !0 });
+ }), p = YS(e, { global: !0 });
return delete p.id, /*#__PURE__*/ P.createElement(AI.section, {
...K(p, f, d),
ref: t
@@ -38027,16 +38078,16 @@ function Mde(e, t, n, r = "react-aria-ListBoxSection") {
renderDropIndicator: VL(a, o)
})));
}
-var Nde = /*#__PURE__*/ TS(Tb, function(e, t, n) {
- let r = aS(t), i = (0, P.useContext)(oR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(zL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Yae({
+var Ide = /*#__PURE__*/ hS(Sb, function(e, t, n) {
+ let r = nS(t), i = (0, P.useContext)(oR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(zL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = aoe({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = tE({
+ }, i, r), { hoverProps: p, isHovered: m } = GT({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = iS(e), { focusProps: g } = eS(e), _ = null;
+ }), { keyboardProps: h } = tS(e), { focusProps: g } = Zx(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -38065,7 +38116,7 @@ var Nde = /*#__PURE__*/ TS(Tb, function(e, t, n) {
(0, P.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? AI.a : AI.div, S = dC(e, { global: !0 });
+ let x = e.href ? AI.a : AI.div, S = YS(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,
@@ -38085,17 +38136,17 @@ var Nde = /*#__PURE__*/ TS(Tb, function(e, t, n) {
description: d
} }], [GL, { isSelected: f.isSelected }]] }, b.children));
});
-function Pde(e, t) {
- t = aS(t);
+function Lde(e, t) {
+ t = nS(t);
let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(zL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ P.createElement(Ide, {
+ return a ? null : /*#__PURE__*/ P.createElement(zde, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Fde(e, t) {
+function Rde(e, t) {
let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = wI({
...i,
defaultClassName: "react-aria-DropIndicator",
@@ -38109,8 +38160,8 @@ function Fde(e, t) {
"data-drop-target": r || void 0
}));
}
-var Ide = /*#__PURE__*/ (0, P.forwardRef)(Fde);
-TS(wb, function(e, t, n) {
+var zde = /*#__PURE__*/ (0, P.forwardRef)(Rde);
+hS(xb, function(e, t, n) {
let r = (0, P.useContext)(oR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);
iR((0, P.useMemo)(() => ({
onLoadMore: a,
@@ -38145,17 +38196,17 @@ TS(wb, function(e, t, n) {
width: 1
}
})), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(AI.div, {
- ...K(dC(e, { global: !0 }), { tabIndex: -1 }),
+ ...K(YS(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Lde = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });
+var Bde = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
function cR(e) {
- let [t, n] = Cw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);
+ let [t, n] = pw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -38175,9 +38226,9 @@ function cR(e) {
// node_modules/react-aria/dist/private/utils/animation.mjs
function lR(e, t = !0, n) {
let [r, i] = (0, P.useState)(!0), a = r && t;
- return Jb(() => {
- if (!t && e.current) return Wx(Lb(e.current, "opacity", "0"), Lb(e.current, "clip", "rect(0 0 0 0)"), Lb(e.current, "clip-path", "inset(50%)"), Lb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), Jb(() => {
+ return Gb(() => {
+ if (!t && e.current) return Vx(Pb(e.current, "opacity", "0"), Pb(e.current, "clip", "rect(0 0 0 0)"), Pb(e.current, "clip-path", "inset(50%)"), Pb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), Gb(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
}, [e, a]), dR(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;
}
@@ -38196,8 +38247,8 @@ function uR(e, t, n) {
}, [])), a;
}
function dR(e, t, n, r) {
- let i = (0, P.useRef)(null), a = YS(n);
- Jb(() => {
+ let i = (0, P.useRef)(null), a = NS(n);
+ Gb(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -38224,7 +38275,7 @@ function dR(e, t, n, r) {
// node_modules/react-aria-components/dist/private/Popover.mjs
var fR = /*#__PURE__*/ (0, P.createContext)(null), pR = /*#__PURE__*/ (0, P.createContext)(null), mR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
[e, t] = EI(e, t, fR);
- let n = (0, P.useContext)(ER), r = cR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = uR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = dS(), { direction: c } = rC();
+ let n = (0, P.useContext)(ER), r = cR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = uR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = cS(), { direction: c } = VS();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -38235,7 +38286,7 @@ var fR = /*#__PURE__*/ (0, P.createContext)(null), pR = /*#__PURE__*/ (0, P.crea
defaultChildren: null
})), /*#__PURE__*/ P.createElement(P.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(Rde, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(Vde, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -38244,8 +38295,8 @@ var fR = /*#__PURE__*/ (0, P.createContext)(null), pR = /*#__PURE__*/ (0, P.crea
dir: c
});
});
-function Rde({ 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)(pR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = yoe({
+function Vde({ 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)(pR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = joe({
...i,
offset: i.offset ?? 8,
arrowRef: a,
@@ -38260,10 +38311,10 @@ function Rde({ 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");
- Jb(() => {
+ Gb(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, P.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Mx() !== "pointer") && g.current && !Hb(g.current) && Ux(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || kx() !== "pointer") && g.current && !zb(g.current) && Bx(g.current);
}, [
x,
g,
@@ -38276,7 +38327,7 @@ function Rde({ 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]);
- Jb(E, [E]), $E({
+ Gb(E, [E]), UE({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -38286,9 +38337,9 @@ function Rde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- Jb(() => WD(() => u(!0)), []);
+ Gb(() => MD(() => u(!0)), []);
let O = /*#__PURE__*/ P.createElement(AI.div, {
- ...K(dC(i, { global: !0 }), d),
+ ...K(YS(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -38303,17 +38354,17 @@ function Rde({ 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(ID, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(Lde.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(TD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(Bde.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ P.createElement(ID, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ P.createElement(YT, {
+ } }, C), /*#__PURE__*/ P.createElement(TD, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ P.createElement(zT, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ P.createElement(YT, {
+ }, O) : /*#__PURE__*/ P.createElement(zT, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -38331,7 +38382,7 @@ function Rde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}, /*#__PURE__*/ P.createElement(pR.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
-var zde = /*#__PURE__*/ (0, P.createContext)({});
+var Hde = /*#__PURE__*/ (0, P.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
function hR(e) {
let t = cR(e), [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)([]), o = () => {
@@ -38359,7 +38410,7 @@ function hR(e) {
};
}
// node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Bde = class {
+var Ude = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -38403,7 +38454,7 @@ var Bde = class {
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
function gR(e) {
- let { onExpandedChange: t } = e, [n, r] = Cw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = XL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = tR(e, (0, P.useCallback)((e) => new Bde(e, { expandedKeys: n }), [n]), null);
+ let { onExpandedChange: t } = e, [n, r] = pw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = XL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = tR(e, (0, P.useCallback)((e) => new Ude(e, { expandedKeys: n }), [n]), null);
return (0, P.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -38411,24 +38462,24 @@ function gR(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Vde(n, e));
+ r(Wde(n, e));
},
setExpandedKeys: r,
selectionManager: new QL(o, i)
};
}
-function Vde(e, t) {
+function Wde(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
// node_modules/react-aria-components/dist/private/Menu.mjs
var _R = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.createContext)(null), yR = /*#__PURE__*/ (0, P.createContext)(null), bR = /*#__PURE__*/ (0, P.createContext)(null);
-function Hde(e) {
- let t = hR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = AT({
+function Gde(e) {
+ let t = hR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = bT({
...e,
type: "menu"
}, t, n), a = (0, P.useRef)(null);
- return dS() ? null : /*#__PURE__*/ P.createElement(CI, { values: [
+ return cS() ? null : /*#__PURE__*/ P.createElement(CI, { values: [
[_R, {
...i,
ref: a
@@ -38443,14 +38494,14 @@ function Hde(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ P.createElement(Mae, {
+ ] }, /*#__PURE__*/ P.createElement(Hae, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var Ude = /*#__PURE__*/ (0, P.createContext)(null);
-(class extends Sb {
+var Kde = /*#__PURE__*/ (0, P.createContext)(null);
+(class extends yb {
static {
this.type = "submenutrigger";
}
@@ -38463,20 +38514,20 @@ var Ude = /*#__PURE__*/ (0, P.createContext)(null);
return null;
}
});
-var Wde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- return [e, t] = EI(e, t, _R), /*#__PURE__*/ P.createElement(_S, { content: /*#__PURE__*/ P.createElement(kS, e) }, (n) => /*#__PURE__*/ P.createElement(Gde, {
+var qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ return [e, t] = EI(e, t, _R), /*#__PURE__*/ P.createElement(fS, { content: /*#__PURE__*/ P.createElement(yS, e) }, (n) => /*#__PURE__*/ P.createElement(Jde, {
props: e,
collection: n,
menuRef: t
}));
});
-function Gde({ props: e, collection: t, menuRef: n }) {
+function Jde({ props: e, collection: t, menuRef: n }) {
[e, n] = EI(e, n, jI);
let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = gR({
...e,
collection: a,
children: void 0
- }), s = (0, P.useContext)(yR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(II), { menuProps: u } = Xae({
+ }), s = (0, P.useContext)(yR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(II), { menuProps: u } = ooe({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
@@ -38490,8 +38541,8 @@ function Gde({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = dC(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(FC, null, /*#__PURE__*/ P.createElement(AI.div, {
+ let p = YS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(wC, null, /*#__PURE__*/ P.createElement(AI.div, {
...K(p, d, u),
ref: n,
slot: e.slot || void 0,
@@ -38504,7 +38555,7 @@ function Gde({ props: e, collection: t, menuRef: n }) {
name: "MenuSection",
render: xR
}],
- [Ude, {
+ [Kde, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
@@ -38519,7 +38570,7 @@ function Gde({ props: e, collection: t, menuRef: n }) {
scrollRef: n
}))), f));
}
-var Kde = class extends QL {
+var Yde = class extends QL {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -38540,7 +38591,7 @@ var Kde = class extends QL {
}
};
function xR(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, P.useContext)(vR), { CollectionBranch: a } = (0, P.useContext)(II), [o, s] = DI(), { headingProps: c, groupProps: l } = Qae({
+ let i = (0, P.useContext)(vR), { CollectionBranch: a } = (0, P.useContext)(II), [o, s] = DI(), { headingProps: c, groupProps: l } = coe({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
}), u = wI({
@@ -38551,7 +38602,7 @@ function xR(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, P.useContext)(bR), f = XL(e), p = e.selectionMode == null ? d : new Kde(d, f), m = TI(CR)?.shouldCloseOnSelect, h = dC(e, { global: !0 });
+ }), d = (0, P.useContext)(bR), f = XL(e), p = e.selectionMode == null ? d : new Yde(d, f), m = TI(CR)?.shouldCloseOnSelect, h = YS(e, { global: !0 });
return delete h.id, /*#__PURE__*/ P.createElement(AI.section, {
...K(h, u, l),
ref: t
@@ -38567,15 +38618,15 @@ function xR(e, t, n, r = "react-aria-MenuSection") {
parent: n
})));
}
-var SR = /*#__PURE__*/ ES(Cre, xR), CR = /*#__PURE__*/ (0, P.createContext)(null), wR = /*#__PURE__*/ TS(Tb, function(e, t, n) {
+var SR = /*#__PURE__*/ gS(Ere, xR), CR = /*#__PURE__*/ (0, P.createContext)(null), wR = /*#__PURE__*/ hS(Sb, function(e, t, n) {
[e, t] = EI(e, t, CR);
- let r = TI(CR)?.id, i = (0, P.useContext)(vR), a = aS(t), o = (0, P.useContext)(bR), { isVirtualized: s } = (0, P.useContext)(II), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Zae({
+ let r = TI(CR)?.id, i = (0, P.useContext)(vR), a = nS(t), o = (0, P.useContext)(bR), { isVirtualized: s } = (0, P.useContext)(II), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = soe({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = tE({ isDisabled: f.isDisabled }), h = wI({
+ }, i, a), { hoverProps: p, isHovered: m } = GT({ isDisabled: f.isDisabled }), h = wI({
...e,
id: void 0,
children: n.rendered,
@@ -38589,7 +38640,7 @@ var SR = /*#__PURE__*/ ES(Cre, xR), CR = /*#__PURE__*/ (0, P.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? AI.a : AI.div, _ = dC(e, { global: !0 });
+ }), g = e.href ? AI.a : AI.div, _ = YS(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -38608,11 +38659,11 @@ var SR = /*#__PURE__*/ ES(Cre, xR), CR = /*#__PURE__*/ (0, P.createContext)(null
label: l,
description: u
} }],
- [zde, d],
+ [Hde, d],
[GL, { isSelected: f.isSelected }]
] }, h.children));
});
-TS(wb, function(e, t, n) {
+hS(xb, function(e, t, n) {
let r = (0, P.useContext)(vR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);
iR((0, P.useMemo)(() => ({
onLoadMore: a,
@@ -38647,7 +38698,7 @@ TS(wb, function(e, t, n) {
width: 1
}
})), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(AI.div, {
- ...K(dC(e, { global: !0 }), { tabIndex: -1 }),
+ ...K(YS(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -38657,7 +38708,7 @@ TS(wb, function(e, t, n) {
var TR = /*#__PURE__*/ (0, P.createContext)(null), ER = /*#__PURE__*/ (0, P.createContext)(null), DR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
[e, t] = EI(e, t, TR);
- let { dialogProps: r, titleProps: i, contentProps: a } = Pae({
+ let { dialogProps: r, titleProps: i, contentProps: a } = Wae({
...e,
"aria-labelledby": n
}, t), o = (0, P.useContext)(ER);
@@ -38668,7 +38719,7 @@ var TR = /*#__PURE__*/ (0, P.createContext)(null), ER = /*#__PURE__*/ (0, P.crea
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = dC(e, { global: !0 });
+ }), c = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(AI.section, {
...K(c, s, r),
render: e.render,
@@ -38692,8 +38743,8 @@ var TR = /*#__PURE__*/ (0, P.createContext)(null), ER = /*#__PURE__*/ (0, P.crea
} }]
] }, s.children));
}), OR = typeof document < "u" && window.visualViewport;
-function qde() {
- let e = gx(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {
+function Xde() {
+ let e = px(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {
width: 0,
height: 0
} : kR());
@@ -38703,15 +38754,15 @@ function qde() {
}, n = () => {
OR && OR.scale > 1 || e(kR());
}, i = (n) => {
- OR && OR.scale > 1 || KS(G(n)) && (t.current = WD((t) => {
+ OR && OR.scale > 1 || AS(G(n)) && (t.current = MD((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(kR()), ix() && ax() && window.addEventListener("blur", i, !0), OR ? OR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), ix() && ax() && window.removeEventListener("blur", i, !0), OR ? OR.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(kR()), tx() && nx() && window.addEventListener("blur", i, !0), OR ? OR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), tx() && nx() && window.removeEventListener("blur", i, !0), OR ? OR.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
@@ -38722,7 +38773,7 @@ function kR() {
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var Jde = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.createContext)(null), Yde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var Zde = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
if ((0, P.useContext)(AR)) return /*#__PURE__*/ P.createElement(MR, {
...e,
modalRef: t
@@ -38743,10 +38794,10 @@ var Jde = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.cre
modalRef: t
}, s));
});
-function Xde(e, t) {
- [e, t] = EI(e, t, Jde);
- let n = (0, P.useContext)(ER), r = cR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = aS(t), o = (0, P.useRef)(null), s = uR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = uR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = gx();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(Zde, {
+function $de(e, t) {
+ [e, t] = EI(e, t, Zde);
+ let n = (0, P.useContext)(ER), r = cR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nS(t), o = (0, P.useRef)(null), s = uR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = uR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = px();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(efe, {
...e,
state: i,
isExiting: u,
@@ -38755,12 +38806,12 @@ function Xde(e, t) {
onExitRef: c
});
}
-var jR = /*#__PURE__*/ (0, P.forwardRef)(Xde);
-function Zde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = lR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = soe({
+var jR = /*#__PURE__*/ (0, P.forwardRef)($de);
+function efe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = lR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = yoe({
...n,
isEntering: c
- }, i, r), d = (0, P.useContext)(TR), f = t ? Qde(d, { isEntering: c }) : d, p = wI({
+ }, i, r), d = (0, P.useContext)(TR), f = t ? tfe(d, { isEntering: c }) : d, p = wI({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -38768,9 +38819,9 @@ function Zde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = qde(), h, g;
+ }), m = Xde(), h, g;
if (typeof document < "u") {
- let e = ew(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = WC(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 _ = {
@@ -38780,11 +38831,11 @@ function Zde({ 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 Jb(() => WD(() => o(!0)), []), /*#__PURE__*/ P.createElement(YT, {
+ return Gb(() => MD(() => o(!0)), []), /*#__PURE__*/ P.createElement(zT, {
isExiting: n.isExiting,
portalContainer: e
}, /*#__PURE__*/ P.createElement(AI.div, {
- ...K(dC(n, { global: !0 }), u),
+ ...K(YS(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
@@ -38803,7 +38854,7 @@ function Zde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
[TR, f]
] }, p.children)));
}
-function Qde(e, t) {
+function tfe(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -38821,7 +38872,7 @@ function Qde(e, t) {
};
}
function MR(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(AR), s = (0, P.useContext)(ER), c = aS((0, P.useMemo)(() => Xx(e.modalRef, n), [e.modalRef, n])), l = lR(c, o, e.onEnter), u = wI({
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(AR), s = (0, P.useContext)(ER), c = nS((0, P.useMemo)(() => qx(e.modalRef, n), [e.modalRef, n])), l = lR(c, o, e.onEnter), u = wI({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -38830,20 +38881,20 @@ function MR(e) {
state: s
}
});
- return Jb(() => {
+ return Gb(() => {
i && (i.current = e.onExit);
}), /*#__PURE__*/ P.createElement(AI.div, {
- ...K(dC(e, { global: !0 }), t),
+ ...K(YS(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ P.createElement(ID, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ P.createElement(TD, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var $de = Math.round(Math.random() * 1e10), efe = 0;
-function tfe(e) {
- let t = (0, P.useMemo)(() => e.name || `radio-group-${$de}-${++efe}`, [e.name]), [n, r] = Cw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = mw({
+var nfe = Math.round(Math.random() * 1e10), rfe = 0;
+function ife(e) {
+ let t = (0, P.useMemo)(() => e.name || `radio-group-${nfe}-${++rfe}`, [e.name]), [n, r] = pw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = iw({
...e,
value: n
}), c = (t) => {
@@ -38865,12 +38916,12 @@ function tfe(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var nfe = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__PURE__*/ (0, P.createContext)(null), NR = /*#__PURE__*/ (0, P.createContext)(null), PR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = EI(e, t, nfe);
- let { validationBehavior: n } = TI(KI) || {}, r = e.validationBehavior ?? n ?? "native", i = tfe({
+var afe = /*#__PURE__*/ (0, P.createContext)(null), ofe = /*#__PURE__*/ (0, P.createContext)(null), NR = /*#__PURE__*/ (0, P.createContext)(null), PR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = EI(e, t, afe);
+ let { validationBehavior: n } = TI(KI) || {}, r = e.validationBehavior ?? n ?? "native", i = ife({
...e,
validationBehavior: r
- }), [a, o] = DI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = xoe({
+ }), [a, o] = DI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Noe({
...e,
label: o,
validationBehavior: r
@@ -38885,7 +38936,7 @@ var nfe = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__PURE__*/ (0, P.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = dC(e, { global: !0 });
+ }), p = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(AI.div, {
...K(p, f, s),
ref: t,
@@ -38910,8 +38961,8 @@ var nfe = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__PURE__*/ (0, P.cr
] }, /*#__PURE__*/ P.createElement(WL, null, f.children)));
}), FR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = EI(r, t, rfe);
- let i = P.useContext(NR), a = aS((0, P.useMemo)(() => Xx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = boe({
+ [e, t] = EI(r, t, ofe);
+ let i = P.useContext(NR), a = nS((0, P.useMemo)(() => qx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Moe({
...OI(e),
children: typeof e.children == "function" || e.children
}, i, a);
@@ -38919,12 +38970,12 @@ var nfe = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__PURE__*/ (0, P.cr
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ P.createElement(ife, {
+ } }, /*#__PURE__*/ P.createElement(sfe, {
...e,
ref: t
}));
-}), IR = /*#__PURE__*/ (0, P.createContext)(null), ife = /*#__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)(IR), l = P.useContext(NR), { isFocused: u, isFocusVisible: d, focusProps: f } = ZT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = tE({
+}), IR = /*#__PURE__*/ (0, P.createContext)(null), sfe = /*#__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)(IR), l = P.useContext(NR), { isFocused: u, isFocusVisible: d, focusProps: f } = VT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = GT({
...e,
isDisabled: p
}), g = wI({
@@ -38941,7 +38992,7 @@ var nfe = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__PURE__*/ (0, P.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = dC(e, { global: !0 });
+ }), _ = YS(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(AI.label, {
...K(_, n, m, g),
ref: t,
@@ -38954,18 +39005,18 @@ var nfe = /*#__PURE__*/ (0, P.createContext)(null), rfe = /*#__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(Nw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Cw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...K(r, f),
ref: c
})), g.children);
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
-function afe(e) {
+function cfe(e) {
let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = cR(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = Cw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = pw((0, P.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -38982,7 +39033,7 @@ function afe(e) {
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, P.useMemo)(() => ofe(l), [l]),
+ selectedKeys: (0, P.useMemo)(() => lfe(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -38992,7 +39043,7 @@ function afe(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 = mw({
+ }), 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 = iw({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);
@@ -39019,14 +39070,14 @@ function afe(e) {
setFocused: g
};
}
-function ofe(e) {
+function lfe(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
// node_modules/react-aria-components/dist/private/Select.mjs
-function sfe(e) {
+function ufe(e) {
return e && e.__esModule ? e.default : e;
}
-var LR = /*#__PURE__*/ (0, P.createContext)(null), RR = /*#__PURE__*/ (0, P.createContext)(null), cfe = /*#__PURE__*/ uS(function(e, t) {
+var LR = /*#__PURE__*/ (0, P.createContext)(null), RR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ sS(function(e, t) {
[e, t] = EI(e, t, LR);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
@@ -39042,23 +39093,23 @@ var LR = /*#__PURE__*/ (0, P.createContext)(null), RR = /*#__PURE__*/ (0, P.crea
i,
a
]);
- return /*#__PURE__*/ P.createElement(_S, { content: o }, (n) => /*#__PURE__*/ P.createElement(ufe, {
+ return /*#__PURE__*/ P.createElement(fS, { content: o }, (n) => /*#__PURE__*/ P.createElement(pfe, {
props: e,
collection: n,
selectRef: t
}));
-}), lfe = [
+}), ffe = [
RI,
BI,
WI
];
-function ufe({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = TI(KI) || {}, i = e.validationBehavior ?? r ?? "native", a = afe({
+function pfe({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = TI(KI) || {}, i = e.validationBehavior ?? r ?? "native", a = cfe({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = ZT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = DI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Soe({
+ }), { isFocusVisible: o, focusProps: s } = VT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = DI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Poe({
...OI(e),
label: u,
validationBehavior: i
@@ -39080,7 +39131,7 @@ function ufe({ props: e, selectRef: t, collection: n }) {
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = dC(e, { global: !0 });
+ }), x = YS(e, { global: !0 });
delete x.id;
let S = (0, P.useRef)(null);
return /*#__PURE__*/ P.createElement(CI, { values: [
@@ -39105,7 +39156,7 @@ function ufe({ props: e, selectRef: t, collection: n }) {
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: lfe
+ clearContexts: ffe
}],
[aR, {
...m,
@@ -39127,12 +39178,12 @@ function ufe({ 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(woe, {
+ }, b.children, /*#__PURE__*/ P.createElement(Ioe, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(function(e, t) {
+for (var zR = /*#__PURE__*/ (0, P.createContext)(null), mfe = /*#__PURE__*/ sS(function(e, t) {
[e, t] = EI(e, t, zR);
let n = (0, P.useContext)(RR), { placeholder: r } = TI(LR), i = n.selectedItems.map((e) => {
let t = e.props?.children;
@@ -39146,7 +39197,7 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Fae(), 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 = Gae(), 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
@@ -39161,7 +39212,7 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
a,
o,
i
- ]), u = lC(sfe(RL), "react-aria-components"), d = wI({
+ ]), u = qS(ufe(RL), "react-aria-components"), d = wI({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -39172,17 +39223,17 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = dC(e, { global: !0 });
+ }), f = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(AI.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
}, /*#__PURE__*/ P.createElement(WI.Provider, { value: void 0 }, d.children));
-}), ffe = /*#__PURE__*/ (0, P.createContext)(null), BR = /*#__PURE__*/ (0, P.createContext)(null), pfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}), hfe = /*#__PURE__*/ (0, P.createContext)(null), BR = /*#__PURE__*/ (0, P.createContext)(null), gfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = EI(r, t, ffe);
- let i = aS((0, P.useMemo)(() => Xx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ww(e), o = Eoe({
+ [e, t] = EI(r, t, hfe);
+ let i = nS((0, P.useMemo)(() => qx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = mw(e), o = Roe({
...OI(e),
children: typeof e.children == "function" || e.children
}, a, i);
@@ -39190,12 +39241,12 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ P.createElement(mfe, {
+ }]] }, /*#__PURE__*/ P.createElement(_fe, {
...e,
ref: t
}));
-}), VR = /*#__PURE__*/ (0, P.createContext)(null), mfe = /*#__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)(VR), { isFocused: f, isFocusVisible: p, focusProps: m } = ZT(), h = a || o, g = (0, P.useContext)(BR), { hoverProps: _, isHovered: v } = tE({
+}), VR = /*#__PURE__*/ (0, P.createContext)(null), _fe = /*#__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)(VR), { isFocused: f, isFocusVisible: p, focusProps: m } = VT(), h = a || o, g = (0, P.useContext)(BR), { hoverProps: _, isHovered: v } = GT({
...e,
isDisabled: h
}), y = wI({
@@ -39213,7 +39264,7 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
isRequired: d || !1,
state: g
}
- }), b = dC(e, { global: !0 });
+ }), b = YS(e, { global: !0 });
return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(AI.label, {
...K(b, n, _, y),
ref: t,
@@ -39227,7 +39278,7 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ P.createElement(Nw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
+ }, /*#__PURE__*/ P.createElement(Cw, { elementType: "span" }, /*#__PURE__*/ P.createElement("input", {
...K(r, m),
ref: l
})), y.children);
@@ -39339,7 +39390,7 @@ for (var zR = /*#__PURE__*/ (0, P.createContext)(null), dfe = /*#__PURE__*/ uS(f
boundaryContext: null
};
}
-}, hfe = class {
+}, vfe = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -39494,7 +39545,7 @@ function qR(e, t) {
textValue: ""
}));
}
-var gfe = class extends hfe {
+var yfe = class extends vfe {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
@@ -39568,10 +39619,10 @@ var gfe = class extends hfe {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return IT(this.body.childNodes)?.key ?? null;
+ return ET(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return RT(this.body.childNodes)?.key ?? null;
+ return OT(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -39602,10 +39653,10 @@ var gfe = class extends hfe {
}
};
// node_modules/react-stately/dist/private/table/TableUtils.mjs
-function _fe(e) {
+function bfe(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function vfe(e) {
+function xfe(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
@@ -39624,12 +39675,12 @@ function YR(e, t) {
function XR(e, t) {
return e == null ? 0 : JR(e, t);
}
-function yfe(e, t, n, r, i) {
+function Sfe(e, t, n, r, i) {
let a = e, o = Math.floor(e), s = e - o > 0;
e = o;
let c = !1, l = t.map((t, a) => {
let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;
- _fe(o) ? (l = JR(o, e), s = !0) : (u = vfe(o), u <= 0 && (s = !0));
+ bfe(o) ? (l = JR(o, e), s = !0) : (u = xfe(o), u <= 0 && (s = !0));
let f = XR(t.minWidth ?? i?.(a) ?? 0, e), p = YR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
@@ -39664,14 +39715,14 @@ function yfe(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = bfe(l);
+ let u = Cfe(l);
if (s && u.length > 0) {
let e = a.toString().split(".")[1], t = u[u.length - 1].toString();
u[u.length - 1] = Number(t + "." + e);
}
return u;
}
-function bfe(e) {
+function Cfe(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -39679,7 +39730,7 @@ function bfe(e) {
}), r;
}
// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var xfe = class {
+var wfe = class {
constructor(e) {
this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);
}
@@ -39708,7 +39759,7 @@ var xfe = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), yfe(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Sfe(e, t.columns.map((e) => ({
...e.props,
key: e.key
})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {
@@ -39718,8 +39769,8 @@ var xfe = class {
}
};
// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function Sfe(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new xfe({
+function Tfe(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new wfe({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, P.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, P.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, P.useState)(t.collection.columns);
@@ -39770,14 +39821,14 @@ function Sfe(e, t) {
]);
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Cfe(e) {
+function Efe(e) {
let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || XL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
r.setFocusedKey = (e, r) => {
if (n === "cell" && e != null) {
let n = t.getItem(e);
if (n?.type === "item") {
- let i = FT(n, t);
- e = r === "last" ? RT(i)?.key ?? null : IT(i)?.key ?? null;
+ let i = TT(n, t);
+ e = r === "last" ? OT(i)?.key ?? null : ET(i)?.key ?? null;
}
}
a(e, r);
@@ -39802,7 +39853,7 @@ function Cfe(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...FT(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...TT(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);
}
@@ -39820,11 +39871,11 @@ function Cfe(e) {
};
}
// node_modules/react-stately/dist/private/table/useTableState.mjs
-var wfe = {
+var Dfe = {
ascending: "descending",
descending: "ascending"
};
-function Tfe(e) {
+function Ofe(e) {
let [t, n] = (0, P.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, P.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -39835,11 +39886,11 @@ function Tfe(e) {
i,
r,
a
- ]), c = tR(e, (0, P.useCallback)((e) => new gfe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Cfe({
+ ]), c = tR(e, (0, P.useCallback)((e) => new yfe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Efe({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = Cw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = pw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -39851,7 +39902,7 @@ function Tfe(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? wfe[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Dfe[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -39864,7 +39915,7 @@ function Tfe(e) {
treeColumn: o
};
}
-function Efe(e, t) {
+function kfe(e, t) {
let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -39873,10 +39924,10 @@ function Efe(e, t) {
};
}
// node_modules/react-aria-components/dist/private/Table.mjs
-function Dfe(e) {
+function Afe(e) {
return e && e.__esModule ? e.default : e;
}
-var Ofe = class extends Eb {
+var jfe = class extends Cb {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -40000,26 +40051,26 @@ var Ofe = class extends Eb {
constructor(...e) {
super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new tz(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, ZR = /*#__PURE__*/ (0, P.createContext)(null), kfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- let n = aS(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);
- Jb(() => {
+}, ZR = /*#__PURE__*/ (0, P.createContext)(null), Mfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ let n = nS(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);
+ Gb(() => {
let e = r.current;
- for (; e && e !== n.current && !ew(e);) e = e.parentElement;
+ for (; e && e !== n.current && !WC(e);) e = e.parentElement;
i.current = e;
- }, [n]), $E({
+ }, [n]), UE({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), Jb(() => {
+ }), Gb(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, P.useMemo)(() => ({
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: Sfe,
+ useTableColumnResizeState: Tfe,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -40032,14 +40083,14 @@ var Ofe = class extends Eb {
]);
return /*#__PURE__*/ P.createElement(AI.div, {
render: e.render,
- ...dC(e, { global: !0 }),
+ ...YS(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
}, /*#__PURE__*/ P.createElement(ZR.Provider, { value: s }, e.children));
-}), Afe = /*#__PURE__*/ (0, P.createContext)(null), QR = /*#__PURE__*/ (0, P.createContext)(null), $R = /*#__PURE__*/ (0, P.createContext)(null), jfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- [e, t] = EI(e, t, Afe);
+}), Nfe = /*#__PURE__*/ (0, P.createContext)(null), QR = /*#__PURE__*/ (0, P.createContext)(null), $R = /*#__PURE__*/ (0, P.createContext)(null), Pfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ [e, t] = EI(e, t, Nfe);
let n = XL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
@@ -40050,17 +40101,17 @@ var Ofe = class extends Eb {
i,
a,
o
- ]), c = /*#__PURE__*/ P.createElement(Pfe.Provider, { value: s }, /*#__PURE__*/ P.createElement(kS, e));
- return /*#__PURE__*/ P.createElement(_S, {
+ ]), c = /*#__PURE__*/ P.createElement(Lfe.Provider, { value: s }, /*#__PURE__*/ P.createElement(yS, e));
+ return /*#__PURE__*/ P.createElement(fS, {
content: c,
- createCollection: () => new Ofe()
- }, (r) => /*#__PURE__*/ P.createElement(Nfe, {
+ createCollection: () => new jfe()
+ }, (r) => /*#__PURE__*/ P.createElement(Ife, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Mfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}), Ffe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement(AI.div, {
...e,
@@ -40079,26 +40130,26 @@ var Ofe = class extends Eb {
rtl: "ArrowRight"
}
};
-function Nfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function Ife({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = EI(e, t, jI);
let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(ZR);
- t = aS((0, P.useMemo)(() => Xx(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = Cw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ t = nS((0, P.useMemo)(() => qx(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = pw(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 = Tfe({
+ let d = Ofe({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Efe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(II), { dragAndDropHooks: _ } = e, { gridProps: v } = joe({
+ }), f = kfe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(II), { dragAndDropHooks: _ } = e, { gridProps: v } = Uoe({
...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 } = rC(), [k] = (0, P.useState)(() => new WR());
+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = VS(), [k] = (0, P.useState)(() => new WR());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -40113,7 +40164,7 @@ function Nfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new Kw({
+ let e = new Iw({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -40138,7 +40189,7 @@ function Nfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = ZT(), ee = wI({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = VT(), ee = wI({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -40154,7 +40205,7 @@ function Nfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let re = dC(e, { global: !0 });
+ let re = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(CI, { values: [
[QR, f],
[$R, N],
@@ -40163,10 +40214,10 @@ function Nfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
dragState: S,
dropState: C
}],
- [BL, { render: Wfe }],
+ [BL, { render: qfe }],
[jI, null],
[MI, null]
- ] }, /*#__PURE__*/ P.createElement(FC, null, /*#__PURE__*/ P.createElement(Mfe, {
+ ] }, /*#__PURE__*/ P.createElement(wC, null, /*#__PURE__*/ P.createElement(Ffe, {
...K(re, ee, v, A, w?.collectionProps),
style: ne,
ref: t,
@@ -40182,11 +40233,11 @@ function Nfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: HL(y, _, C)
})))), E);
}
-var Pfe = /*#__PURE__*/ (0, P.createContext)(null), tz = class extends Sb {
+var Lfe = /*#__PURE__*/ (0, P.createContext)(null), tz = class extends yb {
static {
this.type = "tableheader";
}
-}, Ffe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}, Rfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement(AI.div, {
...e,
@@ -40195,16 +40246,16 @@ var Pfe = /*#__PURE__*/ (0, P.createContext)(null), tz = class extends Sb {
...e,
ref: t
});
-}), nz = /*#__PURE__*/ ES(tz, (e, t) => {
- let n = (0, P.useContext)(QR).collection, r = Ab({
+}), nz = /*#__PURE__*/ gS(tz, (e, t) => {
+ let n = (0, P.useContext)(QR).collection, r = Db({
items: n.headerRows,
children: (0, P.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ P.createElement(Lfe, { item: e });
+ case "headerrow": return /*#__PURE__*/ P.createElement(Bfe, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = ok(), { hoverProps: a, isHovered: o } = tE({
+ }), { rowGroupProps: i } = JO(), { hoverProps: a, isHovered: o } = GT({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -40214,16 +40265,16 @@ var Pfe = /*#__PURE__*/ (0, P.createContext)(null), tz = class extends Sb {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ P.createElement(Ffe, {
- ...K(dC(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ P.createElement(Rfe, {
+ ...K(YS(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ P.createElement(kS, {
+}, (e) => /*#__PURE__*/ P.createElement(yS, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Ife = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}, e.children)), zfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement("div", {
...e,
@@ -40233,12 +40284,12 @@ var Pfe = /*#__PURE__*/ (0, P.createContext)(null), tz = class extends Sb {
ref: t
});
});
-function Lfe({ item: e }) {
- let t = (0, P.useRef)(null), n = (0, P.useContext)(QR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(II), { rowProps: a } = Loe({
+function Bfe({ item: e }) {
+ let t = (0, P.useRef)(null), n = (0, P.useContext)(QR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(II), { rowProps: a } = Yoe({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Woe(n);
- return /*#__PURE__*/ P.createElement(Ife, {
+ }, n, t), { checkboxProps: o } = nse(n);
+ return /*#__PURE__*/ P.createElement(zfe, {
...a,
ref: t
}, /*#__PURE__*/ P.createElement(CI, { values: [[qI, { slots: { selection: o } }], [JI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {
@@ -40246,11 +40297,11 @@ function Lfe({ item: e }) {
parent: e
})));
}
-var Rfe = class extends Sb {
+var Vfe = class extends yb {
static {
this.type = "column";
}
-}, zfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}, Hfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement(AI.div, {
...e,
@@ -40259,15 +40310,15 @@ var Rfe = class extends Sb {
...e,
ref: t
});
-}), rz = /*#__PURE__*/ TS(Rfe, (e, t, n) => {
- let r = aS(t), i = (0, P.useContext)(QR), { isVirtualized: a } = (0, P.useContext)(II), { columnHeaderProps: o, isPressed: s } = Poe({
+}), rz = /*#__PURE__*/ hS(Vfe, (e, t, n) => {
+ let r = nS(t), i = (0, P.useContext)(QR), { isVirtualized: a } = (0, P.useContext)(II), { columnHeaderProps: o, isPressed: s } = Koe({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = ZT(), d = (0, P.useContext)($R), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = VT(), d = (0, P.useContext)($R), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = tE({ isDisabled: !e.allowsSorting }), h = wI({
+ let { hoverProps: p, isHovered: m } = GT({ isDisabled: !e.allowsSorting }), h = wI({
...e,
id: void 0,
children: n.rendered,
@@ -40293,8 +40344,8 @@ var Rfe = class extends Sb {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = dC(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ P.createElement(zfe, {
+ let _ = YS(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ P.createElement(Hfe, {
...K(_, o, u, p),
...h,
style: g,
@@ -40310,19 +40361,19 @@ var Rfe = class extends Sb {
column: n,
triggerRef: r
}], [II, PI]] }, h.children));
-}), iz = /*#__PURE__*/ (0, P.createContext)(null), Bfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}), iz = /*#__PURE__*/ (0, P.createContext)(null), Ufe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let n = (0, P.useContext)($R);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = lC(Dfe(RL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(ZR), { column: s, triggerRef: c } = (0, P.useContext)(iz), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Ioe({
+ let r = qS(Afe(RL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(ZR), { column: s, triggerRef: c } = (0, P.useContext)(iz), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Joe({
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 } = ZT(), { hoverProps: _, isHovered: v } = tE(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = rC(), S = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = VT(), { hoverProps: _, isHovered: v } = GT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = VS(), S = "both";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = aS(t), [w, T] = (0, P.useState)("");
+ let C = nS(t), [w, T] = (0, P.useState)("");
(0, P.useEffect)(() => {
if (!C.current) return;
let e = window.getComputedStyle(C.current);
@@ -40338,7 +40389,7 @@ var Rfe = class extends Sb {
isHovered: v,
resizableDirection: S
}
- }), D = dC(e, { global: !0 });
+ }), D = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(AI.div, {
ref: C,
role: "presentation",
@@ -40362,11 +40413,11 @@ var Rfe = class extends Sb {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), az = class extends Cb {
+}), az = class extends bb {
static {
this.type = "tablebody";
}
-}, Vfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}, Wfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement(AI.div, {
...e,
@@ -40375,7 +40426,7 @@ var Rfe = class extends Sb {
...e,
ref: t
});
-}), oz = /*#__PURE__*/ ES(az, (e, t, n) => {
+}), oz = /*#__PURE__*/ gS(az, (e, t, n) => {
let r = (0, P.useContext)(QR), { isVirtualized: i } = (0, P.useContext)(II), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(II), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(zL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
@@ -40398,23 +40449,23 @@ var Rfe = class extends Sb {
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = ok(), _ = dC(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(Vfe, {
+ let { rowGroupProps: g } = JO(), _ = YS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(Wfe, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ P.createElement(Yfe, null), /*#__PURE__*/ P.createElement(o, {
+ }, l && /*#__PURE__*/ P.createElement(Qfe, null), /*#__PURE__*/ P.createElement(o, {
collection: a,
parent: n,
renderDropIndicator: VL(s, c)
}), m);
});
-(class extends Cb {
+(class extends bb {
static {
this.type = "tablefooter";
}
});
-var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hfe = class extends Sb {
+var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Gfe = class extends yb {
static {
this.type = "item";
}
@@ -40435,22 +40486,22 @@ var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hf
...e,
ref: t
});
-}), lz = /*#__PURE__*/ ES(Hfe, (e, t, n) => {
- let r = aS(t), i = (0, P.useContext)(QR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(zL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(II), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Boe({
+}), lz = /*#__PURE__*/ gS(Gfe, (e, t, n) => {
+ let r = nS(t), i = (0, P.useContext)(QR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(zL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(II), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Qoe({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = ZT(), { isFocusVisible: _, focusProps: v } = ZT({ within: !0 }), { hoverProps: y, isHovered: b } = tE({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = VT(), { isFocusVisible: _, focusProps: v } = VT({ within: !0 }), { hoverProps: y, isHovered: b } = GT({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Uoe({ key: n.key }, i), S;
+ }), { checkboxProps: x } = tse({ 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 } = Mw();
+ let C, w = (0, P.useRef)(null), { visuallyHiddenProps: T } = Sw();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -40481,7 +40532,7 @@ var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hf
isExpanded: j,
level: n.level + 1
}
- }), ee = dC(e, { global: !0 });
+ }), ee = YS(e, { global: !0 });
return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(cz, {
role: "row",
style: { height: 0 }
@@ -40537,12 +40588,12 @@ var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hf
}, (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(kS, {
+ return /*#__PURE__*/ P.createElement(yS, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), Ufe = class extends Sb {
+}), Kfe = class extends yb {
static {
this.type = "cell";
}
@@ -40555,16 +40606,16 @@ var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hf
...e,
ref: t
});
-}), dz = /*#__PURE__*/ TS(Ufe, (e, t, n) => {
- let r = aS(t), i = (0, P.useContext)(QR), { dragState: a } = (0, P.useContext)(zL), { isVirtualized: o } = (0, P.useContext)(II);
+}), dz = /*#__PURE__*/ hS(Kfe, (e, t, n) => {
+ let r = nS(t), i = (0, P.useContext)(QR), { dragState: a } = (0, P.useContext)(zL), { isVirtualized: o } = (0, P.useContext)(II);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = Moe({
+ let { gridCellProps: s, isPressed: c } = Woe({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = ZT(), { hoverProps: f, isHovered: p } = tE({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(sz), 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 = wI({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = VT(), { hoverProps: f, isHovered: p } = GT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(sz), 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 = wI({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -40583,7 +40634,7 @@ var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hf
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = dC(e, { global: !0 });
+ }), S = YS(e, { global: !0 });
return delete S.id, /*#__PURE__*/ P.createElement(uz, {
...K(S, x, s, d, f),
ref: r,
@@ -40600,12 +40651,12 @@ var sz = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), Hf
"data-disabled": b || void 0
}, /*#__PURE__*/ P.createElement(II.Provider, { value: PI }, x.children));
});
-function Wfe(e, t) {
- t = aS(t);
+function qfe(e, t) {
+ t = nS(t);
let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(zL), 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;
- return /*#__PURE__*/ P.createElement(Jfe, {
+ return /*#__PURE__*/ P.createElement(Zfe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -40614,7 +40665,7 @@ function Wfe(e, t) {
ref: t
});
}
-var Gfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var Jfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement(AI.div, {
...e,
@@ -40623,7 +40674,7 @@ var Gfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), Kfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}), Yfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, P.useContext)(II);
return n ? /*#__PURE__*/ P.createElement(AI.div, {
...e,
@@ -40633,21 +40684,21 @@ var Gfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
ref: t
});
});
-function qfe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(QR), { visuallyHiddenProps: c } = Mw(), l = wI({
+function Xfe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(QR), { visuallyHiddenProps: c } = Sw(), l = wI({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ P.createElement(Gfe, {
- ...dC(e, { global: !0 }),
+ return /*#__PURE__*/ P.createElement(Jfe, {
+ ...YS(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ P.createElement(Kfe, {
+ }, /*#__PURE__*/ P.createElement(Yfe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -40658,9 +40709,9 @@ function qfe(e, t) {
ref: i
}), l.children));
}
-var Jfe = /*#__PURE__*/ (0, P.forwardRef)(qfe);
-function Yfe() {
- let e = (0, P.useContext)(QR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(zL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Mw();
+var Zfe = /*#__PURE__*/ (0, P.forwardRef)(Xfe);
+function Qfe() {
+ let e = (0, P.useContext)(QR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(zL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = Sw();
return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(cz, {
role: "row",
"aria-hidden": i["aria-hidden"],
@@ -40676,7 +40727,7 @@ function Yfe() {
ref: r
})));
}
-TS(wb, function(e, t, n) {
+hS(xb, function(e, t, n) {
let r = (0, P.useContext)(QR), { isVirtualized: i } = (0, P.useContext)(II), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);
iR((0, P.useMemo)(() => ({
onLoadMore: o,
@@ -40711,7 +40762,7 @@ TS(wb, function(e, t, n) {
width: 1
}
}))), a && d.children && /*#__PURE__*/ P.createElement(cz, {
- ...K(dC(e, { global: !0 }), f),
+ ...K(YS(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
@@ -40724,8 +40775,8 @@ TS(wb, function(e, t, n) {
}, d.children)));
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function Xfe(e) {
- let [t, n] = Cw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = nR({
+function $fe(e) {
+ let [t, n] = pw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = nR({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -40747,8 +40798,8 @@ function Xfe(e) {
};
}
// node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Zfe(e) {
- let t = Xfe({
+function epe(e) {
+ let t = $fe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
@@ -40773,24 +40824,24 @@ function fz(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var pz = /*#__PURE__*/ (0, P.createContext)(null), mz = /*#__PURE__*/ (0, P.createContext)(null), Qfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+var pz = /*#__PURE__*/ (0, P.createContext)(null), mz = /*#__PURE__*/ (0, P.createContext)(null), tpe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
[e, t] = EI(e, t, pz);
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(_S, { content: n }, (n) => /*#__PURE__*/ P.createElement($fe, {
+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(fS, { content: n }, (n) => /*#__PURE__*/ P.createElement(npe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function $fe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Zfe({
+function npe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = epe({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = ZT({ within: !0 }), c = (0, P.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = VT({ within: !0 }), c = (0, P.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -40802,7 +40853,7 @@ function $fe({ props: e, tabsRef: t, collection: n }) {
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = dC(e, { global: !0 });
+ }), u = YS(e, { global: !0 });
return /*#__PURE__*/ P.createElement(AI.div, {
...K(u, l, a),
ref: t,
@@ -40814,13 +40865,13 @@ function $fe({ props: e, tabsRef: t, collection: n }) {
}, /*#__PURE__*/ P.createElement(CI, { values: [[pz, e], [mz, i]] }, l.children));
}
var hz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- return (0, P.useContext)(mz) ? /*#__PURE__*/ P.createElement(epe, {
+ return (0, P.useContext)(mz) ? /*#__PURE__*/ P.createElement(rpe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ P.createElement(kS, e);
+ }) : /*#__PURE__*/ P.createElement(yS, e);
});
-function epe({ props: e, forwardedRef: t }) {
- let n = (0, P.useContext)(mz), { CollectionRoot: r } = (0, P.useContext)(II), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = TI(pz), o = aS(t), { tabListProps: s } = qoe({
+function rpe({ props: e, forwardedRef: t }) {
+ let n = (0, P.useContext)(mz), { CollectionRoot: r } = (0, P.useContext)(II), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = TI(pz), o = nS(t), { tabListProps: s } = ase({
...e,
orientation: i,
keyboardActivation: a
@@ -40832,7 +40883,7 @@ function epe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = dC(e, { global: !0 });
+ }), l = YS(e, { global: !0 });
return delete l.id, /*#__PURE__*/ P.createElement(AI.div, {
...K(l, c, s),
ref: o,
@@ -40842,15 +40893,15 @@ function epe({ props: e, forwardedRef: t }) {
persistedKeys: LI(n.selectionManager.focusedKey)
})));
}
-var tpe = /*#__PURE__*/ TS(class extends Sb {
+var ipe = /*#__PURE__*/ hS(class extends yb {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, P.useContext)(mz), i = aS(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Goe({
+ let r = (0, P.useContext)(mz), i = nS(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = rse({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = ZT(), { hoverProps: f, isHovered: p } = tE({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = VT(), { hoverProps: f, isHovered: p } = GT({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
@@ -40868,7 +40919,7 @@ var tpe = /*#__PURE__*/ TS(class extends Sb {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? AI.a : AI.div, g = dC(e, { global: !0 });
+ }), h = n.props.href ? AI.a : AI.div, g = YS(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {
...K(g, m, a, l, f),
ref: i,
@@ -40879,19 +40930,19 @@ var tpe = /*#__PURE__*/ TS(class extends Sb {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ P.createElement(GL.Provider, { value: { isSelected: o } }, m.children));
-}), npe = /*#__PURE__*/ uS(function(e, t) {
- let n = (0, P.useContext)(mz), r = aS(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);
+}), ape = /*#__PURE__*/ sS(function(e, t) {
+ let n = (0, P.useContext)(mz), r = nS(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 = uR(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(rpe, {
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(ope, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function rpe(e) {
- let t = (0, P.useContext)(mz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Joe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = ZT(), d = t.selectedKey === e.id, f = lR(r) && !i, p = wI({
+function ope(e) {
+ let t = (0, P.useContext)(mz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = ose(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = VT(), d = t.selectedKey === e.id, f = lR(r) && !i, p = wI({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -40902,7 +40953,7 @@ function rpe(e) {
isExiting: a,
state: t
}
- }), m = dC(o, { global: !0 });
+ }), m = YS(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
return /*#__PURE__*/ P.createElement(AI.div, {
@@ -40917,12 +40968,12 @@ function rpe(e) {
}, /*#__PURE__*/ P.createElement(CI, { values: [[pz, null], [mz, null]] }, /*#__PURE__*/ P.createElement(II.Provider, { value: PI }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
+var gz = /*#__PURE__*/ (0, P.createContext)({}), spe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, ape = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+}, cpe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
[e, t] = EI(e, t, gz);
- let { hoverProps: n, isHovered: r } = tE(e), { isFocused: i, isFocusVisible: a, focusProps: o } = ZT({
+ let { hoverProps: n, isHovered: r } = GT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = VT({
isTextInput: !0,
autoFocus: e.autoFocus
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = wI({
@@ -40937,7 +40988,7 @@ var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
defaultClassName: "react-aria-TextArea"
});
return /*#__PURE__*/ P.createElement(AI.textarea, {
- ...K(ipe(e), o, n),
+ ...K(spe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -40946,11 +40997,11 @@ var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), ope = /*#__PURE__*/ (0, P.createContext)(null), spe = /*#__PURE__*/ uS(function(e, t) {
- [e, t] = EI(e, t, ope);
+}), lpe = /*#__PURE__*/ (0, P.createContext)(null), upe = /*#__PURE__*/ sS(function(e, t) {
+ [e, t] = EI(e, t, lpe);
let { validationBehavior: n } = TI(KI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);
[e, i] = EI(e, i, MI);
- let [a, o] = DI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = _ae({
+ let [a, o] = DI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Dae({
...OI(e),
inputElementType: s,
label: o,
@@ -40966,7 +41017,7 @@ var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = dC(e, { global: !0 });
+ }), g = YS(e, { global: !0 });
return delete g.id, /*#__PURE__*/ P.createElement(AI.div, {
...g,
...h,
@@ -41000,7 +41051,7 @@ var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
} }],
[GI, p]
] }, h.children));
-}), cpe = class e extends Eb {
+}), dpe = class e extends Cb {
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;
@@ -41072,11 +41123,11 @@ var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, lpe = /*#__PURE__*/ (0, P.createContext)(null), _z = /*#__PURE__*/ (0, P.createContext)(null), upe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
- return [e, t] = EI(e, t, lpe), /*#__PURE__*/ P.createElement(_S, {
- content: /*#__PURE__*/ P.createElement(kS, e),
- createCollection: () => new cpe()
- }, (n) => /*#__PURE__*/ P.createElement(dpe, {
+}, fpe = /*#__PURE__*/ (0, P.createContext)(null), _z = /*#__PURE__*/ (0, P.createContext)(null), ppe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {
+ return [e, t] = EI(e, t, fpe), /*#__PURE__*/ P.createElement(fS, {
+ content: /*#__PURE__*/ P.createElement(yS, e),
+ createCollection: () => new dpe()
+ }, (n) => /*#__PURE__*/ P.createElement(mpe, {
props: e,
collection: n,
treeRef: t
@@ -41091,16 +41142,16 @@ var gz = /*#__PURE__*/ (0, P.createContext)({}), ipe = (e) => {
rtl: "ArrowRight"
}
};
-function dpe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = rC(), a = WT({
+function mpe({ props: e, collection: t, treeRef: n }) {
+ let { dragAndDropHooks: r } = e, { direction: i } = VS(), a = PT({
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)(II), [y, b] = Cw(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));
- vpe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(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)(II), [y, b] = pw(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));
+ xpe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
let D = gR({
...e,
selectionMode: u,
@@ -41109,7 +41160,7 @@ function dpe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Yoe({
+ }), { gridProps: O } = sse({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -41131,7 +41182,7 @@ function dpe({ 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 Kw({
+ let t = new Iw({
collection: D.collection,
collator: a,
ref: n,
@@ -41158,7 +41209,7 @@ function dpe({ props: e, collection: t, treeRef: n }) {
}
}, A, n), M = A.isDropTarget({ type: "root" });
}
- let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = ZT(), ae = {
+ let N = !(!o || k?.isDisabled), { focusProps: re, isFocused: ie, isFocusVisible: F } = VT(), ae = {
isEmpty: D.collection.size === 0,
isFocused: ie,
isFocusVisible: F,
@@ -41183,8 +41234,8 @@ function dpe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let ce = dC(e, { global: !0 });
- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(FC, null, /*#__PURE__*/ P.createElement(AI.div, {
+ let ce = YS(e, { global: !0 });
+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(wC, null, /*#__PURE__*/ P.createElement(AI.div, {
...K(ce, oe, O, re, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -41201,15 +41252,15 @@ function dpe({ props: e, collection: t, treeRef: n }) {
dragState: k,
dropState: A
}],
- [BL, { render: mpe }]
- ] }, s && /*#__PURE__*/ P.createElement(_pe, null), /*#__PURE__*/ P.createElement(WL, null, /*#__PURE__*/ P.createElement(h, {
+ [BL, { render: _pe }]
+ ] }, s && /*#__PURE__*/ P.createElement(bpe, null), /*#__PURE__*/ P.createElement(WL, null, /*#__PURE__*/ P.createElement(h, {
collection: D.collection,
persistedKeys: HL(D.selectionManager, r, A),
scrollRef: n,
renderDropIndicator: VL(r, A)
}))), se)), ee);
}
-var fpe = /*#__PURE__*/ TS(class extends Sb {
+var hpe = /*#__PURE__*/ hS(class extends yb {
static {
this.type = "content";
}
@@ -41219,29 +41270,29 @@ var fpe = /*#__PURE__*/ TS(class extends Sb {
values: t
});
return /*#__PURE__*/ P.createElement(II.Provider, { value: PI }, n.children);
-}), yz = /*#__PURE__*/ (0, P.createContext)(null), ppe = /*#__PURE__*/ ES(class extends Sb {
+}), yz = /*#__PURE__*/ (0, P.createContext)(null), gpe = /*#__PURE__*/ gS(class extends yb {
static {
this.type = "item";
}
}, (e, t, n) => {
let r = (0, P.useContext)(_z);
- t = aS(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(zL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Wk({
+ t = nS(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(zL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Mk({
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: _ } = tE({
+ }, 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: _ } = GT({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = ZT(), { isFocusVisible: b, focusProps: x } = ZT({ within: !0 }), { checkboxProps: S } = Kae({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = VT(), { isFocusVisible: b, focusProps: x } = VT({ within: !0 }), { checkboxProps: S } = noe({ 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 } = Mw();
+ let w = null, T = (0, P.useRef)(null), E = (0, P.useRef)(null), D = (0, P.useRef)(null), { visuallyHiddenProps: O } = Sw();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -41297,7 +41348,7 @@ var fpe = /*#__PURE__*/ TS(class extends Sb {
(0, P.useEffect)(() => {
a && ne.current;
}, []);
- let N = Ab({
+ let N = Db({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -41307,7 +41358,7 @@ var fpe = /*#__PURE__*/ TS(class extends Sb {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), re = Jx(), ie = dC(e, { global: !0 });
+ }), re = Gx(), ie = YS(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"],
@@ -41375,7 +41426,7 @@ var fpe = /*#__PURE__*/ TS(class extends Sb {
[GL, { isSelected: f.isSelected }]
] }, N))));
});
-TS(wb, function(e, t, n) {
+hS(xb, function(e, t, n) {
let { isVirtualized: r } = (0, P.useContext)(II), i = (0, P.useContext)(_z), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);
iR((0, P.useMemo)(() => ({
onLoadMore: o,
@@ -41386,8 +41437,8 @@ TS(wb, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = aS(t);
- let { rowProps: u, gridCellProps: d } = Wk({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = nS(t);
+ let { rowProps: u, gridCellProps: d } = Mk({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
}, m = wI({
@@ -41414,7 +41465,7 @@ TS(wb, function(e, t, n) {
}
})), a && m.children && /*#__PURE__*/ P.createElement(AI.div, {
ref: t,
- ...K(dC(e), p),
+ ...K(YS(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ P.createElement("div", {
@@ -41422,12 +41473,12 @@ TS(wb, function(e, t, n) {
style: h
}, m.children)));
});
-function mpe(e, t) {
- t = aS(t);
+function _pe(e, t) {
+ t = nS(t);
let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(zL), 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;
- return /*#__PURE__*/ P.createElement(gpe, {
+ return /*#__PURE__*/ P.createElement(ype, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -41436,8 +41487,8 @@ function mpe(e, t) {
level: c
});
}
-function hpe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = Mw(), c = wI({
+function vpe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = Sw(), c = wI({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -41459,9 +41510,9 @@ function hpe(e, t) {
ref: i
}), c.children));
}
-var gpe = /*#__PURE__*/ (0, P.forwardRef)(hpe);
-function _pe() {
- let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(zL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = Mw();
+var ype = /*#__PURE__*/ (0, P.forwardRef)(vpe);
+function bpe() {
+ let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(zL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = Sw();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ P.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -41473,13 +41524,13 @@ function _pe() {
ref: n
})));
}
-function vpe(e, t) {
+function xpe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
// node_modules/@remixicon/react/index.mjs
-var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+var Spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41487,7 +41538,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41519,7 +41570,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), xpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" })), wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41527,7 +41578,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41535,7 +41586,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41543,7 +41594,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41551,7 +41602,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41559,7 +41610,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), Epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), kpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41567,7 +41618,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), Ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41575,7 +41626,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), jpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41583,7 +41634,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), kpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41591,7 +41642,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), Ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20Z" })), Npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41607,7 +41658,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), jpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z" })), Ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41615,7 +41666,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), Mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), Fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41623,7 +41674,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41631,7 +41682,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41639,7 +41690,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41655,7 +41706,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), Ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z" })), zpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41663,7 +41714,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41671,7 +41722,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), Vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41679,7 +41730,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), zpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41687,7 +41738,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), Upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41695,7 +41746,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), Wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41719,7 +41770,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), Gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41743,7 +41794,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Kpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41751,7 +41802,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), qpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41759,7 +41810,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), Jpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41767,7 +41818,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Kpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM11 11V17H13V11H11ZM11 7V9H13V7H11Z" })), Ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41775,7 +41826,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), qpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Xpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41791,7 +41842,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Jpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Zpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41799,7 +41850,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), Qpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41839,7 +41890,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Xpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), $pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41855,7 +41906,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Zpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), eme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41863,7 +41914,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), Qpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), tme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41871,7 +41922,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), $pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), nme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41879,7 +41930,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), eme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), rme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41887,7 +41938,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), tme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), ime = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41895,7 +41946,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), nme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), ame = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41919,7 +41970,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), rme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), ome = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41927,7 +41978,7 @@ var ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P
fill: e,
...r,
className: "remixicon " + (n || "")
-}, P.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), ime = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
+}, P.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), sme = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -41941,7 +41992,7 @@ function Lz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
return /* @__PURE__ */ (0, F.jsxs)(zI, {
"data-label": "true",
...a,
- className: IF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: lF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, F.jsx)("span", {
@@ -41949,7 +42000,7 @@ function Lz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, F.jsx)(Gpe, {
+ n && /* @__PURE__ */ (0, F.jsx)(Jpe, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -41958,10 +42009,10 @@ function Lz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
// src/react/boardui/components/base/input/hint-text.tsx
function Rz({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, F.jsx)(sde, {
+ return /* @__PURE__ */ (0, F.jsx)(ude, {
slot: e ? "errorMessage" : "description",
...n,
- className: IF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: lF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
// src/react/boardui/components/base/input/input.tsx
@@ -41973,16 +42024,16 @@ function Bz({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, F.jsx)(spe, {
+ children: /* @__PURE__ */ (0, F.jsx)(upe, {
...a,
"data-input-size": e,
- className: IF("group flex h-max w-full flex-col items-start gap-1", r),
+ className: lF("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
Bz.displayName = "TextField";
-var Vz = LF({
+var Vz = uF({
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",
@@ -42001,7 +42052,7 @@ function Hz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
let l = (0, P.useContext)(zz), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, F.jsx)(ZI, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => IF(Vz.field, d ? Vz.fieldWithAddonSize[u] : Vz.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 }) => lF(Vz.field, d ? Vz.fieldWithAddonSize[u] : Vz.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: Vz.content,
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -42009,10 +42060,10 @@ function Hz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldCl
children: [d ? r : t ? /* @__PURE__ */ (0, F.jsx)(t, {
className: Vz.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, F.jsx)(pde, {
+ }) : null, /* @__PURE__ */ (0, F.jsx)(gde, {
ref: o,
...c,
- className: IF(Vz.input, l.inputClassName, a)
+ className: lF(Vz.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, F.jsx)(n, {
className: Vz.icon,
@@ -42052,14 +42103,14 @@ function Uz({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
}
Uz.displayName = "Input";
// src/react/components/modal-frame.tsx
-var ame = {
+var cme = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
function Wz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
- let { isFocusVisible: a } = Fx();
+ let { isFocusVisible: a } = Mx();
return /* @__PURE__ */ (0, F.jsx)(jR, {
isOpen: e,
onOpenChange: t,
@@ -42068,10 +42119,10 @@ function Wz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
"data-modal-kind": n,
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, F.jsx)(Yde, {
+ children: /* @__PURE__ */ (0, F.jsx)(Qde, {
"data-modal-surface": "",
"data-modal-width": n,
- className: `flex max-h-full w-full ${ame[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ className: `flex max-h-full w-full ${cme[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
children: /* @__PURE__ */ (0, F.jsx)(DR, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
@@ -42091,9 +42142,9 @@ function Gz({ children: e }) {
function Kz({ 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: IF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
+ className: lF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
- className: IF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),
+ className: lF("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
@@ -42110,37 +42161,37 @@ function Kz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
switch (e) {
case "info": return /* @__PURE__ */ (0, F.jsx)("div", {
role: "status",
- className: IF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
+ className: lF("@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: IF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
+ className: lF("@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: IF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
+ className: lF("@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: IF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
+ className: lF("@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: IF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
+ className: lF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
children: s
});
}
}
// src/react/components/empty-state.tsx
-var ome = {
+var lme = {
standard: "min-h-80 px-6 py-12",
compact: "min-h-60 px-4 py-6"
};
-function sme({ target: e, children: t }) {
+function ume({ target: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)(q, {
size: "small",
variant: "secondary",
@@ -42152,7 +42203,7 @@ function qz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-empty-state": "",
"data-empty-size": i,
- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${ome[i]}`,
+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${lme[i]}`,
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
@@ -42242,11 +42293,11 @@ function tB() {
function nB(e, t) {
return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));
}
-function cme(e) {
+function dme(e) {
return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Nn(e.kind, e.name, e.entity_id);
}
// src/react/library-shortcuts/shortcut-controls.tsx
-var rB = Yz("star"), lme = Yz("bookmark-plus"), iB = Yz("chevron-right"), aB = {
+var rB = Yz("star"), fme = Yz("bookmark-plus"), iB = Yz("chevron-right"), aB = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
@@ -42278,10 +42329,10 @@ function cB({ label: e, children: t, ...n }) {
});
}
function lB({ item: e }) {
- return /* @__PURE__ */ (0, F.jsx)(ume, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
+ return /* @__PURE__ */ (0, F.jsx)(pme, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
-function ume({ item: e }) {
- sI();
+function pme({ item: e }) {
+ oI();
let t = eB(!1), n = (0, P.useRef)(t.data), r = tB(), i = t.data && t.data !== n.current ? nB(t.data.favorites || [], e) : e.favorite ?? (t.data ? nB(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, F.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
@@ -42334,15 +42385,15 @@ function uB({ currentHref: e, kind: t }) {
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, F.jsx)(dme, {
+ children: n ? /* @__PURE__ */ (0, F.jsx)(mme, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function dme({ currentHref: e, kind: t, close: n }) {
- sI();
+function mme({ currentHref: e, kind: t, close: n }) {
+ oI();
let r = eB(), i = tB(), [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(t || "all"), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = (0, P.useId)(), [m, h] = (0, P.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, P.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
@@ -42455,7 +42506,7 @@ function dme({ currentHref: e, kind: t, close: n }) {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, F.jsx)(lme, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, F.jsx)(fme, { "aria-hidden": !0 }),
"稍后看",
/* @__PURE__ */ (0, F.jsx)(iB, { "aria-hidden": !0 })
]
@@ -42581,11 +42632,11 @@ function dme({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, F.jsxs)("a", {
- href: cme(e),
+ href: dme(e),
"aria-label": tn(e.kind, e.name, e.entity_id),
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, F.jsx)(fme, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(hme, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "truncate",
@@ -42617,7 +42668,7 @@ function dme({ currentHref: e, kind: t, close: n }) {
]
});
}
-function fme({ item: e }) {
+function hme({ item: e }) {
let t = oB[e.kind] || rB;
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-shortcuts-avatar": "",
@@ -42636,8 +42687,8 @@ function fme({ item: e }) {
});
}
// node_modules/react-router/dist/production/lib/router/url.js
-var pme = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, dB = /^[\\/]{2}/;
-function mme(e, t) {
+var gme = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, dB = /^[\\/]{2}/;
+function _me(e, t) {
return t + e.replace(/\\/g, "/");
}
// node_modules/react-router/dist/production/lib/router/history.js
@@ -42645,7 +42696,7 @@ var fB = "popstate";
function pB(e) {
return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;
}
-function hme(e = {}) {
+function vme(e = {}) {
function t(e, t) {
let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;
return _B("", {
@@ -42661,7 +42712,7 @@ function hme(e = {}) {
function n(e, t) {
return typeof t == "string" ? t : vB(t);
}
- return _me(t, n, null, e);
+ return bme(t, n, null, e);
}
function mB(e, t) {
if (e === !1 || e == null) throw Error(t);
@@ -42674,7 +42725,7 @@ function hB(e, t) {
} catch {}
}
}
-function gme() {
+function yme() {
return Math.random().toString(36).substring(2, 10);
}
function gB(e, t) {
@@ -42696,7 +42747,7 @@ function _B(e, t, n = null, r, i) {
hash: "",
...typeof t == "string" ? yB(t) : t,
state: n,
- key: t && t.key || r || gme(),
+ key: t && t.key || r || yme(),
mask: i
};
}
@@ -42713,7 +42764,7 @@ function yB(e) {
}
return t;
}
-function _me(e, t, n, r = {}) {
+function bme(e, t, n, r = {}) {
let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();
l ?? (l = 0, o.replaceState({
...o.state,
@@ -42760,7 +42811,7 @@ function _me(e, t, n, r = {}) {
});
}
function m(e) {
- return vme(i, e);
+ return xme(i, e);
}
let h = {
get action() {
@@ -42795,26 +42846,26 @@ function _me(e, t, n, r = {}) {
};
return h;
}
-function vme(e, t, n = !1) {
+function xme(e, t, n = !1) {
let r = "http://localhost";
e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), mB(r, "No window.location.(origin|href) available to create URL");
let i = typeof t == "string" ? t : vB(t);
return i = i.replace(/ $/, "%20"), !n && dB.test(i) && (i = r + i), new URL(i, r);
}
// node_modules/react-router/dist/production/lib/router/utils.js
-function yme(e, t, n = "/") {
- return bme(e, t, n, !1);
+function Sme(e, t, n = "/") {
+ return Cme(e, t, n, !1);
}
-function bme(e, t, n, r, i) {
+function Cme(e, t, n, r, i) {
let a = EB((typeof t == "string" ? yB(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? xme(e), s = null, c = Pme(a);
- for (let e = 0; s == null && e < o.length; ++e) s = Nme(o[e], c, r);
+ let o = i ?? wme(e), s = null, c = Lme(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = Ime(o[e], c, r);
return s;
}
-function xme(e) {
+function wme(e) {
let t = bB(e);
- return Sme(t), t;
+ return Tme(t), t;
}
function bB(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
@@ -42831,7 +42882,7 @@ function bB(e, t = [], n = [], r = "", i = !1) {
let l = AB([r, c.relativePath]), u = n.concat(c);
e.children && e.children.length > 0 && (mB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), bB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({
path: l,
- score: jme(l, e.index),
+ score: Pme(l, e.index),
routesMeta: u.map((e, t) => {
let [n, r] = TB(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
@@ -42855,18 +42906,18 @@ function xB(e) {
let o = xB(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function Sme(e) {
- e.sort((e, t) => e.score === t.score ? Mme(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function Tme(e) {
+ e.sort((e, t) => e.score === t.score ? Fme(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var Cme = /^:[\w-]+$/, wme = /^:[\w-]+/, Tme = 3.5, Eme = 3, Dme = 2, Ome = 1, kme = 10, Ame = -2, SB = (e) => e === "*";
-function jme(e, t) {
+var Eme = /^:[\w-]+$/, Dme = /^:[\w-]+/, Ome = 3.5, kme = 3, Ame = 2, jme = 1, Mme = 10, Nme = -2, SB = (e) => e === "*";
+function Pme(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(SB) && (r += Ame), t && (r += Dme), n.filter((e) => !SB(e)).reduce((e, t) => e + (Cme.test(t) ? Eme : wme.test(t) ? Tme : t === "" ? Ome : kme), r);
+ return n.some(SB) && (r += Nme), t && (r += Ame), n.filter((e) => !SB(e)).reduce((e, t) => e + (Eme.test(t) ? kme : Dme.test(t) ? Ome : t === "" ? jme : Mme), r);
}
-function Mme(e, t) {
+function Fme(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function Nme(e, t, n = !1) {
+function Ime(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
@@ -42882,7 +42933,7 @@ function Nme(e, t, n = !1) {
Object.assign(i, d.params), o.push({
params: i,
pathname: AB([a, d.pathname]),
- pathnameBase: zme(AB([a, d.pathnameBase])),
+ pathnameBase: Hme(AB([a, d.pathnameBase])),
route: f
}), d.pathnameBase !== "/" && (a = AB([a, d.pathnameBase]));
}
@@ -42929,7 +42980,7 @@ function TB(e, t = !1, n = !0) {
}).replace(/\/((?:[^/?()[\]*^\\]|\\.)+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function Pme(e) {
+function Lme(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
@@ -42942,12 +42993,12 @@ function EB(e, t) {
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function Fme(e, t = "/") {
+function Rme(e, t = "/") {
let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? yB(e) : e, a;
return n ? (n = kB(n), a = n.startsWith("/") || n.startsWith("\\") ? DB(n.substring(1), "/") : DB(n, t)) : a = t, {
pathname: a,
- search: Bme(r),
- hash: Vme(i)
+ search: Ume(r),
+ hash: Wme(i)
};
}
function DB(e, t) {
@@ -42959,14 +43010,14 @@ function DB(e, t) {
function OB(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function Ime(e) {
+function zme(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function Lme(e) {
- let t = Ime(e);
+function Bme(e) {
+ let t = zme(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function Rme(e, t, n, r = !1) {
+function Vme(e, t, n, r = !1) {
let i;
typeof e == "string" ? i = yB(e) : (i = { ...e }, mB(!i.pathname || !i.pathname.includes("?"), OB("?", "pathname", "search", i)), mB(!i.pathname || !i.pathname.includes("#"), OB("#", "pathname", "hash", i)), mB(!i.search || !i.search.includes("#"), OB("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
@@ -42980,7 +43031,7 @@ function Rme(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = Fme(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = Rme(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
var kB = (e) => e.replace(/[\\/]{2,}/g, "/"), AB = (e) => kB(e.join("/"));
@@ -42989,7 +43040,7 @@ function jB(e, t = 0) {
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var zme = (e) => jB(e).replace(/^\/*/, "/"), Bme = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Vme = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Hme = class {
+var Hme = (e) => jB(e).replace(/^\/*/, "/"), Ume = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Wme = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Gme = class {
status;
statusText;
data;
@@ -42999,23 +43050,23 @@ var zme = (e) => jB(e).replace(/^\/*/, "/"), Bme = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function Ume(e) {
+function Kme(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function Wme(e) {
+function qme(e) {
return AB(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
var MB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function Gme(e, t) {
+function Jme(e, t) {
let n = e;
- if (typeof n != "string" || !pme.test(n)) return {
+ if (typeof n != "string" || !gme.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
if (MB) try {
- let e = new URL(window.location.href), r = dB.test(n) ? new URL(mme(n, e.protocol)) : new URL(n), a = EB(r.pathname, t);
+ let e = new URL(window.location.href), r = dB.test(n) ? new URL(_me(n, e.protocol)) : new URL(n), a = EB(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
hB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
@@ -43039,7 +43090,7 @@ function PB(e) {
function FB(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function Kme(e, t) {
+function Yme(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
@@ -43052,7 +43103,7 @@ function IB(e, t, n, r) {
let a = new URL(t, n), o = i != null && !FB(i, n), s = !FB(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !Kme(e, i) || !FB(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !Yme(e, i) || !FB(i, a))) throw Error("External navigation is not allowed");
}
// node_modules/react-router/dist/production/lib/router/router.js
var LB = [
@@ -43062,9 +43113,9 @@ var LB = [
"DELETE"
];
new Set(LB);
-var qme = ["GET", ...LB];
-new Set(qme);
-var Jme = [
+var Xme = ["GET", ...LB];
+new Set(Xme);
+var Zme = [
"about:",
"blob:",
"chrome:",
@@ -43076,9 +43127,9 @@ var Jme = [
"filesystem:",
"javascript:"
];
-function Yme(e) {
+function Qme(e) {
try {
- return Jme.includes(new URL(e).protocol);
+ return Zme.includes(new URL(e).protocol);
} catch {
return !1;
}
@@ -43086,18 +43137,18 @@ function Yme(e) {
// node_modules/react-router/dist/production/lib/context.js
var RB = P.createContext(null);
RB.displayName = "DataRouter";
-var Xme = P.createContext(null);
-Xme.displayName = "DataRouterState";
+var $me = P.createContext(null);
+$me.displayName = "DataRouterState";
var zB = P.createContext(null);
zB.displayName = "DataRouterData";
-var Zme = P.createContext(null);
-Zme.displayName = "DataRouterNavigation";
-var Qme = P.createContext(!1), $me = P.createContext({ isTransitioning: !1 });
-$me.displayName = "ViewTransition";
var ehe = P.createContext(null);
-ehe.displayName = "Fetchers";
-var the = P.createContext(null);
-the.displayName = "Await";
+ehe.displayName = "DataRouterNavigation";
+var the = P.createContext(!1), nhe = P.createContext({ isTransitioning: !1 });
+nhe.displayName = "ViewTransition";
+var rhe = P.createContext(null);
+rhe.displayName = "Fetchers";
+var ihe = P.createContext(null);
+ihe.displayName = "Await";
var BB = P.createContext(null);
BB.displayName = "Navigation";
var VB = P.createContext(null);
@@ -43115,17 +43166,17 @@ WB.displayName = "RouteId";
var GB = P.createContext(null);
GB.displayName = "RouteError";
// node_modules/react-router/dist/production/lib/errors.js
-var KB = "REACT_ROUTER_ERROR", nhe = "REDIRECT", rhe = "ROUTE_ERROR_RESPONSE";
-function ihe(e) {
- if (e.startsWith(`${KB}:${nhe}:{`)) try {
+var KB = "REACT_ROUTER_ERROR", ahe = "REDIRECT", ohe = "ROUTE_ERROR_RESPONSE";
+function she(e) {
+ if (e.startsWith(`${KB}:${ahe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function ahe(e) {
- if (e.startsWith(`${KB}:${rhe}:{`)) try {
+function che(e) {
+ if (e.startsWith(`${KB}:${ohe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new Hme(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new Gme(t.status, t.statusText, t.data);
} catch {}
}
// node_modules/react-router/dist/production/lib/hooks.js
@@ -43136,12 +43187,12 @@ function JB() {
return mB(qB(), "useLocation() may be used only in the context of a <Router> component."), P.useContext(VB).location;
}
var YB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function ohe() {
- return P.useContext(UB) ? vhe() : she();
+function lhe() {
+ return P.useContext(UB) ? xhe() : uhe();
}
-function she() {
+function uhe() {
mB(qB(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = P.useContext(RB), { basename: t, navigator: n } = P.useContext(BB), { matches: r } = P.useContext(HB), { pathname: i } = JB(), a = JSON.stringify(Lme(r)), o = P.useRef(!1);
+ let e = P.useContext(RB), { basename: t, navigator: n } = P.useContext(BB), { matches: r } = P.useContext(HB), { pathname: i } = JB(), a = JSON.stringify(Bme(r)), o = P.useRef(!1);
return P.useLayoutEffect(() => {
o.current = !0;
}), P.useCallback((r, s = {}) => {
@@ -43150,7 +43201,7 @@ function she() {
n.go(r);
return;
}
- let c = Rme(r, JSON.parse(a), i, s.relative === "path");
+ let c = Vme(r, JSON.parse(a), i, s.relative === "path");
e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : AB([t, c.pathname])), IB(typeof r == "string" ? r : vB(r), n.createHref(c), PB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
@@ -43161,7 +43212,7 @@ function she() {
]);
}
P.createContext(null);
-function che(e, t) {
+function dhe(e, t) {
return XB(e, t);
}
function XB(e, t, n) {
@@ -43181,8 +43232,8 @@ function XB(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : yme(e, { pathname: d });
- let p = mhe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : Sme(e, { pathname: d });
+ let p = _he(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
pathname: AB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
pathnameBase: e.pathnameBase === "/" ? s : AB([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
@@ -43200,14 +43251,14 @@ function XB(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function lhe() {
- let e = _he(), t = Ume(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function fhe() {
+ let e = bhe(), t = Kme(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ P.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ P.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var uhe = /* @__PURE__ */ P.createElement(lhe, null), dhe = class extends P.Component {
+var phe = /* @__PURE__ */ P.createElement(fhe, null), mhe = class extends P.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -43215,7 +43266,7 @@ var uhe = /* @__PURE__ */ P.createElement(lhe, null), dhe = class extends P.Comp
error: e.error
};
}
- static contextType = Qme;
+ static contextType = the;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -43236,25 +43287,25 @@ var uhe = /* @__PURE__ */ P.createElement(lhe, null), dhe = class extends P.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = ahe(e.digest);
+ let t = che(e.digest);
t && (e = t);
}
let t = e === void 0 ? this.props.children : /* @__PURE__ */ P.createElement(HB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ P.createElement(UB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ P.createElement(WB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ P.createElement(GB.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ P.createElement(fhe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ P.createElement(hhe, { error: e }, t) : t;
}
}, ZB = /* @__PURE__ */ new WeakMap();
-function fhe({ children: e, error: t }) {
+function hhe({ children: e, error: t }) {
let { basename: n, navigator: r } = P.useContext(BB);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = ihe(t.digest);
+ let e = she(t.digest);
if (e) {
let i = ZB.get(t);
if (i) throw i;
- let a = Gme(e.location, n), o = a.absoluteURL || a.to;
- if (IB(e.location, o, PB(r), "allow-explicit"), Yme(o)) throw Error("Invalid redirect location");
+ let a = Jme(e.location, n), o = a.absoluteURL || a.to;
+ if (IB(e.location, o, PB(r), "allow-explicit"), Qme(o)) throw Error("Invalid redirect location");
if (MB && !ZB.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
@@ -43270,11 +43321,11 @@ function fhe({ children: e, error: t }) {
}
return e;
}
-function phe({ routeContext: e, match: t, children: n }) {
+function ghe({ routeContext: e, match: t, children: n }) {
let r = P.useContext(RB);
return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ P.createElement(HB.Provider, { value: e }, /* @__PURE__ */ P.createElement(UB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ P.createElement(WB.Provider, { value: t.route.id }, n)));
}
-function mhe(e, t = [], n) {
+function _he(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -43305,16 +43356,16 @@ function mhe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: Wme(r.matches),
+ pattern: qme(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || uhe, o && (s < 0 && c === 0 ? (yhe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || phe, o && (s < 0 && c === 0 ? (She("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(phe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(ghe, {
match: n,
routeContext: {
outlet: e,
@@ -43324,7 +43375,7 @@ function mhe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(dhe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(mhe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -43342,11 +43393,11 @@ function mhe(e, t = [], n) {
function QB(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function hhe(e) {
+function vhe(e) {
let t = P.useContext(RB);
return mB(t, QB(e)), t;
}
-function ghe(e) {
+function yhe(e) {
let t = P.useContext(zB);
return mB(t, QB(e)), t;
}
@@ -43354,12 +43405,12 @@ function $B(e) {
let t = P.useContext(WB);
return mB(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function _he() {
- let e = P.useContext(GB), t = ghe("useRouteError"), n = $B("useRouteError");
+function bhe() {
+ let e = P.useContext(GB), t = yhe("useRouteError"), n = $B("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function vhe() {
- let { router: e } = hhe("useNavigate"), t = $B("useNavigate"), n = P.useRef(!1);
+function xhe() {
+ let { router: e } = vhe("useNavigate"), t = $B("useNavigate"), n = P.useRef(!1);
return P.useLayoutEffect(() => {
n.current = !0;
}), P.useCallback(async (r, i = {}) => {
@@ -43370,13 +43421,13 @@ function vhe() {
}, [e, t]);
}
var eV = {};
-function yhe(e, t, n) {
+function She(e, t, n) {
!t && !eV[e] && (eV[e] = !0, hB(!1, n));
}
// node_modules/react-router/dist/production/lib/dom/ssr/components.js
var tV = P.createContext(void 0);
-tV.displayName = "FrameworkContext", P.memo(bhe);
-function bhe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+tV.displayName = "FrameworkContext", P.memo(Che);
+function Che({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
let a = P.useContext(RB);
mB(a, "You must render this element inside a <DataRouterContext.Provider> element");
let o = P.useContext(tV)?.routeDiscoveryRuntime;
@@ -43393,7 +43444,7 @@ function bhe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
function nV(e) {
mB(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function xhe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+function whe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
mB(!qB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = P.useMemo(() => ({
basename: s,
@@ -43437,7 +43488,7 @@ function xhe({ basename: e = "/", children: t = null, location: n, navigationTyp
}));
}
function rV({ children: e, location: t }) {
- return che(iV(e), t);
+ return dhe(iV(e), t);
}
P.Component;
function iV(e, t = []) {
@@ -43474,11 +43525,11 @@ function iV(e, t = []) {
}), n;
}
// src/react/components/board-navigation-link.tsx
-function She(e) {
+function The(e) {
return /* @__PURE__ */ (0, F.jsx)("a", { ...e });
}
// src/react/boardui/components/foundations/icons/chevrons.tsx
-function Che(e) {
+function Ehe(e) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -43492,7 +43543,7 @@ function Che(e) {
})
});
}
-function whe(e) {
+function Dhe(e) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -43519,15 +43570,15 @@ function aV(e) {
});
}
// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function The({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function Ohe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = P.Children.toArray(e).filter(P.isValidElement);
return /* @__PURE__ */ (0, F.jsx)("nav", {
ref: r,
"aria-label": t,
- className: IF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
+ className: lF("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)(whe, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(Dhe, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
@@ -43541,32 +43592,32 @@ function oV({ 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: IF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
+ className: lF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
children: o
});
- let s = IF("-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 = lF("-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)(She, {
+ children: n ? /* @__PURE__ */ (0, F.jsx)(The, {
href: n,
className: s,
children: o
}) : /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
onClick: r,
- className: IF("cursor-pointer", s),
+ className: lF("cursor-pointer", s),
children: o
})
});
}
// src/react/boardui/components/foundations/direction/direction.tsx
function sV() {
- return rC().direction;
+ return VS().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
-var cV = "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", Ehe = "w-[266px]", Dhe = "flex w-full flex-col gap-1 outline-none", lV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", uV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+var cV = "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", khe = "w-[266px]", Ahe = "flex w-full flex-col gap-1 outline-none", lV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", uV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
-function Ohe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+function jhe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
let c = sV(), l = (0, P.useContext)(II), u = l === PI && !s.dragAndDropHooks ? fV : l;
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "contents",
@@ -43586,21 +43637,21 @@ function Ohe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
},
children: /* @__PURE__ */ (0, F.jsx)(II.Provider, {
value: u,
- children: /* @__PURE__ */ (0, F.jsx)(upe, {
+ children: /* @__PURE__ */ (0, F.jsx)(ppe, {
...s,
ref: o,
selectionMode: n,
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => IF("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 === fV ? "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) => lF("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 === fV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)
})
})
});
}
function dV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
let d = sV();
- return /* @__PURE__ */ (0, F.jsxs)(ppe, {
+ return /* @__PURE__ */ (0, F.jsxs)(gpe, {
...u,
ref: l,
textValue: t,
@@ -43608,11 +43659,11 @@ function dV({ 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) => IF("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)(fpe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? Ez : Tz : Rpe);
+ className: (e) => lF("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)(hpe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? Ez : Tz : Vpe);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(Ahe, {
+ /* @__PURE__ */ (0, F.jsx)(Nhe, {
state: l,
id: u,
level: c,
@@ -43628,14 +43679,14 @@ function dV({ 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)(Sz, {
"aria-hidden": !0,
- className: IF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
+ className: lF("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: IF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
+ className: lF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
}), f && /* @__PURE__ */ (0, F.jsx)(f, {
"aria-hidden": !0,
- className: IF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
+ className: lF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
})]
}),
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -43652,13 +43703,13 @@ function dV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}
var fV = {
...PI,
- CollectionRoot: khe
+ CollectionRoot: Mhe
};
-function khe({ collection: e, ...t }) {
+function Mhe({ collection: e, ...t }) {
let n = (0, P.useContext)(_z);
- return n ? /* @__PURE__ */ (0, F.jsx)(Ny, {
+ return n ? /* @__PURE__ */ (0, F.jsx)(ky, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(jhe, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(Phe, {
state: n,
children: e.render?.(e)
}, e.key))
@@ -43667,7 +43718,7 @@ function khe({ collection: e, ...t }) {
...t
});
}
-function Ahe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function Nhe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
let o = e.collection.getItem(t);
if (!o) return null;
let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;
@@ -43700,7 +43751,7 @@ function Ahe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
height: "7",
viewBox: `0 0 ${i} 7`,
fill: "none",
- className: IF("absolute start-0", a === "rtl" && "-scale-x-100"),
+ className: lF("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}`,
@@ -43726,9 +43777,9 @@ function Ahe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function jhe({ state: e, children: t }) {
- let n = ky(), r = lb(), [i, a] = (0, P.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(xb.div, {
+function Phe({ state: e, children: t }) {
+ let n = Ey(), r = $y(), [i, a] = (0, P.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(vb.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -43792,7 +43843,7 @@ function mV({ state: e, size: t = "md" }) {
let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = pV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: IF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? IF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : IF("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: lF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? lF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : lF("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",
@@ -43817,15 +43868,15 @@ function mV({ state: e, size: t = "md" }) {
// src/react/boardui/components/base/checkbox/checkbox.tsx
function hV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
let a = pV[n];
- return /* @__PURE__ */ (0, F.jsx)(ude, {
+ return /* @__PURE__ */ (0, F.jsx)(pde, {
ref: r,
...i,
- className: (t) => IF("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),
+ className: (t) => lF("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)(mV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {
- className: IF(a.label, "text-text-primary"),
+ className: lF(a.label, "text-text-primary"),
children: t
})] })
});
@@ -43877,7 +43928,7 @@ var wV = (e) => {
"/assets/:id",
"/posts/:id",
"/works/:code"
-], Mhe = [
+], Fhe = [
"mix",
"parts",
"editions",
@@ -43904,7 +43955,7 @@ function EV(e, t = "") {
let a = Number(i[0]);
if (!Number.isSafeInteger(a) || a <= 0) return null;
if (n === "/assets/:id") {
- let e = new URLSearchParams(t), r = Mhe.filter((t) => e.has(t));
+ let e = new URLSearchParams(t), r = Fhe.filter((t) => e.has(t));
if (r.length === 1) {
let t = r[0], i = e.get(t), o = Number(i);
if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {
@@ -43949,7 +44000,7 @@ function MV() {
function NV() {
AV = null, jV = null;
}
-function Nhe(e) {
+function Ihe(e) {
let t = kV(e);
t && (AV = t, jV = t.pathname + t.search + (t.hash || ""));
}
@@ -44024,6 +44075,11 @@ var LV = {
section: "cleanup",
title: "数据管理"
},
+ ...Object.fromEntries(Object.entries(fP).map(([e, t]) => [e, {
+ section: "cleanup",
+ title: t,
+ refresh: "reopen"
+ }])),
"/duplicates": {
section: "cleanup",
title: "重复文件",
@@ -44158,7 +44214,7 @@ var zV = () => {}, BV = new Promise((e) => {
});
BV.catch(() => {});
var VV = null, HV = /* @__PURE__ */ new Map(), UV = /* @__PURE__ */ new Map(), WV = 0, GV = /* @__PURE__ */ new Set();
-function Phe(e) {
+function Lhe(e) {
zV(e);
}
function KV(e) {
@@ -44168,7 +44224,7 @@ function qV(e) {
return !!e && (HV.has(e) || UV.has(e));
}
var JV = () => [...HV.values()];
-function Fhe(e) {
+function Rhe(e) {
return GV.add(e), () => {
GV.delete(e);
};
@@ -44196,7 +44252,7 @@ async function XV(e, t, n) {
if (i.controller.signal.aborted) return !1;
}
if (UV.get(r) !== i || (UV.delete(r), !n.isCurrent())) return !1;
- let s = n.place ? n.place(r) : Ihe(r);
+ let s = n.place ? n.place(r) : zhe(r);
return HV.set(r, {
path: e,
props: t,
@@ -44206,7 +44262,7 @@ async function XV(e, t, n) {
resident: !!n.resident
}), YV(!0), !0;
}
-function Ihe(e) {
+function zhe(e) {
let t = e.ownerDocument.createElement("div");
return t.className = "peach-react", e.textContent = "", e.append(t), t;
}
@@ -44233,18 +44289,18 @@ function QV(e, ...t) {
for (let e of n) e.resident || e.host.remove();
}
}
-function Lhe() {
+function Bhe() {
let [e, ...t] = /* @__PURE__ */ new Set([...HV.keys(), ...UV.keys()]);
e && QV(e, ...t);
}
-function Rhe(e, t) {
+function Vhe(e, t) {
let n = HV.get(e);
n?.revision === t && (HV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {
YV(!1);
}));
}
// src/history/index.ts
-var $V = hme({ v5Compat: !0 }), eH = 0, tH = 0, nH = {
+var $V = vme({ v5Compat: !0 }), eH = 0, tH = 0, nH = {
action: $V.action,
location: $V.location,
seq: eH,
@@ -44309,42 +44365,42 @@ function uH() {
}
// src/react/providers.tsx
var dH = null;
-function zhe() {
+function Hhe() {
return dH?.isConnected || (dH = document.createElement("div"), dH.className = "peach-react", dH.dataset.reactOverlays = "", document.body.append(dH)), dH;
}
function fH({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)(se, {
client: H,
- children: /* @__PURE__ */ (0, F.jsx)(By, {
+ children: /* @__PURE__ */ (0, F.jsx)(Tne, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, F.jsx)(KT, {
- getContainer: zhe,
+ children: /* @__PURE__ */ (0, F.jsx)(IT, {
+ getContainer: Hhe,
children: e
})
})
});
}
// node_modules/sonner/dist/index.mjs
-function Bhe(e) {
+function Uhe(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var Vhe = (e) => {
+var Whe = (e) => {
switch (e) {
- case "success": return Whe;
- case "info": return Khe;
- case "warning": return Ghe;
- case "error": return qhe;
+ case "success": return qhe;
+ case "info": return Yhe;
+ case "warning": return Jhe;
+ case "error": return Xhe;
default: return null;
}
-}, Hhe = Array(12).fill(0), Uhe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {
+}, Ghe = Array(12).fill(0), Khe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, Hhe.map((e, t) => /*#__PURE__*/ P.createElement("div", {
+}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, Ghe.map((e, t) => /*#__PURE__*/ P.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Whe = /*#__PURE__*/ P.createElement("svg", {
+})))), qhe = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44355,7 +44411,7 @@ var Vhe = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), Ghe = /*#__PURE__*/ P.createElement("svg", {
+})), Jhe = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -44366,7 +44422,7 @@ var Vhe = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), Khe = /*#__PURE__*/ P.createElement("svg", {
+})), Yhe = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44377,7 +44433,7 @@ var Vhe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), qhe = /*#__PURE__*/ P.createElement("svg", {
+})), Xhe = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44388,7 +44444,7 @@ var Vhe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), Jhe = /*#__PURE__*/ P.createElement("svg", {
+})), Zhe = /*#__PURE__*/ P.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -44409,7 +44465,7 @@ var Vhe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), Yhe = () => {
+})), Qhe = () => {
let [e, t] = P.useState(document.hidden);
return P.useEffect(() => {
let e = () => {
@@ -44417,7 +44473,7 @@ var Vhe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, Xhe = 1, Zhe = 100, pH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Xhe++, mH = new class {
+}, $he = 1, ege = 100, pH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : $he++, mH = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -44427,7 +44483,7 @@ var Vhe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - Zhe;
+ let e = this.toasts.length - ege;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = pH(e), i = this.pendingDismissals.get(r);
@@ -44505,7 +44561,7 @@ var Vhe = (e) => {
type: "default",
message: e
});
- else if ($he(e) && !e.ok) {
+ else if (nge(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !P.isValidElement(r) ? r : { message: r };
this.create({
@@ -44558,7 +44614,7 @@ var Vhe = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), Qhe = (e, t) => mH.message(e, t), $he = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", hH = Object.assign(Qhe, {
+}(), tge = (e, t) => mH.message(e, t), nge = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", hH = Object.assign(tge, {
success: mH.success,
info: mH.info,
warning: mH.warning,
@@ -44572,20 +44628,20 @@ var Vhe = (e) => {
getHistory: () => mH.toasts,
getToasts: () => mH.getActiveToasts()
});
-Bhe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+Uhe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function gH(e) {
return e.label !== void 0;
}
-var ege = 3, tge = "24px", nge = "16px", _H = 4e3, rge = 356, ige = 14, age = 45, oge = 200;
+var rge = 3, ige = "24px", age = "16px", _H = 4e3, oge = 356, sge = 14, cge = 45, lge = 200;
function vH(...e) {
return e.filter(Boolean).join(" ");
}
-function sge(e) {
+function uge(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var cge = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || _H), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || _H, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Yhe(), ke = P.useMemo(() => e.swipeDirections ?? sge(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";
+var dge = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || _H), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || _H, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Qhe(), ke = P.useMemo(() => e.swipeDirections ?? uge(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";
Se.current = P.useMemo(() => ve * x + De, [ve, De]), P.useEffect(() => {
le.current = be;
}, [be]), P.useEffect(() => {
@@ -44626,7 +44682,7 @@ var cge = (e) => {
let Me = P.useCallback(() => {
ee(!0), oe(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, oge);
+ }, lge);
}, [
n,
d,
@@ -44659,12 +44715,12 @@ var cge = (e) => {
return w?.loading ? /*#__PURE__*/ P.createElement("div", {
className: vH(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": me === "loading"
- }, w.loading) : /*#__PURE__*/ P.createElement(Uhe, {
+ }, w.loading) : /*#__PURE__*/ P.createElement(Khe, {
className: vH(C?.loader, n?.classNames?.loader),
visible: me === "loading"
});
}
- let Pe = n.icon || w?.[me] || Vhe(me);
+ let Pe = n.icon || w?.[me] || Whe(me);
return /*#__PURE__*/ P.createElement("li", {
tabIndex: 0,
ref: de,
@@ -44711,7 +44767,7 @@ var cge = (e) => {
if (N || !I) return;
we.current = null;
let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= age || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);
+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= cge || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);
else {
var o, s;
(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), F(!1), ne(!1), D(null);
@@ -44751,7 +44807,7 @@ var cge = (e) => {
Me(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: vH(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? Jhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {
+ }, w?.close ?? Zhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {
"data-icon": "",
className: vH(C?.icon, n?.classNames?.icon)
}, me === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, me === "loading" ? null : Pe) : null, /*#__PURE__*/ P.createElement("div", {
@@ -44786,10 +44842,10 @@ function yH() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function lge(e, t) {
+function fge(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? nge : tge;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? age : ige;
function o(e) {
[
"top",
@@ -44811,7 +44867,7 @@ function lge(e, t) {
}), n;
}
var bH = /*#__PURE__*/ P.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = ege, toastOptions: g, dir: _ = yH(), gap: v = ige, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = rge, toastOptions: g, dir: _ = yH(), gap: v = sge, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || mH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return P.useEffect(() => mH.subscribe((e) => {
@@ -44893,10 +44949,10 @@ var bH = /*#__PURE__*/ P.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${rge}px`,
+ "--width": `${oge}px`,
"--gap": `${v}px`,
...m,
- ...lge(l, u)
+ ...fge(l, u)
},
onBlur: (e) => {
re.current && !e.currentTarget.contains(e.relatedTarget) && (re.current = !1, N.current &&= (N.current.focus({ preventScroll: !0 }), null));
@@ -44914,7 +44970,7 @@ var bH = /*#__PURE__*/ P.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(cge, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(dge, {
key: n.id,
icons: y,
index: i,
@@ -44944,19 +45000,19 @@ var bH = /*#__PURE__*/ P.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), xH = "/api/library-processing", SH = ["library-processing"], uge = (e, t, n) => {
+}), xH = "/api/library-processing", SH = ["library-processing"], pge = (e, t, n) => {
let r = new URLSearchParams({
estimate: "1",
stage: e.stage || "all"
});
return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${xH}?${r}`, t);
-}, dge = {
+}, mge = {
fetching_cover: "封面",
querying_metadata: "资料"
};
function CH(e) {
if (e?.status !== "running" || e.current_asset_id == null) return null;
- let t = dge[e.current_action || ""];
+ let t = mge[e.current_action || ""];
return !t || (e.waited_seconds || 0) < 120 ? null : {
what: t,
source: e.current_source
@@ -44990,11 +45046,11 @@ async function jH(e) {
queryFn: () => AH(e)
});
}
-var fge = 2e3, pge = 1e4, MH = "连接中断,正在重新读取处理进度";
+var hge = 2e3, gge = 1e4, MH = "连接中断,正在重新读取处理进度";
function NH(e, t) {
- return TH(e) ? fge : t ? pge : !1;
+ return TH(e) ? hge : t ? gge : !1;
}
-var mge = {
+var _ge = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -45007,21 +45063,21 @@ var mge = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function hge(e) {
+function vge(e) {
let t = Object.entries(e).filter(([e, t]) => PH[e] && t > 0).map(([e, t]) => `${PH[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function gge(e) {
+function yge(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = mge[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${tI(e.waited_seconds)}` : "";
+ let t = _ge[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${qF(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function _ge(e) {
- let t = e.total ? `${nI(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return gge(e) + (t ? ` · ${t}` : "");
+function bge(e) {
+ let t = e.total ? `${JF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ return yge(e) + (t ? ` · ${t}` : "");
}
-function vge(e) {
+function xge(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45035,12 +45091,12 @@ function vge(e) {
log: e.issues_log || ""
} : null;
}
-var FH = "peach.library-processing.announced", yge = 120;
+var FH = "peach.library-processing.announced", Sge = 120;
function IH(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < yge;
+ return !!e.job_id && t >= 0 && t < Sge;
}
-function bge(e, t, n) {
+function Cge(e, t, n) {
if (e.status === "complete" && (n || IH(e))) {
try {
if (e.job_id && localStorage.getItem(FH) === e.job_id) return;
@@ -45050,7 +45106,7 @@ function bge(e, t, n) {
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var LH = LF({
+var LH = uF({
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",
@@ -45068,7 +45124,7 @@ var LH = LF({
}
});
function RH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = IF(LH.base, LH.size[t], LH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+ let c = lF(LH.base, LH.size[t], LH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
n ? /* @__PURE__ */ (0, F.jsx)(n, {
className: LH.icon[t],
"aria-hidden": !0
@@ -45165,14 +45221,14 @@ function BH({ state: e }) {
]
});
}
-function xge({ state: e, slow: t }) {
+function wge({ state: e, slow: t }) {
return /* @__PURE__ */ (0, F.jsx)(Kz, {
tone: "warning",
action: /* @__PURE__ */ (0, F.jsx)(BH, { state: e }),
children: wH(t)
});
}
-function Sge({ state: e, slow: t }) {
+function Tge({ state: e, slow: t }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-processing-slow": "",
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
@@ -45183,7 +45239,7 @@ function Sge({ state: e, slow: t }) {
});
}
// src/react/components/use-moving-surface.ts
-var Cge = {
+var Ege = {
selection: {
type: Ep,
duration: .16,
@@ -45216,7 +45272,7 @@ function VH(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 = Sre(n, { transform: [r, E] }, Cge[e]);
+ l = Tre(n, { transform: [r, E] }, Ege[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45300,12 +45356,12 @@ function qH({ className: e }) {
]
});
}
-var wge = [
+var Dge = [
GH,
KH,
qH
];
-function Tge({ animate: e }) {
+function Oge({ animate: e }) {
let [t, n] = (0, P.useState)(document.hidden);
return (0, P.useEffect)(() => {
let e = () => n(document.hidden);
@@ -45369,7 +45425,7 @@ function JH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})
]
}),
- /* @__PURE__ */ (0, F.jsxs)(bde, {
+ /* @__PURE__ */ (0, F.jsxs)(Cde, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45401,10 +45457,10 @@ function JH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, F.jsx)("i", {})
]
}),
- a === 2 ? /* @__PURE__ */ (0, F.jsx)(Tge, { animate: r }) : null,
- /* @__PURE__ */ (0, F.jsx)(xde, {
+ a === 2 ? /* @__PURE__ */ (0, F.jsx)(Oge, { animate: r }) : null,
+ /* @__PURE__ */ (0, F.jsx)(wde, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, F.jsx)(Sde, {
+ children: /* @__PURE__ */ (0, F.jsx)(Tde, {
"aria-label": WH[a],
className: "processing-effort-thumb"
})
@@ -45419,7 +45475,7 @@ function JH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
});
}
-function Ege({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+function kge({ value: e, busy: t, onChange: n, animate: r = !0 }) {
let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), s = Math.max(0, UH.indexOf(e));
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {
className: "processing-effort-trigger",
@@ -45432,7 +45488,7 @@ function Ege({ value: e, busy: t, onChange: n, animate: r = !0 }) {
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: wge[s],
+ leadingIcon: Dge[s],
trailingIcon: bz,
onClick: () => {
t || o(!a);
@@ -45471,7 +45527,7 @@ function YH({ state: e, disabled: t = !1 }) {
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, F.jsx)(Ege, {
+ /* @__PURE__ */ (0, F.jsx)(kge, {
value: e.speed_mode || "standard",
busy: t || !!n.busy || i,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -45535,7 +45591,7 @@ function XH({ toast: e, mode: t, monitor: n }) {
"paused",
"stopping"
].includes(n) && !TH(c);
- r && o(c), (r || t === "notice") && bge(c, e, r);
+ r && o(c), (r || t === "notice") && Cge(c, e, r);
}, [
c,
t,
@@ -45547,32 +45603,32 @@ function XH({ toast: e, mode: t, monitor: n }) {
};
}
// src/react/components/card.tsx
-var Dge = "min-w-0", Oge = {
+var Age = "min-w-0", jge = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, kge = {
+}, Mge = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Age = {
+}, Nge = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, jge = {
+}, Pge = {
none: "",
default: "p-5"
-}, Mge = "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", Nge = "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";
+}, Fge = "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", Ige = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
function ZH(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- Dge,
- Oge[t],
- kge[s],
- jge[n],
- a ? Age[a] : "",
- r ? Mge : "",
- i ? Nge : "",
+ Age,
+ jge[t],
+ Mge[s],
+ Pge[n],
+ a ? Nge[a] : "",
+ r ? Fge : "",
+ i ? Ige : "",
o ?? ""
].filter(Boolean).join(" ");
}
@@ -45596,7 +45652,7 @@ function QH({ label: e }) {
});
}
// src/react/components/progress.tsx
-var $H = 100, Pge = .4;
+var $H = 100, Lge = .4;
function eU({ 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 * $H;
return /* @__PURE__ */ (0, F.jsxs)("svg", {
@@ -45621,7 +45677,7 @@ function eU({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, F.jsx)("rect", {
x: o(e),
- width: Pge,
+ width: Lge,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -45664,15 +45720,15 @@ function nU(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return _ge(a ? {
+ return bge(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function Fge({ state: e }) {
+function Rge({ state: e }) {
return nU(e);
}
-function Ige({ state: e }) {
+function zge({ state: e }) {
let t = nU(e);
return /* @__PURE__ */ (0, F.jsx)(tU, {
embedded: !0,
@@ -45710,19 +45766,19 @@ function iU(e) {
// src/react/boardui/components/application/settings/settings-rows.tsx
function aU({ className: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: IF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: lF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
function oU({ className: e, children: t }) {
return /* @__PURE__ */ (0, F.jsx)("p", {
- className: IF("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: lF("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function Lge({ label: e, description: t, children: n }) {
+function Bge({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
- className: IF("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: lF("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", {
@@ -45736,7 +45792,7 @@ function Lge({ label: e, description: t, children: n }) {
});
}
// src/react/settings/section.tsx
-function Rge({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function Vge({ 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]
@@ -45764,13 +45820,13 @@ function Rge({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function zge({ children: e }) {
+function Hge({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function Bge({ divided: e = !1, children: t }) {
+function Uge({ 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
@@ -45779,7 +45835,7 @@ function Bge({ divided: e = !1, children: t }) {
children: t
});
}
-function Vge({ label: e, html: t }) {
+function Wge({ label: e, html: t }) {
let [n] = (0, P.useState)(t);
return /* @__PURE__ */ (0, F.jsx)("div", {
className: "contents",
@@ -45789,7 +45845,7 @@ function Vge({ label: e, html: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-function Hge({ status: e, children: t }) {
+function Gge({ 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", {
@@ -45818,7 +45874,7 @@ function lU({ children: e }) {
children: e
});
}
-function Uge({ href: e, children: t, leadingIcon: n }) {
+function Kge({ href: e, children: t, leadingIcon: n }) {
return /* @__PURE__ */ (0, F.jsx)(RH, {
href: e,
target: "_blank",
@@ -45833,7 +45889,7 @@ function Uge({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Wge() {
+function qge() {
return /* @__PURE__ */ (0, F.jsx)(RH, {
href: "/tasks",
size: "small",
@@ -45842,13 +45898,13 @@ function Wge() {
children: "在任务中心查看进度"
});
}
-function Gge({ children: e }) {
+function Jge({ children: e }) {
return /* @__PURE__ */ (0, F.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function Kge({ term: e, children: t }) {
+function Yge({ 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", {
@@ -45891,13 +45947,13 @@ function uU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
id: s,
inert: !d,
children: /* @__PURE__ */ (0, F.jsx)("div", {
- className: IF("flex flex-col gap-2 pt-3", o),
+ className: lF("flex flex-col gap-2 pt-3", o),
children: r
})
})]
});
}
-function qge({ name: e }) {
+function Xge({ name: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -45914,23 +45970,23 @@ function dU({ mark: e }) {
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, F.jsx)(qge, { name: e });
+ }) : /* @__PURE__ */ (0, F.jsx)(Xge, { name: e });
}
// src/react/components/source-label.tsx
-var fU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Jge = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {
+var fU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Zge = Object.fromEntries(Object.entries(gs).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
className: e,
children: /* @__PURE__ */ (0, F.jsx)(dU, { mark: t })
});
}]));
-function Yge({ className: e }) {
+function Qge({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
className: e,
children: /* @__PURE__ */ (0, F.jsx)(dU, { mark: "database" })
});
}
-var pU = (e) => Jge[fU(e)] ?? Yge;
-function Xge({ site: e, label: t }) {
+var pU = (e) => Zge[fU(e)] ?? Qge;
+function $ge({ 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",
@@ -45953,11 +46009,11 @@ function mU({ source: e, label: t }) {
});
}
// src/react/library-processing/processing-traffic.tsx
-var hU = (e) => Yn(e).replace(/\s/g, ""), gU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : hU(e), Zge = (e, t) => {
+var hU = (e) => Yn(e).replace(/\s/g, ""), gU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : hU(e), e_e = (e, t) => {
if (e === t) return hU(t);
let [n, r] = Yn(e).split(" "), [i, a] = Yn(t).split(" ");
return r === a ? `${n}-${i}${a}` : `${hU(e)}-${hU(t)}`;
-}, _U = (e, t, n) => e === void 0 ? Zge(t, n) : `${e > 0 ? "约 " : ""}${hU(e)}`;
+}, _U = (e, t, n) => e === void 0 ? e_e(t, n) : `${e > 0 ? "约 " : ""}${hU(e)}`;
function vU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {
let i = gV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;
if (!e) return null;
@@ -46028,7 +46084,7 @@ function vU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
children: [
/* @__PURE__ */ (0, F.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, F.jsx)(ime, {
+ children: [/* @__PURE__ */ (0, F.jsx)(sme, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]
@@ -46062,7 +46118,7 @@ function vU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })
className: "self-start",
"aria-expanded": c,
"aria-controls": s,
- trailingIcon: c ? Spe : bz,
+ trailingIcon: c ? Tpe : bz,
onClick: () => {
o(!c), r?.(!c);
},
@@ -46138,7 +46194,7 @@ function bU(e) {
return !0;
}
}
-function Qge({ value: e, max: t }) {
+function t_e({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, F.jsxs)("svg", {
role: "progressbar",
@@ -46197,7 +46253,7 @@ function xU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"data-processing-tone": d ? "error" : h ? "warning" : "neutral",
"aria-label": "扫描任务",
role: d ? "alert" : "status",
- className: IF("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: lF("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",
@@ -46205,13 +46261,13 @@ function xU({ 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)(Qge, {
+ f && e?.total ? /* @__PURE__ */ (0, F.jsx)(t_e, {
value: e.checked || 0,
max: e.total
- }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Fpe, {
+ }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Rpe, {
"aria-hidden": !0,
className: "size-5 shrink-0"
- }) : /* @__PURE__ */ (0, F.jsx)(Kpe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Ype, {
"aria-hidden": !0,
className: "size-5 shrink-0"
}),
@@ -46253,7 +46309,7 @@ function xU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
detailsOpen: s,
onDetailsChange: c
}),
- m ? /* @__PURE__ */ (0, F.jsx)(Sge, {
+ m ? /* @__PURE__ */ (0, F.jsx)(Tge, {
state: e,
slow: m
}) : null
@@ -46266,7 +46322,7 @@ function xU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
children: /* @__PURE__ */ (0, F.jsx)("div", {
className: "pt-3",
children: /* @__PURE__ */ (0, F.jsxs)("div", {
- className: IF("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: lF("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": "处理步骤",
@@ -46274,16 +46330,16 @@ function xU({ 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: IF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
+ className: lF("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)(Ope, {
+ e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(jpe, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, F.jsx)(kpe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Mpe, {
"aria-hidden": !0,
- className: IF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
+ className: lF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, F.jsx)(Nw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, F.jsx)(Cw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46296,7 +46352,7 @@ function xU({ 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)(Fge, { state: e }))
+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Rge, { state: e }))
}),
u ? /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
@@ -46339,7 +46395,7 @@ function xU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
]
});
}
-function $ge(e) {
+function n_e(e) {
let { job: t } = XH(e);
return /* @__PURE__ */ (0, F.jsx)(xU, {
state: t.data,
@@ -46348,14 +46404,14 @@ function $ge(e) {
}
// src/react/library-processing/processing-notice-visibility.ts
var SU = "peach.library-processing.visibility", CU = /* @__PURE__ */ new Set(), wU = "";
-function e_e() {
+function r_e() {
try {
return sessionStorage.getItem(SU) || "";
} catch {
return wU;
}
}
-function t_e(e) {
+function i_e(e) {
return CU.add(e), () => {
CU.delete(e);
};
@@ -46368,7 +46424,7 @@ function TU(e, t) {
CU.forEach((e) => e());
}
function EU(e) {
- let t = (0, P.useSyncExternalStore)(t_e, e_e, () => "");
+ let t = (0, P.useSyncExternalStore)(i_e, r_e, () => "");
return {
hidden: t === `hidden:${e}`,
requested: t === `shown:${e}`
@@ -46376,7 +46432,7 @@ function EU(e) {
}
// src/react/library-processing/library-processing-dock.tsx
var DU = "peach-library-processing";
-function n_e({ toast: e }) {
+function a_e({ toast: e }) {
let { job: t, settled: n } = XH({
toast: e,
mode: "notice"
@@ -46414,15 +46470,15 @@ function n_e({ toast: e }) {
}, []), null;
}
// src/react/network-banner.tsx
-var r_e = ["network-status"], i_e = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function a_e(e) {
+var o_e = ["network-status"], s_e = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function c_e(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function o_e() {
+function l_e() {
let e = Pt({
- queryKey: r_e,
+ queryKey: o_e,
queryFn: ({ signal: e }) => B("/api/network-status", e),
- refetchInterval: (e) => a_e(e.state.data),
+ refetchInterval: (e) => c_e(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", {
@@ -46433,14 +46489,14 @@ function o_e() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, F.jsx)("p", { children: i_e })] }), /* @__PURE__ */ (0, F.jsx)("a", {
+ }), /* @__PURE__ */ (0, F.jsx)("p", { children: s_e })] }), /* @__PURE__ */ (0, F.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
}), t);
}
// src/react/client-updates.tsx
-var s_e = 12e4, c_e = 15e3, OU = () => document.visibilityState !== "hidden", kU = /* @__PURE__ */ new Set([
+var u_e = 12e4, d_e = 15e3, OU = () => document.visibilityState !== "hidden", kU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
@@ -46448,7 +46504,7 @@ var s_e = 12e4, c_e = 15e3, OU = () => document.visibilityState !== "hidden", kU
"restarting",
"installing"
]), AU = "/settings/maintenance#releaseUpdates";
-function l_e() {
+function f_e() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
return typeof e?.version == "string" && typeof e?.build_id == "string" ? {
@@ -46460,19 +46516,19 @@ function l_e() {
}
}
function jU() {
- let e = (0, P.useRef)(l_e()), [t, n] = (0, P.useState)(null);
+ let e = (0, P.useRef)(f_e()), [t, n] = (0, P.useState)(null);
return (0, P.useEffect)(() => {
let t = !1, r, i, a = async () => {
if (t || !OU()) return;
let o = new AbortController();
i = o;
- let s = setTimeout(() => o.abort(), c_e);
+ let s = setTimeout(() => o.abort(), d_e);
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 && OU() && (r = setTimeout(a, s_e)));
+ clearTimeout(s), i === o && (i = void 0, !t && OU() && (r = setTimeout(a, u_e)));
}
}, o = () => {
clearTimeout(r), i?.abort(), i = void 0, OU() && a();
@@ -46485,7 +46541,7 @@ function jU() {
refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)
};
}
-function u_e({ navigate: e }) {
+function p_e({ navigate: e }) {
let { snapshot: t, refresh: n } = jU(), [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" : kU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
@@ -46539,7 +46595,7 @@ function u_e({ navigate: e }) {
}, d), a);
}
// src/react/router/pages/settings.tsx
-function d_e() {
+function m_e() {
let e = (0, P.useContext)(IU), { pathname: t } = JB();
return (0, P.useEffect)(() => {
e?.openSettings?.(SV(t));
@@ -46550,9 +46606,9 @@ function d_e() {
}, [e]), null;
}
// src/react/router/pages/overlay.tsx
-var MU = () => Du, f_e = () => Ou;
-function p_e() {
- let e = (0, P.useContext)(IU), t = (0, P.useSyncExternalStore)(Ru, f_e), n = (0, P.useSyncExternalStore)(Ru, MU);
+var MU = () => Du, h_e = () => Ou;
+function g_e() {
+ let e = (0, P.useContext)(IU), t = (0, P.useSyncExternalStore)(Ru, h_e), n = (0, P.useSyncExternalStore)(Ru, MU);
return (0, P.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -46587,20 +46643,20 @@ function NU(e, t = !1) {
}));
}, [n]);
}
-function m_e() {
+function __e() {
let e = (0, P.useContext)(IU), t = (0, P.useRef)(e);
return (0, P.useLayoutEffect)(() => {
t.current = e;
}, [e]), NU((t) => {
let n = sH.navigation.location, { pathname: r, search: i } = xV(n.pathname) && wV(n.state) || n, a = DV(r, i);
- e && a && (NV(), t || Nhe(sH.navigation.location.state), e.openOverlay(a));
+ e && a && (NV(), t || Ihe(sH.navigation.location.state), e.openOverlay(a));
}, !0), (0, P.useEffect)(() => () => {
queueMicrotask(() => {
OV(sH.navigation.location.pathname) || t.current?.closeStage();
});
}, []), null;
}
-function h_e({ path: e }) {
+function v_e({ path: e }) {
FU();
let { location: t, seq: n, action: r } = sH.navigation, i = xV(t.pathname) ? wV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({
identity: a,
@@ -46613,26 +46669,26 @@ function h_e({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, F.jsx)(m_e, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, F.jsx)(__e, {}, `${e} ${o.current.seq}`);
}
-function g_e() {
+function y_e() {
let e = (0, P.useContext)(IU);
return NU(() => {
e?.follow?.ground();
}), null;
}
-function __e() {
- return /* @__PURE__ */ (0, F.jsx)(g_e, {}, FU());
+function b_e() {
+ return /* @__PURE__ */ (0, F.jsx)(y_e, {}, FU());
}
// src/react/router/router.tsx
var PU = (0, P.createContext)(0), FU = () => (0, P.useContext)(PU), IU = (0, P.createContext)(null);
-function v_e({ children: e }) {
+function x_e({ children: e }) {
let [t, n] = (0, P.useState)(() => sH.navigation);
return (0, P.useLayoutEffect)(() => (n(sH.navigation), sH.listen((e) => {
(0, Lt.flushSync)(() => n(e));
})), []), /* @__PURE__ */ (0, F.jsx)(PU.Provider, {
value: t.openEpoch,
- children: /* @__PURE__ */ (0, F.jsx)(xhe, {
+ children: /* @__PURE__ */ (0, F.jsx)(whe, {
location: t.location,
navigationType: t.action,
navigator: sH,
@@ -46640,48 +46696,48 @@ function v_e({ children: e }) {
})
});
}
-function y_e({ target: e }) {
- let t = ohe();
+function S_e({ target: e }) {
+ let t = lhe();
return (0, P.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function b_e(e, t, n) {
+function C_e(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 x_e() {
+function w_e() {
let e = (0, P.useContext)(IU), [t, n] = (0, P.useState)(JV), r = (0, P.useRef)(null);
- (0, P.useLayoutEffect)(() => (n(JV()), Fhe((e, t) => {
+ (0, P.useLayoutEffect)(() => (n(JV()), Rhe((e, t) => {
t ? (0, Lt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, P.useMemo)(() => (t) => {
- e && r.current && b_e(t, e, r.current);
+ e && r.current && C_e(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(y_e, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(S_e, {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(S_e, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(T_e, {
entry: t,
- children: /* @__PURE__ */ (0, F.jsx)(C_e, {
+ children: /* @__PURE__ */ (0, F.jsx)(E_e, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var S_e = class extends P.Component {
+var T_e = class extends P.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
}
componentDidCatch() {
- Rhe(this.props.entry.container, this.props.entry.revision);
+ Vhe(this.props.entry.container, this.props.entry.revision);
}
render() {
return this.state.failed ? null : this.props.children;
}
-}, C_e = (0, P.memo)(function({ entry: e, actions: t, go: n }) {
- return q6(e.path) ? (0, Lt.createPortal)(eNe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, E_e = (0, P.memo)(function({ entry: e, actions: t, go: n }) {
+ return J6(e.path) ? (0, Lt.createPortal)(_Ne(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function w_e({ children: e }) {
+function D_e({ children: e }) {
let t = JB();
FU();
let n = uH(), r = xV(t.pathname) && !lH() ? wV(t.state) : null;
@@ -46689,37 +46745,37 @@ function w_e({ children: e }) {
/* @__PURE__ */ (0, F.jsxs)(rV, {
location: n ?? t,
children: [
- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
element: t.element
}, e)),
- Object.entries(XMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ Object.entries(pNe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
element: t.element
}, e)),
- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
element: t.element
}, e)),
- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
element: t.element
}, e)),
- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
element: t.element
}, e)),
- K6.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ q6.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
- element: B6["/"].element
+ element: V6["/"].element
}, e)),
- Object.entries(ZMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
+ Object.entries(mNe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
element: t.element
}, e)),
TV.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(__e, {}) : B6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(b_e, {}) : V6["/"].element
}, e)),
bV.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
@@ -46735,7 +46791,7 @@ function w_e({ children: e }) {
location: r ?? t,
children: [TV.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
- element: /* @__PURE__ */ (0, F.jsx)(h_e, { path: e })
+ element: /* @__PURE__ */ (0, F.jsx)(v_e, { path: e })
}, e)), /* @__PURE__ */ (0, F.jsx)(nV, {
path: "*",
element: null
@@ -46743,31 +46799,31 @@ function w_e({ children: e }) {
}),
/* @__PURE__ */ (0, F.jsxs)(rV, { children: [bV.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {
path: e,
- element: /* @__PURE__ */ (0, F.jsx)(d_e, {})
+ element: /* @__PURE__ */ (0, F.jsx)(m_e, {})
}, e)), /* @__PURE__ */ (0, F.jsx)(nV, {
path: "*",
element: null
})] })
] });
}
-function T_e({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+function O_e({ children: e, actions: t = null, background: n, processing: r = !1 }) {
return /* @__PURE__ */ (0, F.jsxs)(fH, { children: [n, /* @__PURE__ */ (0, F.jsx)(IU.Provider, {
value: t,
- children: /* @__PURE__ */ (0, F.jsxs)(v_e, { children: [
- /* @__PURE__ */ (0, F.jsx)(x_e, {}),
- /* @__PURE__ */ (0, F.jsx)(p_e, {}),
- r && t ? /* @__PURE__ */ (0, F.jsx)(n_e, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, F.jsx)(o_e, {}) : null,
- r && t ? /* @__PURE__ */ (0, F.jsx)(u_e, { navigate: t.navigate }) : null,
- /* @__PURE__ */ (0, F.jsx)(w_e, { children: e })
+ children: /* @__PURE__ */ (0, F.jsxs)(x_e, { children: [
+ /* @__PURE__ */ (0, F.jsx)(w_e, {}),
+ /* @__PURE__ */ (0, F.jsx)(g_e, {}),
+ r && t ? /* @__PURE__ */ (0, F.jsx)(a_e, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, F.jsx)(l_e, {}) : null,
+ r && t ? /* @__PURE__ */ (0, F.jsx)(p_e, { navigate: t.navigate }) : null,
+ /* @__PURE__ */ (0, F.jsx)(D_e, { children: e })
] })
})] });
}
-var E_e = { onCaughtError: (e) => {
+var k_e = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function D_e(e, t, n) {
+function A_e(e, t, n) {
(0, P.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -46781,7 +46837,7 @@ function D_e(e, t, n) {
n
]);
}
-function O_e(e, t) {
+function j_e(e, t) {
let n = (0, P.useRef)(!1);
return (0, P.useEffect)(() => {
if (!e) return;
@@ -46797,29 +46853,29 @@ function O_e(e, t) {
var LU = (0, P.createContext)("md");
function RU({ 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);
- D_e(d, () => f(!1), [l, u]);
- let p = O_e(d, l);
- return /* @__PURE__ */ (0, F.jsx)(cfe, {
+ A_e(d, () => f(!1), [l, u]);
+ let p = j_e(d, l);
+ return /* @__PURE__ */ (0, F.jsx)(dfe, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: IF("group flex flex-col", e),
+ className: lF("group flex flex-col", e),
children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(VI, {
ref: l,
- className: IF("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)(dfe, {
- className: IF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: lF("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)(mfe, {
+ className: lF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, F.jsx)(Che, { className: IF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, F.jsx)(Ehe, { className: lF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, F.jsx)(mR, {
ref: u,
isNonModal: !0,
offset: 4,
- className: IF(Ehe, cV, "p-2", n),
- children: /* @__PURE__ */ (0, F.jsx)(Ade, {
+ className: lF(khe, cV, "p-2", n),
+ children: /* @__PURE__ */ (0, F.jsx)(Nde, {
items: a,
- className: IF(Dhe, "max-h-[240px] overflow-auto"),
+ className: lF(Ahe, "max-h-[240px] overflow-auto"),
children: /* @__PURE__ */ (0, F.jsx)(LU.Provider, {
value: r,
children: i
@@ -46830,9 +46886,9 @@ function RU({ className: e, triggerClassName: t, popoverClassName: n, size: r =
}
function zU({ className: e, children: t, ...n }) {
let r = (0, P.useContext)(LU);
- return /* @__PURE__ */ (0, F.jsx)(Nde, {
+ return /* @__PURE__ */ (0, F.jsx)(Ide, {
...n,
- className: (t) => IF(lV, 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) => lF(lV, 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
});
}
@@ -46862,7 +46918,7 @@ function HU(e, t) {
return e.pathname + (n.size ? `?${n}` : "");
}
// src/react/catalog-folders/folder-rule-dialog.tsx
-function k_e({ folder: e, rule: t, revision: n, close: r }) {
+function M_e({ folder: e, rule: t, revision: n, close: r }) {
let i = (0, P.useContext)(IU), a = zH(), [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,
@@ -47061,7 +47117,7 @@ function k_e({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function A_e(e, t) {
+function N_e(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 = () => {
@@ -47085,13 +47141,13 @@ function A_e(e, t) {
}
// src/react/catalog-folders/catalog-folders-page.tsx
function UU() {
- return qB() ? /* @__PURE__ */ (0, F.jsx)(j_e, {}) : null;
+ return qB() ? /* @__PURE__ */ (0, F.jsx)(P_e, {}) : null;
}
-function j_e() {
+function P_e() {
let e = JB(), t = (0, P.useContext)(IU);
if (!An(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)(lI, {
+ return /* @__PURE__ */ (0, F.jsx)(cI, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
@@ -47105,13 +47161,13 @@ function j_e() {
} : { browse: "folders" }))
});
}
-function M_e({ children: e, enabled: t }) {
- return qB() ? /* @__PURE__ */ (0, F.jsx)(N_e, {
+function F_e({ children: e, enabled: t }) {
+ return qB() ? /* @__PURE__ */ (0, F.jsx)(I_e, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e });
}
-function N_e({ children: e, enabled: t }) {
+function I_e({ children: e, enabled: t }) {
let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = JB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, F.jsxs)("div", {
className: "entity-folder-workspace",
@@ -47144,7 +47200,7 @@ function WU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- A_e(o, e);
+ N_e(o, e);
let c = a.get("folder") || "", l = Pt({
...VU(s, c),
enabled: o
@@ -47164,7 +47220,7 @@ function WU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(F_e, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(R_e, {
scope: s,
selected: c,
current: _,
@@ -47181,14 +47237,14 @@ function WU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, F.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, F.jsx)(lI, {
+ children: /* @__PURE__ */ (0, F.jsx)(cI, {
"aria-label": "打开文件夹目录",
- icon: Zpe,
+ icon: eme,
size: "small",
onClick: () => d(!0)
})
}),
- /* @__PURE__ */ (0, F.jsxs)(The, {
+ /* @__PURE__ */ (0, F.jsxs)(Ohe, {
"aria-label": "文件夹路径",
children: [/* @__PURE__ */ (0, F.jsx)(oV, {
current: !c,
@@ -47205,9 +47261,9 @@ function WU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, F.jsx)(lI, {
+ _?.selected ? /* @__PURE__ */ (0, F.jsx)(cI, {
"aria-label": "设置目录用途",
- icon: Hpe,
+ icon: Gpe,
size: "small",
onClick: () => p(!0)
}) : null
@@ -47254,7 +47310,7 @@ function WU({ 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)(P_e, {
+ _?.children.length ? /* @__PURE__ */ (0, F.jsx)(L_e, {
nodes: _.children,
go: g
}, c) : null
@@ -47279,7 +47335,7 @@ function WU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(k_e, {
+ f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(M_e, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -47287,7 +47343,7 @@ function WU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function P_e({ nodes: e, go: t }) {
+function L_e({ 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",
@@ -47315,7 +47371,7 @@ function P_e({ nodes: e, go: t }) {
}) : null]
});
}
-function F_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+function R_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
let a = Pt(VU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({
...VU(e, "", u),
enabled: !!u.trim()
@@ -47417,7 +47473,7 @@ function F_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}),
children: "换个目录名称试试。"
})
- }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(Ohe, {
+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(jhe, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: o,
@@ -47442,29 +47498,29 @@ function F_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/components/segmented.tsx
-function I_e(e) {
- let t = fI(VH("selection"));
+function z_e(e) {
+ let t = dI(VH("selection"));
return /* @__PURE__ */ (0, F.jsx)(hz, {
...e,
ref: t
});
}
function GU(e) {
- let t = fI(VH("selection"));
+ let t = dI(VH("selection"));
return /* @__PURE__ */ (0, F.jsx)(PR, {
...e,
ref: t
});
}
-var KU = "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", qU = "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", L_e = "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", JU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", YU = "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 KU = "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", qU = "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", B_e = "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", JU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", YU = "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 XU() {
- let e = PM();
+ let e = FM();
return /* @__PURE__ */ (0, F.jsxs)(PR, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: Oce,
+ onChange: Dce,
"data-entity-layout": "",
className: JU,
children: [/* @__PURE__ */ (0, F.jsx)(FR, {
@@ -47488,7 +47544,7 @@ function XU() {
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: "列表",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, F.jsx)(Ype, {
+ children: /* @__PURE__ */ (0, F.jsx)(Qpe, {
"aria-hidden": "true",
className: "size-4"
})
@@ -47498,7 +47554,7 @@ function XU() {
}
// src/react/components/icon-swap.tsx
function ZU({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = Fx();
+ let { isFocusVisible: i } = Mx();
return /* @__PURE__ */ (0, F.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -47516,8 +47572,8 @@ function ZU({ a: e, b: t, state: n, className: r }) {
}
function QU({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)(ZU, {
- a: xpe,
- b: bpe,
+ a: wpe,
+ b: Cpe,
className: e
});
}
@@ -47942,7 +47998,7 @@ function FW({ onPress: e, busy: t = !1 }) {
});
}
function IW({ head: e, actions: t }) {
- let n = PM();
+ let n = FM();
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-entity-sorts": "",
children: [
@@ -48170,7 +48226,7 @@ function KW({ tag: e, onPress: t }) {
});
}
function qW(e) {
- sI();
+ oI();
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
@@ -48261,7 +48317,7 @@ function YW({ kind: e }) {
}, t)) });
}
function XW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = PM(), [o, s] = (0, P.useState)(!1);
+ let a = FM(), [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)(ZW, { count: e }), /* @__PURE__ */ (0, F.jsx)(uB, { currentHref: i.currentHref })]
@@ -48577,7 +48633,7 @@ function NG({ item: e, actions: t }) {
}) : null] });
}
function PG(e, t, n) {
- return t === "short" ? DG : qA(n);
+ return t === "short" ? DG : BA(n);
}
function FG(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = ko(e), s = i[0] || "", c = mo(e);
@@ -48703,7 +48759,7 @@ function zG(e, t) {
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
function BG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
- sI();
+ oI();
let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = CG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, P.useRef)(e);
_.current = e;
let v = (0, P.useCallback)((e) => {
@@ -53115,10 +53171,10 @@ function yK(e, t, n) {
height: o * dK - fK
};
}
-function bK(e) {
+function V_e(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function xK(e, t, n) {
+function bK(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
@@ -53135,12 +53191,12 @@ function xK(e, t, n) {
key: n
};
}
-function SK(e, t) {
+function H_e(e, t) {
if (t < 0 || t >= e) return null;
let n = Math.floor(t / hK);
- return xK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % hK}`);
+ return bK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % hK}`);
}
-function CK(e, t, n) {
+function xK(e, t, n) {
let [r, i, a] = n.key.split(":").map(Number), o = uK(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
x: r * pK + e.x * dK,
@@ -53149,7 +53205,7 @@ function CK(e, t, n) {
height: e.rows * dK - fK
}]));
}
-function R_e(e) {
+function U_e(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
let e = Math.floor(r / hK), i = yK(e % 3, Math.floor(e / 3), r % hK);
@@ -53160,7 +53216,7 @@ function R_e(e) {
height: n
};
}
-function z_e(e, t, n, r) {
+function W_e(e, t, n, r) {
if (!r) return e;
let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));
return {
@@ -53169,7 +53225,7 @@ function z_e(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function B_e(e, t, n, r) {
+function G_e(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
@@ -53193,7 +53249,7 @@ function B_e(e, t, n, r) {
}
return c;
}
-var V_e = class {
+var K_e = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -53205,7 +53261,7 @@ var V_e = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : xK(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : bK(t, !1, e);
return r ? {
...r,
index: n
@@ -53251,7 +53307,7 @@ var V_e = class {
let a = this.fresh(), o = `${Math.round(a.x / pK)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, wK = [
+}, SK = [
"q",
"performer",
"series",
@@ -53266,16 +53322,16 @@ var V_e = class {
"dur_max",
"region"
];
-function H_e(e = {}) {
- return wK.some((t) => !!e[t]);
+function q_e(e = {}) {
+ return SK.some((t) => !!e[t]);
}
// src/react/video-wall/use-wall-camera.ts
-var TK = {
+var CK = {
x: 16,
y: 16,
scale: 1
};
-function U_e(e, t, n = TK, r = !1) {
+function J_e(e, t, n = CK, r = !1) {
let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)({
width: 0,
height: 0
@@ -53295,7 +53351,7 @@ function U_e(e, t, n = TK, r = !1) {
let f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, P.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = z_e(e, o.current, R_e(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = W_e(e, o.current, U_e(r), c && !f && !n);
s.current = p;
let m = window.devicePixelRatio || 1;
a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));
@@ -53366,7 +53422,7 @@ function U_e(e, t, n = TK, 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 = bb(0, 1, {
+ !t || v() ? _(a, !0, n) : p.current = _b(0, 1, {
duration: .42,
ease: [
.22,
@@ -53395,7 +53451,7 @@ function U_e(e, t, n = TK, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...TK }, !0);
+ g(), _({ ...CK }, !0);
},
pan: (e, t) => {
g(), _({
@@ -53456,16 +53512,16 @@ function U_e(e, t, n = TK, r = !1) {
};
}
// src/react/video-wall/wall-motion.ts
-var W_e = {
+var Y_e = {
type: "spring",
stiffness: 300,
damping: 34
-}, G_e = {
+}, X_e = {
delay: .14,
duration: .24
};
// src/react/video-wall/use-wall-playback.ts
-function K_e(e, t, n) {
+function Z_e(e, t, n) {
let [r, i] = (0, P.useState)({
paused: !0,
time: 0,
@@ -53506,15 +53562,15 @@ function K_e(e, t, n) {
};
}
// src/react/video-wall/wall-controls.tsx
-function q_e({ 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 = lb(), x = K_e(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function Q_e({ 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 = $y(), x = Z_e(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(bn(e));
}
};
- return /* @__PURE__ */ (0, F.jsxs)(xb.div, {
+ return /* @__PURE__ */ (0, F.jsxs)(vb.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -53524,7 +53580,7 @@ function q_e({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : G_e,
+ transition: b ? { duration: 0 } : X_e,
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -53628,7 +53684,7 @@ function q_e({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
});
}
// src/react/components/mix-queue.tsx
-function EK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function wK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, P.useRef)(null), l = (0, P.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -53664,7 +53720,7 @@ function EK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function DK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function TK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, F.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -53687,7 +53743,7 @@ function DK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var J_e = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {
+var $_e = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -53696,28 +53752,28 @@ var J_e = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {
]
});
// src/react/video-wall/wall-queue.tsx
-function Y_e({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function eve({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, F.jsx)(EK, {
+ children: /* @__PURE__ */ (0, F.jsx)(wK, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(DK, {
+ children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(TK, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? fN(e.part_label) : "",
+ e.part_label ? pN(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
pic: /* @__PURE__ */ (0, F.jsx)(rG, { artwork: wo(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 ? fN(e.part_label) : "",
+ e.part_label ? pN(e.part_label) : "",
qn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -53725,7 +53781,7 @@ function Y_e({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
});
}
// src/react/video-wall/wall-route.ts
-function X_e(e = `${location.pathname}${location.search}`, t = {}) {
+function tve(e = `${location.pathname}${location.search}`, t = {}) {
let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {
performers: "performer",
creators: "creator",
@@ -53740,17 +53796,17 @@ function X_e(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function OK(e = `${location.pathname}${location.search}`) {
+function EK(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of wK) t.delete(e);
+ for (let e of SK) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function kK() {
+function DK() {
let e = new URLSearchParams(sH.navigation.location.search).get("returnTo") || "/";
sH.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
// src/react/video-wall/video-wall.tsx
-var AK = /* @__PURE__ */ new Map(), jK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var OK = /* @__PURE__ */ new Map(), kK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = wo(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -53771,31 +53827,31 @@ var AK = /* @__PURE__ */ new Map(), jK = (0, P.memo)(function({ item: e, image:
})
});
});
-function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
+function nve({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {
let p = String(e[0]?.id), [m] = (0, P.useState)(() => {
- let e = AK.get(f);
+ let e = OK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, P.useState)(() => m?.exploration || new V_e()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {
+ }), [h] = (0, P.useState)(() => m?.exploration || new K_e()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {
kind: "editions",
seedId: w.edition_group.seed_id
} : w?.part_group ? {
kind: "parts",
seedId: w.part_group.seed_id
} : null, ee = Pt({
- queryKey: GM(M || {
+ queryKey: KM(M || {
kind: "parts",
seedId: 0
}),
enabled: !!M,
- queryFn: ({ signal: e }) => eN(M, {
+ queryFn: ({ signal: e }) => tN(M, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === rN(te, O || w?.id || null)) || w, N = U_e(e.length, t && !!e.length, m?.camera || {
+ }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === iN(te, O || w?.id || null)) || w, N = J_e(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), re = lb(), [ie, ae] = (0, P.useState)(!!m);
+ }, !!w), re = $y(), [ie, ae] = (0, P.useState)(!!m);
(0, P.useEffect)(() => {
if (!e.length || ie || re) return;
let t = setTimeout(() => ae(!0), 1100);
@@ -53829,17 +53885,17 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let je = () => {
- ke.current && (AK.delete(f), AK.set(f, {
+ ke.current && (OK.delete(f), OK.set(f, {
...Ae.current,
camera: N.snapshot(),
exploration: h
- }), AK.size > 8 && AK.delete(AK.keys().next().value));
+ }), OK.size > 8 && OK.delete(OK.keys().next().value));
};
(0, P.useLayoutEffect)(je);
- let Me = B_e(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({
+ let Me = G_e(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({
...e,
index: -1
- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? xK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? CK(e.length, t, Pe) : /* @__PURE__ */ new Map();
+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? bK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? xK(e.length, t, Pe) : /* @__PURE__ */ new Map();
Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);
let Ie = (e = !1) => {
C.current?.abort(), C.current = null, S.current?.(e), S.current = null, ce(null), fe(!1);
@@ -53878,7 +53934,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
w?.id !== n.id && Ie(!1), De.current = {
key: r.key,
id: n.id
- }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(CK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(xK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, ze = () => {
ne && y.current && (je(), Ie(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));
}, Be = async (e = ne) => {
@@ -53900,7 +53956,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && fe(!1);
}
}, Ve = () => {
- let e = iN(te || null, se || 0);
+ let e = aN(te || null, se || 0);
e && (k(e.id), Be(e));
};
(0, P.useEffect)(() => {
@@ -53922,7 +53978,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = N.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (N.view.size.width / 2 - r.x) / r.scale,
y: (N.view.size.height / 2 - r.y) / r.scale
- }, o = t ? SK(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? H_e(e.length, i) : h.nearest(e.length, i, a);
o && (Re(n, o), ue(n.id));
}, Ge = async () => {
if (!(r || g.current)) {
@@ -54014,7 +54070,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, F.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(jK, {
+ children: /* @__PURE__ */ (0, F.jsx)(kK, {
item: w,
image: Te,
big: !0
@@ -54022,7 +54078,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, F.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, F.jsx)(jK, {
+ children: /* @__PURE__ */ (0, F.jsx)(kK, {
item: w,
image: Te,
big: !0
@@ -54051,7 +54107,7 @@ function Z_e({ 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 ? fN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? pN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -54078,7 +54134,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, F.jsx)(q_e, {
+ /* @__PURE__ */ (0, F.jsx)(Q_e, {
item: Xe,
playing: se,
frame: b,
@@ -54100,7 +54156,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ve,
error: me
}),
- A ? /* @__PURE__ */ (0, F.jsx)(Y_e, {
+ A ? /* @__PURE__ */ (0, F.jsx)(eve, {
items: He,
activeId: Xe.id,
kind: te?.kind || "wall",
@@ -54116,7 +54172,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Ce,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : kK());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : DK());
},
children: [
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -54124,7 +54180,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: kK,
+ onClick: DK,
children: /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -54142,7 +54198,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, F.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, F.jsx)(q, {
size: "small",
variant: "ghost",
- onClick: () => sH.push(OK()),
+ onClick: () => sH.push(EK()),
children: "清除筛选"
})]
}) : null,
@@ -54251,7 +54307,7 @@ function Z_e({ 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)(xb.article, {
+ return /* @__PURE__ */ (0, F.jsx)(vb.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -54272,7 +54328,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: oe && !re && !r && ie ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: re ? { duration: 0 } : {
- layout: W_e,
+ layout: Y_e,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -54305,7 +54361,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));
},
children: r ? Ze : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(jK, {
+ /* @__PURE__ */ (0, F.jsx)(kK, {
item: n,
image: Te,
ratio: i.width / i.height
@@ -54331,7 +54387,7 @@ function Z_e({ 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)(xb.span, {
+ /* @__PURE__ */ (0, F.jsx)(vb.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: re ? 0 : .24 }
@@ -54416,7 +54472,7 @@ function Z_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return (0, Lt.createPortal)(Qe, Se);
}
// src/catalog-onboarding.ts
-var MK = [
+var AK = [
"loc",
"creator",
"performer",
@@ -54435,19 +54491,19 @@ var MK = [
"jav",
"thumb"
];
-function Q_e(e = typeof location > "u" ? "/" : location.href) {
+function rve(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
- ...MK,
+ ...AK,
"q",
"category",
"cat"
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function $_e(e, t) {
+async function ive(e, t) {
let n = new URLSearchParams();
- for (let t of MK) e[t] && n.set(t, e[t]);
+ for (let t of AK) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -54458,9 +54514,9 @@ async function $_e(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function NK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function jK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";
- if (t || n) return Us("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Q_e()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
+ if (t || n) return Us("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(rve()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -54478,28 +54534,28 @@ function NK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
return Us("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });
}
// src/react/video-wall/wall-empty.ts
-function eve({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
- return e ? r || NK() : t ? Us("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Us("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${OK()}">清除筛选</a>` });
+function ave({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+ return e ? r || jK() : t ? Us("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Us("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${EK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
-function PK({ label: e, maintenance: t = !1, children: n }) {
+function MK({ label: e, maintenance: t = !1, children: n }) {
let r = VH("hover");
return /* @__PURE__ */ (0, F.jsx)("div", {
ref: r,
role: "group",
"aria-label": e,
"data-processing-maintenance": t || void 0,
- className: IF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),
+ className: lF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),
children: n
});
}
-function FK({ option: e, metadataOnly: t, onRun: n }) {
+function NK({ option: e, metadataOnly: t, onRun: n }) {
let r = t && e.command.stage === "previews", i = r || e.disabled;
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
disabled: i,
title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: IF(lV, i ? "cursor-not-allowed opacity-50" : uV, "text-body-2-medium"),
+ className: lF(lV, i ? "cursor-not-allowed opacity-50" : uV, "text-body-2-medium"),
onClick: () => n(e.command),
children: /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -54510,12 +54566,12 @@ function FK({ option: e, metadataOnly: t, onRun: n }) {
})
});
}
-function tve({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function ove({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
let [a, o] = (0, P.useState)(t), [s, c] = (0, P.useState)(), [l, u] = (0, P.useState)("");
(0, P.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
try {
- let o = await uge(e, t.signal, a);
+ let o = await pge(e, t.signal, a);
if (!o.traffic) throw Error("服务端未提供流量预估");
if (t.signal.aborted) return;
c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {
@@ -54560,7 +54616,7 @@ function tve({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
]
});
}
-function IK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {
+function PK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {
let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(null), u = (0, P.useRef)(r);
(0, P.useEffect)(() => () => s.current?.close(), []);
let [d, f] = (0, P.useState)(!1), p = {
@@ -54639,7 +54695,7 @@ function IK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
});
};
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(tve, {
+ c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(ove, {
command: c.command,
dialog: c.dialog,
speed: r,
@@ -54690,17 +54746,17 @@ function IK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
children: /* @__PURE__ */ (0, F.jsxs)(DR, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
- children: [t ? /* @__PURE__ */ (0, F.jsxs)(PK, {
+ children: [t ? /* @__PURE__ */ (0, F.jsxs)(MK, {
label: "日常同步",
children: [/* @__PURE__ */ (0, F.jsx)("p", {
className: "px-2 py-1 text-caption-1-medium text-text-secondary",
children: "日常同步"
- }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(FK, {
+ }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(NK, {
option: e,
metadataOnly: n,
onRun: g
}, e.label))]
- }) : null, /* @__PURE__ */ (0, F.jsxs)(PK, {
+ }) : null, /* @__PURE__ */ (0, F.jsxs)(MK, {
label: t ? "全库维护" : "补全方式",
maintenance: t,
children: [t ? /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -54712,7 +54768,7 @@ function IK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
className: "text-caption-1-regular text-text-secondary",
children: "检查全部文件,复用已有资料和预览"
})]
- }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(FK, {
+ }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(NK, {
option: e,
metadataOnly: n,
onRun: g
@@ -54723,17 +54779,17 @@ function IK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
] });
}
// src/react/library-processing/library-completion.tsx
-function LK(e, t) {
+function FK(e, t) {
return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !wo(e, "small", !1, t).html).map((e) => e.id))];
}
-function RK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, F.jsx)(nve, {
+function IK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
+ return e.length ? /* @__PURE__ */ (0, F.jsx)(sve, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function nve({ assetIds: e, onComplete: t, className: n }) {
+function sve({ assetIds: e, onComplete: t, className: n }) {
let r = Pt({
queryKey: SH,
queryFn: ({ signal: e }) => AH(e),
@@ -54759,12 +54815,12 @@ function nve({ assetIds: e, onComplete: t, className: n }) {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
- className: IF("@container", n),
+ className: lF("@container", n),
children: /* @__PURE__ */ (0, F.jsxs)(Kz, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, F.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, F.jsx)(IK, {
+ children: /* @__PURE__ */ (0, F.jsx)(PK, {
busy: d,
metadataOnly: u?.metadata_only,
onRun: (e) => {
@@ -54786,31 +54842,31 @@ function nve({ assetIds: e, onComplete: t, className: n }) {
});
}
// node_modules/@tanstack/react-table/dist/FlexRender.js
-function rve(e) {
- return ive(e) || typeof e == "function" || ave(e);
+function cve(e) {
+ return lve(e) || typeof e == "function" || uve(e);
}
-function ive(e) {
+function lve(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function ave(e) {
+function uve(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function zK(e, t) {
- return e == null ? null : rve(e) ? /* @__PURE__ */ P.createElement(e, t) : e;
+function LK(e, t) {
+ return e == null ? null : cve(e) ? /* @__PURE__ */ P.createElement(e, t) : e;
}
-function ove(e) {
+function dve(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? zK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : zK(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? LK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : LK(n.cell, t.getContext());
}
- return "header" in e && e.header ? zK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? zK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? LK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? LK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function sve({ update: e, notify: t, unwatched: n }) {
+function fve({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -54927,7 +54983,7 @@ function sve({ update: e, notify: t, unwatched: n }) {
}
}
// node_modules/@tanstack/store/dist/atom.js
-function cve(e, t, n) {
+function pve(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -54935,38 +54991,38 @@ function cve(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var BK = [], VK = 0, { link: HK, unlink: lve, propagate: uve, checkDirty: UK, shallowPropagate: WK } = /* @__PURE__ */ sve({
+var RK = [], zK = 0, { link: BK, unlink: mve, propagate: hve, checkDirty: VK, shallowPropagate: HK } = /* @__PURE__ */ fve({
update(e) {
return e._update();
},
notify(e) {
- BK[KK++] = e, e.flags &= -3;
+ RK[WK++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, YK(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, qK(e));
}
-}), GK = 0, KK = 0, qK, JK = 0;
-function dve(e) {
+}), UK = 0, WK = 0, GK, KK = 0;
+function gve(e) {
try {
- ++JK, e();
+ ++KK, e();
} finally {
- --JK || XK();
+ --KK || JK();
}
}
-function YK(e) {
+function qK(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = lve(n, e);
+ for (; n !== void 0;) n = mve(n, e);
}
-function XK() {
- if (!(JK > 0)) {
- for (; GK < KK;) {
- let e = BK[GK];
- BK[GK++] = void 0, e.notify();
+function JK() {
+ if (!(KK > 0)) {
+ for (; UK < WK;) {
+ let e = RK[UK];
+ RK[UK++] = void 0, e.notify();
}
- GK = 0, KK = 0;
+ UK = 0, WK = 0;
}
}
-function fve(e, t) {
+function _ve(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -54975,53 +55031,53 @@ function fve(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return qK !== void 0 && HK(i, qK, VK), i._snapshot;
+ return GK !== void 0 && BK(i, GK, zK), i._snapshot;
},
subscribe(e) {
- let t = cve(e), n = { current: !1 }, r = pve(() => {
- i.get(), n.current ? (qK = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = pve(e), n = { current: !1 }, r = vve(() => {
+ i.get(), n.current ? (GK = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = qK, o = t?.compare ?? Object.is;
- if (n) qK = i, ++VK, i.depsTail = void 0;
+ let a = GK, o = t?.compare ?? Object.is;
+ if (n) GK = i, ++zK, i.depsTail = void 0;
else if (e === void 0) return !1;
n && (i.flags = 5);
try {
let t = i._snapshot, a = typeof e == "function" ? e(t) : e === void 0 && n ? r(t) : e;
return t === void 0 || !o(t, a) ? (i._snapshot = a, !0) : !1;
} finally {
- qK = a, n && (i.flags &= -5), YK(i);
+ GK = a, n && (i.flags &= -5), qK(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && UK(i.deps, i)) {
+ if (e & 16 || e & 32 && VK(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && WK(e);
+ e !== void 0 && HK(e);
}
} else e & 32 && (i.flags = e & -33);
- return qK !== void 0 && HK(i, qK, VK), i._snapshot;
+ return GK !== void 0 && BK(i, GK, zK), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (uve(e), WK(e), XK());
+ e !== void 0 && (hve(e), HK(e), JK());
}
}, i;
}
-function pve(e) {
+function vve(e) {
let t = () => {
- let t = qK;
- qK = n, ++VK, n.depsTail = void 0, n.flags = 6;
+ let t = GK;
+ GK = n, ++zK, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- qK = t, n.flags &= -5, YK(n);
+ GK = t, n.flags &= -5, qK(n);
}
}, n = {
deps: void 0,
@@ -55031,16 +55087,16 @@ function pve(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && UK(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && VK(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, YK(this);
+ this.flags = 0, this.depsTail = void 0, qK(this);
}
};
return t(), n;
}
// node_modules/@tanstack/store/dist/shallow.js
-function ZK(e, t) {
+function YK(e, t) {
if (Object.is(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
if (e instanceof Map && t instanceof Map) {
@@ -55054,17 +55110,17 @@ function ZK(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = QK(e);
- if (n.length !== QK(t).length) return !1;
+ let n = XK(e);
+ if (n.length !== XK(t).length) return !1;
for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !Object.is(e[n[r]], t[n[r]])) return !1;
return !0;
}
-function QK(e) {
+function XK(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var mve = /* @__PURE__ */ o(((e) => {
- var t = A(), n = pS();
+var yve = /* @__PURE__ */ o(((e) => {
+ var t = A(), n = lS();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -55108,33 +55164,33 @@ var mve = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), $K = /* @__PURE__ */ o(((e, t) => {
- t.exports = mve();
-})), hve = $K();
-function gve(e, t) {
+})), ZK = /* @__PURE__ */ o(((e, t) => {
+ t.exports = yve();
+})), bve = ZK();
+function xve(e, t) {
return e === t;
}
-function eq(e, t = (e) => e, n) {
- let r = n?.compare ?? gve, i = (0, P.useCallback)((t) => {
+function QK(e, t = (e) => e, n) {
+ let r = n?.compare ?? xve, i = (0, P.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, P.useCallback)(() => e.get(), [e]);
- return (0, hve.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, bve.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
-function _ve(e) {
- let t = eq(e.source, e.selector, { compare: ZK });
+function Sve(e) {
+ let t = QK(e.source, e.selector, { compare: YK });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function vve(e) {
+function Cve(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
} }), "set" in e && (t.setState = e.set.bind(e)), t;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function yve(e) {
+function wve(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -55164,7 +55220,7 @@ function yve(e) {
}
};
}
-function bve(e, t = Object.is) {
+function Tve(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -55177,28 +55233,28 @@ function bve(e, t = Object.is) {
};
}
// node_modules/@tanstack/react-table/dist/reactivity.js
-function xve() {
- return yve({
- createAtom: fve,
- batch: dve
+function Eve() {
+ return wve({
+ createAtom: _ve,
+ batch: gve
});
}
// node_modules/@tanstack/table-core/dist/utils.js
-function tq(e, t) {
+function $K(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function nq(e) {
- if (Array.isArray(e)) return e.map(nq);
+function eq(e) {
+ if (Array.isArray(e)) return e.map(eq);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? iq() : {}, r = Object.keys(e);
+ let n = t === null ? nq() : {}, r = Object.keys(e);
for (let t = 0; t < r.length; t++) {
let i = r[t];
Object.defineProperty(n, i, {
configurable: !0,
enumerable: !0,
- value: nq(e[i]),
+ value: eq(e[i]),
writable: !0
});
}
@@ -55206,7 +55262,7 @@ function nq(e) {
}
return e;
}
-function rq(e, t) {
+function tq(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -55214,53 +55270,53 @@ function rq(e, t) {
}
return e;
}
-function iq() {
+function nq() {
return Object.create(null);
}
-function aq(e, t) {
+function rq(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function oq(e, t) {
+function iq(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => tq(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => $K(n, e));
};
}
-function sq(e) {
+function aq(e) {
if (typeof e != "object" || !e) return !1;
if (Array.isArray(e)) return !0;
let t = Object.getPrototypeOf(e);
return t === Object.prototype || t === null;
}
-function cq(e) {
+function oq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var Sve = 3;
-function Cve(e, t) {
- return lq(e, t, Sve);
+var Dve = 3;
+function Ove(e, t) {
+ return sq(e, t, Dve);
}
-function lq(e, t, n) {
+function sq(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !sq(e) || !sq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = cq(e), i = cq(t);
+ if (n <= 0 || !aq(e) || !aq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = oq(e), i = oq(t);
if (r.length !== i.length) return !1;
let a = e, o = t;
for (let e = 0; e < r.length; e++) {
let i = r[e];
- if (!Object.prototype.propertyIsEnumerable.call(t, i) || !lq(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !sq(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function uq(e, t, n, r = Cve) {
+function cq(e, t, n, r = Ove) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = tq(n, e);
+ let t = $K(n, e);
return r(e, t) ? e : t;
});
}
-function wve(e) {
+function kve(e) {
return e instanceof Function;
}
-function Tve(e, t) {
+function Ave(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -55270,7 +55326,7 @@ function Tve(e, t) {
};
return r(e), n;
}
-var Eve = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var jve = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -55284,23 +55340,23 @@ var Eve = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function dq(e) {
+function lq(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function fq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function uq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
let o = { onAfterUpdate: r ? () => {
let { schedule: e, untrack: t } = i._reactivity;
e(() => t(() => r()));
} : void 0 };
- return Eve({
+ return jve({
...a,
...o
});
}
-function pq(e, t = "_") {
+function dq(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -55308,10 +55364,10 @@ function pq(e, t = "_") {
parentName: n
};
}
-function mq(e, t, n) {
+function fq(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = pq(r);
- t[n] = a ? fq({
+ let { fnKey: n, fnName: o } = dq(r);
+ t[n] = a ? uq({
memoDeps: a,
fn: i,
fnName: o,
@@ -55320,15 +55376,15 @@ function mq(e, t, n) {
}) : i;
}
}
-function hq(e, t, n, r) {
+function pq(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = pq(i);
+ let { fnKey: r, fnName: s } = dq(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = fq({
+ this[i] = uq({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -55344,17 +55400,17 @@ function hq(e, t, n, r) {
};
}
}
-function gq(e, t, n, ...r) {
+function mq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function Dve(e) {
+function Mve(e) {
return e.row.getValue(e.column.id);
}
-function Ove(e) {
+function Nve(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function kve(e) {
+function Pve(e) {
return {
table: e.table,
column: e.column,
@@ -55365,18 +55421,18 @@ function kve(e) {
};
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var Ave = { assignCellPrototype: (e, t) => {
- hq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => Dve(e) },
- cell_renderValue: { fn: (e) => Ove(e) },
+var Fve = { assignCellPrototype: (e, t) => {
+ pq("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => Mve(e) },
+ cell_renderValue: { fn: (e) => Nve(e) },
cell_getContext: {
- fn: (e) => kve(e),
+ fn: (e) => Pve(e),
memoDeps: (e) => [e]
}
});
} };
// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function jve(e) {
+function Ive(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -55384,7 +55440,7 @@ function jve(e) {
}
return e._columnPrototype;
}
-function Mve(e, t, n, r) {
+function Lve(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -55404,53 +55460,53 @@ function Mve(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = jve(e), u = Object.create(l);
+ let l = Ive(e), u = Object.create(l);
u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;
let d = e._columnInstanceInitFns;
for (let e = 0; e < d.length; e++) d[e](u);
return u;
}
// node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function _q(e) {
+function hq(e) {
return e.getIsVisible?.() ?? !0;
}
-function Nve(e) {
+function Rve(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function vq(e, t) {
+function gq(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function yq(e, t, n, r) {
+function _q(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function bq(e, t) {
+function vq(e, t) {
return e._expandRows?.(t) ?? t;
}
-function Pve(e) {
+function zve(e) {
e.autoResetExpanded?.();
}
-function xq(e) {
+function yq(e) {
e.autoResetPageIndex?.();
}
-function Fve(e) {
+function Bve(e) {
e.autoResetSorting?.();
}
-function Ive(e) {
+function Vve(e) {
e.autoResetCellSelection?.();
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function Lve(e) {
+function Hve(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function Rve(e) {
+function Uve(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return vq(e.table, t);
+ return gq(e.table, t);
}
return [e];
}
-function zve(e) {
+function Wve(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -55461,53 +55517,53 @@ function zve(e) {
...e.options.defaultColumn
};
}
-function Sq(e, t, n, r = 0) {
+function bq(e, t, n, r = 0) {
let i = Array(t.length);
for (let a = 0; a < t.length; a++) {
if (!(a in t)) continue;
- let o = t[a], s = Mve(e, o, r, n), c = o;
- s.columns = c.columns ? Sq(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = Lve(e, o, r, n), c = o;
+ s.columns = c.columns ? bq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function Bve(e) {
- return Sq(e, e.options.columns);
+function Gve(e) {
+ return bq(e, e.options.columns);
}
-function Vve(e) {
+function Kve(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
-function Hve(e) {
- let t = iq(), n = e.getAllFlatColumns();
+function qve(e) {
+ let t = nq(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function Uve(e) {
- return vq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+function Jve(e) {
+ return gq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
-function Wve(e) {
- let t = iq(), n = e.getAllLeafColumns();
+function Yve(e) {
+ let t = nq(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function Gve(e, t) {
+function Xve(e, t) {
return e.getAllFlatColumnsById()[t];
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var Kve = {
+var Zve = {
assignColumnPrototype: (e, t) => {
- hq("coreColumnsFeature", e, t, {
+ pq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => Lve(e),
+ fn: (e) => Hve(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => Rve(e),
+ fn: (e) => Uve(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -55518,25 +55574,25 @@ var Kve = {
});
},
constructTableAPIs: (e) => {
- mq("coreColumnsFeature", e, {
+ fq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => zve(e),
+ fn: () => Wve(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => Bve(e),
+ fn: () => Gve(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => Vve(e),
+ fn: () => Kve(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => Hve(e),
+ fn: () => qve(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => Uve(e),
+ fn: () => Jve(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -55545,15 +55601,15 @@ var Kve = {
]
},
table_getAllLeafColumnsById: {
- fn: () => Wve(e),
+ fn: () => Yve(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => Gve(e, t) }
+ table_getColumn: { fn: (t) => Xve(e, t) }
});
}
};
// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function qve(e) {
+function Qve(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -55561,38 +55617,38 @@ function qve(e) {
}
return e._headerPrototype;
}
-function Cq(e, t, n) {
- let r = qve(e), i = Object.create(r);
+function xq(e, t, n) {
+ let r = Qve(e), i = Object.create(r);
i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];
let a = e._headerInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
return i;
}
// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function wq(e, t = 1) {
+function Sq(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- _q(i) && i.columns.length && (n = Math.max(n, wq(i.columns, t + 1)));
+ hq(i) && i.columns.length && (n = Math.max(n, Sq(i.columns, t + 1)));
}
return n;
}
-function Jve(e, t) {
+function $ve(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function Yve(e, t, n, r) {
+function eye(e, t, n, r) {
let i = e ?? "";
return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;
}
-function Xve(e, t) {
+function tye(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function Tq(e, t, n, r, i, a) {
+function Cq(e, t, n, r, i, a) {
let o = {
depth: t,
- id: Jve(r, t),
+ id: $ve(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -55600,10 +55656,10 @@ function Tq(e, t, n, r, i, a) {
let a = e[i], c = s[s.length - 1], l = a.column.depth === o.depth, u, d = !1;
if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);
else {
- let e = Cq(n, u, {
- id: Yve(r, t, u.id, a.id),
+ let e = xq(n, u, {
+ id: eye(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(Xve(s, u)) : void 0,
+ placeholderId: d ? String(tye(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -55612,18 +55668,18 @@ function Tq(e, t, n, r, i, a) {
o.headers.push(a), a.headerGroup = o;
}
for (let e = 0; e < a.length; e++) a[e](o);
- i.push(o), t > 0 && Tq(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && Cq(s, t - 1, n, r, i, a);
}
-function Eq(e) {
+function wq(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!_q(n.column)) continue;
+ if (!hq(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- Eq(n.subHeaders);
+ wq(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- _q(t.column) && (r += t.colSpan);
+ hq(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -55633,37 +55689,37 @@ function Eq(e) {
} else n.rowSpan = 1;
}
}
-function Zve(e, t, n, r) {
- let i = wq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = Cq(n, t[e], {
+function nye(e, t, n, r) {
+ let i = Sq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = xq(n, t[e], {
depth: i,
index: e
}));
- return Tq(s, i - 1, n, r, a, o), a.reverse(), Eq(a[0]?.headers ?? []), a;
+ return Cq(s, i - 1, n, r, a, o), a.reverse(), wq(a[0]?.headers ?? []), a;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function Dq(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) Dq(e.subHeaders[n], t);
+function Tq(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) Tq(e.subHeaders[n], t);
t.push(e);
}
-function Qve(e) {
+function rye(e) {
let t = [];
- return Dq(e, t), t;
+ return Tq(e, t), t;
}
-function $ve(e) {
+function iye(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function eye(e) {
- return Zve(e.getAllColumns(), yq(e, Nve(e), (e) => e.id), e);
+function aye(e) {
+ return nye(e.getAllColumns(), _q(e, Rve(e), (e) => e.id), e);
}
-function tye(e) {
+function oye(e) {
return [...e.getHeaderGroups()].reverse();
}
-function nye(e) {
+function sye(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -55671,7 +55727,7 @@ function nye(e) {
}
return n;
}
-function rye(e) {
+function cye(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -55680,23 +55736,23 @@ function rye(e) {
return n;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var iye = {
+var lye = {
assignHeaderPrototype: (e, t) => {
- hq("coreHeadersFeature", e, t, {
+ pq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => Qve(e),
+ fn: (e) => rye(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => $ve(e),
+ fn: (e) => iye(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- mq("coreHeadersFeature", e, {
+ fq("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => eye(e),
+ fn: () => aye(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -55707,22 +55763,22 @@ var iye = {
]
},
table_getFooterGroups: {
- fn: () => tye(e),
+ fn: () => oye(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => nye(e),
+ fn: () => sye(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => rye(e),
+ fn: () => cye(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function aye(e) {
+function uye(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -55730,98 +55786,98 @@ function aye(e) {
}
return e._rowPrototype;
}
-var oye = (e, t, n, r, i, a, o) => {
- let s = aye(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = iq(), c._valuesCache = iq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var dye = (e, t, n, r, i, a, o) => {
+ let s = uye(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = nq(), c._valuesCache = nq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
let l = e._rowInstanceInitFns;
for (let e = 0; e < l.length; e++) l[e](c);
return c;
};
// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function sye() {
- return (e) => fq({
+function fye() {
+ return (e) => uq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => cye(e, e.options.data),
- onAfterUpdate: dq(() => {
- Pve(e), xq(e), Fve(e), Ive(e);
+ fn: () => pye(e, e.options.data),
+ onAfterUpdate: lq(() => {
+ zve(e), yq(e), Bve(e), Vve(e);
})
});
}
-function Oq(e, t, n, r = 0, i) {
+function Eq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = oye(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
- t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Oq(e, t, c.originalSubRows, r + 1, c)));
+ let s = n[o], c = dye(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);
+ t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Eq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function cye(e, t) {
+function pye(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: iq()
+ rowsById: nq()
};
- return n.rows = Oq(e, n, t), n;
+ return n.rows = Eq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function lye(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? sye()(e)), e._rowModels.coreRowModel();
+function mye(e) {
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? fye()(e)), e._rowModels.coreRowModel();
}
-function uye(e) {
+function hye(e) {
return e.getCoreRowModel();
}
-function dye(e) {
+function gye(e) {
return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
}
-function fye(e) {
+function _ye(e) {
return e.getFilteredRowModel();
}
-function pye(e) {
+function vye(e) {
return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
}
-function mye(e) {
+function yye(e) {
return e.getGroupedRowModel();
}
-function hye(e) {
+function bye(e) {
return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
}
-function gye(e) {
+function xye(e) {
return e.getSortedRowModel();
}
-function _ye(e) {
+function Sye(e) {
return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
}
-function vye(e) {
+function Cye(e) {
return e.getExpandedRowModel();
}
-function yye(e) {
+function wye(e) {
return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();
}
-function bye(e) {
+function Tye(e) {
return e.getPaginatedRowModel();
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var xye = { constructTableAPIs: (e) => {
- mq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => lye(e) },
- table_getPreFilteredRowModel: { fn: () => uye(e) },
- table_getFilteredRowModel: { fn: () => dye(e) },
- table_getPreGroupedRowModel: { fn: () => fye(e) },
- table_getGroupedRowModel: { fn: () => pye(e) },
- table_getPreSortedRowModel: { fn: () => mye(e) },
- table_getSortedRowModel: { fn: () => hye(e) },
- table_getPreExpandedRowModel: { fn: () => gye(e) },
- table_getExpandedRowModel: { fn: () => _ye(e) },
- table_getPrePaginatedRowModel: { fn: () => vye(e) },
- table_getPaginatedRowModel: { fn: () => yye(e) },
- table_getRowModel: { fn: () => bye(e) }
+var Eye = { constructTableAPIs: (e) => {
+ fq("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => mye(e) },
+ table_getPreFilteredRowModel: { fn: () => hye(e) },
+ table_getFilteredRowModel: { fn: () => gye(e) },
+ table_getPreGroupedRowModel: { fn: () => _ye(e) },
+ table_getGroupedRowModel: { fn: () => vye(e) },
+ table_getPreSortedRowModel: { fn: () => yye(e) },
+ table_getSortedRowModel: { fn: () => bye(e) },
+ table_getPreExpandedRowModel: { fn: () => xye(e) },
+ table_getExpandedRowModel: { fn: () => Sye(e) },
+ table_getPrePaginatedRowModel: { fn: () => Cye(e) },
+ table_getPaginatedRowModel: { fn: () => wye(e) },
+ table_getRowModel: { fn: () => Tye(e) }
});
} };
// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function Sye(e) {
+function Dye(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -55829,48 +55885,48 @@ function Sye(e) {
}
return e._cellPrototype;
}
-function Cye(e, t, n) {
- let r = Sye(n), i = Object.create(r);
+function Oye(e, t, n) {
+ let r = Dye(n), i = Object.create(r);
i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;
let a = n._cellInstanceInitFns;
for (let e = 0; e < a.length; e++) a[e](i);
return i;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function wye(e) {
+function kye(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function Tye(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? bq(e, t).rows : t.rows;
+function Aye(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? vq(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function Eye(e, t) {
- if (aq(e._valuesCache, t)) return e._valuesCache[t];
+function jye(e, t) {
+ if (rq(e._valuesCache, t)) return e._valuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];
}
-function Dye(e, t) {
- if (aq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function Mye(e, t) {
+ if (rq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
let n = e.table.getColumn(t);
if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);
}
-function Oye(e, t) {
+function Nye(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function kye(e) {
- return Tve(e.subRows, (e) => e.subRows);
+function Pye(e) {
+ return Ave(e.subRows, (e) => e.subRows);
}
-function Aye(e) {
+function Fye(e) {
let t = e.getCoreRowModel().flatRows, n = 0;
for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);
return n;
}
-function jye(e) {
+function Iye(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function Mye(e) {
+function Lye(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -55879,77 +55935,77 @@ function Mye(e) {
}
return t.reverse();
}
-function Nye(e) {
+function Rye(e) {
let t = e.table.getAllLeafColumns(), n = e._cellsCache;
n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();
let r = Array(t.length);
for (let i = 0; i < t.length; i++) {
let a = t[i], o = n.get(a);
- o || (o = Cye(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = Oye(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function Pye(e) {
- let t = iq(), n = e.getAllCells();
+function zye(e) {
+ let t = nq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function Fye(e, t, n, r) {
+function Bye(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function Iye(e, t, n) {
+function Vye(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var Lye = {
+var Hye = {
assignRowPrototype: (e, t) => {
- hq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => wye(e) },
+ pq("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => kye(e) },
row_getAllCellsByColumnId: {
- fn: (e) => Pye(e),
+ fn: (e) => zye(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => Nye(e),
+ fn: (e) => Rye(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => kye(e),
+ fn: (e) => Pye(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => jye(e) },
- row_getParentRows: { fn: (e) => Mye(e) },
- row_getUniqueValues: { fn: (e, t) => Dye(e, t) },
- row_getValue: { fn: (e, t) => Eye(e, t) },
- row_renderValue: { fn: (e, t) => Oye(e, t) }
+ row_getParentRow: { fn: (e) => Iye(e) },
+ row_getParentRows: { fn: (e) => Lye(e) },
+ row_getUniqueValues: { fn: (e, t) => Mye(e, t) },
+ row_getValue: { fn: (e, t) => jye(e, t) },
+ row_renderValue: { fn: (e, t) => Nye(e, t) }
});
},
constructTableAPIs: (e) => {
- mq("coreRowsFeature", e, {
+ fq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => Tye(e),
+ fn: () => Aye(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => Fye(t, e, n, r) },
- table_getRow: { fn: (t, n) => Iye(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => Bye(t, e, n, r) },
+ table_getRow: { fn: (t, n) => Vye(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => Aye(e),
+ fn: () => Fye(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function kq(e, t, n = (e, t) => e === t) {
+function Dq(e, t, n = (e, t) => e === t) {
let r = t === void 0 ? e.options.state : t;
e._reactivity.batch(() => {
if (r) for (let t in r) {
@@ -55960,13 +56016,13 @@ function kq(e, t, n = (e, t) => e === t) {
}
});
}
-function Aq(e, t, n = (e, t) => e === t) {
+function Oq(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- kq(e, t, n), e._reactivity.commit?.();
+ Dq(e, t, n), e._reactivity.commit?.();
});
}
-function Rye(e) {
- let t = nq(e.initialState);
+function Uye(e) {
+ let t = eq(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -55977,7 +56033,7 @@ function Rye(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function zye(e, t) {
+function Wye(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -56009,26 +56065,26 @@ function zye(e, t) {
}
});
}
-function jq(e, t, n) {
- let r = zye(e, tq(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Aq(e, r.state ?? null);
+function kq(e, t, n) {
+ let r = Wye(e, $K(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Oq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var Bye = {
- coreCellsFeature: Ave,
- coreColumnsFeature: Kve,
- coreHeadersFeature: iye,
- coreRowModelsFeature: xye,
- coreRowsFeature: Lye,
+var Gye = {
+ coreCellsFeature: Fve,
+ coreColumnsFeature: Zve,
+ coreHeadersFeature: lye,
+ coreRowModelsFeature: Eye,
+ coreRowsFeature: Hye,
coreTablesFeature: { constructTableAPIs: (e) => {
- mq("coreTablesFeature", e, {
- table_reset: { fn: () => Rye(e) },
- table_setOptions: { fn: (t) => jq(e, t) }
+ fq("coreTablesFeature", e, {
+ table_reset: { fn: () => Uye(e) },
+ table_setOptions: { fn: (t) => kq(e, t) }
});
} }
};
// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function Mq() {
+function Aq() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -56043,21 +56099,21 @@ function Mq() {
};
}
// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function Nq(e) {
+function jq(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function Vye(e, t = {}) {
+function Kye(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), nq(t);
+ }), eq(t);
}
-function Hye(e) {
+function qye(e) {
let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {
_cellInstanceInitFns: [],
_columnInstanceInitFns: [],
_features: {
- ...Bye,
+ ...Gye,
..._
},
_headerGroupInstanceInitFns: [],
@@ -56095,7 +56151,7 @@ function Hye(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = Vye(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = Kye(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -56103,14 +56159,14 @@ function Hye(e) {
let e = v.options, t = e.atoms?.[n], r = t ? t.get() : v.baseAtoms[n].get();
if (t) return r;
let i = e.state;
- if (i && aq(i, n)) {
+ if (i && rq(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- kq(v), v.store = vve(t.createReadonlyAtom(() => {
+ Dq(v), v.store = Cve(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -56118,7 +56174,7 @@ function Hye(e) {
}
return e;
}, {
- compare: ZK,
+ compare: YK,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -56128,107 +56184,107 @@ function Hye(e) {
return v;
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function Uye() {
- return iq();
+function Jye() {
+ return nq();
}
-function Pq(e, t) {
- Iq(e) && Rq(e.table, (n) => {
- let r = Object.assign(iq(), n), i = t ?? !gq(e, "getIsVisible", Fq), a = e.getLeafColumns();
+function Mq(e, t) {
+ Pq(e) && Iq(e.table, (n) => {
+ let r = Object.assign(nq(), n), i = t ?? !mq(e, "getIsVisible", Nq), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- Iq(t) && (r[t.id] = i);
+ Pq(t) && (r[t.id] = i);
}
return r;
});
}
-function Fq(e) {
+function Nq(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => gq(e, "getIsVisible", Fq)) : (aq(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => mq(e, "getIsVisible", Nq)) : (rq(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function Iq(e) {
+function Pq(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function Wye(e) {
+function Yye(e) {
return (t) => {
- Pq(e, t.target.checked);
+ Mq(e, t.target.checked);
};
}
-function Gye(e) {
+function Xye(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- gq(r.column, "getIsVisible", Fq) && n.push(r);
+ mq(r.column, "getIsVisible", Nq) && n.push(r);
}
- return yq(e.table, n, (e) => e.column.id, () => gq(e, "getVisibleCellsByColumnId", Lq));
+ return _q(e.table, n, (e) => e.column.id, () => mq(e, "getVisibleCellsByColumnId", Fq));
}
-function Lq(e) {
- let t = iq(), n = e.getAllCells();
+function Fq(e) {
+ let t = nq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- gq(r.column, "getIsVisible", Fq) && (t[r.column.id] = r);
+ mq(r.column, "getIsVisible", Nq) && (t[r.column.id] = r);
}
return t;
}
-function Kye(e) {
- return e.getAllFlatColumns().filter((e) => gq(e, "getIsVisible", Fq));
+function Zye(e) {
+ return e.getAllFlatColumns().filter((e) => mq(e, "getIsVisible", Nq));
}
-function qye(e) {
- return e.getAllLeafColumns().filter((e) => gq(e, "getIsVisible", Fq));
+function Qye(e) {
+ return e.getAllLeafColumns().filter((e) => mq(e, "getIsVisible", Nq));
}
-function Rq(e, t) {
- uq(e, "columnVisibility", t);
+function Iq(e, t) {
+ cq(e, "columnVisibility", t);
}
-function Jye(e, t) {
- Rq(e, t ? iq() : Object.assign(iq(), nq(e.initialState.columnVisibility ?? {})));
+function $ye(e, t) {
+ Iq(e, t ? nq() : Object.assign(nq(), eq(e.initialState.columnVisibility ?? {})));
}
-function zq(e, t) {
- t ??= !Bq(e);
- let n = iq(), r = e.getAllLeafColumns();
+function Lq(e, t) {
+ t ??= !Rq(e);
+ let n = nq(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !Iq(i);
+ n[i.id] = t || !Pq(i);
}
- Rq(e, n);
+ Iq(e, n);
}
-function Bq(e) {
- return !e.getAllLeafColumns().some((e) => !gq(e, "getIsVisible", Fq));
+function Rq(e) {
+ return !e.getAllLeafColumns().some((e) => !mq(e, "getIsVisible", Nq));
}
-function Yye(e) {
- return e.getAllLeafColumns().some((e) => gq(e, "getIsVisible", Fq));
+function ebe(e) {
+ return e.getAllLeafColumns().some((e) => mq(e, "getIsVisible", Nq));
}
-function Xye(e) {
+function tbe(e) {
return (t) => {
- zq(e, t.target.checked);
+ Lq(e, t.target.checked);
};
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var Vq = {
+var zq = {
getInitialState: (e) => ({
- columnVisibility: Uye(),
+ columnVisibility: Jye(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: oq("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: iq("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- hq("columnVisibilityFeature", e, t, {
+ pq("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => Fq(e),
+ fn: (e) => Nq(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => Iq(e) },
- column_getToggleVisibilityHandler: { fn: (e) => Wye(e) },
- column_toggleVisibility: { fn: (e, t) => Pq(e, t) }
+ column_getCanHide: { fn: (e) => Pq(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => Yye(e) },
+ column_toggleVisibility: { fn: (e, t) => Mq(e, t) }
});
},
assignRowPrototype: (e, t) => {
- hq("columnVisibilityFeature", e, t, {
+ pq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => Gye(e),
+ fn: (e) => Xye(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -56236,15 +56292,15 @@ var Vq = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => Lq(e),
+ fn: (e) => Fq(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- mq("columnVisibilityFeature", e, {
+ fq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => Kye(e),
+ fn: () => Zye(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -56254,7 +56310,7 @@ var Vq = {
]
},
table_getVisibleLeafColumns: {
- fn: () => qye(e),
+ fn: () => Qye(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -56263,51 +56319,51 @@ var Vq = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => Rq(e, t) },
- table_resetColumnVisibility: { fn: (t) => Jye(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => zq(e, t) },
- table_getIsAllColumnsVisible: { fn: () => Bq(e) },
- table_getIsSomeColumnsVisible: { fn: () => Yye(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => Xye(e) }
+ table_setColumnVisibility: { fn: (t) => Iq(e, t) },
+ table_resetColumnVisibility: { fn: (t) => $ye(e, t) },
+ table_toggleAllColumnsVisible: { fn: (t) => Lq(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => Rq(e) },
+ table_getIsSomeColumnsVisible: { fn: () => ebe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => tbe(e) }
});
}
-}, Hq = 0, Uq = 10;
-function Wq() {
+}, Bq = 0, Vq = 10;
+function Hq() {
return {
- pageIndex: Hq,
- pageSize: Uq
+ pageIndex: Bq,
+ pageSize: Vq
};
}
-function Zye(e) {
+function nbe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? Hq) === Hq) return;
- qq(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? Bq) === Bq) return;
+ Gq(e, !0);
}
}
-function Gq(e, t) {
- uq(e, "pagination", t);
+function Uq(e, t) {
+ cq(e, "pagination", t);
}
-function Qye(e, t) {
- Gq(e, t ? Wq() : nq(e.initialState.pagination ?? Wq()));
+function rbe(e, t) {
+ Uq(e, t ? Hq() : eq(e.initialState.pagination ?? Hq()));
}
-function Kq(e, t) {
- Gq(e, (n) => {
- let r = tq(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function Wq(e, t) {
+ Uq(e, (n) => {
+ let r = $K(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
return r = Math.max(0, Math.min(r, i)), {
...n,
pageIndex: r
};
});
}
-function qq(e, t) {
- Kq(e, t ? Hq : e.initialState.pagination?.pageIndex ?? Hq);
+function Gq(e, t) {
+ Wq(e, t ? Bq : e.initialState.pagination?.pageIndex ?? Bq);
}
-function $ye(e, t) {
- Jq(e, t ? Uq : e.initialState.pagination?.pageSize ?? Uq);
+function ibe(e, t) {
+ Kq(e, t ? Vq : e.initialState.pagination?.pageSize ?? Vq);
}
-function Jq(e, t) {
- Gq(e, (e) => {
- let n = Math.max(1, tq(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function Kq(e, t) {
+ Uq(e, (e) => {
+ let n = Math.max(1, $K(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -56315,231 +56371,231 @@ function Jq(e, t) {
};
});
}
-function ebe(e) {
- let t = Yq(e), n = [];
+function abe(e) {
+ let t = qq(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
-function tbe(e) {
+function obe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
-function nbe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? Hq, n = Yq(e);
+function sbe(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? Bq, n = qq(e);
return n === -1 || n !== 0 && t < n - 1;
}
-function rbe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? Hq, n = Yq(e);
+function cbe(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? Bq, n = qq(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
-function ibe(e) {
- return Kq(e, (e) => e - 1);
+function lbe(e) {
+ return Wq(e, (e) => e - 1);
}
-function abe(e) {
- return Kq(e, (e) => e + 1);
+function ube(e) {
+ return Wq(e, (e) => e + 1);
}
-function obe(e) {
- return Kq(e, 0);
+function dbe(e) {
+ return Wq(e, 0);
}
-function sbe(e) {
- let t = Yq(e);
- if (!(!Number.isFinite(t) || t <= 0)) return Kq(e, t - 1);
+function fbe(e) {
+ let t = qq(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return Wq(e, t - 1);
}
-function Yq(e) {
+function qq(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = Xq(e), r = e.atoms.pagination?.get()?.pageSize ?? Uq;
+ let n = Jq(e), r = e.atoms.pagination?.get()?.pageSize ?? Vq;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function Xq(e) {
+function Jq(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var Zq = {
+var Yq = {
getInitialState: (e) => ({
...e,
pagination: {
- ...Wq(),
+ ...Hq(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: oq("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: iq("pagination", e) }),
constructTableAPIs: (e) => {
- mq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => Zye(e) },
- table_setPagination: { fn: (t) => Gq(e, t) },
- table_resetPagination: { fn: (t) => Qye(e, t) },
- table_setPageIndex: { fn: (t) => Kq(e, t) },
- table_resetPageIndex: { fn: (t) => qq(e, t) },
- table_setPageSize: { fn: (t) => Jq(e, t) },
- table_getPageCount: { fn: () => Yq(e) },
- table_resetPageSize: { fn: (t) => $ye(e, t) },
- table_getPageOptions: { fn: () => ebe(e) },
- table_getCanPreviousPage: { fn: () => tbe(e) },
- table_getCanNextPage: { fn: () => nbe(e) },
- table_getCanLastPage: { fn: () => rbe(e) },
- table_previousPage: { fn: () => ibe(e) },
- table_nextPage: { fn: () => abe(e) },
- table_firstPage: { fn: () => obe(e) },
- table_lastPage: { fn: () => sbe(e) },
- table_getRowCount: { fn: () => Xq(e) }
+ fq("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => nbe(e) },
+ table_setPagination: { fn: (t) => Uq(e, t) },
+ table_resetPagination: { fn: (t) => rbe(e, t) },
+ table_setPageIndex: { fn: (t) => Wq(e, t) },
+ table_resetPageIndex: { fn: (t) => Gq(e, t) },
+ table_setPageSize: { fn: (t) => Kq(e, t) },
+ table_getPageCount: { fn: () => qq(e) },
+ table_resetPageSize: { fn: (t) => ibe(e, t) },
+ table_getPageOptions: { fn: () => abe(e) },
+ table_getCanPreviousPage: { fn: () => obe(e) },
+ table_getCanNextPage: { fn: () => sbe(e) },
+ table_getCanLastPage: { fn: () => cbe(e) },
+ table_previousPage: { fn: () => lbe(e) },
+ table_nextPage: { fn: () => ube(e) },
+ table_firstPage: { fn: () => dbe(e) },
+ table_lastPage: { fn: () => fbe(e) },
+ table_getRowCount: { fn: () => Jq(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function cbe() {
- return iq();
+function pbe() {
+ return nq();
}
-function Qq(e, t) {
+function Xq(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function lbe(e, t) {
- e._lastSelectedRowId = null, Qq(e, t ? iq() : Object.assign(iq(), nq(e.initialState.rowSelection ?? {})));
+function mbe(e, t) {
+ e._lastSelectedRowId = null, Xq(e, t ? nq() : Object.assign(nq(), eq(e.initialState.rowSelection ?? {})));
}
-function $q(e, t, n) {
- e._lastSelectedRowId = null, Qq(e, (r) => {
- if (t = t === void 0 ? !gq(e, "getIsAllRowsSelected", nJ) : t, n?.deselectAll && !t) return iq();
- let i = Object.assign(iq(), r), a = e.getPreGroupedRowModel().flatRows;
+function Zq(e, t, n) {
+ e._lastSelectedRowId = null, Xq(e, (r) => {
+ if (t = t === void 0 ? !mq(e, "getIsAllRowsSelected", eJ) : t, n?.deselectAll && !t) return nq();
+ let i = Object.assign(nq(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- fJ(t, e) && (i[t.id] = !0);
+ uJ(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- cJ(e) && delete i[e.id];
+ oJ(e) && delete i[e.id];
});
return i;
});
}
-function eJ(e, t, n) {
- e._lastSelectedRowId = null, Qq(e, (r) => {
- let i = t === void 0 ? !gq(e, "getIsAllPageRowsSelected", rJ) : t;
- if (n?.deselectAll && !i) return iq();
- let a = Object.assign(iq(), r);
+function Qq(e, t, n) {
+ e._lastSelectedRowId = null, Xq(e, (r) => {
+ let i = t === void 0 ? !mq(e, "getIsAllPageRowsSelected", tJ) : t;
+ if (n?.deselectAll && !i) return nq();
+ let a = Object.assign(nq(), r);
return e.getRowModel().rows.forEach((t) => {
- dJ(a, t.id, i, !0, e, !0);
+ lJ(a, t.id, i, !0, e, !0);
}), a;
});
}
-function ube(e) {
+function hbe(e) {
return e.getCoreRowModel();
}
-function dbe(e) {
+function gbe(e) {
let t = e.getCoreRowModel();
- return gq(e, "getIsSomeRowsSelected", iJ) ? hJ(t, e) : {
+ return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: iq()
+ rowsById: nq()
};
}
-function fbe(e) {
+function _be(e) {
let t = e.getFilteredRowModel();
- return gq(e, "getIsSomeRowsSelected", iJ) ? hJ(t, e) : {
+ return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: iq()
+ rowsById: nq()
};
}
-function pbe(e) {
+function vbe(e) {
let t = e.getSortedRowModel();
- return gq(e, "getIsSomeRowsSelected", iJ) ? hJ(t, e) : {
+ return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: iq()
+ rowsById: nq()
};
}
-function tJ(e) {
+function $q(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function nJ(e) {
+function eJ(e) {
let t = e.getFilteredRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = !!(t.length && Object.keys(n).length);
if (r) {
let e = /* @__PURE__ */ new Map();
- t.some((t) => !gJ(t, n) && fJ(t, e)) && (r = !1);
+ t.some((t) => !mJ(t, n) && uJ(t, e)) && (r = !1);
}
return r;
}
-function rJ(e) {
+function tJ(e) {
let t = e.getPaginatedRowModel().flatRows, n = e.atoms.rowSelection?.get() ?? {}, r = /* @__PURE__ */ new Map(), i = !1;
for (let e = 0; e < t.length; e++) {
let a = t[e];
- if (gJ(a, n)) !i && fJ(a, r) && (i = !0);
- else if (fJ(a, r)) return !1;
+ if (mJ(a, n)) !i && uJ(a, r) && (i = !0);
+ else if (uJ(a, r)) return !1;
}
return i;
}
-function iJ(e) {
- return gq(e, "getSelectedRowIds", tJ).length > 0;
+function nJ(e) {
+ return mq(e, "getSelectedRowIds", $q).length > 0;
}
-function mbe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => cJ(e)).some((e) => oJ(e) || gq(e, "getIsSomeSelected", sJ));
+function ybe(e) {
+ return e.getPaginatedRowModel().flatRows.filter((e) => oJ(e)).some((e) => iJ(e) || mq(e, "getIsSomeSelected", aJ));
}
-function hbe(e) {
+function bbe(e) {
return (t) => {
- $q(e, t.target.checked);
+ Zq(e, t.target.checked);
};
}
-function gbe(e) {
+function xbe(e) {
return (t) => {
- eJ(e, t.target.checked);
+ Qq(e, t.target.checked);
};
}
-function aJ(e, t, n) {
- let r = oJ(e);
- Qq(e.table, (i) => {
+function rJ(e, t, n) {
+ let r = iJ(e);
+ Xq(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(iq(), i);
- return dJ(a, e.id, t, (n?.selectChildren ?? !0) && uJ(e), e.table), !t && n?.deselectParents && pJ(a, e), a;
+ let a = Object.assign(nq(), i);
+ return lJ(a, e.id, t, (n?.selectChildren ?? !0) && cJ(e), e.table), !t && n?.deselectParents && dJ(a, e), a;
});
}
-function oJ(e) {
- return gJ(e, e.table.atoms.rowSelection?.get() ?? {});
+function iJ(e) {
+ return mJ(e, e.table.atoms.rowSelection?.get() ?? {});
}
-function sJ(e) {
- return _J(e) === "some";
+function aJ(e) {
+ return hJ(e) === "some";
}
-function _be(e) {
- return _J(e) === "all";
+function Sbe(e) {
+ return hJ(e) === "all";
}
-function cJ(e) {
+function oJ(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function lJ(e) {
+function sJ(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function uJ(e) {
+function cJ(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function vbe(e, t) {
- let n = cJ(e);
+function Cbe(e, t) {
+ let n = oJ(e);
return (r) => {
if (!n) return;
let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;
- a.options.enableRowRangeSelection !== !1 && s !== null && uJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && ybe(e, s, o, t) || aJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && cJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && wbe(e, s, o, t) || rJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function ybe(e, t, n, r) {
+function wbe(e, t, n, r) {
let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];
if (!s) return !1;
let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];
- if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !uJ(s) || !uJ(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !cJ(s) || !cJ(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return Qq(a, (e) => {
- let t = Object.assign(iq(), e);
+ return Xq(a, (e) => {
+ let t = Object.assign(nq(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- cJ(s) && uJ(s) && (dJ(t, s.id, n, i, a), !n && r?.deselectParents && pJ(t, s));
+ oJ(s) && cJ(s) && (lJ(t, s.id, n, i, a), !n && r?.deselectParents && dJ(t, s));
}
return t;
}), !0;
}
-function dJ(e, t, n, r, i, a) {
+function lJ(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (uJ(o) || Object.keys(e).forEach((t) => delete e[t]), cJ(o) && (e[t] = !0)) : (!a || cJ(o)) && delete e[t], r && o.subRows.length && lJ(o) && o.subRows.forEach((t) => dJ(e, t.id, n, r, i, a));
+ n ? (cJ(o) || Object.keys(e).forEach((t) => delete e[t]), oJ(o) && (e[t] = !0)) : (!a || oJ(o)) && delete e[t], r && o.subRows.length && sJ(o) && o.subRows.forEach((t) => lJ(e, t.id, n, r, i, a));
}
-function fJ(e, t) {
- if (!cJ(e)) return !1;
+function uJ(e, t) {
+ if (!oJ(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -56555,7 +56611,7 @@ function fJ(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!lJ(r)) {
+ if (!sJ(r)) {
s = !1;
break;
}
@@ -56563,50 +56619,50 @@ function fJ(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function pJ(e, t) {
+function dJ(e, t) {
let n = t.table.getCoreRowModel().rowsById, r = t.parentId;
for (; r !== void 0;) delete e[r], r = (n[r] ?? t.table.getRow(r, !0)).parentId;
}
-function mJ(e, t, n, r) {
+function fJ(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = gJ(o, t);
+ let o = e[a], s = mJ(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = mJ(o.subRows, t, n, r);
+ let e = fJ(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- rq(t, o), t.subRows = e, i.push(t);
+ tq(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function hJ(e, t) {
- let n = [], r = iq(), i = t.atoms.rowSelection?.get() ?? {};
+function pJ(e, t) {
+ let n = [], r = nq(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: mJ(e.rows, i, n, r),
+ rows: fJ(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function gJ(e, t) {
- return !!(aq(t, e.id) && t[e.id]);
+function mJ(e, t) {
+ return !!(rq(t, e.id) && t[e.id]);
}
-function _J(e) {
+function hJ(e) {
if (!e.subRows.length) return !1;
let t = e.table.atoms.rowSelection?.get() ?? {}, n = !1, r = !0, i = !1;
for (let a = 0; a < e.subRows.length; a++) {
let o = e.subRows[a];
if (n && !r) break;
- if (cJ(o) && (i = !0, gJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = _J(o);
+ if (oJ(o) && (i = !0, mJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = hJ(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
return i ? r ? "all" : n ? "some" : !1 : !1;
}
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var vJ = {
+var gJ = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -56614,11 +56670,11 @@ var vJ = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: cbe(),
+ rowSelection: pbe(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: oq("rowSelection", e),
+ onRowSelectionChange: iq("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -56629,11 +56685,11 @@ var vJ = {
}
}),
assignRowPrototype: (e, t) => {
- hq("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => aJ(e, t, n) },
- row_getIsSelected: { fn: (e) => oJ(e) },
+ pq("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => rJ(e, t, n) },
+ row_getIsSelected: { fn: (e) => iJ(e) },
row_getIsSomeSelected: {
- fn: (e) => sJ(e),
+ fn: (e) => aJ(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -56641,44 +56697,44 @@ var vJ = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => _be(e),
+ fn: (e) => Sbe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => cJ(e) },
- row_getCanSelectSubRows: { fn: (e) => lJ(e) },
- row_getCanMultiSelect: { fn: (e) => uJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => vbe(e, t) }
+ row_getCanSelect: { fn: (e) => oJ(e) },
+ row_getCanSelectSubRows: { fn: (e) => sJ(e) },
+ row_getCanMultiSelect: { fn: (e) => cJ(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => Cbe(e, t) }
});
},
constructTableAPIs: (e) => {
- mq("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => Qq(e, t) },
- table_resetRowSelection: { fn: (t) => lbe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => $q(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => eJ(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => ube(e) },
+ fq("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => Xq(e, t) },
+ table_resetRowSelection: { fn: (t) => mbe(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => Zq(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => Qq(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => hbe(e) },
table_getSelectedRowModel: {
- fn: () => dbe(e),
+ fn: () => gbe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => fbe(e),
+ fn: () => _be(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => pbe(e),
+ fn: () => vbe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => tJ(e),
+ fn: () => $q(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => nJ(e),
+ fn: () => eJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -56687,7 +56743,7 @@ var vJ = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => rJ(e),
+ fn: () => tJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -56696,48 +56752,48 @@ var vJ = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => iJ(e),
+ fn: () => nJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => mbe(e),
+ fn: () => ybe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => hbe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => gbe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => bbe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => xbe(e) }
});
}
-}, bbe = /([0-9]+)/gm;
+}, Tbe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function xbe(e) {
+function Ebe(e) {
let t = Object.assign((e, n, r) => {
let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;
return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);
}, e);
return t;
}
-var yJ = /* @__PURE__ */ xbe({ sort: (e, t) => Sbe(e, t) });
-function Sbe(e, t) {
+var _J = /* @__PURE__ */ Ebe({ sort: (e, t) => Dbe(e, t) });
+function Dbe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function Cbe() {
+function Obe() {
return [];
}
-function bJ(e, t) {
- uq(e, "sorting", t);
+function vJ(e, t) {
+ cq(e, "sorting", t);
}
-function xJ(e, t) {
- bJ(e, t ? [] : nq(e.initialState.sorting ?? []));
+function yJ(e, t) {
+ vJ(e, t ? [] : eq(e.initialState.sorting ?? []));
}
-function wbe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && xJ(e);
+function kbe(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && yJ(e);
}
-function SJ(e) {
+function bJ(e) {
let t = e.table._rowModelFns.sortFns, n = e.table.getFilteredRowModel().flatRows.slice(0, 10), r, i = !1;
for (let t = 0; t < n.length; t++) {
let a = n[t].getValue(e.id);
@@ -56745,7 +56801,7 @@ function SJ(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(bbe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(Tbe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -56754,9 +56810,9 @@ function SJ(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return yJ;
+ return _J;
}
-function CJ(e) {
+function xJ(e) {
let t = e.table.getFilteredRowModel().flatRows.slice(0, 10);
for (let n = 0; n < t.length; n++) {
let r = t[n].getValue(e.id);
@@ -56764,14 +56820,14 @@ function CJ(e) {
}
return "desc";
}
-function wJ(e) {
+function SJ(e) {
let t = e.table._rowModelFns.sortFns;
- return wve(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? SJ(e) : t?.[e.columnDef.sortFn] ?? yJ;
+ return kve(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? bJ(e) : t?.[e.columnDef.sortFn] ?? _J;
}
-function TJ(e, t, n) {
- let r = DJ(e, n && kJ(e)), i = t !== void 0;
- bJ(e.table, (a) => {
- let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && kJ(e) && n);
+function CJ(e, t, n) {
+ let r = TJ(e, n && DJ(e)), i = t !== void 0;
+ vJ(e.table, (a) => {
+ let o = a.findIndex((t) => t.id === e.id), s = o === -1 ? void 0 : a[o], c = [], l, u = i ? t : r === "desc", d = !!(a.length && DJ(e) && n);
return l = d ? s ? "toggle" : "add" : s ? "toggle" : "replace", l === "toggle" && (i || r || (l = "remove")), l === "add" ? (c = [...a, {
id: e.id,
desc: u
@@ -56787,40 +56843,40 @@ function TJ(e, t, n) {
}], c;
});
}
-function EJ(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? CJ(e) === "desc" ? "desc" : "asc";
+function wJ(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? xJ(e) === "desc" ? "desc" : "asc";
}
-function DJ(e, t) {
- let n = EJ(e), r = AJ(e);
+function TJ(e, t) {
+ let n = wJ(e), r = OJ(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function OJ(e) {
+function EJ(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function kJ(e) {
+function DJ(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function AJ(e) {
+function OJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function Tbe(e) {
+function Abe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
-function Ebe(e) {
- bJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+function jbe(e) {
+ vJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
-function Dbe(e) {
- let t = OJ(e);
+function Mbe(e) {
+ let t = EJ(e);
return (n) => {
- t && TJ(e, void 0, kJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && CJ(e, void 0, DJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var jJ = {
+var kJ = {
getInitialState(e) {
return {
- sorting: Cbe(),
+ sorting: Obe(),
...e
};
},
@@ -56833,58 +56889,58 @@ var jJ = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: oq("sorting", e),
+ onSortingChange: iq("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- hq("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => SJ(e) },
- column_getAutoSortDir: { fn: (e) => CJ(e) },
- column_getSortFn: { fn: (e) => wJ(e) },
- column_toggleSorting: { fn: (e, t, n) => TJ(e, t, n) },
- column_getFirstSortDir: { fn: (e) => EJ(e) },
- column_getNextSortingOrder: { fn: (e, t) => DJ(e, t) },
- column_getCanSort: { fn: (e) => OJ(e) },
- column_getCanMultiSort: { fn: (e) => kJ(e) },
- column_getIsSorted: { fn: (e) => AJ(e) },
- column_getSortIndex: { fn: (e) => Tbe(e) },
- column_clearSorting: { fn: (e) => Ebe(e) },
- column_getToggleSortingHandler: { fn: (e) => Dbe(e) }
+ pq("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => bJ(e) },
+ column_getAutoSortDir: { fn: (e) => xJ(e) },
+ column_getSortFn: { fn: (e) => SJ(e) },
+ column_toggleSorting: { fn: (e, t, n) => CJ(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => wJ(e) },
+ column_getNextSortingOrder: { fn: (e, t) => TJ(e, t) },
+ column_getCanSort: { fn: (e) => EJ(e) },
+ column_getCanMultiSort: { fn: (e) => DJ(e) },
+ column_getIsSorted: { fn: (e) => OJ(e) },
+ column_getSortIndex: { fn: (e) => Abe(e) },
+ column_clearSorting: { fn: (e) => jbe(e) },
+ column_getToggleSortingHandler: { fn: (e) => Mbe(e) }
});
},
constructTableAPIs(e) {
- mq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => wbe(e) },
- table_setSorting: { fn: (t) => bJ(e, t) },
- table_resetSorting: { fn: (t) => xJ(e, t) }
+ fq("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => kbe(e) },
+ table_setSorting: { fn: (t) => vJ(e, t) },
+ table_resetSorting: { fn: (t) => yJ(e, t) }
});
}
-}, Obe = typeof window > "u" ? P.useEffect : P.useLayoutEffect;
-function MJ(e, t) {
+}, Nbe = typeof window > "u" ? P.useEffect : P.useLayoutEffect;
+function AJ(e, t) {
let [{ table: n, rootSource: r }] = (0, P.useState)(() => {
- let t = Hye({
+ let t = qye({
...e,
features: {
- coreReactivityFeature: xve(),
+ coreReactivityFeature: Eve(),
...e.features
}
});
- return t.Subscribe = ((e) => _ve({
+ return t.Subscribe = ((e) => Sve({
...e,
source: e.source ?? t.store
- })), t.FlexRender = ove, {
+ })), t.FlexRender = dve, {
table: t,
- rootSource: bve(t.store, ZK)
+ rootSource: Tve(t.store, YK)
};
}), i = n;
- jq(i, (t) => ({
+ kq(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = eq(r, t, { compare: ZK });
- return Obe(() => {
- r.markCommitted(o), Aq(i, a ?? null, ZK);
+ let a = i.options.state, o = r.get(), s = QK(r, t, { compare: YK });
+ return Nbe(() => {
+ r.markCommitted(o), Oq(i, a ?? null, YK);
}), (0, P.useMemo)(() => ({
...n,
options: e,
@@ -56896,18 +56952,18 @@ function MJ(e, t) {
]);
}
// src/react/boardui/components/base/table/table.tsx
-function NJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function jJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
- className: IF("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, F.jsx)(jfe, {
+ className: lF("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, F.jsx)(Pfe, {
ref: r,
...i,
- className: IF("bui-table", e === "sm" && "bui-table-sm", t)
+ className: lF("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var PJ = "peach.catalog-column-widths.v1", FJ = "peach.catalog-column-visibility.v1", kbe = {
+var MJ = "peach.catalog-column-widths.v1", NJ = "peach.catalog-column-visibility.v1", Pbe = {
select: {
width: 48,
min: 48,
@@ -56973,13 +57029,13 @@ var PJ = "peach.catalog-column-widths.v1", FJ = "peach.catalog-column-visibility
min: 144,
max: 560
}
-}, Abe = {
+}, Fbe = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
-}, jbe = {
+}, Ibe = {
select: "选择",
name: "作品",
dur: "时长",
@@ -56993,7 +57049,7 @@ var PJ = "peach.catalog-column-widths.v1", FJ = "peach.catalog-column-visibility
release: "发行时间",
code: "番号",
tags: "标签"
-}, IJ = [
+}, PJ = [
"select",
"name",
"tags",
@@ -57009,13 +57065,13 @@ var PJ = "peach.catalog-column-widths.v1", FJ = "peach.catalog-column-visibility
"release"
].map((e) => ({
id: e,
- label: jbe[e],
- ...kbe[e],
+ label: Ibe[e],
+ ...Pbe[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: Abe[e] !== !1
+ visible: Fbe[e] !== !1
}));
-function LJ(e) {
+function FJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -57023,9 +57079,9 @@ function LJ(e) {
return {};
}
}
-function Mbe() {
- let e = LJ(PJ), t = LJ(FJ);
- return IJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
+function Lbe() {
+ let e = FJ(MJ), t = FJ(NJ);
+ return PJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {
let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);
return {
id: t.id,
@@ -57036,37 +57092,37 @@ function Mbe() {
});
}
// src/react/library-processing/completion-row.ts
-var RJ = "peach.catalog.completion-row";
-function zJ() {
+var IJ = "peach.catalog.completion-row";
+function LJ() {
try {
- return localStorage.getItem(RJ) === "1";
+ return localStorage.getItem(IJ) === "1";
} catch {
return !1;
}
}
-function Nbe(e) {
+function Rbe(e) {
try {
- e ? localStorage.setItem(RJ, "1") : localStorage.removeItem(RJ);
+ e ? localStorage.setItem(IJ, "1") : localStorage.removeItem(IJ);
} catch {}
}
-var Pbe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var zbe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
-function BJ(e) {
+function RJ(e) {
return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";
}
-function Fbe(e) {
- let t = Mbe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${BJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (zJ() ? Pbe : "") + `<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 Bbe(e) {
+ let t = Lbe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${RJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (LJ() ? zbe : "") + `<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 VJ(e, t) {
- return NM() === "list" ? Fbe(e) : nc(e, {
+function zJ(e, t) {
+ return PM() === "list" ? Bbe(e) : nc(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
});
}
// src/react/components/data-table-frame.tsx
-function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
+function BJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let i = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
let e = i.current?.querySelector(".overflow-x-auto") ?? null;
@@ -57082,7 +57138,7 @@ function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let r = t.closest("[role=\"row\"][data-key]");
r && TG(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, F.jsx)(kfe, {
+ children: r ? /* @__PURE__ */ (0, F.jsx)(Mfe, {
className: "relative min-w-0",
onResize: r.resize,
onResizeEnd: r.save,
@@ -57091,7 +57147,7 @@ function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
});
}
// src/react/components/select.tsx
-function UJ({ prefix: e, renderValue: t, size: n, ...r }) {
+function VJ({ prefix: e, renderValue: t, size: n, ...r }) {
if (e == null) return /* @__PURE__ */ (0, F.jsx)(RU, {
...r,
size: n,
@@ -57109,7 +57165,7 @@ function UJ({ prefix: e, renderValue: t, size: n, ...r }) {
});
}
// src/react/components/table-pagination.tsx
-function WJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function HJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, F.jsxs)("nav", {
"aria-label": r,
"data-pagination-layout": "",
@@ -57148,11 +57204,11 @@ function WJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
});
}
// src/react/components/table-controls.tsx
-function GJ({ label: e, options: t, sorting: n, onChange: r }) {
+function UJ({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, F.jsxs)(UJ, {
+ children: [/* @__PURE__ */ (0, F.jsxs)(VJ, {
"aria-label": `${e}排序`,
prefix: "排序",
selectedKey: i?.id ?? "default",
@@ -57185,7 +57241,7 @@ function GJ({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
+function WJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
10,
20,
50,
@@ -57200,7 +57256,7 @@ function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`
}), /* @__PURE__ */ (0, F.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, F.jsx)(UJ, {
+ children: [/* @__PURE__ */ (0, F.jsx)(VJ, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -57214,7 +57270,7 @@ function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
id: String(e),
children: `每页 ${e} ${a}`
}, e))
- }), /* @__PURE__ */ (0, F.jsx)(WJ, {
+ }), /* @__PURE__ */ (0, F.jsx)(HJ, {
label: `${e}分页`,
page: c + 1,
pages: s,
@@ -57227,7 +57283,7 @@ function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
});
}
// src/react/components/table-column-preferences.ts
-function qJ(e) {
+function GJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -57235,17 +57291,17 @@ function qJ(e) {
return {};
}
}
-function JJ(e, t) {
+function KJ(e, t) {
try {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function Ibe(e, t) {
+function Vbe(e, t) {
let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {
let r = e[t];
return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];
})), [r, i] = (0, P.useState)(() => {
- let r = qJ(e);
+ let r = GJ(e);
for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];
return n(r);
});
@@ -57262,7 +57318,7 @@ function Ibe(e, t) {
...r,
...Object.fromEntries(t)
});
- i(a), JJ(e, a);
+ i(a), KJ(e, a);
},
reset: () => {
i(n({}));
@@ -57272,26 +57328,26 @@ function Ibe(e, t) {
}
};
}
-function Lbe(e, t, n, r = {}) {
+function Hbe(e, t, n, r = {}) {
let i = (e) => ({
...r,
...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))
- }), [a, o] = (0, P.useState)(() => i(qJ(e)));
+ }), [a, o] = (0, P.useState)(() => i(GJ(e)));
return {
visibility: a,
change: (t) => {
let n = i(typeof t == "function" ? t(a) : t);
- o(n), JJ(e, n);
+ o(n), KJ(e, n);
}
};
}
-function YJ(e, t, n) {
+function qJ(e, t, n) {
let r = (0, P.useMemo)(() => Object.fromEntries(t.map((e) => [e.id, {
width: e.width ?? 180,
min: e.min ?? 96,
max: e.max ?? (e.flex ? 2e3 : 800),
flex: e.flex
- }])), [t]), i = Ibe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Lbe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");
+ }])), [t]), i = Vbe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Hbe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");
return {
...i,
...a,
@@ -57310,15 +57366,15 @@ function YJ(e, t, n) {
};
}
// src/react/catalog-grid/catalog-column-widths.ts
-function Rbe() {
- return YJ("catalog", IJ, {
- widths: PJ,
- visibility: FJ
+function Ube() {
+ return qJ("catalog", PJ, {
+ widths: MJ,
+ visibility: NJ
});
}
// src/react/components/rating-stars.tsx
-var XJ = Yz("star");
-function ZJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
+var JJ = Yz("star");
+function YJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
let i = Math.max(0, Math.min(5, e)), a = Math.round(i);
return /* @__PURE__ */ (0, F.jsx)("span", {
"data-rating-stars": "",
@@ -57341,25 +57397,25 @@ function ZJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
onClick: () => {
n || t(e);
},
- children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(XJ, {})
+ children: n === e ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: zs("正在保存评分") } }) : /* @__PURE__ */ (0, F.jsx)(JJ, {})
}, e) : /* @__PURE__ */ (0, F.jsx)("span", {
"data-rate": e,
"data-on": String(i >= e),
children: /* @__PURE__ */ (0, F.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, F.jsx)(XJ, {}), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(JJ, {}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-rating-fill": "",
style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },
- children: /* @__PURE__ */ (0, F.jsx)(XJ, {})
+ children: /* @__PURE__ */ (0, F.jsx)(JJ, {})
})]
})
}, e))
});
}
// src/react/catalog-grid/catalog-table-controls.tsx
-function zbe({ item: e, actions: t }) {
- let { rating: n } = e, r = zH(), i = (0, P.useRef)(0), a = HM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- zM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
+function Wbe({ item: e, actions: t }) {
+ let { rating: n } = e, r = zH(), i = (0, P.useRef)(0), a = UM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ BM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -57371,7 +57427,7 @@ function zbe({ item: e, actions: t }) {
role: "group",
"aria-label": o,
title: o,
- children: [/* @__PURE__ */ (0, F.jsx)(ZJ, {
+ children: [/* @__PURE__ */ (0, F.jsx)(YJ, {
value: a,
onRate: c,
busyStar: r.busy ? Number(r.busy) : void 0
@@ -57388,7 +57444,7 @@ function zbe({ item: e, actions: t }) {
}) : null]
});
}
-function QJ(e) {
+function XJ(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -57403,11 +57459,11 @@ function QJ(e) {
});
}
// src/react/components/selection-actions.tsx
-function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
+function ZJ({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
- className: IF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),
+ className: lF("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",
@@ -57427,8 +57483,8 @@ function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
});
}
// src/react/components/selection-popover.tsx
-function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
- let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = /* @__PURE__ */ (0, F.jsx)($J, {
+function QJ({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
+ let c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), d = /* @__PURE__ */ (0, F.jsx)(ZJ, {
actions: a,
layout: o,
onNavigate: () => u(!1)
@@ -57461,7 +57517,7 @@ function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
onOpenChange: u,
placement: "bottom end",
offset: 4,
- className: IF(cV, "w-max overscroll-contain"),
+ className: lF(cV, "w-max overscroll-contain"),
children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(HH, {
"aria-label": e,
"data-selection-placement": t ?? "bottom",
@@ -57471,13 +57527,13 @@ function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
})] });
}
// src/react/components/table-column-controls.tsx
-function tY({ preferences: e, label: t = "表格" }) {
+function $J({ preferences: e, label: t = "表格" }) {
let n = e.columns.filter((e) => !e.required);
return /* @__PURE__ */ (0, F.jsxs)("div", {
role: "group",
"aria-label": `${t}列设置`,
className: "flex flex-none gap-2",
- children: [/* @__PURE__ */ (0, F.jsx)(eY, {
+ children: [/* @__PURE__ */ (0, F.jsx)(QJ, {
label: `${t}显示列`,
triggerLabel: "显示列",
actionLayout: "fullWidth",
@@ -57505,20 +57561,20 @@ function tY({ preferences: e, label: t = "表格" }) {
})]
});
}
-function nY({ preferences: e, id: t }) {
+function eY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(Bfe, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(Ufe, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
-function rY(e, t) {
+function tY(e, t) {
let n = (t ? e.getPaginatedRowModel() : e.getFilteredRowModel()).flatRows.filter((e) => e.getCanSelect()), r = n.filter((e) => e.getIsSelected()).length;
return {
all: n.length > 0 && r === n.length,
some: r > 0 && r < n.length
};
}
-function iY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
- let { all: i, some: a } = rY(e, n);
+function nY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
+ let { all: i, some: a } = tY(e, n);
return /* @__PURE__ */ (0, F.jsx)(hV, {
slot: null,
"aria-label": t,
@@ -57526,18 +57582,18 @@ function iY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
isSelected: i,
isIndeterminate: a,
onChange: () => {
- let t = !rY(e, n).all;
+ let t = !tY(e, n).all;
n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);
}
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var Bbe = Nq({
- rowSortingFeature: jJ,
- rowSelectionFeature: vJ,
- rowPaginationFeature: Zq,
- columnVisibilityFeature: Vq
-}), Vbe = [
+var Gbe = jq({
+ rowSortingFeature: kJ,
+ rowSelectionFeature: gJ,
+ rowPaginationFeature: Yq,
+ columnVisibilityFeature: zq
+}), Kbe = [
{
id: "name",
label: "名称"
@@ -57574,12 +57630,12 @@ var Bbe = Nq({
id: "played",
label: "观看时间"
}
-], aY = /* @__PURE__ */ new Map();
-function Hbe(e) {
- let t = Rbe(), n = CG(), r = FM(e.filters || {}, !1), [i] = (0, P.useState)(() => {
+], rY = /* @__PURE__ */ new Map();
+function qbe(e) {
+ let t = Ube(), n = CG(), r = IM(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)(() => aY.get(i) || {
+ }), [a, o] = (0, P.useState)(() => rY.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -57587,7 +57643,7 @@ function Hbe(e) {
}
}), { sorting: s, pagination: c } = a;
(0, P.useEffect)(() => {
- aY.set(i, a);
+ rY.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = Pt({
queryKey: [
@@ -57613,9 +57669,9 @@ function Hbe(e) {
let i = new URLSearchParams(r);
return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);
}
- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : LK(f, e.layout.javImage), [h] = (0, P.useState)(zJ);
+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : FK(f, e.layout.javImage), [h] = (0, P.useState)(LJ);
(0, P.useEffect)(() => {
- d.data && !d.isPlaceholderData && Nbe(m.length > 0);
+ d.data && !d.isPlaceholderData && Rbe(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -57647,14 +57703,14 @@ function Hbe(e) {
p,
c.pageIndex
]);
- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = MJ({
- features: Bbe,
+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = AJ({
+ features: Gbe,
columns: (0, P.useMemo)(() => {
- let t = Mq();
+ let t = Aq();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(iY, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, F.jsx)(nY, {
table: e,
label: "全选本页作品",
disabled: d.isPlaceholderData
@@ -57671,7 +57727,7 @@ function Hbe(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Ube, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Jbe, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -57728,7 +57784,7 @@ function Hbe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(zbe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Wbe, {
item: t.original,
actions: e.actions
})
@@ -57749,13 +57805,13 @@ function Hbe(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => QJ(e.original.last_played)
+ cell: ({ row: e }) => XJ(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => QJ(e.original.first_seen)
+ cell: ({ row: e }) => XJ(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -57815,9 +57871,9 @@ function Hbe(e) {
"aria-label": "作品列表工具栏",
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, F.jsx)(tY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(GJ, {
+ children: [/* @__PURE__ */ (0, F.jsx)($J, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(UJ, {
label: "作品列表",
- options: Vbe,
+ options: Kbe,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -57827,7 +57883,7 @@ function Hbe(e) {
"data-completion-skeleton": "",
"aria-hidden": "true",
className: "skeleton-sheen"
- }) : null : /* @__PURE__ */ (0, F.jsx)(RK, {
+ }) : null : /* @__PURE__ */ (0, F.jsx)(IK, {
className: "",
assetIds: m
}),
@@ -57835,13 +57891,13 @@ function Hbe(e) {
message: bn(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, F.jsx)(HJ, {
+ /* @__PURE__ */ (0, F.jsx)(BJ, {
follow: !0,
preferences: t,
onRowClick: e.selectMode ? (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
} : void 0,
- children: /* @__PURE__ */ (0, F.jsxs)(NJ, {
+ children: /* @__PURE__ */ (0, F.jsxs)(jJ, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -57859,12 +57915,12 @@ function Hbe(e) {
...t.columnProps(e.id),
children: ({ sortDirection: n }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [zK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [LK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
children: /* @__PURE__ */ (0, F.jsx)(aV, {})
}) : null]
- }), /* @__PURE__ */ (0, F.jsx)(nY, {
+ }), /* @__PURE__ */ (0, F.jsx)(eY, {
preferences: t,
id: e.id
})] })
@@ -57880,19 +57936,19 @@ function Hbe(e) {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(dz, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: BJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(dz, { "data-table-space": "" })]
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(dz, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: RJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(dz, { "data-table-space": "" })]
}, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(lz, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,
"data-board-selected": e.getIsSelected() || void 0,
- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(dz, { children: zK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(dz, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(dz, { children: LK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(dz, { "data-table-space": "" })]
}, e.id))
})]
})
}),
- d.data ? /* @__PURE__ */ (0, F.jsx)(KJ, {
+ d.data ? /* @__PURE__ */ (0, F.jsx)(WJ, {
label: "作品列表",
total: p,
pagination: c,
@@ -57903,9 +57959,9 @@ function Hbe(e) {
]
});
}
-function Ube({ item: e, props: t, disabled: n }) {
+function Jbe({ item: e, props: t, disabled: n }) {
let r = wo(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";
- sI();
+ oI();
let { avatar: l, who: u } = FG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = CG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -57994,20 +58050,20 @@ function Ube({ item: e, props: t, disabled: n }) {
});
}
// src/react/catalog-grid/catalog-grid-page.tsx
-function oY(e) {
- let t = PM();
- if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Gbe, { ...e });
- 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)(Hbe, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Kbe, { ...e }, n);
+function iY(e) {
+ let t = FM();
+ if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Xbe, { ...e });
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${IM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(qbe, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Zbe, { ...e }, n);
}
-function Wbe({ name: e }) {
+function Ybe({ 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 sY({ children: e, selectMode: t }) {
+function aY({ children: e, selectMode: t }) {
let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1);
return (0, P.useLayoutEffect)(() => {
let e = n.current;
@@ -58023,7 +58079,7 @@ function sY({ children: e, selectMode: t }) {
children: e
});
}
-function Gbe(e) {
+function Xbe(e) {
let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(UG, {
item: i,
variant: r,
@@ -58038,13 +58094,13 @@ function Gbe(e) {
return r === "next" ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-media-next-row": "",
children: i
- }) : /* @__PURE__ */ (0, F.jsx)(sY, {
+ }) : /* @__PURE__ */ (0, F.jsx)(aY, {
selectMode: e.selectMode,
children: i
});
}
-function Kbe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Fce(e) : IM(e), [s] = (0, P.useState)(() => e.wall ? Lce(o.queryKey) : void 0), c = s || (i && e.initial ? {
+function Zbe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Pce(e) : LM(e), [s] = (0, P.useState)(() => e.wall ? Ice(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -58065,7 +58121,7 @@ function Kbe(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)(() => zce(l.data?.pages || [], {
+ let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => Rce(l.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -58075,7 +58131,7 @@ function Kbe(e) {
e.mix,
a,
r.javImage
- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || H_e(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && bK(e.item) ? [e.item] : []), v = a ? [] : LK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = tG(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = qbe(e, l.data, d, f, b);
+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || q_e(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && V_e(e.item) ? [e.item] : []), v = a ? [] : FK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = tG(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Qbe(e, l.data, d, f, b);
(0, P.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -58102,7 +58158,7 @@ function Kbe(e) {
let C = (0, P.useCallback)((e, t) => n.open(e, t), [n]), w = (0, P.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, P.useCallback)((e) => n.openShort(e), [n]), E = (0, P.useCallback)(async () => {
let e = await l.fetchNextPage();
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(Ybe, {
+ }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(exe, {
seed: i.seed,
layout: r,
helpers: t,
@@ -58125,10 +58181,10 @@ function Kbe(e) {
"data-grid-reveal": y.fading ? "" : void 0,
children: [
!e.wall && y.layer,
- /* @__PURE__ */ (0, F.jsx)(RK, { assetIds: v }),
+ /* @__PURE__ */ (0, F.jsx)(IK, { assetIds: v }),
(() => {
- if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(Z_e, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}`,
+ if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(nve, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${IM(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
hasMore: !!l.hasNextPage,
@@ -58136,7 +58192,7 @@ function Kbe(e) {
loading: l.isPending || !l.data && l.isFetching,
error: !l.data && !l.isPending ? bn(l.error) : "",
retry: () => void l.refetch(),
- emptyHtml: l.data && !_.length ? eve({
+ emptyHtml: l.data && !_.length ? ave({
libraryEmpty: !!l.data.pages[0]?.libraryEmpty,
matches: m,
hasMore: !!l.hasNextPage,
@@ -58168,12 +58224,12 @@ function Kbe(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: Hce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(sY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Jbe, {
+ children: Vce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(aY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)($be, {
cut: t.strip,
props: e,
onOpen: T
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(cY, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(oY, {
entity: i,
load: E,
enabled: () => e.canLoadMore?.() !== !1
@@ -58182,7 +58238,7 @@ function Kbe(e) {
]
});
}
-function cY({ entity: e, load: t, enabled: n, children: r }) {
+function oY({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(!1), s = (0, P.useRef)(!1), [c, l] = (0, P.useState)({
busy: !1,
error: ""
@@ -58252,7 +58308,7 @@ function cY({ entity: e, load: t, enabled: n, children: r }) {
onRetry: () => void d(!0)
}) : null] });
}
-function qbe(e, t, n, r, i) {
+function Qbe(e, t, n, r, i) {
let [a, o] = (0, P.useState)([]), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(0), u = (0, P.useRef)(0), d = (0, P.useRef)({
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
@@ -58264,7 +58320,7 @@ function qbe(e, t, n, r, i) {
let r = new AbortController();
f.current.push(r);
let i = n - 1;
- B(`/api/items?${Vce(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ B(`/api/items?${Bce(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
t.length ? c({
page: i,
@@ -58276,9 +58332,9 @@ function qbe(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 = Bce(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 = zce(n.length - t, m, p);
if (!h.length) return;
- let g = LM(s.items, d.current, e.groupCollapse !== !1);
+ let g = RM(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, {
@@ -58288,7 +58344,7 @@ function qbe(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Jbe({ cut: e, props: t, onOpen: n }) {
+function $be({ cut: e, props: t, onOpen: n }) {
let r = (0, P.useRef)(null), { wireDrag: i } = t;
return (0, P.useEffect)(() => {
r.current && i(r.current);
@@ -58304,7 +58360,7 @@ function Jbe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, F.jsx)(Wbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, F.jsx)(Ybe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, F.jsx)("div", {
ref: r,
@@ -58324,16 +58380,16 @@ function Jbe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function lY(e, t, n) {
+function sY(e, t, n) {
return To(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function Ybe({ seed: e, layout: t, helpers: n, actions: r }) {
+function exe({ 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 = jo(e, n.tagLabel), s = (0, P.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => RM(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), lY(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = lY(e, t, !1);
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => zM(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), sY(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = sY(e, t, !1);
return /* @__PURE__ */ (0, F.jsx)($G, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
@@ -58344,7 +58400,7 @@ function Ybe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : lY(e, {
+ artworkIdentity: c === "small" ? l.html : sY(e, {
...t,
size: "small"
}, !1).html,
@@ -58360,37 +58416,37 @@ function Ybe({ seed: e, layout: t, helpers: n, actions: r }) {
});
}
// src/react/media-sources.ts
-async function uY(e) {
+async function cY(e) {
await H.fetchQuery({
queryKey: vr,
queryFn: () => yr(e)
});
}
-var Xbe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Zbe = "/api/duplicates?limit=120", dY = ["duplicates"], fY = "/api/batch", pY = (e) => B(Zbe, e), Qbe = /[\s\-_.()[\]【】/\\]/;
-function $be(e) {
+var txe = (e) => (e?.sources ?? []).filter((e) => _n.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), nxe = "/api/duplicates?limit=120", lY = ["duplicates"], uY = "/api/batch", dY = (e) => B(nxe, e), rxe = /[\s\-_.()[\]【】/\\]/;
+function ixe(e) {
if (e.length < 2) return "";
let t = 0, n = e[0];
for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;
e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));
let r = t;
- for (; r > 0 && !Qbe.test(n[r - 1]);) --r;
+ for (; r > 0 && !rxe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var exe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function txe(e) {
+var axe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function oxe(e) {
await Promise.all([H.fetchQuery({
- queryKey: dY,
- queryFn: () => pY(e)
- }), uY(e)]);
+ queryKey: lY,
+ queryFn: () => dY(e)
+ }), cY(e)]);
}
-var nxe = {
+var sxe = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, rxe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), mY = (e, t) => rxe(e, t).filter((t) => e.some((e) => e.location !== t)), ixe = (e, t) => t.filter((t) => e.some((e) => mY(e.files, [t]).length));
-function axe(e, t) {
+}, cxe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), fY = (e, t) => cxe(e, t).filter((t) => e.some((e) => e.location !== t)), lxe = (e, t) => t.filter((t) => e.some((e) => fY(e.files, [t]).length));
+function uxe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -58409,19 +58465,19 @@ function axe(e, t) {
}
return n;
}
-function oxe(e, t) {
+function dxe(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function sxe(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(fY, {
+async function fxe(e, t) {
+ for (let n = 0; n < e.length; n += 200) await V(uY, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
});
}
// src/react/media-repair/media-repair.ts
-var hY = "/api/media-repair", gY = ["media-repair"], _Y = ["media-repair", "libraries"], cxe = {
+var pY = "/api/media-repair", mY = ["media-repair"], hY = ["media-repair", "libraries"], pxe = {
status: "idle",
library: "",
stage: "",
@@ -58433,39 +58489,39 @@ var hY = "/api/media-repair", gY = ["media-repair"], _Y = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, vY = (e) => B(hY, e), yY = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function lxe(e) {
+}, gY = (e) => B(pY, e), _Y = async (e) => (await B("/api/libraries", e)).libraries || [];
+async function mxe(e) {
await Promise.all([H.fetchQuery({
- queryKey: gY,
- queryFn: () => vY(e)
+ queryKey: mY,
+ queryFn: () => gY(e)
}), H.fetchQuery({
- queryKey: _Y,
- queryFn: () => yY(e)
+ queryKey: hY,
+ queryFn: () => _Y(e)
})]);
}
-var bY = (e) => Number(e).toLocaleString();
-function uxe(e) {
+var vY = (e) => Number(e).toLocaleString();
+function hxe(e) {
if (e.status === "running") {
- let t = e.total ? `${bY(Math.min(e.checked || 0, e.total))} / ${bY(e.total)}` : "准备中";
+ let t = e.total ? `${vY(Math.min(e.checked || 0, e.total))} / ${vY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${bY(e.repaired)} 部,${bY(e.failed)} 部修不了` : `修好 ${bY(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${vY(e.repaired)} 部,${vY(e.failed)} 部修不了` : `修好 ${vY(e.repaired)} 部` : "";
}
-var dxe = (e) => `${bY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, fxe = "/api/quality-goals?limit=200", xY = ["quality-goals"], SY = (e) => B(fxe, e);
-async function pxe(e) {
+var gxe = (e) => `${vY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, _xe = "/api/quality-goals?limit=200", yY = ["quality-goals"], bY = (e) => B(_xe, e);
+async function vxe(e) {
await H.fetchQuery({
- queryKey: xY,
- queryFn: () => SY(e)
+ queryKey: yY,
+ queryFn: () => bY(e)
});
}
-var mxe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;
+var yxe = (e) => e.has_cover ? co(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
-function CY(e, t, n, r, i, a = i || !e.has(r)) {
+function xY(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
// src/react/review/review.ts
-var hxe = "/api/review", gxe = "/api/review/decision", _xe = "/api/review/genre", wY = ["review"], TY = {
+var bxe = "/api/review", xxe = "/api/review/decision", Sxe = "/api/review/genre", SY = ["review"], CY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -58475,40 +58531,40 @@ var hxe = "/api/review", gxe = "/api/review/decision", _xe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, vxe = Object.keys(TY), yxe = "metadata_fields", EY = (e) => typeof e == "string" && Object.hasOwn(TY, e), bxe = {
+}, Cxe = Object.keys(CY), wxe = "metadata_fields", wY = (e) => typeof e == "string" && Object.hasOwn(CY, e), Txe = {
creator_tags: "creator",
western_identity: "creator"
-}, DY = [
+}, TY = [
"pending",
"later",
"ignored"
-], OY = {
+], EY = {
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
-}, xxe = {
+}, Exe = {
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
-}, kY = (e) => e === "later" || e === "ignored" ? e : "pending", AY = (e, t) => t === "pending" ? {
+}, DY = (e) => e === "later" || e === "ignored" ? e : "pending", OY = (e, t) => t === "pending" ? {
sections: e.sections,
counts: e.counts
} : e.queues[t];
-function Sxe(e, t) {
+function Dxe(e, t) {
return {
...e,
- ...t(AY(e, "pending")),
+ ...t(OY(e, "pending")),
queues: {
later: t(e.queues.later),
ignored: t(e.queues.ignored)
}
};
}
-function Cxe(e, t) {
+function Oxe(e, t) {
let n = [["candidates", t ? "按来源数量" : "不分组"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function jY(e, t) {
+function kY(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -58525,10 +58581,10 @@ function jY(e, t) {
}
return [...n.values()];
}
-function wxe(e, t, n) {
- return n && jY(e, t).find((e) => e.key === n)?.rows || e;
+function kxe(e, t, n) {
+ return n && kY(e, t).find((e) => e.key === n)?.rows || e;
}
-function Txe(e, t) {
+function Axe(e, t) {
let n = hr(e.length, 20), r = gr(t, n);
return {
page: r,
@@ -58536,32 +58592,32 @@ function Txe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Exe(e) {
+function jxe(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function Dxe(e, t, n, r, i, a) {
- return CY(e, t, n, r, i, a);
+function Mxe(e, t, n, r, i, a) {
+ return xY(e, t, n, r, i, a);
}
-function Oxe(e, t) {
+function Nxe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function MY(e, t) {
+function AY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var NY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function kxe(e, t) {
- let n = MY(e, t), r = NY(e, t);
+var jY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Pxe(e, t) {
+ let n = AY(e, t), r = jY(e, t);
return r ? `${n} · ${r}` : n;
}
-var Axe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", jxe = (e) => String(e.tags || "").split("|").filter(Boolean), Mxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function Nxe(e) {
+var Fxe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Ixe = (e) => String(e.tags || "").split("|").filter(Boolean), Lxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Rxe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Pxe(e, t, n, r) {
+function zxe(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -58577,22 +58633,22 @@ function Pxe(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var Fxe = (e) => ({
+var Bxe = (e) => ({
approved: "已通过资料",
rejected: "已忽略资料",
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
-async function PY(e) {
- let t = await B(hxe, e);
- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${OY[e]}状态未取得,请刷新或更新写入端`);
+async function MY(e) {
+ let t = await B(bxe, e);
+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${EY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
-async function Ixe(e) {
- let t = await V(gxe, e);
+async function Vxe(e) {
+ let t = await V(xxe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- H.setQueryData(wY, (t) => t && Sxe(t, (t) => ({
+ H.setQueryData(SY, (t) => t && Dxe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -58608,33 +58664,33 @@ async function Ixe(e) {
}
return t;
}
-function Lxe(e, t) {
- let n = H.getQueryData(wY);
- return n && DY.flatMap((t) => AY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
+function Hxe(e, t) {
+ let n = H.getQueryData(SY);
+ return n && TY.flatMap((t) => OY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
-var Rxe = (e, t) => V(_xe, {
+var Uxe = (e, t) => V(Sxe, {
genre: e,
tag: t
});
-async function zxe(e) {
+async function Wxe(e) {
await H.fetchQuery({
- queryKey: wY,
- queryFn: () => PY(e)
+ queryKey: SY,
+ queryFn: () => MY(e)
});
}
-function Bxe(e, t, n) {
+function Gxe(e, t, n) {
let r = new Set(t);
- r.size && H.setQueryData(wY, (t) => {
+ r.size && H.setQueryData(SY, (t) => {
if (!t) return t;
- let i = DY.flatMap((n) => AY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
+ let i = TY.flatMap((n) => OY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
if (!i.length) return t;
let a = {
skipped: "later",
rejected: "ignored",
restore: "pending",
approved: null
- }[n], o = Object.fromEntries(DY.map((o) => {
- let s = AY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
+ }[n], o = Object.fromEntries(TY.map((o) => {
+ let s = OY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
...e,
decision: n === "restore" ? "pending" : n,
decision_note: ""
@@ -58661,252 +58717,272 @@ function Bxe(e, t, n) {
};
});
}
-var Vxe = () => H.invalidateQueries({
- queryKey: wY,
+var Kxe = () => H.invalidateQueries({
+ queryKey: SY,
exact: !0
});
-function Hxe(e, t) {
+function qxe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Sr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var Uxe = "/api/links", FY = "/api/links/check", IY = "/api/links/prune", LY = ["links"], RY = ["links", "check"], zY = ["links", "prune"], Wxe = {
+var Jxe = "/api/links", NY = "/api/links/check", PY = "/api/links/prune", FY = ["links"], IY = ["links", "check"], LY = ["links", "prune"], Yxe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function BY(e) {
+async function RY(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var VY = (e) => B(Uxe, e), HY = (e) => V(FY, { status_only: !0 }, "POST", e), Gxe = ({ retry: e, checkId: t }) => BY(V(FY, e ? {
+var zY = (e) => B(Jxe, e), BY = (e) => V(NY, { status_only: !0 }, "POST", e), Xxe = ({ retry: e, checkId: t }) => RY(V(NY, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), UY = (e) => B(IY, e), Kxe = ({ checkId: e, ids: t }) => BY(V(IY, {
+} : { restart: !0 })), VY = (e) => B(PY, e), Zxe = ({ checkId: e, ids: t }) => RY(V(PY, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), WY = (e) => Number(e || 0).toLocaleString(), qxe = (e) => `已删除 ${WY(e.removed)} 条;${e.marked ? `已隐退女优的 ${WY(e.marked)} 条留作不可点的记录;` : ""}保留 ${WY(e.recovered)} 条未确认失效的链接。`;
-function Jxe(e) {
+})), HY = (e) => Number(e || 0).toLocaleString(), Qxe = (e) => `已删除 ${HY(e.removed)} 条;${e.marked ? `已隐退女优的 ${HY(e.marked)} 条留作不可点的记录;` : ""}保留 ${HY(e.recovered)} 条未确认失效的链接。`;
+function $xe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${WY(e.checked)} / ${WY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${HY(e.checked)} / ${HY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var GY = "/api/configuration", KY = "/api/pick-folder", qY = "/api/settings", JY = "/api/follow/schedule", YY = "/api/feeds/schedule", XY = "/api/thumbnail-jobs", ZY = ["settings"], QY = ["follow-schedule"], $Y = ["feed-schedule"], eX = ["thumbnail-jobs"], tX = "/api/media-processing", Yxe = ["media-processing"], Xxe = (e) => B(tX, e), nX = (e) => B(qY, e), Zxe = (e) => B(JY, e), Qxe = (e) => B(YY, e), $xe = (e) => B(XY, e);
-function eSe(e = H) {
+var UY = "/api/configuration", WY = "/api/pick-folder", GY = "/api/settings", KY = "/api/follow/schedule", qY = "/api/feeds/schedule", JY = "/api/thumbnail-jobs", YY = ["settings"], XY = ["follow-schedule"], ZY = ["feed-schedule"], QY = ["thumbnail-jobs"], $Y = "/api/media-processing", eSe = ["media-processing"], tSe = (e) => B($Y, e), eX = (e) => B(GY, e), nSe = (e) => B(KY, e), rSe = (e) => B(qY, e), iSe = (e) => B(JY, e);
+function aSe(e = H) {
return e.fetchQuery({
- queryKey: ZY,
- queryFn: ({ signal: e }) => nX(e),
+ queryKey: YY,
+ queryFn: ({ signal: e }) => eX(e),
staleTime: 0
}).catch(() => null);
}
-function rX() {
+function tX() {
return Ft({
- mutationFn: (e) => V(qY, e),
- onSuccess: (e) => H.setQueryData(ZY, e)
+ mutationFn: (e) => V(GY, e),
+ onSuccess: (e) => H.setQueryData(YY, e)
});
}
-function tSe() {
+function oSe() {
return Ft({
- mutationFn: (e) => V(JY, {
+ mutationFn: (e) => V(KY, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData(QY, e)
+ onSuccess: (e) => H.setQueryData(XY, e)
});
}
-var nSe = {
+var sSe = {
follow: {
- url: `${JY}/run`,
- key: QY
+ url: `${KY}/run`,
+ key: XY
},
feed: {
- url: `${YY}/run`,
- key: $Y
+ url: `${qY}/run`,
+ key: ZY
}
};
-function rSe(e) {
- let { url: t, key: n } = nSe[e];
+function cSe(e) {
+ let { url: t, key: n } = sSe[e];
return Ft({
mutationFn: () => V(t, {}),
onSuccess: (e) => H.setQueryData(n, e)
});
}
-var iSe = (e) => e?.running ? 3e3 : !1;
-function aSe() {
+var lSe = (e) => e?.running ? 3e3 : !1;
+function uSe() {
return Ft({
- mutationFn: (e) => V(XY, { mode: e }),
- onSuccess: (e) => H.setQueryData(eX, e)
+ mutationFn: (e) => V(JY, { mode: e }),
+ onSuccess: (e) => H.setQueryData(QY, e)
});
}
// src/react/data-cleanup/organize.ts
-var oSe = "/api/organize", sSe = "/api/organize/preview", cSe = "/api/organize/apply", lSe = "/api/organize/rollback", iX = ["organize"], uSe = "/api/organize/example", dSe = (e, t, n) => B(`${uSe}?${new URLSearchParams({
+var dSe = "/api/organize", fSe = "/api/organize/preview", pSe = "/api/organize/apply", mSe = "/api/organize/rollback", nX = ["organize"], hSe = "/api/organize/example", gSe = (e, t, n) => B(`${hSe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), aX = (e) => B(oSe, e);
-async function fSe(e) {
+})}`, n), rX = (e) => B(dSe, e);
+async function _Se(e) {
await H.fetchQuery({
- queryKey: iX,
- queryFn: () => aX(e)
+ queryKey: nX,
+ queryFn: () => rX(e)
});
}
-var pSe = (e) => V(sSe, e), mSe = (e) => V(KY, { initial: e }), hSe = (e) => e.kind === "apply" ? V(cSe, {
+var vSe = (e) => V(fSe, e), ySe = (e) => V(WY, { initial: e }), bSe = (e) => e.kind === "apply" ? V(pSe, {
...e.request,
confirm: !0
-}) : V(lSe, { confirm: !0 });
-async function gSe(e) {
- H.setQueryData(iX, (t) => t && {
+}) : V(mSe, { confirm: !0 });
+async function xSe(e) {
+ H.setQueryData(nX, (t) => t && {
...t,
templates: e
});
try {
- await V(qY, { organizeTemplates: e });
+ await V(GY, { organizeTemplates: e });
} catch {}
}
-var _Se = (e, t) => e && {
+var SSe = (e, t) => e && {
...e,
...t
-}, vSe = /目录模板|分隔符|盘符|`\.`/;
-function ySe(e) {
+}, CSe = /目录模板|分隔符|盘符|`\.`/;
+function wSe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var oX = (e) => Number(e || 0).toLocaleString();
-function bSe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${oX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${oX(e.counts.change)} 个文件会改名或移动,${oX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var iX = (e) => Number(e || 0).toLocaleString();
+function TSe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${iX(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${iX(e.counts.change)} 个文件会改名或移动,${iX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function xSe(e) {
+function ESe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${oX(r)} 个文件${n ? `,${oX(n)} 行未能退回` : ""}。` : `已整理 ${oX(r)} 个文件${n ? `,${oX(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${iX(r)} 个文件${n ? `,${iX(n)} 行未能退回` : ""}。` : `已整理 ${iX(r)} 个文件${n ? `,${iX(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
// src/react/data-cleanup/orphan-records.ts
-var SSe = "/api/orphan-records", CSe = "/api/orphan-records/attach", sX = ["orphan-records"], wSe = [
+var DSe = "/api/orphan-records", OSe = "/api/orphan-records/attach", aX = ["orphan-records"], kSe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], cX = (e) => B(SSe, e), TSe = (e, t) => V(CSe, {
+], oX = (e) => B(DSe, e), ASe = (e, t) => V(OSe, {
id: e,
target: t
-}), ESe = (e) => V(fY, {
+}), jSe = (e) => V(uY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), DSe = (e) => [
+}), MSe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], OSe = (e) => [...wSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...DSe(e)].filter(Boolean).join(" · "), kSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", ASe = (e) => [e.name, kSe(e.duration)].filter(Boolean).join(" · "), lX = "/api/resource-sync/scan", uX = "/api/resource-sync/apply", dX = ["resource-sync", "scan"], fX = ["resource-sync", "apply"], pX = (e) => V(lX, {
+], NSe = (e) => [...kSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...MSe(e)].filter(Boolean).join(" · "), PSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", FSe = (e) => [e.name, PSe(e.duration)].filter(Boolean).join(" · "), sX = "/api/resource-sync/scan", cX = "/api/resource-sync/apply", lX = ["resource-sync", "scan"], uX = ["resource-sync", "apply"], dX = (e) => V(sX, {
background: !0,
status_only: !0
-}, "POST", e), jSe = () => V(lX, {
+}, "POST", e), ISe = () => V(sX, {
background: !0,
restart: !0
-}), mX = (e) => B(uX, e), MSe = (e) => V(uX, {
+}), fX = (e) => B(cX, e), LSe = (e) => V(cX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), hX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function NSe(e) {
- hX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({
- queryKey: dX,
- queryFn: () => pX(e)
+}), pX = (e) => (e?.sources ?? []).some((e) => gn.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function RSe(e) {
+ pX(H.getQueryData(vr)) && await Promise.all([H.fetchQuery({
+ queryKey: lX,
+ queryFn: () => dX(e)
}), H.fetchQuery({
- queryKey: fX,
- queryFn: () => mX(e)
+ queryKey: uX,
+ queryFn: () => fX(e)
})]);
}
-var PSe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), gX = (e) => Number(e || 0).toLocaleString(), FSe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", _X = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), vX = (e) => e.vanish ? `${gX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", yX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", ISe = (e) => `将永久删除文件已不在盘上的 ${gX(_X(e))} 条记录和 ${gX(e.empty)} 个空文件夹,并清理 ${gX(e.cache?.files)} 个闲置缓存。${yX(e)}${vX(e)}`, LSe = (e) => `将永久删除文件已不在盘上的 ${gX(_X(e))} 条记录(含回收站里的)、${gX(e.empty)} 个空文件夹,并清理 ${gX(e.cache?.files)} 个闲置缓存。来源根目录保留。${yX(e)}${vX(e)}`, RSe = (e) => e.online ? [
- `找不到文件 · 共 ${gX(e.total)} 项`,
- e.vanish ? `${gX(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${gX(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${gX(e.total)} 项`;
-function bX(e) {
+var zSe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), mX = (e) => Number(e || 0).toLocaleString(), BSe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", hX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), gX = (e) => e.vanish ? `${mX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", _X = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", VSe = (e) => `将永久删除文件已不在盘上的 ${mX(hX(e))} 条记录和 ${mX(e.empty)} 个空文件夹,并清理 ${mX(e.cache?.files)} 个闲置缓存。${_X(e)}${gX(e)}`, HSe = (e) => `将永久删除文件已不在盘上的 ${mX(hX(e))} 条记录(含回收站里的)、${mX(e.empty)} 个空文件夹,并清理 ${mX(e.cache?.files)} 个闲置缓存。来源根目录保留。${_X(e)}${gX(e)}`, USe = (e) => e.online ? [
+ `找不到文件 · 共 ${mX(e.total)} 项`,
+ e.vanish ? `${mX(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${mX(e.empty)} 个` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${mX(e.total)} 项`;
+function vX(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${gX(t.length)} 条记录没有删除(${o})` : "",
- n ? `${gX(n)} 个文件夹没有删除` : "",
- r.length ? `${gX(r.length)} 个缓存没有清理` : ""
+ t.length ? `${mX(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${mX(n)} 个文件夹没有删除` : "",
+ r.length ? `${mX(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var zSe = (e, t) => {
- let { rest: n } = bX(e), r = `已永久删除 ${gX(e.purged)} 条失效记录和 ${gX(e.dirs_removed)} 个空文件夹,清理 ${gX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${gX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${gX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var WSe = (e, t) => {
+ let { rest: n } = vX(e), r = `已永久删除 ${mX(e.purged)} 条失效记录和 ${mX(e.dirs_removed)} 个空文件夹,清理 ${mX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${mX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${mX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, BSe = "/api/review?counts=1", xX = ["review", "counts"], VSe = "/api/ads?limit=1", SX = ["junk-summary"], CX = "/api/items?state=trash&limit=1", wX = ["trash-summary"], HSe = [
+}, yX = ["performer-delete-candidates"], bX = (e) => B("/api/performer/delete-candidates", e), GSe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), KSe = (e) => V("/api/performer/delete", {
+ entity_ids: e.entity_ids,
+ plan: e.plan
+}), qSe = "/api/review?counts=1", xX = ["review", "counts"], JSe = "/api/ads?limit=1", SX = ["junk-summary"], CX = "/api/items?state=trash&limit=1", wX = ["trash-summary"], YSe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], TX = (e) => B(BSe, e), EX = (e) => B(VSe, e), DX = (e) => {
+], TX = (e) => B(qSe, e), EX = (e) => B(JSe, e), DX = (e) => {
let t = sessionStorage.getItem("peach.library");
return B(t ? `${CX}&library=${encodeURIComponent(t)}` : CX, e);
}, OX = (e) => Number(e || 0).toLocaleString();
-function USe(e) {
- let t = TY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+function XSe(e) {
+ let t = CY, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function WSe(e) {
+function ZSe(e) {
if (!e) return "";
- let t = HSe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${OX(e.counts[t])}`);
+ let t = YSe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${OX(e.counts[t])}`);
return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${OX(e.dismissed_total)}`), t.join(" · ");
}
-var GSe = [
+var QSe = [
[xX, ({ signal: e }) => TX(e)],
- [xY, ({ signal: e }) => SY(e)],
+ [yY, ({ signal: e }) => bY(e)],
[wX, ({ signal: e }) => DX(e)],
- [LY, ({ signal: e }) => VY(e)],
- [RY, ({ signal: e }) => HY(e)],
- [zY, ({ signal: e }) => UY(e)],
- [sX, ({ signal: e }) => cX(e)]
+ [SX, ({ signal: e }) => EX(e)],
+ [lY, ({ signal: e }) => dY(e)]
];
-async function KSe(e) {
- let t = !!location.hash, n = GSe.map(([n, r]) => {
- if (t) return H.fetchQuery({
- queryKey: n,
- queryFn: () => r({ signal: e })
- }).catch(() => void 0);
- H.getQueryState(n) && H.prefetchQuery({
- queryKey: n,
- queryFn: r
- });
+async function $Se(e) {
+ for (let [t, n] of QSe) H.prefetchQuery({
+ queryKey: t,
+ queryFn: () => n({ signal: e })
});
- await Promise.all([
- ...n,
- H.fetchQuery({
- queryKey: SX,
- queryFn: () => EX(e)
- }),
- H.fetchQuery({
- queryKey: dY,
- queryFn: () => pY(e)
- }),
- uY(e).then(() => NSe(e)),
- jH(e),
- lxe(e),
- fSe(e)
- ]);
+ await jH(e);
+}
+async function eCe(e, t) {
+ switch (e) {
+ case "organize":
+ await _Se(t);
+ break;
+ case "media-repair":
+ await mxe(t);
+ break;
+ case "resource-sync":
+ await cY(t), await RSe(t);
+ break;
+ case "orphan-records":
+ await H.prefetchQuery({
+ queryKey: aX,
+ queryFn: () => oX(t)
+ });
+ break;
+ case "batch-delete":
+ await H.prefetchQuery({
+ queryKey: yX,
+ queryFn: () => bX(t)
+ });
+ break;
+ case "links": await Promise.all([
+ H.prefetchQuery({
+ queryKey: FY,
+ queryFn: () => zY(t)
+ }),
+ H.prefetchQuery({
+ queryKey: IY,
+ queryFn: () => BY(t)
+ }),
+ H.prefetchQuery({
+ queryKey: LY,
+ queryFn: () => VY(t)
+ })
+ ]);
+ }
}
// src/react/feed-new/feed-new.ts
-var kX = (e) => ["feed-new", e ?? "home"], qSe = 8, JSe = 1500;
-function YSe(e, t, n) {
+var kX = (e) => ["feed-new", e ?? "home"], tCe = 8, nCe = 1500;
+function rCe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -58917,11 +58993,11 @@ function YSe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function XSe(e, t, n) {
- let r = new URLSearchParams({ limit: String(OA().value.feedLimit) });
+async function iCe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(xA().value.feedLimit) });
e && r.set("entity", String(e));
let i = await wn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await YSe(s, qSe, JSe), {
+ return n && o.length && await rCe(s, tCe, nCe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
@@ -58929,7 +59005,7 @@ async function XSe(e, t, n) {
}
var AX = (e, t, n = !1) => ({
queryKey: kX(e),
- queryFn: () => XSe(e, t, n),
+ queryFn: () => iCe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
}), jX = (e, t) => wn("/api/feeds/discovery", {
@@ -58939,7 +59015,7 @@ var AX = (e, t, n = !1) => ({
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function ZSe(e) {
+async function aCe(e) {
H.removeQueries({ queryKey: kX(null) }), await H.fetchQuery(AX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
// src/react/entity-page/entity-page.ts
@@ -58964,7 +59040,7 @@ var MX = [
"entity",
e,
t
-], QSe = (e, t, n, r) => [
+], oCe = (e, t, n, r) => [
"entity-items",
e,
t,
@@ -58976,7 +59052,7 @@ var MX = [
t,
n,
r
-], IX = (e) => String(e || "").split(",").filter(Boolean), $Se = (e, t) => IX(e).includes(t);
+], IX = (e) => String(e || "").split(",").filter(Boolean), sCe = (e, t) => IX(e).includes(t);
function LX(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...IX(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
@@ -58993,7 +59069,7 @@ var zX = (e) => {
seed: e.seed
}, n = LX(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: QSe(e.kind, e.name, n, e.revision),
+ queryKey: oCe(e.kind, e.name, n, e.revision),
queryFn: ({ signal: n }) => RX(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
@@ -59002,7 +59078,7 @@ var zX = (e) => {
queryFn: ({ signal: n }) => wn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function eCe(e, t, n, r, i, a) {
+function cCe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -59014,7 +59090,7 @@ function eCe(e, t, n, r, i, a) {
var VX = (e, t, n, r) => ({
queryKey: FX(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await wn(eCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await wn(cCe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -59028,7 +59104,7 @@ var VX = (e, t, n, r) => ({
} : void 0,
staleTime: Infinity
}), HX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function tCe(e) {
+async function lCe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -59055,7 +59131,7 @@ var UX = [
["blogger", "网黄博主"],
["animation", "动画作者"]
], WX = "mb-4 flex flex-wrap gap-2";
-function nCe(e) {
+function uCe(e) {
let t = UX.some(([t]) => t === e) ? e : "all";
return `<div class="peach-react"><div aria-label="身份分类" class="${WX}">${UX.map(([e, n]) => Ds({
variant: e === t ? "primary" : "secondary",
@@ -59065,39 +59141,39 @@ function nCe(e) {
})).join("")}</div></div>`;
}
// src/react/follow/online-vocab.ts
-var rCe = "/api/follow/authors", iCe = "/api/follow/tags", aCe = (e) => [
+var dCe = "/api/follow/authors", fCe = "/api/follow/tags", pCe = (e) => [
"follow",
"authors",
e
-], oCe = (e, t) => [
+], mCe = (e, t) => [
"follow",
"tags",
e,
t
];
-function sCe(e, t, n) {
+function hCe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${rCe}?${r}`;
+ return e && r.set("q", e), `${dCe}?${r}`;
}
-function cCe(e, t, n, r) {
+function gCe(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${iCe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${fCe}?${i}`;
}
-var lCe = (e, t, n, r) => B(sCe(e, t, n), r), uCe = (e, t, n, r, i) => B(cCe(e, t, n, r), i), dCe = "/api/index", GX = {
+var _Ce = (e, t, n, r) => B(hCe(e, t, n), r), vCe = (e, t, n, r, i) => B(gCe(e, t, n, r), i), yCe = "/api/index", GX = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, fCe = {
+}, bCe = {
performers: "performer",
creators: "creator",
studios: "studio",
@@ -59169,7 +59245,7 @@ function eZ(e, t, n, r, i) {
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${dCe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${yCe}?${a}`;
}
function tZ(e, t = JX.tags) {
let n = e.what === "people" || e.what === "online-authors" ? JX.people : t, r = {
@@ -59189,17 +59265,17 @@ function tZ(e, t = JX.tags) {
};
case "online-authors": return {
...r,
- queryKey: aCe(e.q),
- queryFn: ({ pageParam: t, signal: r }) => lCe(e.q, n, t, r)
+ queryKey: pCe(e.q),
+ queryFn: ({ pageParam: t, signal: r }) => _Ce(e.q, n, t, r)
};
case "online-tags": return {
...r,
- queryKey: oCe(e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => uCe(e.q, e.category, n, t, r)
+ queryKey: mCe(e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => vCe(e.q, e.category, n, t, r)
};
}
}
-async function pCe(e, t) {
+async function xCe(e, t) {
let n = tZ(QX(ZX(e)));
H.removeQueries({
queryKey: n.queryKey,
@@ -59214,20 +59290,20 @@ async function pCe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var mCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], hCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, nZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", gCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, _Ce = {
+var SCe = (e) => e ? e.pages.flatMap((e) => e.items) : [], CCe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, nZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", wCe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, TCe = {
numeric: !0,
sensitivity: "base"
};
function rZ(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", _Ce))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", TCe))) {
let e = $n(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
// src/react/boardui/components/base/badges/chip.tsx
-var iZ = LF({
+var iZ = uF({
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",
@@ -59249,7 +59325,7 @@ var iZ = LF({
function aZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
ref: r,
- className: IF(iZ.base, iZ.variant[e], iZ.color[t], n),
+ className: lF(iZ.base, iZ.variant[e], iZ.color[t], n),
...i
});
}
@@ -59266,7 +59342,7 @@ function oZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var vCe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", yCe = Yz("rss");
+var ECe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", DCe = Yz("rss");
function sZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
@@ -59277,7 +59353,7 @@ function sZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
radius: "plain",
padding: "none",
interactive: !0,
- className: `${vCe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${ECe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -59289,7 +59365,7 @@ function sZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
children: /* @__PURE__ */ (0, F.jsx)(aZ, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, F.jsx)(yCe, {})
+ children: /* @__PURE__ */ (0, F.jsx)(DCe, {})
})
}) : null,
/* @__PURE__ */ (0, F.jsx)("span", {
@@ -59307,7 +59383,7 @@ function sZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
}
function cZ({ kind: e, items: t, layout: n, props: r }) {
let i = XX(e) || e === "series";
- sI();
+ oI();
let a = n === "big";
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-index-grid": "",
@@ -59315,12 +59391,12 @@ function cZ({ kind: e, items: t, layout: n, props: r }) {
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || fCe[e], o = r.personAvatar(t, n, a);
+ let n = t.entity_kind || bCe[e], o = r.personAvatar(t, n, a);
return /* @__PURE__ */ (0, F.jsx)(sZ, {
"data-k": t.k,
"data-kind": n,
name: tn(n, t.k, t.entity_id),
- readout: `${gCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${wCe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
@@ -59334,8 +59410,8 @@ function cZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function bCe({ items: e, layout: t, props: n }) {
- sI();
+function OCe({ items: e, layout: t, props: n }) {
+ oI();
let r = t === "big";
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-index-grid": "",
@@ -59398,7 +59474,7 @@ function fZ(e) {
}
return !1;
}
-function xCe() {
+function kCe() {
let e = document.createElement("div");
e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);
let t = null, n = "", r = null, i, a = (t) => {
@@ -59429,11 +59505,11 @@ function pZ(e) {
e.style.setProperty("--board-range-value", `${i}%`);
}
var mZ = /* @__PURE__ */ new WeakSet();
-function SCe() {
+function ACe() {
if (mZ.has(document)) return;
mZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(pZ), wCe(e), CCe(e);
+ e.querySelectorAll("input[type=range]").forEach(pZ), MCe(e), jCe(e);
};
e(document), new MutationObserver((t) => {
for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && pZ(t), e(t));
@@ -59442,9 +59518,9 @@ function SCe() {
childList: !0
}), document.addEventListener("input", (e) => {
e.target instanceof HTMLInputElement && e.target.type === "range" && pZ(e.target);
- }), xCe();
+ }), kCe();
}
-function CCe(e) {
+function jCe(e) {
let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-tabs")) return;
@@ -59469,7 +59545,7 @@ function CCe(e) {
});
}
var hZ = /* @__PURE__ */ new Map();
-function wCe(e) {
+function MCe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
@@ -59501,7 +59577,7 @@ function wCe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var gZ = "/vendor/swiper/14.3.0/", _Z = null, TCe = () => _Z ??= Promise.all([new Promise((e, t) => {
+var gZ = "/vendor/swiper/14.3.0/", _Z = null, NCe = () => _Z ??= Promise.all([new Promise((e, t) => {
let n = `${gZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
@@ -59520,7 +59596,7 @@ var gZ = "/vendor/swiper/14.3.0/", _Z = null, TCe = () => _Z ??= Promise.all([ne
})]).then(([, e]) => e).catch((e) => {
throw _Z = null, e;
});
-function ECe(e, t, n) {
+function PCe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -59544,8 +59620,8 @@ function ECe(e, t, n) {
var vZ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Yn(t)).replace(" ", "\xA0") : "大小未知";
-}, DCe = (e) => e.asset?.name || e.name || "未命名图片";
-function OCe(e, t) {
+}, FCe = (e) => e.asset?.name || e.name || "未命名图片";
+function ICe(e, t) {
let n = e.asset;
if (n) return [tr[n.location ?? ""] || n.location || "来源未知", vZ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
@@ -59556,31 +59632,31 @@ function OCe(e, t) {
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var yZ = null, bZ = null, kCe = 0;
-function ACe() {
+var yZ = null, bZ = null, LCe = 0;
+function RCe() {
return bZ && yZ?.isConnected || (bZ?.unmount(), yZ = document.createElement("div"), yZ.className = "peach-react", yZ.dataset.photoLightboxHost = "", document.body.append(yZ), bZ = (0, Rt.createRoot)(yZ)), bZ;
}
async function xZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await TCe();
+ r = await NCe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = ACe();
- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(jCe, {
+ let i = RCe();
+ (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(zCe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++kCe)));
+ }, ++LCe)));
}
function SZ() {
bZ && (0, Lt.flushSync)(() => bZ.render(null));
}
-function jCe({ slides: e, index: t, Swiper: n, host: r }) {
+function zCe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, P.useId)(), o = (0, P.useRef)(null), s = (0, P.useRef)(null), 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 = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), [_, v] = (0, P.useState)(t), [y, b] = (0, P.useState)(100), [x, S] = (0, P.useState)({}), [C, w] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, P.useState)(!1), [k, A] = (0, P.useState)({
at: t,
text: ""
@@ -59623,7 +59699,7 @@ function jCe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = ECe(e, a, b);
+ i(t, 0), h.current = PCe(e, a, b);
let m = tl(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -59824,10 +59900,10 @@ function jCe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: DCe(j)
+ children: FCe(j)
}, _), /* @__PURE__ */ (0, F.jsx)("span", {
"data-photo-detail-meta": "",
- children: OCe(j, x[_])
+ children: ICe(j, x[_])
})]
}),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -59865,17 +59941,17 @@ function jCe({ slides: e, index: t, Swiper: n, host: r }) {
});
}
// src/react/entity-body/entity-body-page.tsx
-function MCe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(NCe, {
+function BCe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(VCe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(PCe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(LCe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(HCe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(GCe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
var CZ = JX.people;
-function NCe({ roster: e, props: t }) {
+function VCe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, P.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
@@ -59887,18 +59963,18 @@ function NCe({ roster: e, props: t }) {
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(cY, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, F.jsx)(oY, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function PCe(e) {
+function HCe(e) {
let t = tG(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(oY, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, F.jsx)(iY, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -59918,14 +59994,14 @@ function PCe(e) {
}) : null]
});
}
-var FCe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var UCe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), wZ = (e) => e.sample === !0, TZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, EZ = (e) => wZ(e) ? `/sample-thumb?${TZ(e)}` : `/photo-thumb?id=${e.id}`, ICe = (e) => wZ(e) ? {
+})), wZ = (e) => e.sample === !0, TZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, EZ = (e) => wZ(e) ? `/sample-thumb?${TZ(e)}` : `/photo-thumb?id=${e.id}`, WCe = (e) => wZ(e) ? {
src: `/sample-image?${TZ(e)}`,
thumb: EZ(e),
name: e.name,
@@ -59937,14 +60013,14 @@ var FCe = (e) => Array.from({ length: e.n }, (t, n) => ({
name: e.name || "",
asset: e
};
-function LCe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(FCe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {
+function GCe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(UCe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, P.useCallback)((e) => {
- xZ(e, o.map(ICe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(RCe, {
+ xZ(e, o.map(WCe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(KCe, {
item: e,
index: t,
lost: s.has(t),
@@ -59983,7 +60059,7 @@ function LCe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, F.jsx)(cY, {
+ e.hasMore ? /* @__PURE__ */ (0, F.jsx)(oY, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
@@ -60007,7 +60083,7 @@ function DZ({ label: e, title: t, meta: n }) {
]
});
}
-function RCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function KCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -60026,9 +60102,9 @@ function RCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
});
}
// src/react/background-job.ts
-var zCe = 2e3, BCe = (e) => e, VCe = (e, t) => t;
+var qCe = 2e3, JCe = (e) => e, YCe = (e, t) => t;
function OZ(e) {
- let { queryKey: t, jobOf: n = BCe, withJob: r = VCe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);
+ let { queryKey: t, jobOf: n = JCe, withJob: r = YCe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);
(0, P.useEffect)(() => {
l.current = e;
});
@@ -60037,7 +60113,7 @@ function OZ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? zCe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? qCe : i ?? !1;
}
}), d = Ft({
mutationFn: (e) => l.current.start(e),
@@ -60062,11 +60138,11 @@ function OZ(e) {
}
// src/react/follow-feed/follow-check.ts
var kZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function HCe(e, t) {
+function XCe(e, t) {
return t ? kZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
// src/react/follow-feed/follow-check-button.tsx
-function UCe({ sources: e, report: t }) {
+function ZCe({ sources: e, report: t }) {
let n = kZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = OZ({
queryKey: Rr,
queryFn: ({ signal: e }) => _i(e),
@@ -60093,7 +60169,7 @@ function UCe({ sources: e, report: t }) {
});
}
// src/react/follow-feed/follow-card.tsx
-var WCe = (e) => Number(e) > 0;
+var QCe = (e) => Number(e) > 0;
function AZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, F.jsx)("a", {
...r,
@@ -60108,7 +60184,7 @@ var jZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: nW(e) }
});
-function GCe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function $Ce({ 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);
return (0, P.useEffect)(() => {
c(!1);
@@ -60131,7 +60207,7 @@ function GCe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function KCe(e) {
+function ewe(e) {
let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ha(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) => bW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? _a(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ya({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
@@ -60177,7 +60253,7 @@ function KCe(e) {
}), /* @__PURE__ */ (0, F.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, F.jsx)(GCe, {
+ p ? /* @__PURE__ */ (0, F.jsx)($Ce, {
src: p,
fallback: m,
width: _?.width,
@@ -60218,7 +60294,7 @@ function KCe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- WCe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {
+ QCe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-media-duration": "",
children: qn(u.duration)
}) : null,
@@ -60363,9 +60439,9 @@ function KCe(e) {
]
});
}
-var MZ = (0, P.memo)(KCe);
+var MZ = (0, P.memo)(ewe);
// src/react/components/use-masonry-grid.ts
-function qCe(e, t) {
+function twe(e, t) {
let n = (0, P.useRef)(null);
return (0, P.useLayoutEffect)(() => {
let t = n.current;
@@ -60430,7 +60506,7 @@ function LZ(e, t) {
var RZ = () => /* @__PURE__ */ (0, F.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), JCe = Yz("settings"), zZ = Yz("chevron-down"), YCe = Yz("history"), XCe = Yz("arrow-up"), ZCe = Yz("arrow-down"), QCe = [[
+}), nwe = Yz("settings"), zZ = Yz("chevron-down"), rwe = Yz("history"), iwe = Yz("arrow-up"), awe = Yz("arrow-down"), owe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -60439,7 +60515,7 @@ var RZ = () => /* @__PURE__ */ (0, F.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function $Ce(e, t, n) {
+function swe(e, t, n) {
return (0, P.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
@@ -60487,7 +60563,7 @@ function $Ce(e, t, n) {
n
]);
}
-function ewe(e) {
+function cwe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = na(t, r), o = It(a), s = Pt({
queryKey: ra,
queryFn: ({ signal: e }) => ia(e)
@@ -60495,7 +60571,7 @@ function ewe(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = $Ce(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({
+ }), [c, l]), d = swe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({
tags: ou(d.visible.flatMap(ca).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -60521,7 +60597,7 @@ function ewe(e) {
m,
i
]);
- let h = nwe(e, !!c);
+ let h = uwe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, F.jsxs)("div", {
"data-follow-feed": "",
children: [/* @__PURE__ */ (0, F.jsx)(BZ, {}), /* @__PURE__ */ (0, F.jsx)(nG, {
@@ -60566,20 +60642,20 @@ function ewe(e) {
dangerouslySetInnerHTML: { __html: zs("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, F.jsx)(rwe, {
+ /* @__PURE__ */ (0, F.jsx)(dwe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, F.jsx)(iwe, {
+ /* @__PURE__ */ (0, F.jsx)(fwe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, F.jsx)(awe, {
+ /* @__PURE__ */ (0, F.jsx)(pwe, {
facets: d,
view: t,
total: v,
@@ -60587,7 +60663,7 @@ function ewe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, F.jsx)(owe, {
+ /* @__PURE__ */ (0, F.jsx)(mwe, {
conditions: _,
onDrop: (e) => i.route(Ta(t, e)),
onClear: () => g({
@@ -60599,8 +60675,8 @@ function ewe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, F.jsx)(swe, { count: d.broken.length }) : null,
- /* @__PURE__ */ (0, F.jsx)(cwe, {
+ d.broken.length ? /* @__PURE__ */ (0, F.jsx)(hwe, { count: d.broken.length }) : null,
+ /* @__PURE__ */ (0, F.jsx)(gwe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -60623,14 +60699,14 @@ function ewe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(cY, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, F.jsxs)(oY, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
children: [/* @__PURE__ */ (0, F.jsx)(zZ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(twe, {
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(lwe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? bn(o.error) : "",
load: () => {
@@ -60641,7 +60717,7 @@ function ewe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, F.jsx)(q, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : YCe,
+ leadingIcon: h.olderBusy ? void 0 : rwe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -60669,7 +60745,7 @@ function BZ({ children: e }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, F.jsx)(xI, {
variant: "secondary",
- leadingIcon: JCe,
+ leadingIcon: nwe,
"data-follow-manage": "",
href: VZ(),
children: "管理关注"
@@ -60677,7 +60753,7 @@ function BZ({ children: e }) {
})]
});
}
-function twe({ busy: e, error: t, load: n }) {
+function lwe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
"data-entity-more": "",
@@ -60690,7 +60766,7 @@ function twe({ busy: e, error: t, load: n }) {
onRetry: n
}) : null] });
}
-function nwe(e, t) {
+function uwe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, P.useState)(0), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(!1), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useRef)({
helpers: n,
actions: r
@@ -60752,7 +60828,7 @@ function nwe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function rwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function dwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, P.useRef)(null);
(0, P.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -60789,7 +60865,7 @@ function rwe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function iwe({ rows: e, pressed: t, props: n, onPick: r }) {
+function fwe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -60810,7 +60886,7 @@ function iwe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function awe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+function pwe({ 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 = yI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = yI(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);
@@ -60935,7 +61011,7 @@ function awe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(PW, {
label: "图片布局",
value: i.photoLayout,
- options: QCe,
+ options: owe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
@@ -60966,8 +61042,8 @@ function awe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, F.jsx)(ZU, {
- a: XCe,
- b: ZCe,
+ a: iwe,
+ b: awe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -60978,7 +61054,7 @@ function awe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function owe({ conditions: e, onDrop: t, onClear: n }) {
+function mwe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -61003,19 +61079,19 @@ function owe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function swe({ count: e }) {
+function hwe({ count: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-broken": "",
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(VZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
var VZ = () => LZ(window.location.search);
-function cwe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+function gwe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
let { view: s, helpers: c } = i, l = s.media === "images", u = tG(e, () => c.listSkeletonHtml(s.media));
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": u.fading ? "" : void 0,
- children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(lwe, {
+ children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(_we, {
facets: t,
data: n,
context: r,
@@ -61026,12 +61102,12 @@ function cwe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function lwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
+function _we({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
let { view: s, actions: c } = r, l = UZ(r), u = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, d = qCe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = twe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
return f = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
return /* @__PURE__ */ (0, F.jsx)(MZ, {
@@ -61048,7 +61124,7 @@ function lwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
onStatus: l.status,
onSave: l.save
}, `${u}:${s.media}`);
- }) : /* @__PURE__ */ (0, F.jsx)(uwe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(vwe, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -61074,7 +61150,7 @@ function lwe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
function HZ(e, t) {
return ha(e, t.media).id;
}
-function uwe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function vwe({ data: e, filtered: t, clear: n, checkAction: r }) {
let i = !!e.groups.length || t, a = !!e.sources.length;
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-empty": "",
@@ -61095,7 +61171,7 @@ function uwe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var dwe = {
+var ywe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
@@ -61123,7 +61199,7 @@ function UZ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(dwe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(ywe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(jr, {
item: t,
to: i
@@ -61168,7 +61244,7 @@ function UZ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function fwe(e) {
+function bwe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = tG(a, () => i.listSkeletonHtml(r));
return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(nG, {
message: bn(t.error),
@@ -61181,11 +61257,11 @@ function fwe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, F.jsx)(pwe, {
+ a || !n ? null : /* @__PURE__ */ (0, F.jsx)(xwe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(cY, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, F.jsx)(oY, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -61195,7 +61271,7 @@ function fwe(e) {
]
});
}
-function pwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+function xwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
let u = UZ({
view: e,
revision: 0,
@@ -61227,11 +61303,11 @@ function pwe({ 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)(mwe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Swe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: HCe(n.sources || [], e.author)
+ sources: XCe(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-list": "",
@@ -61240,7 +61316,7 @@ function pwe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function mwe({ searched: e, clear: t, actions: n, sources: r }) {
+function Swe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-empty": "",
className: "contents",
@@ -61251,7 +61327,7 @@ function mwe({ searched: e, clear: t, actions: n, sources: r }) {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, F.jsx)(UCe, {
+ }) : r.length ? /* @__PURE__ */ (0, F.jsx)(ZCe, {
sources: r,
report: n.checkReport
}) : /* @__PURE__ */ (0, F.jsx)(xI, {
@@ -61300,7 +61376,7 @@ function qZ(e, t) {
y1: a + r
});
}
-function hwe(e, t) {
+function Cwe(e, t) {
if (!KZ(e) || !(t > 0)) return WZ(e);
let n = Math.min(e.width, e.height * t);
return GZ({
@@ -61310,7 +61386,7 @@ function hwe(e, t) {
y1: e.height
});
}
-function gwe(e, t, n) {
+function wwe(e, t, n) {
if (!KZ(t) || !(n > 0)) return WZ(t);
let r = JZ(e, t), i = qZ({
width: r.x1 - r.x0,
@@ -61359,7 +61435,7 @@ function XZ(e, t, n, r = null) {
y1: a + s / 2
}, n, r);
}
-function _we(e, t, n, r, i = null) {
+function Twe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
@@ -61368,7 +61444,7 @@ function _we(e, t, n, r, i = null) {
};
return JZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function vwe(e, t) {
+function Ewe(e, t) {
return KZ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
@@ -61381,7 +61457,7 @@ function vwe(e, t) {
height: 0
};
}
-function ywe(e, t) {
+function Dwe(e, t) {
if (!KZ(t)) return {
size: "cover",
position: "50% 50%"
@@ -61392,7 +61468,7 @@ function ywe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function bwe(e, t) {
+function Owe(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}%`,
@@ -61404,11 +61480,11 @@ function bwe(e, t) {
function ZZ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function xwe(e, t) {
+function kwe(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 Swe = .02, QZ = 1.08;
+var Awe = .02, QZ = 1.08;
function $Z({ 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)(() => {
@@ -61446,14 +61522,14 @@ function $Z({ 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(YZ(n.box, o.dx, o.dy, r)) : i(_we(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(YZ(n.box, o.dx, o.dy, r)) : i(Twe(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) * Swe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Awe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
@@ -61461,7 +61537,7 @@ function $Z({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
};
o[e.key] ? (e.preventDefault(), i(YZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(XZ(n, e.key === "-" ? 1 / QZ : QZ, r, t)));
}
- let v = n && r ? vwe(JZ(n, r, t), r) : null, y = v ? xwe(v, d) : !1, b = v ? {
+ let v = n && r ? Ewe(JZ(n, r, t), r) : null, y = v ? kwe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -61541,12 +61617,12 @@ function $Z({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var Cwe = "/api/avatar-choices", eQ = "/api/avatar-pick", wwe = "/api/avatar-code-cover", tQ = "/api/avatar-frame", Twe = "/avatar-choice", nQ = (e, t) => [
+var jwe = "/api/avatar-choices", eQ = "/api/avatar-pick", Mwe = "/api/avatar-code-cover", tQ = "/api/avatar-frame", Nwe = "/avatar-choice", nQ = (e, t) => [
"avatar-choices",
e,
t
-], rQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, iQ = (e, t, n, r = "") => `${Twe}${rQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), aQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Ewe = (e, t, n) => B(Cwe + rQ(e, t), n), Dwe = (e) => V(wwe, { code: e });
-async function Owe(e, t, n) {
+], rQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, iQ = (e, t, n, r = "") => `${Nwe}${rQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), aQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Pwe = (e, t, n) => B(jwe + rQ(e, t), n), Fwe = (e) => V(Mwe, { code: e });
+async function Iwe(e, t, n) {
let r = await V(tQ, {
kind: e,
id: t,
@@ -61560,11 +61636,11 @@ async function Owe(e, t, n) {
bases: r.bases
};
}
-var kwe = (e, t, n) => V(tQ, {
+var Lwe = (e, t, n) => V(tQ, {
kind: e,
id: t,
url: n
-}), Awe = (e, t, n) => oQ(`${tQ}${rQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+}), Rwe = (e, t, n) => oQ(`${tQ}${rQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
async function oQ(e, t) {
let n = await fetch(e, {
method: "POST",
@@ -61576,13 +61652,13 @@ async function oQ(e, t) {
}
function sQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? gwe(e.focus, t, n) : qZ(t, n);
+ return e.focus && r ? wwe(e.focus, t, n) : qZ(t, n);
}
-var jwe = (e) => e.crop && KZ({
+var zwe = (e) => e.crop && KZ({
width: e.width,
height: e.height
});
-async function Mwe(e, t, n) {
+async function Bwe(e, t, n) {
if (!("file" in n)) {
await V(eQ, {
kind: e,
@@ -61600,16 +61676,16 @@ async function Mwe(e, t, n) {
await oQ(`${eQ}${rQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
var cQ = 2;
-function Nwe(e, t) {
+function Vwe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按${`「${n.slice(0, cQ).join("」「")}」`}${n.length > cQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var Pwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Fwe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Pwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Hwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Uwe(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 ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Hwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var lQ = (e) => e.cast > 1, Iwe = (e) => lQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Lwe = {
+var lQ = (e) => e.cast > 1, Wwe = (e) => lQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Gwe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -61619,7 +61695,7 @@ var lQ = (e) => e.cast > 1, Iwe = (e) => lQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function Rwe(e) {
+function Kwe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -61630,19 +61706,19 @@ function Rwe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var zwe = (e) => `${Lwe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (lQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), Bwe = 8, Vwe = 3 / 4;
-async function Hwe(e, t, n) {
+var qwe = (e) => `${Gwe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (lQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), Jwe = 8, Ywe = 3 / 4;
+async function Xwe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await Owe(e, t, n.choice) };
- case "code": return { choice: await Dwe(n.code) };
- case "url": return { choice: await kwe(e, t, n.url) };
+ case "choice": return { choice: await Iwe(e, t, n.choice) };
+ case "code": return { choice: await Fwe(n.code) };
+ case "url": return { choice: await Lwe(e, t, n.url) };
case "file": return {
- choice: await Awe(e, t, n.file),
+ choice: await Rwe(e, t, n.file),
file: n.file
};
}
}
-function Uwe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function Zwe({ 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",
@@ -61652,7 +61728,7 @@ function Uwe({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, F.jsx)(ype, {
+ children: /* @__PURE__ */ (0, F.jsx)(Spe, {
"aria-hidden": !0,
className: "size-4"
})
@@ -61662,7 +61738,7 @@ function Uwe({ kind: e, entityId: t, name: n, onPicked: r }) {
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, F.jsx)(Wwe, {
+ children: /* @__PURE__ */ (0, F.jsx)(Qwe, {
kind: e,
entityId: t,
name: n,
@@ -61671,10 +61747,10 @@ function Uwe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function Wwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+function Qwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
let a = (0, P.useRef)(null), o = gV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = nQ(e, t), m = (0, P.useRef)(!1), h = Pt({
queryKey: p,
- queryFn: ({ signal: n }) => Ewe(e, t, n),
+ queryFn: ({ signal: n }) => Pwe(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
@@ -61683,12 +61759,12 @@ function Wwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
m.current && H.removeQueries({ queryKey: nQ(e, t) });
}, [e, t]);
let g = Ft({
- mutationFn: (n) => Mwe(e, t, n),
+ mutationFn: (n) => Bwe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = Ft({
- mutationFn: (n) => Hwe(e, t, n),
+ mutationFn: (n) => Xwe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -61709,7 +61785,7 @@ function Wwe({ 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 ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : Fwe(x), E = !!C && !!h.error && C === cr(h.error), D = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? cr(g.error) : "") || (!d && _.error ? cr(_.error) : "") || (h.error ? cr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : Uwe(x), E = !!C && !!h.error && C === cr(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: [
@@ -61730,7 +61806,7 @@ function Wwe({ 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 ? Iwe(d.choice) : Nwe(n, x)
+ children: d ? Wwe(d.choice) : Vwe(n, x)
}),
T ? /* @__PURE__ */ (0, F.jsx)(Kz, {
tone: "neutral",
@@ -61751,14 +61827,14 @@ function Wwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)(lI, {
+ /* @__PURE__ */ (0, F.jsx)(cI, {
icon: Cz,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, F.jsx)(Kwe, {
+ }), d ? /* @__PURE__ */ (0, F.jsx)(eTe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -61778,7 +61854,7 @@ function Wwe({ 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: Bwe }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: Jwe }, (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",
@@ -61791,7 +61867,7 @@ function Wwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: zwe(n),
+ title: qwe(n),
...Zz(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
@@ -61801,7 +61877,7 @@ function Wwe({ 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)(Gwe, {
+ /* @__PURE__ */ (0, F.jsx)($we, {
src: iQ(e, t, n.ref, aQ(n, n.ref)),
choice: n
}),
@@ -61904,7 +61980,7 @@ function Wwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Gwe({ src: e, choice: t }) {
+function $we({ 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);
@@ -61912,7 +61988,7 @@ function Gwe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = jwe(t) ? bwe(sQ(t, s, Vwe), s) : null, l = r || a ? !0 : void 0;
+ }, c = zwe(t) ? Owe(sQ(t, s, Ywe), 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",
@@ -61938,12 +62014,12 @@ function Gwe({ src: e, choice: t }) {
})]
});
}
-function Kwe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+function eTe({ 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 = aQ(n, s), m = iQ(e, t, s, p), h = gV();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? ywe(d, l) : null;
+ let _ = d && l ? Dwe(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",
@@ -61968,7 +62044,7 @@ function Kwe({ 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: Rwe(e)
+ children: Kwe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -62100,7 +62176,7 @@ function dQ({ item: e, image: t, thumbnail: n = !1 }) {
}
// src/react/components/source-avatar.tsx
function fQ({ code: e, person: t, detail: n = !1 }) {
- sI();
+ oI();
let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(n || typeof IntersectionObserver > "u");
(0, P.useEffect)(() => {
if (!r.current || i) return;
@@ -62257,7 +62333,7 @@ function vQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function qwe({ following: e, busy: t, onToggle: n, tip: r }) {
+function tTe({ 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 = () => {
gQ(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
@@ -62309,11 +62385,11 @@ function qwe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function Jwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function nTe({ 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", "名字与别名");
- }, []), /* @__PURE__ */ (0, F.jsxs)(Hde, {
+ }, []), /* @__PURE__ */ (0, F.jsxs)(Gde, {
isOpen: i,
onOpenChange: a,
children: [/* @__PURE__ */ (0, F.jsx)(VI, {
@@ -62327,7 +62403,7 @@ function Jwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
containerPadding: 8,
className: cV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, F.jsxs)(Wde, {
+ children: /* @__PURE__ */ (0, F.jsxs)(qde, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
@@ -62346,7 +62422,7 @@ function Jwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.label })]
}, e.value))
}),
- /* @__PURE__ */ (0, F.jsx)(Tde, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, F.jsx)(Ode, { "data-namepick-rule": "" }),
/* @__PURE__ */ (0, F.jsx)(SR, { children: /* @__PURE__ */ (0, F.jsxs)(wR, {
id: "alias",
textValue: "添加别名",
@@ -62359,8 +62435,8 @@ function Jwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
})]
});
}
-var Ywe = (e) => e === "studio" || e === "agency", yQ = (e) => e === "performer" || e === "creator", Xwe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function Zwe(e, t = "zh-CN") {
+var rTe = (e) => e === "studio" || e === "agency", yQ = (e) => e === "performer" || e === "creator", iTe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function aTe(e, t = "zh-CN") {
return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({
value: e,
label: e
@@ -62383,7 +62459,7 @@ function xQ(e, t) {
return r && [e.label, n].map(Hn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
var SQ = (e) => ({ site: Rn(e) });
-function Qwe(e, t) {
+function oTe(e, t) {
let n = bQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
@@ -62425,9 +62501,9 @@ function Qwe(e, t) {
mark: SQ(e)
};
});
- return [...r, ...$we(a)];
+ return [...r, ...sTe(a)];
}
-function $we(e) {
+function sTe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -62436,7 +62512,7 @@ function $we(e) {
}];
}
var CQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function eTe(e) {
+function cTe(e) {
return [
[
"legal_name",
@@ -62492,7 +62568,7 @@ function eTe(e) {
}]
}] : []);
}
-function tTe(e) {
+function lTe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -62556,7 +62632,7 @@ function wQ(e, t = 4) {
rest: e.length - n
};
}
-function nTe(e) {
+function uTe(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 ? {
@@ -62566,7 +62642,7 @@ function nTe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function rTe(e) {
+function dTe(e) {
return ho({
id: e.id,
hasImage: e.has_image,
@@ -62577,9 +62653,9 @@ function rTe(e) {
standIn: e.avatar_stand_in
});
}
-function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- sI();
- let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = yQ(e), u = Ywe(e), d = l ? tTe(n.profile) : u ? eTe(n.company_profile) : [], f = Qwe(n, e), p = CQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, P.useRef)(null), g = (0, P.useRef)(null);
+function fTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ oI();
+ let s = tn(e, n.canonical_name, Number(n.id)), c = nn(e, n.canonical_name, Number(n.id)), l = yQ(e), u = rTe(e), d = l ? lTe(n.profile) : u ? cTe(n.company_profile) : [], f = oTe(n, e), p = CQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, P.useRef)(null), g = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
o.wireScroller(h.current);
}, [o, f.length]), (0, P.useEffect)(() => {
@@ -62592,7 +62668,7 @@ function iTe({ 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)(aTe, {
+ children: [/* @__PURE__ */ (0, F.jsx)(pTe, {
kind: e,
name: s,
helpers: o,
@@ -62600,7 +62676,7 @@ function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: u
}), l && n.id ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, F.jsx)(Uwe, {
+ children: /* @__PURE__ */ (0, F.jsx)(Zwe, {
kind: e,
entityId: Number(n.id),
name: s || t,
@@ -62615,13 +62691,13 @@ function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, F.jsx)("h2", {
- lang: UF(s),
+ lang: gF(s),
title: c || void 0,
children: s
}),
- e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(Jwe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(nTe, {
current: n.canonical_name,
- choices: Zwe(n, Yt()),
+ choices: aTe(n, Yt()),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
@@ -62639,7 +62715,7 @@ function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
className: "text-caption-1-regular text-text-secondary",
children: c
}) : null,
- /* @__PURE__ */ (0, F.jsx)(oTe, {
+ /* @__PURE__ */ (0, F.jsx)(mTe, {
kind: e,
entity: n,
actions: a
@@ -62660,14 +62736,14 @@ function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
f.length ? /* @__PURE__ */ (0, F.jsx)("div", {
ref: h,
"data-entity-links": "",
- children: f.map((e, t) => /* @__PURE__ */ (0, F.jsx)(fTe, { link: e }, t))
+ children: f.map((e, t) => /* @__PURE__ */ (0, F.jsx)(bTe, { link: e }, t))
}) : null,
- p.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(pTe, {
+ p.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(xTe, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(lTe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(_Te, {
follow: n.follow,
displayName: s,
actions: a
@@ -62676,11 +62752,11 @@ function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
d.length ? /* @__PURE__ */ (0, F.jsx)("dl", {
"data-entity-facts": "",
- children: d.map((e) => /* @__PURE__ */ (0, F.jsx)(uTe, {
+ children: d.map((e) => /* @__PURE__ */ (0, F.jsx)(vTe, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, F.jsx)(dTe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, F.jsx)(yTe, { 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))
@@ -62699,7 +62775,7 @@ function iTe({ 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($n(tn("performer", e.k, e.id)))}</span>${rTe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z($n(tn("performer", e.k, e.id)))}</span>${dTe(e)}` }
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-hero-costar-name": "",
children: tn("performer", e.k, e.id)
@@ -62714,7 +62790,7 @@ function iTe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function aTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function pTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let a = (0, P.useRef)(null), [o] = (0, P.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z($n(t))}</span>`);
return (0, P.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-portrait-initial]");
@@ -62728,7 +62804,7 @@ function aTe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function oTe({ kind: e, entity: t, actions: n }) {
+function mTe({ kind: e, entity: t, actions: n }) {
let r = bQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, F.jsx)("a", {
@@ -62738,7 +62814,7 @@ function oTe({ 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 = t.name_display?.groups[Yt()] ?? t.name_groups, r = nTe(e);
+ let e = t.name_display?.groups[Yt()] ?? t.name_groups, r = uTe(e);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-entity-alias": "meta",
children: [
@@ -62748,7 +62824,7 @@ function oTe({ kind: e, entity: t, actions: n }) {
title: "视频",
children: [/* @__PURE__ */ (0, F.jsx)(mQ, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(cTe, {
+ t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(gTe, {
follow: t.follow,
actions: n
}) : null,
@@ -62765,7 +62841,7 @@ function oTe({ kind: e, entity: t, actions: n }) {
"data-alias-names": "",
title: "别名",
children: r.names.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", {
- lang: UF(e),
+ lang: gF(e),
children: e
}, t))
}),
@@ -62818,11 +62894,11 @@ function oTe({ kind: e, entity: t, actions: n }) {
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, F.jsx)(sTe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, F.jsx)(hTe, { aliases: s }) : null
]
});
}
-function sTe({ aliases: e }) {
+function hTe({ aliases: e }) {
let { shown: t, rest: n } = wQ(e, 3);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-meta-item": "names",
@@ -62845,7 +62921,7 @@ function sTe({ aliases: e }) {
]
});
}
-function cTe({ follow: e, actions: t }) {
+function gTe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, F.jsxs)("span", {
"data-meta-item": "",
@@ -62860,7 +62936,7 @@ function cTe({ follow: e, actions: t }) {
})]
});
}
-function lTe({ follow: e, displayName: t, actions: n }) {
+function _Te({ follow: e, displayName: t, actions: n }) {
let [r, i] = (0, P.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -62906,19 +62982,19 @@ function EQ({ label: e, names: t }) {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {
"data-pop-name": "",
- lang: UF(e.name),
+ lang: gF(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, F.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function uTe({ glyph: e, label: t, clip: n, children: r }) {
+function vTe({ 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)(mQ, { 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 dTe({ tags: e }) {
+function yTe({ tags: e }) {
let { shown: t, rest: n } = wQ(e);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-fact-tag": "",
@@ -62951,7 +63027,7 @@ function DQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function fTe({ link: e }) {
+function bTe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, F.jsx)("a", {
"data-link": "icon",
@@ -62999,7 +63075,7 @@ function fTe({ link: e }) {
});
}
}
-function pTe({ entity: e, actions: t, helpers: n }) {
+function xTe({ 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);
@@ -63031,19 +63107,19 @@ function pTe({ entity: e, actions: t, helpers: n }) {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(qwe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(tTe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Xwe(r)
+ tip: iTe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var mTe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function hTe(e, t, n) {
+var STe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function CTe(e, t, n) {
let [r, i] = (0, P.useState)(() => ga(e));
r.author !== e && i(ga(e));
let [a, o] = (0, P.useState)({
@@ -63122,7 +63198,7 @@ function hTe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: $i,
- seed: mTe()
+ seed: STe()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -63152,7 +63228,7 @@ function hTe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function gTe(e) {
+function wTe(e) {
let { kind: t, name: n } = e, r = Pt(BX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
@@ -63176,7 +63252,7 @@ function gTe(e) {
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(yTe, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(DTe, {
...e,
entity: r.data
});
@@ -63193,17 +63269,17 @@ function OQ(e) {
};
return n(r), r.n;
}
-var _Te = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function vTe(e, t) {
+var TTe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function ETe(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function yTe(e) {
+function DTe(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(VX(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 || HX(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
} : NX, [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 = hTe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = CTe(g, w === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
@@ -63421,7 +63497,7 @@ function yTe(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = _Te(), a = await H.fetchInfiniteQuery(VX(t, n, ie, r)).catch(() => null);
+ let r = TTe(), a = await H.fetchInfiniteQuery(VX(t, n, ie, r)).catch(() => null);
he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({
...e,
[ie]: r
@@ -63456,7 +63532,7 @@ function yTe(e) {
k: e.k,
label: Zl(e.k),
n: e.n,
- selected: $Se(i.tag, e.k)
+ selected: sCe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -63498,7 +63574,7 @@ function yTe(e) {
Pe = !A.data;
let e = IX(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()} 张` : vTe(se, HX(se).length) : Pe = oe.isPending;
+ } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : ETe(se, HX(se).length) : Pe = oe.isPending;
let Fe = (0, P.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -63515,7 +63591,7 @@ function yTe(e) {
u
]);
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(iTe, {
+ /* @__PURE__ */ (0, F.jsx)(fTe, {
kind: t,
name: n,
entity: r,
@@ -63542,9 +63618,9 @@ function yTe(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(M_e, {
+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(F_e, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(fwe, {
+ children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(bwe, {
view: T.view,
media: T.media,
result: T.result,
@@ -63563,11 +63639,11 @@ function yTe(e) {
onRetry: () => {
A.refetch();
}
- }) : je ? /* @__PURE__ */ (0, F.jsx)(bTe, {
+ }) : je ? /* @__PURE__ */ (0, F.jsx)(OTe, {
filtered: Ae,
onShowAll: Me,
onOnline: g ? () => Se.setView("online") : void 0
- }) : /* @__PURE__ */ (0, F.jsx)(MCe, {
+ }) : /* @__PURE__ */ (0, F.jsx)(BCe, {
kind: t,
name: n,
view: w,
@@ -63599,7 +63675,7 @@ function yTe(e) {
}), c.body)
] });
}
-function bTe({ filtered: e, onShowAll: t, onOnline: n }) {
+function OTe({ filtered: e, onShowAll: t, onOnline: n }) {
return e ? /* @__PURE__ */ (0, F.jsx)(qz, {
icon: Yz("search"),
title: "没有符合条件的视频",
@@ -63626,7 +63702,7 @@ function bTe({ filtered: e, onShowAll: t, onOnline: n }) {
}
// src/react/diagnostics/diagnostics.ts
var kQ = ["diagnostics"], AQ = (e) => B("/api/diagnostics", e);
-async function xTe(e) {
+async function kTe(e) {
await H.fetchQuery({
queryKey: kQ,
queryFn: () => AQ(e),
@@ -63634,7 +63710,7 @@ async function xTe(e) {
});
}
// src/react/feed-new/feed-new-page.tsx
-function STe({ host: e, revision: t, helpers: n, actions: r }) {
+function ATe({ host: e, revision: t, helpers: n, actions: r }) {
let i = Pt(AX(null, n.feedRowHtml)), a = (0, P.useRef)(t);
return (0, P.useEffect)(() => {
a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: kX(null) }));
@@ -63647,7 +63723,7 @@ function STe({ host: e, revision: t, helpers: n, actions: r }) {
}), e);
}
// src/react/index/index-search.tsx
-var CTe = Yz("search");
+var jTe = Yz("search");
function jQ({ 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)(() => {
@@ -63673,7 +63749,7 @@ function jQ({ label: e, value: t, onQuery: n }) {
},
children: /* @__PURE__ */ (0, F.jsx)(Hz, {
type: "search",
- leadingIcon: CTe,
+ leadingIcon: jTe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -63726,9 +63802,9 @@ function PQ({ value: e }) {
children: e.toLocaleString()
});
}
-var wTe = "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";
+var MTe = "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 FQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, P.useRef)(null), o = fI(a);
+ let a = (0, P.useRef)(null), o = dI(a);
return (0, P.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -63737,7 +63813,7 @@ function FQ({ 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)(zF, {
+ }, [t]), /* @__PURE__ */ (0, F.jsx)(fF, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -63761,7 +63837,7 @@ function FQ({ 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: wTe,
+ className: MTe,
onClick: () => {
i || r(e.value);
},
@@ -63784,7 +63860,7 @@ var IQ = () => /* @__PURE__ */ (0, F.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function TTe({ tag: e, actions: t }) {
+function NTe({ 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",
@@ -63835,7 +63911,7 @@ function zQ({ groups: e, actions: t }) {
children: [e, /* @__PURE__ */ (0, F.jsx)(PQ, { 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)(TTe, {
+ children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(NTe, {
tag: e,
actions: t
}, e.k))
@@ -63843,7 +63919,7 @@ function zQ({ groups: e, actions: t }) {
}, e))
});
}
-var ETe = "\xA0";
+var PTe = "\xA0";
function BQ({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-tag-cloud": "",
@@ -63862,7 +63938,7 @@ function BQ({ 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 + ETe
+ children: e.label + PTe
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -63880,7 +63956,7 @@ function BQ({ tags: e, actions: t }) {
}, e.k))
});
}
-var DTe = [[
+var FTe = [[
"cloud",
"标签云",
"tags"
@@ -63890,7 +63966,7 @@ var DTe = [[
"text-aa"
]];
function VQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = fI();
+ let d = dI();
return /* @__PURE__ */ (0, F.jsx)(mI, {
label: "标签筛选",
topLabel: "标签类型",
@@ -63943,7 +64019,7 @@ function VQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
value: a,
onChange: (e) => c(e),
className: `ml-auto ${JU}`,
- children: DTe.map(([e, t, n]) => {
+ children: FTe.map(([e, t, n]) => {
let r = Yz(n);
return /* @__PURE__ */ (0, F.jsx)(FR, {
value: e,
@@ -63961,8 +64037,8 @@ function VQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function OTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, F.jsxs)(Jk, {
+function ITe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, F.jsxs)(Ik, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
@@ -64059,13 +64135,13 @@ var KQ = (e, t) => {
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, kTe = 6e3, qQ = (e, t) => {
+}, LTe = 6e3, qQ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
let n = t.alert ? hH.error : hH.success, r = t.action;
n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : kTe,
+ duration: t.timeout > 0 ? t.timeout : LTe,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -64144,7 +64220,7 @@ function QQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(ATe, {
+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(RTe, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -64153,7 +64229,7 @@ function QQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function ATe({ operation: e, selected: t, dialog: n, update: r }) {
+function RTe({ operation: e, selected: t, dialog: n, update: r }) {
let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? JQ(t[0]) : 0);
return (0, P.useEffect)(() => {
r({
@@ -64173,7 +64249,7 @@ function ATe({ operation: e, selected: t, dialog: n, update: r }) {
value: i,
onChange: a,
maxLength: 80
- }) : /* @__PURE__ */ (0, F.jsx)(UJ, {
+ }) : /* @__PURE__ */ (0, F.jsx)(VJ, {
"aria-label": "保留的标签",
prefix: "保留",
selectedKey: String(o),
@@ -64327,7 +64403,7 @@ function $Q({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
E.data ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, F.jsx)(KJ, {
+ children: /* @__PURE__ */ (0, F.jsx)(WJ, {
label: "标签管理",
total: E.data.total,
pagination: C,
@@ -64341,7 +64417,7 @@ function $Q({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, F.jsxs)(Jk, {
+ /* @__PURE__ */ (0, F.jsxs)(Ik, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -64393,7 +64469,7 @@ function $Q({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var jTe = [
+var zTe = [
{
value: "studios",
label: "厂牌",
@@ -64409,7 +64485,7 @@ var jTe = [
label: "系列",
symbol: "list"
}
-], MTe = [{
+], BTe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -64417,7 +64493,7 @@ var jTe = [
value: "online",
label: "在线",
symbol: "rss"
-}], NTe = [
+}], VTe = [
{
value: "performers",
label: "艺人",
@@ -64433,7 +64509,7 @@ var jTe = [
label: "在线",
symbol: "rss"
}
-], PTe = {
+], HTe = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -64462,7 +64538,7 @@ var jTe = [
"layout-grid"
]]
};
-function FTe({ kind: e, layout: t, onChange: n }) {
+function UTe({ kind: e, layout: t, onChange: n }) {
return /* @__PURE__ */ (0, F.jsx)(GU, {
"aria-label": `${GX[e]}索引版式`,
orientation: "horizontal",
@@ -64470,12 +64546,12 @@ function FTe({ kind: e, layout: t, onChange: n }) {
onChange: (e) => n(e),
"data-index-layout": "",
className: `flex-none ${KU}`,
- children: PTe[e === "series" ? "series" : XX(e) ? "company" : "people"].map(([e, t, n]) => {
+ children: HTe[e === "series" ? "series" : XX(e) ? "company" : "people"].map(([e, t, n]) => {
let r = Yz(n);
return /* @__PURE__ */ (0, F.jsx)(FR, {
value: e,
"aria-label": t,
- className: L_e,
+ className: B_e,
children: /* @__PURE__ */ (0, F.jsx)("span", {
title: t,
className: "contents",
@@ -64485,7 +64561,7 @@ function FTe({ kind: e, layout: t, onChange: n }) {
})
});
}
-function ITe(e) {
+function WTe(e) {
let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => ZX({
kind: e.kind,
q: e.q,
@@ -64526,9 +64602,9 @@ function ITe(e) {
getNextPageParam: f === "tags" ? () => void 0 : T.getNextPageParam,
enabled: !(t && f === "tags"),
placeholderData: b ? ke : void 0
- }), D = mCe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;
+ }), D = SCe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;
NQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);
- let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : hCe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;
+ let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : CCe(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,
counts: ee
@@ -64552,7 +64628,7 @@ function ITe(e) {
]), ae = (t) => {
o(t), e.savePreference({ layout: t });
}, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(FQ, {
- tabs: MTe,
+ tabs: BTe,
value: m,
label: "词表",
onChange: (e) => {
@@ -64563,7 +64639,7 @@ function ITe(e) {
});
}
}) : XX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(FQ, {
- tabs: jTe,
+ tabs: zTe,
value: f,
label: "资料类型",
onChange: (e) => S({ kind: e })
@@ -64592,7 +64668,7 @@ function ITe(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,
- YX(f) ? /* @__PURE__ */ (0, F.jsx)(FTe, {
+ YX(f) ? /* @__PURE__ */ (0, F.jsx)(UTe, {
kind: f,
layout: a,
onChange: ae
@@ -64621,7 +64697,7 @@ function ITe(e) {
]
}),
f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(FQ, {
- tabs: NTe,
+ tabs: VTe,
value: y ? "online" : f,
label: "人物名册",
onChange: (t) => {
@@ -64694,7 +64770,7 @@ function ITe(e) {
}),
children: bn(E.error)
});
- if (!D.length) return /* @__PURE__ */ (0, F.jsx)(RTe, {
+ if (!D.length) return /* @__PURE__ */ (0, F.jsx)(KTe, {
kind: f,
filtered: !!p || g !== "all",
online: v || y,
@@ -64703,7 +64779,7 @@ function ITe(e) {
category: "all"
})
});
- if (y) return /* @__PURE__ */ (0, F.jsx)(bCe, {
+ if (y) return /* @__PURE__ */ (0, F.jsx)(OCe, {
items: D,
layout: a,
props: e
@@ -64730,7 +64806,7 @@ function ITe(e) {
}),
f === "tags" && !E.isPending && !E.isError ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, F.jsx)(KJ, {
+ children: /* @__PURE__ */ (0, F.jsx)(WJ, {
label: "标签",
total: k ?? D.length,
pagination: C,
@@ -64755,7 +64831,7 @@ function ITe(e) {
}) : null, "载入更多"]
})
}) : null,
- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(OTe, {
+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(ITe, {
count: s.size,
match: l,
onMatch: u,
@@ -64769,7 +64845,7 @@ function ITe(e) {
]
});
}
-var LTe = {
+var GTe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -64777,7 +64853,7 @@ var LTe = {
agencies: "事务所",
series: "系列"
};
-function RTe({ kind: e, filtered: t, online: n, onClear: r }) {
+function KTe({ kind: e, filtered: t, online: n, onClear: r }) {
if (t) return /* @__PURE__ */ (0, F.jsx)(qz, {
icon: Yz("search"),
title: "没有符合条件的内容",
@@ -64788,7 +64864,7 @@ function RTe({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : LTe[e], a = /* @__PURE__ */ (0, F.jsx)(xI, {
+ let i = n && e === "performers" ? "创作者" : GTe[e], a = /* @__PURE__ */ (0, F.jsx)(xI, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
@@ -64812,8 +64888,8 @@ var e$ = {
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, zTe = (e) => e$[e.junk_kind || "other"] || e$.other;
-function BTe(e) {
+}, qTe = (e) => e$[e.junk_kind || "other"] || e$.other;
+function JTe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -64824,21 +64900,21 @@ function BTe(e) {
glyph: "check"
};
}
-var t$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), VTe = (e, t) => [
+var t$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), YTe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function HTe({ kind: e, view: t }) {
+function XTe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function UTe(e, t) {
- let n = await B(`/api/ads?${HTe(e)}`, t);
+async function ZTe(e, t) {
+ let n = await B(`/api/ads?${XTe(e)}`, t);
return {
...n,
items: n.items || []
@@ -64853,8 +64929,8 @@ function n$({ name: e }) {
});
}
var r$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function WTe({ 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] = zTe(e), m = String(e.name || ""), h = BTe(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+function QTe({ 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] = qTe(e), m = String(e.name || ""), h = JTe(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]") || r$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
t.stopPropagation(), r$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
@@ -64984,7 +65060,7 @@ function WTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var GTe = (0, P.memo)(WTe), i$ = [
+var $Te = (0, P.memo)(QTe), i$ = [
[
"",
"全部",
@@ -65020,11 +65096,11 @@ var GTe = (0, P.memo)(WTe), i$ = [
"其它",
"hard-drive"
]
-], KTe = (e) => i$.find(([t]) => t === e)?.[0] ?? "";
+], eEe = (e) => i$.find(([t]) => t === e)?.[0] ?? "";
function a$(e) {
let t = new URLSearchParams(e);
return {
- kind: KTe(t.get("type")),
+ kind: eEe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
@@ -65048,7 +65124,7 @@ function s$(e) {
};
}
var c$ = (e) => e === "dismissed" ? "已排除" : "待判断", l$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function qTe({ kind: e, view: t }) {
+function tEe({ kind: e, view: t }) {
let n = i$.map(([n, r, i]) => `<a href="${o$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${l$(i)}${z(r)}</a>`).join(""), r = s$(t);
return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Fs(c$(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\"" : ""}>${l$(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
@@ -65092,7 +65168,7 @@ function f$({ scope: e, count: t }) {
children: t.toLocaleString()
})] }) : null;
}
-function JTe({ route: e, page: t, failed: n, onNavigate: r }) {
+function nEe({ route: e, page: t, failed: n, onNavigate: r }) {
let i = gV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = yI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? i$.map(([e]) => t$(t, e)).join(",") : ""}`), l = s$(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") || o$()));
@@ -65161,33 +65237,33 @@ function JTe({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var YTe = Yz("check"), XTe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function ZTe(e) {
+var rEe = Yz("check"), iEe = (e, t) => e[1] === t.view && e[2] === t.kind;
+function aEe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Pt({
- queryKey: VTe(t, e.revision),
- queryFn: ({ signal: e }) => UTe(t, e),
- placeholderData: (e, n) => n && XTe(n.queryKey, t) ? e : void 0
+ queryKey: YTe(t, e.revision),
+ queryFn: ({ signal: e }) => ZTe(t, e),
+ placeholderData: (e, n) => n && iEe(n.queryKey, t) ? e : void 0
});
(0, P.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = QTe(e.countRow), i = n.isPending;
+ let r = oEe(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 && Zs(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(JTe, {
+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(nEe, {
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)($Te, {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(sEe, {
props: e,
data: n.data,
pending: i,
@@ -65195,7 +65271,7 @@ function ZTe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function QTe(e) {
+function oEe(e) {
let [t, n] = (0, P.useState)(null);
return (0, P.useLayoutEffect)(() => {
if (!e) return;
@@ -65205,7 +65281,7 @@ function QTe(e) {
};
}, [e]), t;
}
-function $Te({ props: e, data: t, pending: n, error: r, retry: i }) {
+function sEe({ props: e, data: t, pending: n, error: r, retry: i }) {
let a = tG(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]);
@@ -65221,7 +65297,7 @@ function $Te({ props: e, data: t, pending: n, error: r, retry: i }) {
if (!l.length) {
let t = e.view === "dismissed";
return /* @__PURE__ */ (0, F.jsx)(qz, {
- icon: YTe,
+ icon: rEe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
actions: t ? /* @__PURE__ */ (0, F.jsx)(xI, {
size: "small",
@@ -65236,7 +65312,7 @@ function $Te({ 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)(GTe, {
+ children: u.map((t) => /* @__PURE__ */ (0, F.jsx)($Te, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -65245,7 +65321,7 @@ function $Te({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(eEe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(cEe, { 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",
@@ -65255,7 +65331,7 @@ function $Te({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function eEe({ onMore: e }) {
+function cEe({ onMore: e }) {
let t = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
let n = t.current;
@@ -65272,17 +65348,17 @@ function eEe({ onMore: e }) {
});
}
// src/react/wants/wants.ts
-var p$ = "/api/wants", m$ = ["wants"], tEe = (e) => [
+var p$ = "/api/wants", m$ = ["wants"], lEe = (e) => [
"wants",
"follow",
e
-], nEe = [
+], uEe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
], h$ = (e) => B(p$, e);
-function rEe(e, t) {
+function dEe(e, t) {
H.setQueryData(m$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
@@ -65291,17 +65367,17 @@ function rEe(e, t) {
} : n)
} : n);
}
-var iEe = (e, t) => B(`${p$}?follow=${encodeURIComponent(e)}`, t), g$ = (e, t) => V(p$, {
+var fEe = (e, t) => B(`${p$}?follow=${encodeURIComponent(e)}`, t), g$ = (e, t) => V(p$, {
action: "add",
...e
}, "POST", t), _$ = (e, t) => V(p$, {
action: "remove",
ids: e
-}, "POST", t), aEe = (e, t) => V(p$, {
+}, "POST", t), pEe = (e, t) => V(p$, {
action: "reset",
ids: e
-}, "POST", t), v$ = () => H.invalidateQueries({ queryKey: m$ }), oEe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function sEe(e) {
+}, "POST", t), v$ = () => H.invalidateQueries({ queryKey: m$ }), mEe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function hEe(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
@@ -65309,8 +65385,8 @@ var y$ = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], b$ = (e) => y$.some(([t]) => t === e) ? e : "library", cEe = (e) => b$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function lEe(e) {
+], b$ = (e) => y$.some(([t]) => t === e) ? e : "library", gEe = (e) => b$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function _Ee(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
@@ -65330,7 +65406,7 @@ function S$(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 uEe(e, t, n) {
+function vEe(e, t, n) {
let r = Co({
...e,
is_jav: !0
@@ -65339,7 +65415,7 @@ function uEe(e, t, n) {
let i = z(uo(e));
return xo(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 dEe(e, t) {
+async function yEe(e, t) {
e === "wants" ? await H.ensureQueryData({
queryKey: m$,
queryFn: () => h$(t),
@@ -65353,85 +65429,166 @@ async function dEe(e, t) {
});
}
// src/react/components/fieldset-layout.ts
-var C$ = ZH({
+var bEe = ZH({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), w$ = {
+}), C$ = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, T$ = {
+}, w$ = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
};
-function E$(e) {
- return `${C$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function T$(e) {
+ return `${bEe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+}
+// src/react/data-cleanup/cleanup-entry.ts
+var E$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", D$ = {
+ face: ZH({
+ padding: "none",
+ bordered: "line",
+ radius: "plain",
+ interactive: !0,
+ className: "flex min-h-28 items-start gap-3 p-4 text-left"
+ }),
+ icon: "flex size-9 shrink-0 items-center justify-center rounded-lg bg-background-primary-default text-foreground-icon-primary",
+ body: "flex min-w-0 flex-1 flex-col gap-1",
+ title: "text-headline-medium text-text-primary wrap-anywhere",
+ summary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",
+ detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",
+ arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"
+}, xEe = [
+ "text-chart-6",
+ "text-chart-5",
+ "text-chart-7",
+ "text-chart-8"
+], SEe = [
+ "bg-chart-6/10",
+ "bg-chart-5/10",
+ "bg-chart-7/10",
+ "bg-chart-8/10"
+];
+function CEe(e = {}) {
+ return `${ZH({
+ ...e,
+ padding: "none"
+ })} flex flex-col overflow-hidden pt-4 text-left`;
+}
+var wEe = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", TEe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function O$({ interactive: e = !1 } = {}) {
+ return ZH({
+ padding: "none",
+ radius: "plain",
+ interactive: e,
+ className: "flex min-h-33 flex-col gap-2 p-4 text-left"
+ });
+}
+var k$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function EEe({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+ /* @__PURE__ */ (0, F.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
+ children: [
+ t || n ? /* @__PURE__ */ (0, F.jsx)("i", {
+ "aria-hidden": !0,
+ className: "flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary",
+ children: t ? /* @__PURE__ */ (0, F.jsx)(t, {
+ "aria-hidden": !0,
+ className: "size-4"
+ }) : n
+ }) : null,
+ /* @__PURE__ */ (0, F.jsx)("span", {
+ className: "min-w-0 truncate",
+ children: e
+ }),
+ r ? /* @__PURE__ */ (0, F.jsx)("span", {
+ className: "ml-auto shrink-0 text-caption-1-regular",
+ children: r
+ }) : null
+ ]
+ }),
+ /* @__PURE__ */ (0, F.jsx)("strong", {
+ className: "block text-title-1-medium tabular-nums text-text-primary",
+ children: i
+ }),
+ /* @__PURE__ */ (0, F.jsx)("span", {
+ className: `block min-h-4 text-caption-1-regular text-text-tertiary ${o ? "" : "truncate"}`,
+ children: a
+ })
+ ] });
+}
+function DEe({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
+ /* @__PURE__ */ (0, F.jsxs)("span", {
+ className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
+ children: [t ? /* @__PURE__ */ (0, F.jsx)("i", {
+ "aria-hidden": !0,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${xEe[n % 4]} ${SEe[n % 4]}`,
+ children: /* @__PURE__ */ (0, F.jsx)(t, {
+ "aria-hidden": !0,
+ className: "size-4"
+ })
+ }) : null, /* @__PURE__ */ (0, F.jsx)("span", {
+ className: "min-w-0 truncate",
+ children: e
+ })]
+ }),
+ /* @__PURE__ */ (0, F.jsx)("b", {
+ className: "px-4 pt-3 pb-4 text-title-1-medium tabular-nums text-text-primary wrap-anywhere max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium",
+ children: r
+ }),
+ /* @__PURE__ */ (0, F.jsx)("small", {
+ className: "mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular text-text-secondary max-sm:px-3 max-sm:py-2",
+ children: i
+ })
+ ] });
}
// src/management.ts
-var D$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", O$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", k$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", A$ = "disabled data-skeleton-action", fEe = "aria-disabled=\"true\"", j$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, M$ = (e, t, n) => `<div class="${w$[n]}"><div class="flex flex-col gap-2">
+var A$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", OEe = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", kEe = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, AEe = (e, t, n) => `<div class="${C$[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 pEe() {
- return j$(`<section aria-label="扫描与采集" class="${E$("stack")}" data-cleanup-task data-cleanup-processing>
- ${M$("扫描与采集", D$, "stack")}
- <footer class="${T$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({
+function jEe() {
+ return kEe(`<section aria-label="扫描与采集" class="${T$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${AEe("扫描与采集", A$, "stack")}
+ <footer class="${w$.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>${ws("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Ds({
label: "同步新增文件",
- attrs: A$
+ attrs: M$
})}${Ds({
glyph: "chevron-down",
- attrs: `${A$} aria-label="更多同步方式"`
+ attrs: `${M$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function mEe() {
- return j$(`<section aria-label="媒体修复" class="${E$("split")}" data-cleanup-task data-cleanup-processing>
- ${M$("媒体修复", O$, "split")}
- <footer class="${T$.split}">${ks(k$, {
- className: "w-48",
- attrs: fEe
- })}${Ds({
- label: "开始修复",
- attrs: A$
- })}</footer>
- </section>`);
-}
function N$() {
- let e = [
+ let e = (e, t, n, r = "") => `<div class="${D$.face}"><span class="${D$.icon}">${ws(t, "size-5")}</span><span class="${D$.body}"><span class="${D$.title}">${e}</span><span class="${D$.summary}">${n}</span>${r ? `<span class="${D$.detail}">${r}</span>` : ""}</span>${ws("chevron-right", D$.arrow)}</div>`, t = (e, t) => `<div class="${O$()}"><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">${ws(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${j$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${j$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => dP.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
+ return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">
+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${k$}">${[
["人工复核", "square-check-big"],
- ["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
+ ["高清版", "sparkles"],
["回收站", "trash"]
- ], t = C$, n = w$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${T$.stack}">${Ds({
- label: e,
- attrs: A$
- })}</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">${ws(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${k$}</strong><span class="text-caption-1-regular">${k$}</span></div>`).join("")}</div>
- <div class="flex flex-col gap-4 max-cleanup-tight:gap-3">
- <div id="libraryProcessing">${pEe()}</div><div id="mediaRepair">${mEe()}</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">${ks(k$)}<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 }, () => Ds({
- variant: "secondary",
- label: k$,
- attrs: A$
- })).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">${[
- "链接总数",
- "官网/事务所",
- "社交账号",
- "作品资料站"
- ].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">${k$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${k$}</div></div>${i("检查死链")}</div></section>
+ ].map(([e, n]) => t(e, n)).join("")}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${jEe()}</div>
+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${E$}">${r(!1)}</div></section>
+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${E$}">${r(!0)}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var hEe = ZH({
+var MEe = ZH({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), gEe = "border-t border-border-button-default p-4 first:border-t-0";
+}), NEe = "border-t border-border-button-default p-4 first:border-t-0";
+function PEe({ id: e, children: t }) {
+ return /* @__PURE__ */ (0, F.jsx)("h2", {
+ id: e,
+ className: "text-title-2-medium! m-0! text-text-primary",
+ children: t
+ });
+}
function P$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, F.jsx)("h3", {
id: e,
@@ -65445,18 +65602,18 @@ function F$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: E$(e),
+ className: T$(e),
children: [/* @__PURE__ */ (0, F.jsx)("div", {
- className: w$[e],
+ className: C$[e],
children: a
}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {
- className: T$[e],
+ className: w$[e],
children: i
}) : null]
});
}
// src/react/components/status-label.tsx
-var _Ee = {
+var FEe = {
success: "lime",
progress: "blue",
warning: "yellow",
@@ -65467,12 +65624,12 @@ function I$({ tone: e = "neutral", ...t }) {
return /* @__PURE__ */ (0, F.jsx)(aZ, {
"data-status-tone": e,
variant: "caption",
- color: _Ee[e],
+ color: FEe[e],
...t
});
}
// src/react/components/path-line.tsx
-function vEe({ className: e }) {
+function IEe({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -65485,7 +65642,7 @@ function vEe({ className: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-folder-open" })
});
}
-var yEe = "打开文件管理器失败,请重试";
+var LEe = "打开文件管理器失败,请重试";
function L$({ 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)(() => () => {
@@ -65497,7 +65654,7 @@ function L$({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof or ? e.message : yEe);
+ c.current && s(e instanceof or ? e.message : LEe);
} finally {
c.current && a(!1);
}
@@ -65508,10 +65665,10 @@ function L$({ 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: IF("min-w-0 break-all", n),
+ className: lF("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, F.jsx)(lI, {
- icon: vEe,
+ }), /* @__PURE__ */ (0, F.jsx)(cI, {
+ icon: IEe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -65525,7 +65682,7 @@ function L$({ path: e, prefix: t, className: n, onRevealed: r }) {
});
}
// src/react/library-processing/issue-export.ts
-async function bEe(e, t) {
+async function REe(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -65548,30 +65705,30 @@ async function bEe(e, t) {
rows: n
}, null, 2);
}
-function xEe(e, t) {
+function zEe(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 SEe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", CEe = (e) => {
+var BEe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", VEe = (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(",")}。`;
-}, wEe = (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} 部视频预览。` : "") + CEe(e);
-function TEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = vge(e), o = zH(), s = zH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = hge(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && EH(e), f = u && !!a?.log, p = CH(e), m = gV();
+}, HEe = (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} 部视频预览。` : "") + VEe(e);
+function UEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = xge(e), o = zH(), s = zH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = vge(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && EH(e), f = u && !!a?.log, p = CH(e), m = gV();
return /* @__PURE__ */ (0, F.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- p ? /* @__PURE__ */ (0, F.jsx)(xge, {
+ p ? /* @__PURE__ */ (0, F.jsx)(wge, {
state: e,
slow: p
}) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Kz, {
tone: "warning",
title: "处理较慢",
- children: SEe
+ children: BEe
}) : null,
u ? /* @__PURE__ */ (0, F.jsxs)(Kz, {
tone: d ? "warning" : "error",
@@ -65640,7 +65797,7 @@ function TEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Kz, {
tone: "success",
title: "处理完成",
- children: wEe(n)
+ children: HEe(n)
}) : null,
n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Kz, {
tone: "neutral",
@@ -65657,8 +65814,8 @@ function TEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
...Zz(!!o.busy),
- onClick: () => void o.run("export", (t) => bEe(e, t), (t) => {
- xEe(e.job_id, t), i("已导出问题清单");
+ onClick: () => void o.run("export", (t) => REe(e, t), (t) => {
+ zEe(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, e.archived ? null : /* @__PURE__ */ (0, F.jsx)(q, {
@@ -65732,7 +65889,7 @@ function R$(e) {
trailingIcon: xz,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, F.jsx)(IK, {
+ /* @__PURE__ */ (0, F.jsx)(PK, {
scan: !0,
busy: d,
metadataOnly: s?.metadata_only,
@@ -65765,12 +65922,12 @@ function R$(e) {
}),
/* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: D$
+ children: A$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "self-start",
children: /* @__PURE__ */ (0, F.jsx)(I$, { children: "已暂停" })
- }) : TH(s) ? /* @__PURE__ */ (0, F.jsx)(Ige, { state: s }) : null,
+ }) : TH(s) ? /* @__PURE__ */ (0, F.jsx)(zge, { state: s }) : null,
TH(s) ? /* @__PURE__ */ (0, F.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
@@ -65780,7 +65937,7 @@ function R$(e) {
TH(s) ? /* @__PURE__ */ (0, F.jsx)(YH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, F.jsx)(TEe, {
+ }), /* @__PURE__ */ (0, F.jsx)(UEe, {
state: s,
problem: u,
settled: i,
@@ -65795,30 +65952,30 @@ function R$(e) {
});
}
// src/react/playlists/playlists.ts
-var EEe = "/api/playlists", z$ = "/api/playlist", B$ = ["playlists"], V$ = (e) => B(EEe, e);
-async function DEe(e) {
+var WEe = "/api/playlists", z$ = "/api/playlist", B$ = ["playlists"], V$ = (e) => B(WEe, e);
+async function GEe(e) {
await H.fetchQuery({
queryKey: B$,
queryFn: () => V$(e),
staleTime: 0
});
}
-var OEe = () => H.invalidateQueries({
+var KEe = () => H.invalidateQueries({
queryKey: B$,
exact: !0
-}), kEe = (e) => e.current_asset_id || e.preview_asset_id || null, AEe = (e) => `/poster?id=${e}&c=4`, jEe = (e) => V(z$, {
+}), qEe = (e) => e.current_asset_id || e.preview_asset_id || null, JEe = (e) => `/poster?id=${e}&c=4`, YEe = (e) => V(z$, {
action: "create",
name: e,
asset_ids: []
-}), MEe = (e, t) => V(z$, {
+}), XEe = (e, t) => V(z$, {
action: "rename",
id: e,
name: t
-}), NEe = (e) => V(z$, {
+}), ZEe = (e) => V(z$, {
action: "delete",
id: e
-}), PEe = (e) => B(`${z$}?id=${e}`).catch(() => null);
-function FEe(e) {
+}), QEe = (e) => B(`${z$}?id=${e}`).catch(() => null);
+function $Ee(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
return V(z$, {
action: "create",
@@ -65829,8 +65986,8 @@ function FEe(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var H$ = "/api/custom-metadata", U$ = ["custom-metadata"], W$ = (e) => B(H$, e), IEe = "/api/scraping", LEe = "/api/scraping/settings", REe = "/api/scraping/check", G$ = "/api/scraping/cover", zEe = "/api/scraping/amane-bridge", BEe = "/api/scraping/amane-bridge/check", VEe = "/api/scraping/amane-bridge/rebuild", K$ = ["scraping"], q$ = ["scraping", "cover"], J$ = ["scraping", "amane-bridge"], HEe = 262144, Y$ = (e) => B(IEe, e), X$ = (e) => B(G$, e), Z$ = (e) => B(zEe, e);
-async function UEe(e) {
+var H$ = "/api/custom-metadata", U$ = ["custom-metadata"], W$ = (e) => B(H$, e), eDe = "/api/scraping", tDe = "/api/scraping/settings", nDe = "/api/scraping/check", G$ = "/api/scraping/cover", rDe = "/api/scraping/amane-bridge", iDe = "/api/scraping/amane-bridge/check", aDe = "/api/scraping/amane-bridge/rebuild", K$ = ["scraping"], q$ = ["scraping", "cover"], J$ = ["scraping", "amane-bridge"], oDe = 262144, Y$ = (e) => B(eDe, e), X$ = (e) => B(G$, e), Z$ = (e) => B(rDe, e);
+async function sDe(e) {
await Promise.all([
H.fetchQuery({
queryKey: K$,
@@ -65850,7 +66007,7 @@ async function UEe(e) {
})
]);
}
-function WEe(e, t) {
+function cDe(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
@@ -65867,7 +66024,7 @@ var Q$ = /* @__PURE__ */ new Set([
"photo",
"release"
]), e1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function GEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+function lDe({ 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,
@@ -65956,7 +66113,7 @@ function GEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function KEe(e, t, n = Math.random) {
+function uDe(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
@@ -65965,7 +66122,7 @@ function KEe(e, t, n = Math.random) {
return r.filter((e) => !t.some((t) => e1(t) === e1(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var qEe = () => ({
+var dDe = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -65984,7 +66141,7 @@ var qEe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), t1 = (e) => GEe({
+}), t1 = (e) => lDe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -65993,18 +66150,18 @@ var qEe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), JEe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), n1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
+}), fDe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), n1 = ({ 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 YEe(e) {
+function pDe(e) {
let t = (0, P.useRef)(e);
t.current = e;
let n = (0, P.useRef)(null);
- n.current ??= qEe();
+ n.current ??= dDe();
let r = n.current, i = (0, P.useRef)(null), [, a] = (0, P.useReducer)((e) => e + 1, 0), o = (0, P.useRef)(null);
- o.current ??= XEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= mDe(() => 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 = () => {
@@ -66019,7 +66176,7 @@ function YEe(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 = t1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(QEe, {
+ let c = t1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(gDe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -66051,7 +66208,7 @@ function YEe(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, F.jsx)(ZEe, {
+ c.tabs ? /* @__PURE__ */ (0, F.jsx)(hDe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -66078,7 +66235,7 @@ function YEe(e) {
]
});
}
-function XEe(e, t, n, r) {
+function mDe(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 () => {
@@ -66136,9 +66293,9 @@ function XEe(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 ? [] : KEe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : uDe(t.pool, o()), t.active = -1;
let a = n();
- a && (JEe(t1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (fDe(t1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -66211,7 +66368,7 @@ function XEe(e, t, n, r) {
openPath: C
};
}
-function ZEe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function hDe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, P.useRef)(null);
(0, P.useLayoutEffect)(() => {
r(i.current);
@@ -66227,7 +66384,7 @@ function ZEe({ tabs: e, kind: t, onPick: n, wire: r }) {
onClick: () => n(e),
children: [r, i ? /* @__PURE__ */ (0, F.jsx)(PQ, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, F.jsxs)(zF, {
+ return /* @__PURE__ */ (0, F.jsxs)(fF, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -66237,8 +66394,8 @@ function ZEe({ tabs: e, kind: t, onPick: n, wire: r }) {
});
}
var r1 = (e) => e.preventDefault();
-function QEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
- sI();
+function gDe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ oI();
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -66397,8 +66554,8 @@ function a1({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var o1 = ["configuration"], s1 = (e) => B(GY, e);
-async function $Ee(e) {
+var o1 = ["configuration"], s1 = (e) => B(UY, e);
+async function _De(e) {
await H.fetchQuery({
queryKey: o1,
queryFn: () => s1(e)
@@ -66451,7 +66608,7 @@ function u1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function eDe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function vDe({ 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
@@ -66485,7 +66642,7 @@ function eDe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var tDe = [
+var yDe = [
[
"strength",
"强度",
@@ -66512,8 +66669,8 @@ var tDe = [
100
]
];
-function nDe({ host: e, spot: t, index: n, glow: r }) {
- let i = cse[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = gV(), [l, u] = (0, P.useState)("all");
+function bDe({ host: e, spot: t, index: n, glow: r }) {
+ let i = yse[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = gV(), [l, u] = (0, P.useState)("all");
(0, P.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -66526,7 +66683,7 @@ function nDe({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = bA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), as(), o.current?.focus();
+ r[t].color = lA(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), as(), o.current?.focus();
};
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-glow-stop": t,
@@ -66551,7 +66708,7 @@ function nDe({ host: e, spot: t, index: n, glow: r }) {
children: d
})]
}),
- /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-down" })
+ /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "popmenu",
@@ -66563,7 +66720,7 @@ function nDe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: dse.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Sse.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -66577,7 +66734,7 @@ function nDe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: fse.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
+ children: Cse.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -66594,8 +66751,8 @@ function nDe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function rDe({ host: e }) {
- let t = e.store.value.homeGlow, n = pA(t.preset);
+function xDe({ host: e }) {
+ let t = e.store.value.homeGlow, n = nA(t.preset);
return /* @__PURE__ */ (0, F.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -66614,10 +66771,10 @@ function rDe({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, F.jsx)("b", {
"data-glow-preset-name": "",
- children: lse(t.preset)
+ children: bse(t.preset)
})]
}),
- /* @__PURE__ */ (0, F.jsx)(uj, {
+ /* @__PURE__ */ (0, F.jsx)(aj, {
store: e.store,
label: "光晕配色"
}),
@@ -66628,7 +66785,7 @@ function rDe({ host: e }) {
}),
/* @__PURE__ */ (0, F.jsx)("div", {
"data-glow-fields": "",
- children: tDe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(eDe, {
+ children: yDe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(vDe, {
field: r,
label: i,
max: a,
@@ -66649,7 +66806,7 @@ function rDe({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = SA(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = dA(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -66668,7 +66825,7 @@ function rDe({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, F.jsx)("div", {
"data-glow-stops": "",
- children: uA.map((n, r) => /* @__PURE__ */ (0, F.jsx)(nDe, {
+ children: $k.map((n, r) => /* @__PURE__ */ (0, F.jsx)(bDe, {
host: e,
spot: n,
index: r,
@@ -66680,7 +66837,7 @@ function rDe({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var iDe = {
+var SDe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -66734,8 +66891,8 @@ function f1(e, t) {
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
function p1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = iDe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);
- d.current ||= $k(Number(localStorage.getItem(d1(e))), o, s, n && n > 0 ? n : l);
+ let a = SDe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);
+ d.current ||= Hk(Number(localStorage.getItem(d1(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)));
@@ -66803,7 +66960,7 @@ function p1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
// src/react/sidebar/sidebar-order.ts
function m1(e) {
- let { mutate: t } = rX();
+ let { mutate: t } = tX();
return (0, P.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
@@ -66817,8 +66974,8 @@ function h1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var aDe = "__home__", g1 = (e) => e === "" ? aDe : e;
-function oDe({ host: e }) {
+var CDe = "__home__", g1 = (e) => e === "" ? CDe : e;
+function wDe({ host: e }) {
let t = m1(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 = h1(n, e, r, i);
a && t(a);
@@ -66880,9 +67037,9 @@ function oDe({ host: e }) {
/* @__PURE__ */ (0, F.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(HP, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, F.jsx)(vP, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, F.jsx)(HP, { name: a ?? "" }),
+ /* @__PURE__ */ (0, F.jsx)(vP, { name: a ?? "" }),
/* @__PURE__ */ (0, F.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, F.jsxs)("span", {
@@ -66896,7 +67053,7 @@ function oDe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -66906,7 +67063,7 @@ function oDe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -66918,7 +67075,7 @@ function oDe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, F.jsx)(HP, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, F.jsx)(vP, { name: "eye-off" })
})
]
})]
@@ -66938,13 +67095,13 @@ function oDe({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(HP, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, F.jsx)(vP, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(HP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(vP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, F.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -66962,7 +67119,7 @@ function oDe({ host: e }) {
onClick: () => {
s(g1(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, F.jsx)(HP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, F.jsx)(vP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]
}, g1(e)))
}) : null]
}), /* @__PURE__ */ (0, F.jsx)("button", {
@@ -66985,7 +67142,7 @@ var _1 = [
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], sDe = [
+], TDe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -66994,7 +67151,7 @@ var _1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], cDe = [["desc", "降序"], ["asc", "升序"]], lDe = [[
+], EDe = [["desc", "降序"], ["asc", "升序"]], DDe = [[
"cover",
"官方封面",
""
@@ -67002,7 +67159,7 @@ var _1 = [
"thumbnail",
"预览图",
""
-]], uDe = [
+]], ODe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -67021,32 +67178,32 @@ var _1 = [
"切片",
"隐藏切片"
]
-], dDe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", v1 = null, y1 = {
+], kDe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", v1 = null, y1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
}, b1 = 0, x1 = null, S1 = /* @__PURE__ */ new Set();
-function fDe(e) {
+function ADe(e) {
return S1.add(e), () => {
S1.delete(e);
};
}
-function pDe() {
+function jDe() {
for (let e of [...S1]) e();
}
function C1(e) {
y1 = {
...y1,
...e
- }, (0, Lt.flushSync)(pDe);
+ }, (0, Lt.flushSync)(jDe);
}
-async function mDe(e) {
+async function MDe(e) {
let t = y1.epoch, n = await e.configurable();
y1.open && y1.epoch === t && C1({ configurable: n });
}
-function hDe(e = "") {
+function NDe(e = "") {
let t = v1;
if (!t) return;
let n = _1.findIndex(([t]) => t === e);
@@ -67055,7 +67212,7 @@ function hDe(e = "") {
return;
}
as(), b1 += 1, x1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = eSe();
+ let r = aSe();
C1({
open: !0,
closing: !1,
@@ -67064,7 +67221,7 @@ function hDe(e = "") {
tab: n >= 0 ? n : y1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), mDe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), MDe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function w1(e = !0) {
if (!y1.open || y1.closing) return;
@@ -67078,31 +67235,31 @@ function w1(e = !0) {
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var gDe = {
- open: hDe,
+var PDe = {
+ open: NDe,
close: w1,
isOpen: () => y1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function _De(e) {
- return v1 = e, gDe;
+function FDe(e) {
+ return v1 = e, PDe;
}
-function vDe() {
- let e = (0, P.useSyncExternalStore)(fDe, () => y1);
- return v1 ? /* @__PURE__ */ (0, F.jsx)(xDe, {
+function IDe() {
+ let e = (0, P.useSyncExternalStore)(ADe, () => y1);
+ return v1 ? /* @__PURE__ */ (0, F.jsx)(zDe, {
host: v1,
view: e
}) : null;
}
-function yDe(e) {
+function LDe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(dDe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(kDe)].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 T1 = (e) => `settings-tab-${e}`, E1 = (e) => `settings-group-${e}`;
-function bDe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+function RDe({ 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;
@@ -67174,7 +67331,7 @@ function bDe({ 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)(HP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(UP, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(vP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Wle, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, F.jsx)("div", {
"data-settings-service": "",
@@ -67185,9 +67342,9 @@ function bDe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onClick: r,
title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,
children: [
- /* @__PURE__ */ (0, F.jsx)(HP, { name: "folder-cog" }),
+ /* @__PURE__ */ (0, F.jsx)(vP, { name: "folder-cog" }),
"Peach 配置",
- /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-right" })
+ /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-right" })
]
})
})
@@ -67230,7 +67387,7 @@ function k1({ 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 xDe({ host: e, view: t }) {
+function zDe({ 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];
@@ -67262,7 +67419,7 @@ function xDe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: yDe,
+ onKeyDown: LDe,
onClick: (e) => {
e.target === e.currentTarget && w1();
},
@@ -67282,7 +67439,7 @@ function xDe({ host: e, view: t }) {
onPress: () => w1()
})]
}),
- /* @__PURE__ */ (0, F.jsx)(bDe, {
+ /* @__PURE__ */ (0, F.jsx)(RDe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
@@ -67351,7 +67508,7 @@ function xDe({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(rDe, { host: e }),
+ /* @__PURE__ */ (0, F.jsx)(xDe, { host: e }),
/* @__PURE__ */ (0, F.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -67363,18 +67520,18 @@ function xDe({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, F.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, F.jsx)(oDe, { host: e })
+ children: /* @__PURE__ */ (0, F.jsx)(wDe, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(CDe, {
+ /* @__PURE__ */ (0, F.jsx)(VDe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, F.jsx)(wDe, {
+ /* @__PURE__ */ (0, F.jsx)(HDe, {
host: e,
tab: t.tab,
epoch: d
@@ -67383,7 +67540,7 @@ function xDe({ host: e, view: t }) {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, F.jsx)(ODe, {
+ /* @__PURE__ */ (0, F.jsx)(KDe, {
host: e,
epoch: d
}),
@@ -67433,7 +67590,7 @@ function xDe({ host: e, view: t }) {
})
});
}
-function SDe(e, t) {
+function BDe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Gs("arrow-up", "arrow-down", "a", {
@@ -67443,7 +67600,7 @@ function SDe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function CDe({ host: e, tab: t, epoch: n }) {
+function VDe({ 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)(D1, {
index: 1,
@@ -67475,7 +67632,7 @@ function CDe({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, F.jsx)(u1, {
id: "defaultSortSetting",
label: "默认排序",
- options: sDe,
+ options: TDe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -67484,7 +67641,7 @@ function CDe({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, F.jsx)(u1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: cDe,
+ options: EDe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -67492,7 +67649,7 @@ function CDe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => SDe(e, o)
+ decorate: (e) => BDe(e, o)
})]
})
}),
@@ -67533,7 +67690,7 @@ function CDe({ host: e, tab: t, epoch: n }) {
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = $k(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Hk(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -67542,14 +67699,14 @@ function CDe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, F.jsx)(DDe, {
+ /* @__PURE__ */ (0, F.jsx)(GDe, {
host: e,
epoch: n
})
]
});
}
-function wDe({ host: e, tab: t, epoch: n }) {
+function HDe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, F.jsxs)(D1, {
index: 2,
@@ -67559,7 +67716,7 @@ function wDe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, F.jsx)(TDe, {
+ /* @__PURE__ */ (0, F.jsx)(UDe, {
host: e,
epoch: n
}),
@@ -67569,7 +67726,7 @@ function wDe({ host: e, tab: t, epoch: n }) {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: lDe,
+ options: DDe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -67593,7 +67750,7 @@ function wDe({ host: e, tab: t, epoch: n }) {
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = $k(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Hk(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
@@ -67606,7 +67763,7 @@ function wDe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- uDe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(EDe, {
+ ODe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(WDe, {
host: e,
id: t,
settingKey: n,
@@ -67616,12 +67773,12 @@ function wDe({ host: e, tab: t, epoch: n }) {
]
});
}
-function TDe({ host: e, epoch: t }) {
+function UDe({ host: e, epoch: t }) {
let n = Pt({
- queryKey: ZY,
- queryFn: ({ signal: e }) => nX(e),
+ queryKey: YY,
+ queryFn: ({ signal: e }) => eX(e),
staleTime: 0
- }), r = rX(), [i, a] = (0, P.useState)(null), o = n.data?.performerNameLanguage;
+ }), r = tX(), [i, a] = (0, P.useState)(null), o = n.data?.performerNameLanguage;
return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(k1, {
title: "女优名称",
description: /* @__PURE__ */ (0, F.jsx)("small", {
@@ -67651,8 +67808,8 @@ function TDe({ host: e, epoch: t }) {
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function EDe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = rX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {
+function WDe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = tX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {
s(t), qc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -67676,7 +67833,7 @@ function EDe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function DDe({ host: e, epoch: t }) {
+function GDe({ 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)(O1, {
@@ -67711,8 +67868,8 @@ function DDe({ host: e, epoch: t }) {
})
] });
}
-function ODe({ host: e, epoch: t }) {
- let n = e.store.value, r = rX();
+function KDe({ host: e, epoch: t }) {
+ let n = e.store.value, r = tX();
return /* @__PURE__ */ (0, F.jsx)(k1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, F.jsx)("div", {
@@ -67722,14 +67879,14 @@ function ODe({ host: e, epoch: t }) {
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = $k(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Hk(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
// src/react/sidebar/sidebar-island.tsx
-var A1 = "__home__", kDe = {
+var A1 = "__home__", qDe = {
creator: 26,
tag: 30,
tech: 16
@@ -67741,7 +67898,7 @@ var A1 = "__home__", kDe = {
},
epoch: 0
}, P1 = /* @__PURE__ */ new Set();
-function ADe(e) {
+function JDe(e) {
return P1.add(e), () => {
P1.delete(e);
};
@@ -67749,7 +67906,7 @@ function ADe(e) {
function F1() {
for (let e of [...P1]) e();
}
-var jDe = {
+var YDe = {
render(e) {
N1 = {
...N1,
@@ -67763,7 +67920,7 @@ var jDe = {
}, (0, Lt.flushSync)(F1);
}
};
-function MDe(e) {
+function XDe(e) {
return M1 = e, N1 = {
...N1,
props: {
@@ -67771,26 +67928,26 @@ function MDe(e) {
filters: {},
latest: null
}
- }, jDe;
+ }, YDe;
}
-function NDe() {
- let e = (0, P.useSyncExternalStore)(ADe, () => N1);
- return M1 ? /* @__PURE__ */ (0, F.jsx)(PDe, {
+function ZDe() {
+ let e = (0, P.useSyncExternalStore)(JDe, () => N1);
+ return M1 ? /* @__PURE__ */ (0, F.jsx)(QDe, {
host: M1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function PDe({ host: e, props: t, epoch: n }) {
+function QDe({ 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)(FDe, {
+ /* @__PURE__ */ (0, F.jsx)($De, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, F.jsx)(LDe, {
+ t.content ? /* @__PURE__ */ (0, F.jsx)(tOe, {
host: e,
content: t.content,
filters: t.filters,
@@ -67798,7 +67955,7 @@ function PDe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function FDe({ host: e, epoch: t, version: n }) {
+function $De({ host: e, epoch: t, version: n }) {
let r = m1(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 = yI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || A1 : "").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());
@@ -67866,7 +68023,7 @@ function FDe({ host: e, epoch: t, version: n }) {
height: 24,
alt: "",
decoding: "async"
- }) : /* @__PURE__ */ (0, F.jsx)(HP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
+ }) : /* @__PURE__ */ (0, F.jsx)(vP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
}, t || A1))
}), v ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)("span", {
"data-sidebar-glide": "",
@@ -67875,7 +68032,7 @@ function FDe({ host: e, epoch: t, version: n }) {
}), v) : null] });
}
var I1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function IDe(e) {
+function eOe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -67889,7 +68046,7 @@ function IDe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function LDe({ host: e, content: t, filters: n, latest: r }) {
+function tOe({ 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" && Zs(e.scroll, "drawer");
@@ -67898,8 +68055,8 @@ function LDe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? RDe(e, t.facets, n, r, i) : zDe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(BDe, {
+ let a = t.kind === "catalog" ? nOe(e, t.facets, n, r, i) : rOe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(iOe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -67908,8 +68065,8 @@ function LDe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function RDe(e, t, n, r, i) {
- let a = IDe(r), o = (t, r, i) => {
+function nOe(e, t, n, r, i) {
+ let a = eOe(r), o = (t, r, i) => {
if (!t.length) return null;
let o = I1(n, r);
return /* @__PURE__ */ (0, F.jsx)(z1, {
@@ -67934,12 +68091,12 @@ function RDe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, F.jsx)(HDe, {
+ body: /* @__PURE__ */ (0, F.jsx)(oOe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: kDe[d],
+ limit: qDe[d],
filterKey: l,
selected: f,
counts: a,
@@ -67978,7 +68135,7 @@ function RDe(e, t, n, r, i) {
} : null
];
}
-function zDe(e, t, n) {
+function rOe(e, t, n) {
let r = t.providers || [], i = I1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
@@ -68025,7 +68182,7 @@ function L1(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function BDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function iOe({ 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)(() => L1(e, n)), u = (0, P.useRef)(!1);
(0, P.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -68051,7 +68208,7 @@ function BDe({ 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)(HP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, F.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -68072,8 +68229,8 @@ function BDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var R1 = (0, P.createContext)(() => {});
-function VDe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(HP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {
+function aOe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(vP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
@@ -68096,7 +68253,7 @@ function z1({ 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)(VDe, { dot: e.dot }),
+ /* @__PURE__ */ (0, F.jsx)(aOe, { dot: e.dot }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -68111,7 +68268,7 @@ function z1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function HDe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+function oOe({ 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)(R1), [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;
@@ -68152,7 +68309,7 @@ function HDe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, F.jsx)(HP, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(vP, { name: "chevron-down" })
}) : null] });
}
function B1({ rows: e, host: t, selected: n, badges: r }) {
@@ -68261,11 +68418,11 @@ function U1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var W1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", UDe = [
+var W1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", sOe = [
"自动补全",
"仅使用本地资料",
"自定义"
-], WDe = [
+], cOe = [
[
"读本地 NFO 和图片",
"✓",
@@ -68296,7 +68453,7 @@ var W1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], GDe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", G1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", K1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", q1 = "只填域名,留空用默认地址", KDe = [
+], lOe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", G1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", K1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", q1 = "只填域名,留空用默认地址", uOe = [
{
provider: "coomer",
label: "Coomer",
@@ -68386,7 +68543,7 @@ var W1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], J1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", qDe = "peach.configuration.shape.v1";
+], J1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", dOe = "peach.configuration.shape.v1";
function Y1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
@@ -68395,11 +68552,11 @@ function Y1() {
return {};
}
}
-function JDe(e, t) {
+function fOe(e, t) {
try {
let n = Y1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(qDe, JSON.stringify({
+ localStorage.setItem(dOe, JSON.stringify({
...n,
[e]: t
}));
@@ -68410,13 +68567,13 @@ var X1 = (e) => Y1()[e], Z1 = (e) => e === !0, Q1 = (e, t) => Number.isInteger(e
variant: t,
size: n,
attrs: e0
-}), s0 = (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>`, c0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, YDe = (e, t, n) => {
+}), s0 = (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>`, c0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, pOe = (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">${a0()}${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;
-}, l0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${YDe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? s0(n, i) : ""}</div></section>`, u0 = (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>`, d0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => u0(e, t, `<span class="skeleton ${n}"></span>`), f0 = (e, t = "4em") => u0(e, "", t0(t)), p0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, m0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, h0 = (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>${n0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, g0 = (e) => `<div class="flex flex-col gap-1">${m0(e)}${ks(t0("8em"))}</div>`, _0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${r0("16px", "16px")}${e}</span>`, v0 = (e) => `<span class="inline-flex items-center gap-1">${a0()}${e}</span>`, y0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, XDe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), b0 = (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">${XDe.has(e) ? t0("100%") + t0("80%") + t0("6em") : t0("6em")}</dd></div>`).join("")}</dl>`, ZDe = KDe;
-function QDe(e = X1("credentials")) {
+}, l0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${pOe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? s0(n, i) : ""}</div></section>`, u0 = (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>`, d0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => u0(e, t, `<span class="skeleton ${n}"></span>`), f0 = (e, t = "4em") => u0(e, "", t0(t)), p0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, m0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, h0 = (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>${n0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, g0 = (e) => `<div class="flex flex-col gap-1">${m0(e)}${ks(t0("8em"))}</div>`, _0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${r0("16px", "16px")}${e}</span>`, v0 = (e) => `<span class="inline-flex items-center gap-1">${a0()}${e}</span>`, y0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${ws("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, mOe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), b0 = (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">${mOe.has(e) ? t0("100%") + t0("80%") + t0("6em") : t0("6em")}</dd></div>`).join("")}</dl>`, hOe = uOe;
+function gOe(e = X1("credentials")) {
let t = new Set($1(e?.done, 64, String));
- return ZDe.map((e) => {
+ return hOe.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -68425,19 +68582,19 @@ function QDe(e = X1("credentials")) {
};
});
}
-function $De(e) {
+function _Oe(e) {
let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = i0() + (n && !e.done ? t.map(() => i0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${r0("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 ? p0(z(e.why)) : ""}</div>`;
let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + p0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? p0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => h0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${o0("保存配置")}</div>${y0("凭据文件")}</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>${y0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
}
function x0() {
- let e = QDe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ let e = gOe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
return l0("来源凭据", c0(`<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($De).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? t0("5em") : "" });
+ ].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(_Oe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? t0("5em") : "" });
}
function S0() {
let e = $1(X1("indexers")?.open, 20, Z1).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">${ws("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${t0("6em")}${t0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${h0("名称")}${h0("Torznab 地址")}${h0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${_0("启用")}${o0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
@@ -68452,25 +68609,25 @@ function T0() {
let e = X1("cloudProxy"), t = $1(e?.accounts, 12, (e) => Array.isArray(e) ? [Z1(e[0]), Z1(e[1])] : [!1, !1]), n = Q1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${m0(v0(t0("6em")))}${p0(t0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${m0(v0(t0("8em")))}${p0(t0("50%"))}${w0("数据代理", e)}${w0("API 代理", t)}<div class="flex justify-end">${o0("保存配置")}</div></div>`).join("") : p0(t0("60%"));
return l0("CloudDrive 代理", c0(`${p0(J1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), o0("重新读取", "secondary"));
}
-var E0 = (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>`, eOe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">
+var E0 = (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>`, vOe = (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">${n0()}</span>${Ds({
glyph: "folder-search",
variant: "secondary",
attrs: e0
})}</div>
<div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${E0("来源", ks(t0("6em")), "w-full @lg:w-60")}${E0("读取策略", ks(t0("4em")), "w-full @lg:w-32")}${e > 1 ? E0("移到媒体库", ks(t0("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, tOe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
+ </div>`, yOe = (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>${Ds({
label: "自动识别",
variant: "secondary",
attrs: e0
})}${n0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ks(t0("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${eOe(t).repeat(e)}<div class="flex">${Ds({
+ <div data-library-folders>${vOe(t).repeat(e)}<div class="flex">${Ds({
label: "添加文件夹",
variant: "secondary",
attrs: e0
-})}</div></div></div>`, nOe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${W1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, rOe = "<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 iOe(e = X1("media")) {
+})}</div></div></div>`, bOe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${W1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, xOe = "<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 SOe(e = X1("media")) {
let t = $1(e?.folders, 12, (e) => Q1(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
@@ -68480,7 +68637,7 @@ function iOe(e = X1("media")) {
cloud: !1
};
}
-function aOe() {
+function D0() {
let e = X1("discovery"), t = Z1(e?.enabled), n = t && Z1(e?.cloud), r = n && Z1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${n0()}</span>${ks(t0("4em"), { prefix: "对应目录" })}${Ds({
glyph: "trash",
variant: "secondary",
@@ -68488,44 +68645,44 @@ function aOe() {
})}</div>`;
return l0("自动发现新文件", c0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${i0()}</div>`) + d0("发现新文件后自动入库", t ? t0("10em") : "") + d0("监视本机文件夹", t && Z1(e?.watchLocal) ? t0("12em") : "") + d0("接收 CloudDrive2 通知") + (n ? u0("Webhook 配置", t0("20em"), "") : "") + (r ? c0(y0("查看配置"), !0) : "") + (n ? c0(`<div class="flex flex-col gap-3">${m0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(Q1(e?.prefixes, 20))}</div><div>${o0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? o0("更换密钥", "secondary") : "") + o0("保存配置"));
}
-var oOe = () => {
- let e = iOe();
- return l0("媒体库与目录", c0(`${nOe}<div class="flex flex-col gap-4">${e.folders.map((t) => tOe(t, e.folders.length)).join("")}</div>
+var COe = () => {
+ let e = SOe();
+ return l0("媒体库与目录", c0(`${bOe}<div class="flex flex-col gap-4">${e.folders.map((t) => yOe(t, e.folders.length)).join("")}</div>
<div class="self-start">${o0("添加媒体库", "secondary")}</div>
<p class="text-body-2-regular text-text-secondary">${G1}</p>
- ${e.cloud ? rOe : ""}<span class="text-body-medium text-text-primary">${t0("15em")}</span>`), o0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? T0() : "") + aOe() + l0("番号识别规则", c0(`${t0("90%")}${t0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), o0("保存配置")) + l0("视频预览", d0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + d0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + d0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, sOe = () => `<div>${o0("采集来源与登录状态", "secondary")}</div>` + x0() + l0("关注采集", u0("自动检查更新", "", "<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>") + f0("订阅源拉取") + d0("首次采集范围", "", "ui-configuration-skeleton-select") + f0("头像刷新") + f0("favicon 刷新")) + S0() + l0("作品资料站点", c0(`<p class="text-body-2-regular text-text-secondary">${K1}</p>${h0(v0("JavDB 地址"), q1)}${h0(v0("MISSAV 地址"), q1)}`), o0("保存配置")), cOe = () => {
+ ${e.cloud ? xOe : ""}<span class="text-body-medium text-text-primary">${t0("15em")}</span>`), o0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? T0() : "") + D0() + l0("番号识别规则", c0(`${t0("90%")}${t0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), o0("保存配置")) + l0("视频预览", d0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + d0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + d0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+}, wOe = () => `<div>${o0("采集来源与登录状态", "secondary")}</div>` + x0() + l0("关注采集", u0("自动检查更新", "", "<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>") + f0("订阅源拉取") + d0("首次采集范围", "", "ui-configuration-skeleton-select") + f0("头像刷新") + f0("favicon 刷新")) + S0() + l0("作品资料站点", c0(`<p class="text-body-2-regular text-text-secondary">${K1}</p>${h0(v0("JavDB 地址"), q1)}${h0(v0("MISSAV 地址"), q1)}`), o0("保存配置")), TOe = () => {
let e = X1("downloads"), t = Z1(e?.pikpak), n = Z1(e?.pikpakRoots) ? g0(v0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${m0(v0("PikPak 根目录对应的媒体目录"))}${p0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = Z1(e?.cloud) ? l0("云下载", c0(h0("CloudDrive2 地址") + h0("CloudDrive2 API 令牌", "需要离线任务权限。") + (Z1(e?.has115) ? h0(v0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? h0(v0("PikPak 目标目录"), "目录要已经存在。") + n : "") + h0("等待上限(小时)", t0("14em"))), o0("检查连接", "secondary") + o0("保存配置")) : "", i = Z1(e?.pikpakLoggedIn);
return r + (t ? l0("PikPak 账号", i ? b0(["账号", t0("4em")]) : c0(h0("账号") + h0("密码") + _0("保存密码,登录过期时自动重新登录")), i ? o0("登出", "secondary") : (Z1(e?.browserLogin) ? o0("用浏览器登录", "secondary") : "") + o0("登录"), {
aside: i0(),
mark: !0
}) : "") + C0();
-}, D0 = {
+}, O0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, O0 = {
+}, k0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function lOe(e) {
+function EOe(e) {
let t = e === "locked" ? "" : h0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + h0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (D0[e] ? p0(D0[e]) : "") + (e === "open" ? r0("100%", "64px") : "") + (e === "password" || e === "legacy" ? _0("关闭访问密码") : "") + (e === "password" ? h0("当前访问密码 *") : "") + t;
+ return (O0[e] ? p0(O0[e]) : "") + (e === "open" ? r0("100%", "64px") : "") + (e === "password" || e === "legacy" ? _0("关闭访问密码") : "") + (e === "password" ? h0("当前访问密码 *") : "") + t;
}
-var uOe = () => {
- let e = X1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = Z1(e?.tunnelNamed), r = (n && Z1(e?.tunnelNamedMode) ? p0(O0.named) + h0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + h0("隧道令牌", t0("16em")) : p0(O0.quick)) + (Z1(e?.tunnelNote) ? r0("100%", "64px") : ""), i = Q1(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">${h0([
+var DOe = () => {
+ let e = X1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = Z1(e?.tunnelNamed), r = (n && Z1(e?.tunnelNamedMode) ? p0(k0.named) + h0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + h0("隧道令牌", t0("16em")) : p0(k0.quick)) + (Z1(e?.tunnelNote) ? r0("100%", "64px") : ""), i = Q1(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">${h0([
"本机地址",
"手机连接地址",
"备用 IP 地址"
][t])}</div>${o0("复制地址", "secondary")}</div>`).join("");
- return (i || Z1(e?.port) ? l0("访问地址", c0(a + (i ? r0("100%", "40px") : "") + (Z1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${m0("谁可以访问")}${r0("min(100%, 20em)", "36px")}</div>` + (Z1(e?.lan) ? h0("局域网访问地址") : "") : "") + (Z1(e?.port) ? h0("端口") : "")), Z1(e?.port) ? o0("保存配置") : "", Z1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + l0("访问密码", c0(lOe(t)), t === "locked" ? "" : o0("保存配置")) + l0("Cloudflare 公网入口", c0((n ? r0("10.5em", "36px") : "") + r), o0("启动公网入口", n ? "secondary" : "primary") + (n ? o0("保存配置") : ""), { aside: i0() }) + l0("Peach 代理", d0("连接方式", "", "ui-configuration-skeleton-select") + (Z1(e?.proxyAddress) ? c0(h0("代理地址"), !0) : ""), o0("保存配置"));
-}, dOe = [
+ return (i || Z1(e?.port) ? l0("访问地址", c0(a + (i ? r0("100%", "40px") : "") + (Z1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${m0("谁可以访问")}${r0("min(100%, 20em)", "36px")}</div>` + (Z1(e?.lan) ? h0("局域网访问地址") : "") : "") + (Z1(e?.port) ? h0("端口") : "")), Z1(e?.port) ? o0("保存配置") : "", Z1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + l0("访问密码", c0(EOe(t)), t === "locked" ? "" : o0("保存配置")) + l0("Cloudflare 公网入口", c0((n ? r0("10.5em", "36px") : "") + r), o0("启动公网入口", n ? "secondary" : "primary") + (n ? o0("保存配置") : ""), { aside: i0() }) + l0("Peach 代理", d0("连接方式", "", "ui-configuration-skeleton-select") + (Z1(e?.proxyAddress) ? c0(h0("代理地址"), !0) : ""), o0("保存配置"));
+}, OOe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], fOe = () => {
+], kOe = () => {
let e = X1("maintenance"), t = [
"当前版本",
"安装方式",
@@ -68536,23 +68693,23 @@ var uOe = () => {
return l0("检查更新", b0(t) + (n ? c0(p0(t0("50%")).repeat(n), !0) : ""), o0("检查更新"), {
aside: i0("4em"),
status: t0("5em")
- }) + l0("自动更新", d0("自动检查新版本") + d0("自动下载更新") + d0("检查频率", Z1(e?.autoUpdateHelp) ? t0("12em") : "", "ui-configuration-skeleton-select"), o0("保存配置")) + l0("开机自启", d0("开机后启动 Peach") + d0("只启动托盘,不打开网页") + d0("在桌面创建快捷方式", Z1(e?.desktopNote) ? t0("12em") : "") + (Z1(e?.startupNote) ? c0(p0(t0("60%")), !0) : ""), o0("保存配置")) + l0("视频播放", d0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + l0("存储空间", b0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => u0(t0("6em"), "", t0("4em"))).join("") : c0(p0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? c0(p0(t0("80%")).repeat(i), !0) : ""), o0("更改位置", "secondary") + o0(r ? "重新统计" : "统计占用")) + (c || l ? l0("数据上传", c + l) : "") + l0("运行信息", b0(a.length ? a : dOe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${u0("安装教程", "", o0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? l0("卸载 Peach", (Z1(e?.uninstallHelp) ? c0(p0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + d0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + c0(y0("数据目录"), !0), o0("卸载 Peach"), { status: t0("16em") }) : "");
+ }) + l0("自动更新", d0("自动检查新版本") + d0("自动下载更新") + d0("检查频率", Z1(e?.autoUpdateHelp) ? t0("12em") : "", "ui-configuration-skeleton-select"), o0("保存配置")) + l0("开机自启", d0("开机后启动 Peach") + d0("只启动托盘,不打开网页") + d0("在桌面创建快捷方式", Z1(e?.desktopNote) ? t0("12em") : "") + (Z1(e?.startupNote) ? c0(p0(t0("60%")), !0) : ""), o0("保存配置")) + l0("视频播放", d0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + l0("存储空间", b0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => u0(t0("6em"), "", t0("4em"))).join("") : c0(p0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? c0(p0(t0("80%")).repeat(i), !0) : ""), o0("更改位置", "secondary") + o0(r ? "重新统计" : "统计占用")) + (c || l ? l0("数据上传", c + l) : "") + l0("运行信息", b0(a.length ? a : OOe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${u0("安装教程", "", o0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? l0("卸载 Peach", (Z1(e?.uninstallHelp) ? c0(p0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + d0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + c0(y0("数据目录"), !0), o0("卸载 Peach"), { status: t0("16em") }) : "");
};
-function pOe(e) {
+function AOe(e) {
switch (e) {
case "系统诊断": return U1();
- case "来源与订阅": return sOe();
- case "下载渠道": return cOe();
- case "网络与访问": return uOe();
- case "应用与维护": return fOe();
- default: return oOe();
+ case "来源与订阅": return wOe();
+ case "下载渠道": return TOe();
+ case "网络与访问": return DOe();
+ case "应用与维护": return kOe();
+ default: return COe();
}
}
-function mOe(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(vV).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">${pOe(e)}</div></div></div>`;
+function jOe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(vV).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">${AOe(e)}</div></div></div>`;
}
// src/react/jav/discovery-sorts.ts
-var k0 = [
+var A0 = [
[
"taste",
"口味",
@@ -68560,7 +68717,7 @@ var k0 = [
],
[
"release_date",
- tA[1],
+ Wk[1],
"按发行日期排序"
],
[
@@ -68579,10 +68736,10 @@ var k0 = [
"按番号排序"
]
];
-function hOe(e) {
+function MOe(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function gOe(e) {
+function NOe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -68607,8 +68764,8 @@ function gOe(e) {
};
}
// src/jav-skeleton.ts
-var A0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, _Oe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, j0 = "w-full min-w-0";
-function M0() {
+var j0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, POe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, M0 = "w-full min-w-0";
+function N0() {
return [
"w-20",
"w-16",
@@ -68618,26 +68775,26 @@ function M0() {
"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 N0(e, t = zA()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${A0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${_Oe("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">${A0("80%")}${A0("60%")}${A0("40%")}</div></div>`).join("")}</div>`;
- let n = qA({
- ...KA({
+function P0(e, t = MA()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${j0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${POe("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">${j0("80%")}${j0("60%")}${j0("40%")}</div></div>`).join("")}</div>`;
+ let n = BA({
+ ...zA({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${j0}" 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="${M0}" 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>${A0("85%")}${A0("65%")}</div><div data-media-byline>${A0("55%")}</div>
+ <div data-media-title>${j0("85%")}${j0("65%")}</div><div data-media-byline>${j0("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 vOe(e) {
+function FOe(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>${Ds({
@@ -68647,26 +68804,26 @@ function vOe(e) {
})}</div>
<div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${y$.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}">${Es("筛选番号、女优或标题", "", 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>${A0("100%")}</div>${N0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${yOe()}${N0(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>${j0("100%")}</div>${P0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${IOe()}${P0(e)}</section>`}</div></div>`;
}
-function yOe() {
- 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="" ${zA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ws(t, "size-4")}</span>`;
+function IOe() {
+ 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">${ws(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>${M0()}</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>${N0()}</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>
${Ts()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ws("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>
- ${k0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${A0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ws("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var P0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", F0 = (e = "60%") => `<span class="${P0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, I0 = "disabled data-skeleton-action", L0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function bOe() {
+var F0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", I0 = (e = "60%") => `<span class="${F0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, L0 = "disabled data-skeleton-action", R0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function LOe() {
let e = [
"馆藏视频",
"看过",
@@ -68674,27 +68831,27 @@ function bOe() {
"使用空间"
].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="${P0} 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">${F0("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">${F0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${L0}" 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">${F0("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="${F0} 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">${I0("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">${I0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${R0}" 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">${I0("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">${F0()}</span><b class="text-title-2-medium">${F0("3em")}</b><small class="text-caption-1-regular">${F0()}</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">${I0()}</span><b class="text-title-2-medium">${I0("3em")}</b><small class="text-caption-1-regular">${I0()}</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">数据库中的当前统计 · ${F0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${I0("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="${L0}"><h3 class="text-title-2-medium">${e}</h3><div class="${P0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${R0}"><h3 class="text-title-2-medium">${e}</h3><div class="${F0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -68703,11 +68860,11 @@ function bOe() {
"最近看过",
"标签来源"
].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="${P0} 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="${F0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function xOe() {
+function ROe() {
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 = [
"浏览记录",
"口味维度",
@@ -68715,20 +68872,20 @@ function xOe() {
"私有导出"
].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="${P0} 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">${F0("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">${F0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${P0} h-6"></div>`).join(""), r = (e) => `<section class="${L0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${P0} 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="${F0} 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">${I0("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">${I0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${F0} h-6"></div>`).join(""), r = (e) => `<section class="${R0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${F0} 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">${ks("全部时间")}<span data-button-group data-split-button data-variant="primary">${Ds({
glyph: "compass",
label: "读取浏览器历史",
- attrs: I0
+ attrs: L0
})}${Ds({
glyph: "chevron-down",
- attrs: I0
+ attrs: L0
})}</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>
@@ -68746,11 +68903,11 @@ function xOe() {
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">${F0("8em")}</small></div>
+ <small class="text-caption-1-regular">${I0("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="${L0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${P0} h-72 max-sm:h-48"></div></section>
+ <section class="${R0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${F0} 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([
"标签",
@@ -68758,20 +68915,20 @@ function xOe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${P0} 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="${F0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function SOe() {
+function zOe() {
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="${P0} 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">${F0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${F0("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">${F0("75%")}</span>
+ <span class="${F0} 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">${I0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${I0("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">${I0("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">${F0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${F0("8em")}</span>
+ <b class="text-title-2-medium">${I0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${I0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -68780,27 +68937,27 @@ function SOe() {
variant: "secondary",
size: "small",
label: e,
- attrs: I0
+ attrs: L0
})).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">${F0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${F0("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">${I0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${I0("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 ${I0} 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 ${L0} 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 COe() {
+function BOe() {
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="${P0} 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">${F0("80%")}</h3><p class="text-body-2-regular">${F0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${F0} 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">${I0("80%")}</h3><p class="text-body-2-regular">${I0("60%")}</p></div>
</div>
<footer class="flex justify-end">${Ds({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: I0
+ attrs: L0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -68809,20 +68966,20 @@ function COe() {
</div></div>`;
}
// src/board-skeleton.ts
-var R0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wOe = () => `${R0("80%")}${R0("48%")}`, z0 = (e, t) => e.repeat(t), B0 = "disabled data-skeleton-action", V0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, H0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, TOe = "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", U0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var z0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, VOe = () => `${z0("80%")}${z0("48%")}`, B0 = (e, t) => e.repeat(t), V0 = "disabled data-skeleton-action", H0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, U0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, HOe = "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", W0 = () => `<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="${TOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${V0("3em")}</b></div>`).join("")}</div>`, EOe = (e = "") => NZ.some(([t]) => t === e) ? e : "list", W0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${NZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, G0 = (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>`, DOe = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${HOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${H0("3em")}</b></div>`).join("")}</div>`, UOe = (e = "") => NZ.some(([t]) => t === e) ? e : "list", G0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${NZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, K0 = (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>`, WOe = ({ table: e, sort: t, dir: n }) => {
let r = lr.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">${V0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({
+ 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">${H0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Ds({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: B0
+ attrs: V0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Ds({
variant: "ghost",
glyph: "layout-grid",
@@ -68839,42 +68996,42 @@ var R0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wOe
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: B0
+ attrs: V0
})}</span></div></div>`;
-}, K0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({
+}, q0 = () => `<span class="flex shrink-0 items-center gap-1">${Ds({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: B0
+ attrs: V0
})}${Ds({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: B0
-})}</span>`, OOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${G0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${V0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${H0(14, 14)}</span>${H0(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">${V0("113px")}</span>${K0()}</span></div>`, q0 = (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>${H0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${V0("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">${Ds({
+ attrs: V0
+})}</span>`, GOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${K0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${H0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${U0(14, 14)}</span>${U0(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">${H0("113px")}</span>${q0()}</span></div>`, J0 = (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>${U0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${H0("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">${Ds({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: B0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${H0(14, 14)}${H0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({
+ attrs: V0
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${U0(14, 14)}${U0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Ds({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: B0
+ attrs: V0
})}${Ds({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: B0
-})}</span></span></div><div data-source-divider>${z0(OOe(), e)}</div></section>`, kOe = () => {
+ attrs: V0
+})}</span></span></div><div data-source-divider>${B0(GOe(), e)}</div></section>`, KOe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, AOe = [
+}, qOe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -68882,90 +69039,90 @@ var R0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, wOe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], jOe = {
+], JOe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, MOe = "<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>", NOe = (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>${AOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${jOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${MOe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${z0(`<tr>${[
- G0(),
- `<span class="flex min-w-0 items-center gap-2">${H0(32, 32, !0)}${V0("5em")}</span>`,
- V0("10em"),
- `<span class="flex items-center gap-1.5">${H0(14, 14)}${V0("4em")}</span>`,
- H0(48, 24),
- V0("113px"),
- K0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, POe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${V0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${H0(204, 32)}</div></div>`, FOe = () => `<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">${V0("120px")}</h3>${[
+}, YOe = "<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>", XOe = (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>${qOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${JOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${YOe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${B0(`<tr>${[
+ K0(),
+ `<span class="flex min-w-0 items-center gap-2">${U0(32, 32, !0)}${H0("5em")}</span>`,
+ H0("10em"),
+ `<span class="flex items-center gap-1.5">${U0(14, 14)}${H0("4em")}</span>`,
+ U0(48, 24),
+ H0("113px"),
+ q0()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, ZOe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${H0("111px")}</span><div data-toolbar-actions>${ks(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${U0(204, 32)}</div></div>`, QOe = () => `<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">${H0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${V0(e)}</span>`).join("")}</div>`, IOe = (e) => {
- let t = EOe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${U0()}<div class="flex flex-col gap-6">${W0(t)}<div class="flex flex-col gap-4">${FOe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || kOe(), a = n ? NOe(i, r) : `${G0("全选本页")}<div class="flex flex-col gap-3">${q0(3)}${q0(4)}${q0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${U0()}<div class="flex flex-col gap-6">${W0(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"}">${DOe({
+].map((e) => `<span class="text-body-medium">${H0(e)}</span>`).join("")}</div>`, $Oe = (e) => {
+ let t = UOe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${W0()}<div class="flex flex-col gap-6">${G0(t)}<div class="flex flex-col gap-4">${QOe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = pr(e.followSort, e.followDir), i = e.followPageSize || KOe(), a = n ? XOe(i, r) : `${K0("全选本页")}<div class="flex flex-col gap-3">${J0(3)}${J0(4)}${J0(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${W0()}<div class="flex flex-col gap-6">${G0(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"}">${WOe({
table: n,
...r
- })}${a}${POe(n, i)}</div></div></div></div></div>`;
+ })}${a}${ZOe(n, i)}</div></div></div></div></div>`;
};
-function LOe() {
- 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">${R0("85%")}${R0("65%")}${z0(wOe(), 4)}</div></aside></div>`;
+function eke() {
+ 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">${z0("85%")}${z0("65%")}${B0(VOe(), 4)}</div></aside></div>`;
}
-function ROe(e, t = {}) {
+function tke(e, t = {}) {
let n = "";
- if (e === "/stats") n = bOe();
- else if (e === "/jav") n = vOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = xOe();
- else if (e === "/subscriptions") n = IOe(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in vV) n = mOe(vV[e.split("/")[2]]);
+ if (e === "/stats") n = LOe();
+ else if (e === "/jav") n = FOe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = ROe();
+ else if (e === "/subscriptions") n = $Oe(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in vV) n = jOe(vV[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">${V0("8em")}</span><span class="text-caption-1-regular">${V0("14em")}</span>${V0("60%")}${V0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${V0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = SOe();
- else if (e === "/quality-goals") n = COe();
+ ].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">${H0("8em")}</span><span class="text-caption-1-regular">${H0("14em")}</span>${H0("60%")}${H0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${H0("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = zOe();
+ else if (e === "/quality-goals") n = BOe();
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>${Ds({
label: "新建",
- attrs: B0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${z0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: V0
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${B0("<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 zOe(e) {
+function nke(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 J0(e) {
+function Y0(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return zOe(n ?? t.body);
+ return nke(n ?? t.body);
}
-var Y0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function BOe(e) {
+var X0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function rke(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches(Y0) ? e : e.querySelector(Y0);
+ let t = e.matches(X0) ? e : e.querySelector(X0);
if (t) return t;
}
return null;
}
-function X0(e) {
+function Z0(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 Z0 = (e) => ["follow-item", e], VOe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, HOe = "/api/follow/save", UOe = "/api/follow/media/hide", Q0 = class extends Error {
+var Q0 = (e) => ["follow-item", e], ike = (e) => `/api/follow?item=${encodeURIComponent(e)}`, ake = "/api/follow/save", oke = "/api/follow/media/hide", $0 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function $0(e, t) {
- let n = await B(VOe(e), t);
+async function e2(e, t) {
+ let n = await B(ike(e), t);
for (let t of n.groups || []) {
let r = ca(t).find((t) => t.id === e);
if (r) return {
@@ -68975,9 +69132,9 @@ async function $0(e, t) {
aliases: n.author_aliases || []
};
}
- throw new Q0();
+ throw new $0();
}
-function WOe(e) {
+function ske(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ca(t.group).find((t) => t.id === e);
@@ -68988,20 +69145,20 @@ function WOe(e) {
}
return null;
}
-async function e2(e, t) {
- let n = Z0(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({
+async function t2(e, t) {
+ let n = Q0(e.id), r = la(e.id), i = H.getQueryData(ra) ? null : H.fetchQuery({
queryKey: ra,
queryFn: () => ia(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? WOe(e.id);
+ } : H.getQueryData(n) ?? ske(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => $0(e.id, t)
+ queryFn: () => e2(e.id, t)
}), await i;
}
-function GOe(e, t, n, r) {
+function cke(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 && _a(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,
@@ -69016,32 +69173,32 @@ function GOe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var KOe = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), qOe = {
+var lke = (e) => ca(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), uke = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, JOe = {
+}, dke = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function YOe(e) {
+function fke(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return qOe[t] || t;
+ return uke[t] || t;
} catch {
return "外部文件页";
}
}
-function t2(e, t) {
- return JOe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function n2(e, t) {
+ return dke[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function XOe(e, t, n = "") {
+function pke(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;
@@ -69050,54 +69207,54 @@ function XOe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var ZOe = (e) => String(e.name || "").trim(), n2 = (e, t) => e.tag_types?.[t] || "unknown", QOe = /* @__PURE__ */ new Set([
+var mke = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] || "unknown", hke = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function $Oe(e, t) {
- let n = n2(e, t);
- return `r34-${QOe.has(n) ? n : "general"}`;
+function gke(e, t) {
+ let n = r2(e, t);
+ return `r34-${hke.has(n) ? n : "general"}`;
}
-var r2 = [
+var i2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function eke(e, t) {
+function _ke(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = r2.indexOf(n2(e, t));
- return n < 0 ? r2.length : n;
+ let n = i2.indexOf(r2(e, t));
+ return n < 0 ? i2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function i2(e, t) {
+function a2(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 tke = (e, t) => ({
+var vke = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), a2 = (e) => e?.size ? { size: e.size } : {};
-function nke(e, t) {
+}), o2 = (e) => e?.size ? { size: e.size } : {};
+function yke(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: t2(t, e),
- ...a2(t)
+ source: n2(t, e),
+ ...o2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: t2(a, e),
- ...a2(a)
+ source: n2(a, e),
+ ...o2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -69105,7 +69262,7 @@ function nke(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var rke = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", o2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {
+var bke = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => nc(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -69113,7 +69270,7 @@ var rke = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", o2
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), ike = [
+}), xke = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -69123,38 +69280,38 @@ var rke = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", o2
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], ake = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], Ske = (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>${ike.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>${xke.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>`, oke = {
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, Cke = {
"/data-cleanup": () => N$(),
"/resource-sync": () => N$(),
- "/review": () => ake(),
+ "/review": () => Ske(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${o2("正在读取采集来源", {
+ ${s2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function s2(e, { followLayout: t, followSort: n, followDir: r }) {
- return ROe(e, {
+function c2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return tke(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (oke[e] ?? (() => o2("正在读取页面")))();
+ }) || (Cke[e] ?? (() => s2("正在读取页面")))();
}
-var c2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function l2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = c2(t);
+var l2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function u2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = l2(t);
r && r === n || (e.innerHTML = t, uc(e));
}
// src/react/components/related-section.tsx
-function u2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, P.useCallback)((e) => {
e && (uc(e), t(e));
}, [t]);
@@ -69193,7 +69350,7 @@ function u2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function d2({ queue: e, children: t, queueCards: n }) {
+function f2({ 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),
@@ -69201,7 +69358,7 @@ function d2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function f2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function p2({ 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]");
@@ -69281,7 +69438,7 @@ function f2({ 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)(ske, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(wke, {
item: e,
selected: r === t,
onSelect: n,
@@ -69300,7 +69457,7 @@ function f2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function ske({ item: e, selected: t, onSelect: n, render: r }) {
+function wke({ 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;
@@ -69326,14 +69483,14 @@ function ske({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var cke = (e, t, n) => [
+var Tke = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function p2(e, t, n, r) {
+function m2(e, t, n, r) {
let i = new Set((t.group ? ca(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 = ca(e);
@@ -69348,7 +69505,7 @@ function p2(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 lke(e, t, n, r) {
+async function Eke(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...ga(i),
status: "new",
@@ -69362,17 +69519,17 @@ async function lke(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return p2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && p2(o, e, t, n).length < n && await s("", 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), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
// src/react/components/detail-tags.tsx
-var m2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var h2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
});
-function h2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+function g2({ 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),
@@ -69411,7 +69568,7 @@ function h2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `修改标签 ${a(e.k)}`,
...Zz(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, F.jsx)(m2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "pencil" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -69420,10 +69577,10 @@ function h2({ 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)(m2, { name: "x" })
+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "x" })
})
]
- }, e.k)), /* @__PURE__ */ (0, F.jsx)(uke, {
+ }, e.k)), /* @__PURE__ */ (0, F.jsx)(Dke, {
tags: e,
candidates: h,
label: a,
@@ -69456,7 +69613,7 @@ function h2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+function Dke({ 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 = gV(), 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,
@@ -69502,7 +69659,7 @@ function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
_,
t.length
]);
- let w = p ? Xce(_, t, uN()) : {
+ let w = p ? Yce(_, t, dN()) : {
recent: [],
results: [],
create: ""
@@ -69545,7 +69702,7 @@ function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, F.jsx)(m2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, F.jsx)(h2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, F.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -69566,7 +69723,7 @@ function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-label": "添加标签",
"aria-expanded": p,
...Zz(!!i),
- children: /* @__PURE__ */ (0, F.jsx)(m2, { name: "plus" })
+ children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" })
}), /* @__PURE__ */ (0, F.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -69579,7 +69736,7 @@ function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: zs("正在读取标签") }
- }) : /* @__PURE__ */ (0, F.jsx)(m2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {
+ }) : /* @__PURE__ */ (0, F.jsx)(h2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -69623,7 +69780,7 @@ function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, F.jsx)(m2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -69640,7 +69797,7 @@ function uke({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function dke({ item: e, label: t, actions: n }) {
+function Oke({ item: e, label: t, actions: n }) {
let r = zH(), i = () => H.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
@@ -69664,7 +69821,7 @@ function dke({ item: e, label: t, actions: n }) {
}, "POST", t);
a(n), await i();
}, () => {
- o === "add" && dN(s);
+ o === "add" && fN(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", {
@@ -69680,10 +69837,10 @@ function dke({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, F.jsx)(h2, {
- tags: eke(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, F.jsx)(g2, {
+ tags: _ke(e, t).map((t) => ({
k: t,
- cat: $Oe(e, t)
+ cat: gke(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -69700,22 +69857,22 @@ function dke({ item: e, label: t, actions: n }) {
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var g2 = (e) => Number(e) > 0, fke = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var _2 = (e) => Number(e) > 0, kke = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), _2 = R("external-link", "ui-externalmark");
-function pke(e) {
+}), v2 = R("external-link", "ui-externalmark");
+function Ake(e) {
let { id: t, actions: n } = e, r = Pt({
- queryKey: Z0(t),
- queryFn: ({ signal: e }) => $0(t, e)
+ queryKey: Q0(t),
+ queryFn: ({ signal: e }) => e2(t, e)
}), i = Pt({
queryKey: ra,
queryFn: ({ signal: e }) => ia(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)(gke, {
+ return r.data ? /* @__PURE__ */ (0, F.jsx)(Nke, {
...e,
data: r.data,
- context: tke(r.data, a),
+ context: vke(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, F.jsx)("div", {
@@ -69724,9 +69881,9 @@ function pke(e) {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, F.jsx)(v2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
+ children: [/* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? mke(r.error) ? /* @__PURE__ */ (0, F.jsx)(hke, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(nG, {
+ children: r.isError ? jke(r.error) ? /* @__PURE__ */ (0, F.jsx)(Mke, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(nG, {
message: bn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -69734,8 +69891,8 @@ function pke(e) {
})
});
}
-var mke = (e) => e instanceof Q0 || e instanceof or && e.status === 404;
-function hke({ onBack: e }) {
+var jke = (e) => e instanceof $0 || e instanceof or && e.status === 404;
+function Mke({ onBack: e }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -69744,7 +69901,7 @@ function hke({ onBack: e }) {
dangerouslySetInnerHTML: { __html: Rs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var v2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
+var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -69753,8 +69910,8 @@ var v2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function gke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = GOe(c, l, n, i), d = Ske(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({
+function Nke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = cke(c, l, n, i), d = zke(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({
key: "",
kind: ""
}), h = {
@@ -69774,20 +69931,20 @@ function gke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? KOe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(S2, {
+ let g = !u.embedded.length && u.collection ? lke(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(C2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(S2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(C2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, F.jsx)(yke, {
+ }) : /* @__PURE__ */ (0, F.jsx)(Ike, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -69797,14 +69954,14 @@ function gke({ 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)(vke, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Fke, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, F.jsx)(bke, {
+ }, f), /* @__PURE__ */ (0, F.jsx)(Lke, {
item: c,
data: e,
context: t,
@@ -69814,9 +69971,9 @@ function gke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, F.jsx)(d2, {
+ }), /* @__PURE__ */ (0, F.jsx)(f2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(_ke, {
+ children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(Pke, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -69826,23 +69983,23 @@ function gke({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function _ke({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function Pke({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Pt({
- queryKey: cke(e.item.id, t, n),
- queryFn: ({ signal: r }) => lke(e, t, n, r)
- }), [s] = (0, P.useState)(() => o2("正在读取推荐", {
+ queryKey: Tke(e.item.id, t, n),
+ queryFn: ({ signal: r }) => Eke(e, t, n, r)
+ }), [s] = (0, P.useState)(() => s2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, P.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = p2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = m2(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)(u2, {
+ return /* @__PURE__ */ (0, F.jsx)(d2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -69856,7 +70013,7 @@ function _ke({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
variant: "next",
group: e,
media: t,
- authorSources: i2(e.primary, u),
+ authorSources: a2(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -69869,8 +70026,8 @@ function _ke({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function vke({ 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 = nke(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 Fke({ 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 = yke(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);
@@ -69884,7 +70041,7 @@ function vke({ 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)(v2, { onClose: n.close }),
+ /* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, F.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
@@ -69902,7 +70059,7 @@ function vke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
dangerouslySetInnerHTML: { __html: tW(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, F.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, F.jsx)(f2, {
+ u ? /* @__PURE__ */ (0, F.jsx)(p2, {
items: c,
position: l,
onSelect: r,
@@ -69919,11 +70076,11 @@ function vke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var y2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var b2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function b2({ src: e }) {
+function x2({ src: e }) {
let [t, n] = (0, P.useState)(!1);
return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {
src: e,
@@ -69933,14 +70090,14 @@ function b2({ src: e }) {
onError: () => n(!0)
});
}
-function x2(e) {
+function S2(e) {
return (0, P.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function yke({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = _a(e), a = x2(n);
- return /* @__PURE__ */ (0, F.jsx)(EK, {
+function Ike({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = _a(e), a = S2(n);
+ return /* @__PURE__ */ (0, F.jsx)(wK, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
@@ -69948,12 +70105,12 @@ function yke({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${rW(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = XOe(e, n, i ? n.provider_label : ""), o = i ? tW(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, F.jsxs)(DK, {
+ let i = e.duplicates.includes(n), a = pke(e, n, i ? n.provider_label : ""), o = i ? tW(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, F.jsxs)(TK, {
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)(b2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(y2, { kind: "video" }), g2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {
+ 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", {
className: "mono",
"data-mix-item-duration": "",
children: qn(n.duration)
@@ -69978,8 +70135,8 @@ function yke({ group: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function S2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = x2(r), c = [];
+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 = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -69989,26 +70146,26 @@ function S2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, c.push(n)), n.items.push(e);
});
let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);
- return /* @__PURE__ */ (0, F.jsx)(EK, {
+ return /* @__PURE__ */ (0, F.jsx)(wK, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
summary: `${rW(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(J_e, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)($_e, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(DK, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(TK, {
current: n.index === t,
"data-follow-media-owner": e.id,
"data-follow-media-item": n.index,
"data-media-kind": n.media_kind || "",
onClick: () => l(n),
- pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(b2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(y2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, F.jsx)("b", {
"data-middle-truncate": "",
- children: ZOe(n)
+ children: mke(n)
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -70016,13 +70173,13 @@ function S2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function bke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function Lke({ 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 = lW(d, e), p = sW(e, i2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = uW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = lW(d, e), p = sW(e, a2(e, t.sources), n), m = p.credited ? "" : e.author && Hn(e.author) !== Hn(p.author) ? e.author : "", h = uW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -70046,7 +70203,7 @@ function bke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: _2 }
+ dangerouslySetInnerHTML: { __html: v2 }
}) : null]
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -70055,7 +70212,7 @@ function bke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-reveal-line": "",
children: [
/* @__PURE__ */ (0, F.jsx)("span", { children: mW(e) }),
- g2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: qn(e.duration) }) : null,
+ _2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: qn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -70104,7 +70261,7 @@ function bke({ 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)(xke, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, F.jsx)(Rke, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, F.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -70127,9 +70284,9 @@ function bke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [YOe(e), /* @__PURE__ */ (0, F.jsx)("span", {
+ children: [fke(e), /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: _2 }
+ dangerouslySetInnerHTML: { __html: v2 }
})]
}, e))
}) : null,
@@ -70229,7 +70386,7 @@ function bke({ 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)(b2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(fke, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(kke, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -70238,7 +70395,7 @@ function bke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, F.jsx)(dke, {
+ /* @__PURE__ */ (0, F.jsx)(Oke, {
item: e,
label: o.tagLabel,
actions: s
@@ -70247,7 +70404,7 @@ function bke({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function xke({ text: e }) {
+function Rke({ 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;
@@ -70260,7 +70417,7 @@ function xke({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: UF(e),
+ lang: gF(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, F.jsx)(q, {
@@ -70272,8 +70429,8 @@ function xke({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function Ske(e, t, n) {
- let r = e.id, i = Z0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {
+function zke(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) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -70292,7 +70449,7 @@ function Ske(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && v$(), t.toast(rke(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && v$(), t.toast(bke(n), { undo: i === "saved" ? void 0 : async () => {
await V(jr, {
item: r,
to: i
@@ -70302,7 +70459,7 @@ function Ske(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = Ft({
- mutationFn: () => V(HOe, { item: r }),
+ mutationFn: () => V(ake, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -70310,7 +70467,7 @@ function Ske(e, t, n) {
onSettled: () => l("save", !1)
}), m = Ft({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(UOe, {
+ await V(oke, {
item: r,
media: e,
hidden: t
@@ -70326,8 +70483,8 @@ function Ske(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Pt({
- queryKey: tEe(r),
- queryFn: ({ signal: e }) => iEe(r, e)
+ queryKey: lEe(r),
+ queryFn: ({ signal: e }) => fEe(r, e)
}).data?.want ?? null, g = Ft({
mutationFn: async (e) => (e ? await _$([e.id]) : await g$({ follow: r }), !e),
onSuccess: (e) => {
@@ -70370,8 +70527,8 @@ function Ske(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function C2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
- sI();
+function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+ oI();
let o = tn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${z($n(o))}</span>` + ho({
@@ -70417,7 +70574,7 @@ function C2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function w2({ people: e, onOpen: t }) {
+function T2({ 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",
@@ -70450,7 +70607,7 @@ function w2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function T2(e) {
+function E2(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;
@@ -70467,7 +70624,7 @@ function T2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function E2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function D2({ 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)(dQ, {
item: {
@@ -70501,34 +70658,34 @@ function E2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var D2 = (e) => ["jav-detail", e], O2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), Cke = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), k2 = (e, t) => H.ensureQueryData({
- queryKey: D2(e.code),
- queryFn: () => O2(e.code, t),
+var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), Bke = (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),
staleTime: 216e5,
revalidateIfStale: !0
});
-function wke(e, t) {
+function Vke(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 A2 = "peach.playback-target.v1", j2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function Tke() {
+var j2 = "peach.playback-target.v1", M2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function Hke() {
try {
- return localStorage.getItem(A2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(j2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function M2({ id: e, onOpened: t }) {
- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(Tke), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = zH();
+function N2({ id: e, onOpened: t }) {
+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(Hke), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = zH();
(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) || j2.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) || M2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => j2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => M2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -70555,14 +70712,14 @@ function M2({ id: e, onOpened: t }) {
children: [/* @__PURE__ */ (0, F.jsx)(u1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...j2],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...M2],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(A2, e);
+ localStorage.setItem(j2, e);
} catch {}
}
}), /* @__PURE__ */ (0, F.jsx)(q, {
@@ -70592,7 +70749,7 @@ function M2({ id: e, onOpened: t }) {
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var Eke = LF({
+var Uke = uF({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -70654,23 +70811,23 @@ var Eke = LF({
}
}
});
-function Dke({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Eke[t];
+function Wke({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Uke[t];
return /* @__PURE__ */ (0, F.jsx)("span", {
"aria-hidden": !0,
- className: IF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? IF("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: lF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? lF("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: IF("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: IF("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: lF("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: lF("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 N2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, F.jsx)(pfe, {
+function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, F.jsx)(gfe, {
ref: i,
...a,
- className: (t) => IF("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)(Dke, {
+ className: (t) => lF("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)(Wke, {
state: e,
size: n,
shape: r
@@ -70681,12 +70838,12 @@ function N2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var Oke = "/api/cover-crop", kke = (e, t) => V(Oke, {
+var Gke = "/api/cover-crop", Kke = (e, t) => V(Gke, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function P2({ className: e }) {
+function F2({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -70699,7 +70856,7 @@ function P2({ className: e }) {
children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-crop" })
});
}
-function Ake({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function qke({ 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",
@@ -70709,13 +70866,13 @@ function Ake({ 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)(P2, { className: "size-3.75" })
+ children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-3.75" })
}), /* @__PURE__ */ (0, F.jsx)(Wz, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, F.jsx)(jke, {
+ children: /* @__PURE__ */ (0, F.jsx)(Jke, {
code: e,
coverUrl: t,
box: n,
@@ -70724,9 +70881,9 @@ function Ake({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function jke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+function Jke({ 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 = gV(), f = Ft({
- mutationFn: (t) => kke(e, t),
+ mutationFn: (t) => Kke(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -70738,7 +70895,7 @@ function jke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : hwe(e, to);
+ } : Cwe(e, to);
c(JZ(t, e, null));
}
let m = f.isPending;
@@ -70746,7 +70903,7 @@ function jke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, F.jsx)(Gz, { children: /* @__PURE__ */ (0, F.jsx)(P2, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, F.jsx)(Gz, { children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-6" }) }),
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -70765,7 +70922,7 @@ function jke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, F.jsx)(lI, {
+ /* @__PURE__ */ (0, F.jsx)(cI, {
icon: Cz,
size: "small",
"aria-label": "关闭",
@@ -70790,7 +70947,7 @@ function jke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}),
/* @__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)(N2, {
+ children: [/* @__PURE__ */ (0, F.jsx)(P2, {
isSelected: l,
onChange: (e) => {
u(e), e && s && a && c(JZ(s, a, to));
@@ -70821,21 +70978,21 @@ function jke({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var F2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var I2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), I2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+}), L2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), L2 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";
-function Mke(e) {
+}), R2 = (e) => Number(e) > 0 ? Yn(Number(e)) : "大小未知";
+function Yke(e) {
let { queue: t, actions: n } = e, r = Pt({
- queryKey: t ? GM(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => eN(t, e.helpers, n),
+ queryKey: t ? KM(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => tN(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? rN(i, e.id) : t ? null : e.id, o = Pt({
- queryKey: WM(a ?? 0),
- queryFn: ({ signal: e }) => $M(a, e),
+ }), i = t && r.data || null, a = i ? iN(i, e.id) : t ? null : e.id, o = Pt({
+ queryKey: GM(a ?? 0),
+ queryFn: ({ signal: e }) => eN(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -70846,7 +71003,7 @@ function Mke(e) {
children: /* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, F.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
+ children: [/* @__PURE__ */ (0, F.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {
"data-item-placeholder": "",
children: e ? /* @__PURE__ */ (0, F.jsx)(nG, {
message: bn(e),
@@ -70858,13 +71015,13 @@ function Mke(e) {
})
});
}
- return /* @__PURE__ */ (0, F.jsx)(Nke, {
+ return /* @__PURE__ */ (0, F.jsx)(Xke, {
...e,
- item: qce(o.data, i),
+ item: Kce(o.data, i),
queue: i
}, o.data.id);
}
-var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
+var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -70873,23 +71030,23 @@ var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function Nke(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = Jke(t, r, i.tagLabel), o = (0, P.useRef)(t);
+function Xke(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = dAe(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(KM, {
+ n?.kind === "playlist" && V(qM, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = rle(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = iN(n, t.id);
+ let s = nle(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = aN(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)(Pke, {
+ children: [/* @__PURE__ */ (0, F.jsx)(Zke, {
item: t,
gate: s,
helpers: i,
@@ -70902,22 +71059,22 @@ function Nke(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, F.jsx)(zke, {
+ }), /* @__PURE__ */ (0, F.jsx)(nAe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, F.jsx)(d2, {
+ }), /* @__PURE__ */ (0, F.jsx)(f2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, F.jsx)(Ike, {
+ queue: n ? /* @__PURE__ */ (0, F.jsx)($ke, {
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)(qke, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(uAe, {
...e,
item: n ? {
...t,
@@ -70926,12 +71083,12 @@ function Nke(e) {
}) : null
})] });
}
-function Pke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function Zke({ 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: D2(e.code || ""),
+ queryKey: O2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, O2(e.code, t, n);
+ return d.current = !1, k2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -70976,7 +71133,7 @@ function Pke({ 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)(R2, { onClose: r.close }),
+ /* @__PURE__ */ (0, F.jsx)(z2, { onClose: r.close }),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -70986,21 +71143,21 @@ function Pke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, F.jsx)(F2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}) : null,
/* @__PURE__ */ (0, F.jsx)("span", { "data-player-net-slot": "" })
]
}),
- h ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(E2, {
+ h ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(D2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, F.jsx)(f2, {
+ }, e.id), /* @__PURE__ */ (0, F.jsx)(p2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(E2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(D2, {
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,
@@ -71025,7 +71182,7 @@ function Pke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, F.jsx)(Fke, {
+ t === "offline" ? /* @__PURE__ */ (0, F.jsx)(Qke, {
item: e,
badge: y,
helpers: n,
@@ -71036,7 +71193,7 @@ function Pke({ 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)(M2, {
+ /* @__PURE__ */ (0, F.jsx)(N2, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -71046,7 +71203,7 @@ function Pke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, F.jsx)(I2, { html: y }),
+ /* @__PURE__ */ (0, F.jsx)(L2, { html: y }),
/* @__PURE__ */ (0, F.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, F.jsx)("button", {
@@ -71061,12 +71218,12 @@ function Pke({ 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)(I2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", L2(e.size)] })]
+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]
}) : null
]
});
}
-function Fke({ item: e, badge: t, helpers: n, actions: r }) {
+function Qke({ 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);
@@ -71077,7 +71234,7 @@ function Fke({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, F.jsx)(I2, { html: t }),
+ /* @__PURE__ */ (0, F.jsx)(L2, { 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", {
@@ -71091,8 +71248,8 @@ function Fke({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function Ike({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = $ce(e), a = (0, P.useRef)(null), o = Rke(e, t, r), s = (0, P.useRef)(o);
+function $ke({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Qce(e), a = (0, P.useRef)(null), o = tAe(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, {
@@ -71100,7 +71257,7 @@ function Ike({ 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 = Lke(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {
+ }, [n, e.kind]), l = eAe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -71119,7 +71276,7 @@ function Ike({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, F.jsx)(EK, {
+ return /* @__PURE__ */ (0, F.jsx)(wK, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -71128,11 +71285,11 @@ function Ike({ 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 ${Zce[i.edition_label] || "censored"}`,
+ className: `javedition ${Xce[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && nN(i);
- return /* @__PURE__ */ (0, F.jsxs)(DK, {
+ }) : null, s = e.kind === "playlist" && rN(i);
+ return /* @__PURE__ */ (0, F.jsxs)(TK, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -71142,25 +71299,25 @@ function Ike({ 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)(I2, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {
+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: Do(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: qn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, F.jsx)(I2, { html: Ao(i) }),
+ lead: /* @__PURE__ */ (0, F.jsx)(L2, { html: Ao(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)(F2, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { 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)(F2, { name: "x" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, F.jsxs)("span", {
@@ -71171,14 +71328,14 @@ function Ike({ 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 ? fN(i.part_label) : jo(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? pN(i.part_label) : jo(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function Lke(e, t) {
- let n = Ft({ mutationFn: (t) => V(KM, {
+function eAe(e, t) {
+ let n = Ft({ mutationFn: (t) => V(qM, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -71191,11 +71348,11 @@ function Lke(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function Rke(e, t, n) {
- let r = GM({
+function tAe(e, t, n) {
+ let r = KM({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (H.setQueryData(r, tN(e)), e), a = (t) => V(KM, {
+ }), i = (e) => (H.setQueryData(r, nN(e)), e), a = (t) => V(qM, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = Ft({
@@ -71211,8 +71368,8 @@ function Rke(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = tle(s, t, r, c);
- if (nle(l, s)) return;
+ let l = ele(s, t, r, c);
+ if (tle(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -71254,7 +71411,7 @@ function Rke(e, t, n) {
}
};
}
-function zke({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function nAe({ 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": "",
@@ -71262,7 +71419,7 @@ function zke({ 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)(Bke, {
+ /* @__PURE__ */ (0, F.jsx)(rAe, {
item: e,
queue: t,
helpers: r,
@@ -71274,7 +71431,7 @@ function zke({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, F.jsx)(Hke, {
+ /* @__PURE__ */ (0, F.jsx)(aAe, {
item: e,
write: n
}),
@@ -71285,7 +71442,7 @@ function zke({ 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)(F2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -71293,11 +71450,11 @@ function zke({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, F.jsx)(F2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: L2(e.size) })]
+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: R2(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, F.jsx)(F2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, F.jsxs)("button", {
type: "button",
@@ -71305,32 +71462,32 @@ function zke({ 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)(F2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, F.jsx)(I2, { 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)(M2, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(N2, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, F.jsx)(Uke, {
+ /* @__PURE__ */ (0, F.jsx)(oAe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, F.jsx)(Wke, {
+ /* @__PURE__ */ (0, F.jsx)(sAe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, F.jsx)(RK, {
- assetIds: LK([e], r.javImage()),
+ /* @__PURE__ */ (0, F.jsx)(IK, {
+ assetIds: FK([e], r.javImage()),
onComplete: () => {
- H.invalidateQueries({ queryKey: WM(e.id) });
+ H.invalidateQueries({ queryKey: GM(e.id) });
}
}),
- /* @__PURE__ */ (0, F.jsx)(Gke, { item: e }),
+ /* @__PURE__ */ (0, F.jsx)(cAe, { item: e }),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -71344,7 +71501,7 @@ function zke({ 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)(F2, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71356,7 +71513,7 @@ function zke({ 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)(F2, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71367,7 +71524,7 @@ function zke({ 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)(F2, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71378,7 +71535,7 @@ function zke({ 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)(F2, { name: "eye" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "eye" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71389,7 +71546,7 @@ function zke({ 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)(F2, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71398,7 +71555,7 @@ function zke({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, F.jsx)(F2, { name: "playlist" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "playlist" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71409,7 +71566,7 @@ function zke({ 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)(F2, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "sparkles" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
@@ -71420,11 +71577,11 @@ function zke({ 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)(F2, { name: "trash" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, F.jsx)(Kke, {
+ /* @__PURE__ */ (0, F.jsx)(lAe, {
item: e,
open: s,
write: n
@@ -71435,7 +71592,7 @@ function zke({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, F.jsx)(F2, { name: "sperm" }),
+ /* @__PURE__ */ (0, F.jsx)(I2, { name: "sperm" }),
/* @__PURE__ */ (0, F.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, F.jsx)("b", {
className: "mono",
@@ -71448,8 +71605,8 @@ function zke({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function Bke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = T2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + ele(e, t);
+function rAe({ 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) + $ce(e, t);
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, F.jsxs)("div", {
@@ -71480,19 +71637,19 @@ function Bke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, F.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, F.jsx)(Ake, {
+ children: /* @__PURE__ */ (0, F.jsx)(qke, {
code: e.cover_key || e.code || "",
coverUrl: co(e),
box: e.poster_box || null,
onSaved: (t) => {
H.invalidateQueries({
- queryKey: WM(e.id),
+ queryKey: GM(e.id),
exact: !0
- }), BM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), VM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(Vke, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(iAe, {
id: e.id,
actions: r,
onStatus: i
@@ -71502,7 +71659,7 @@ function Bke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function Vke({ id: e, actions: t, onStatus: n }) {
+function iAe({ 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 () => {
@@ -71532,18 +71689,18 @@ function Vke({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, F.jsx)(F2, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "folder-sync" })
})] });
}
-function Hke({ item: e, write: t }) {
- let n = HM(e.rating);
+function aAe({ item: e, write: t }) {
+ let n = UM(e.rating);
return /* @__PURE__ */ (0, F.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": VM(e.rating),
- children: [/* @__PURE__ */ (0, F.jsx)(ZJ, {
+ "data-value": HM(e.rating),
+ children: [/* @__PURE__ */ (0, F.jsx)(YJ, {
value: n,
onRate: (e) => t.rate(e),
busyStar: [
@@ -71557,14 +71714,14 @@ function Hke({ item: e, write: t }) {
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Uce(e.rating)
+ children: Hce(e.rating)
})]
});
}
-function Uke({ item: e, actions: t }) {
- let n = (0, P.useMemo)(() => Jce(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function oAe({ item: e, actions: t }) {
+ let n = (0, P.useMemo)(() => qce(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)(C2, {
+ return /* @__PURE__ */ (0, F.jsx)(w2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -71596,7 +71753,7 @@ function Uke({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, F.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, F.jsx)(F2, { name: "user-round" })
+ children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "user-round" })
}), /* @__PURE__ */ (0, F.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -71627,18 +71784,18 @@ function Uke({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, F.jsx)(w2, {
+ }) : null, /* @__PURE__ */ (0, F.jsx)(T2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function Wke({ item: e, write: t, helpers: n, actions: r }) {
+function sAe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, F.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, F.jsx)(h2, {
+ children: /* @__PURE__ */ (0, F.jsx)(g2, {
id: "detailTags",
- tags: Yce(e, n),
+ tags: Jce(e, n),
candidates: n.tagCandidates(),
label: n.tagLabel,
adding: [...t.busy].some((e) => e.startsWith("add:")),
@@ -71649,8 +71806,8 @@ function Wke({ item: e, write: t, helpers: n, actions: r }) {
})
});
}
-function Gke({ item: e }) {
- let t = ile(e);
+function cAe({ item: e }) {
+ let t = rle(e);
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
@@ -71684,7 +71841,7 @@ function Gke({ item: e }) {
})]
});
}
-function Kke({ item: e, open: t, write: n }) {
+function lAe({ 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();
@@ -71723,12 +71880,12 @@ function Kke({ item: e, open: t, write: n }) {
})]
});
}
-function qke(e) {
+function uAe(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({
- queryKey: Wce(t.id, n),
- queryFn: async ({ signal: e }) => (await B(Kce(t.id, n), e)).items || []
+ queryKey: Uce(t.id, n),
+ queryFn: async ({ signal: e }) => (await B(Gce(t.id, n), e)).items || []
}), [o] = (0, P.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, F.jsx)(u2, {
+ return /* @__PURE__ */ (0, F.jsx)(d2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -71736,7 +71893,7 @@ function qke(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, F.jsx)(oY, {
+ children: a.data ? /* @__PURE__ */ (0, F.jsx)(iY, {
mode: "items",
variant: "next",
items: a.data,
@@ -71749,11 +71906,11 @@ function qke(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, F.jsx)(I2, { html: o })
+ }) : /* @__PURE__ */ (0, F.jsx)(L2, { html: o })
});
}
-function Jke(e, t, n) {
- let r = e.id, i = WM(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 dAe(e, t, n) {
+ let r = e.id, i = GM(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) => {
@@ -71769,7 +71926,7 @@ function Jke(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return zM(r, n), t;
+ return BM(r, n), t;
}, m = (e, t) => V(e, {
id: r,
...t
@@ -71784,7 +71941,7 @@ function Jke(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(qM, t === void 0 ? { kind: e } : {
+ let n = await m(JM, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -71804,21 +71961,21 @@ function Jke(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = UM(n, e);
- await _("rate", r), t.toast(r ? `已评 ${HM(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = WM(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${UM(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(pN(e, r), { undo: async () => {
+ t.toast(mN(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(YM, {});
+ let e = await m(XM, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(YM, {})).watch_later });
+ p({ watch_later: (await m(XM, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -71828,9 +71985,9 @@ function Jke(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(XM, { wanted: !e.wanted });
+ }), r = await m(ZM, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(XM, e));
+ n(await m(ZM, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -71844,7 +72001,7 @@ function Jke(e, t, n) {
});
u("保存中…");
try {
- o(await m(ZM, {
+ o(await m(QM, {
liked: a,
reason: i
}));
@@ -71854,7 +72011,7 @@ function Jke(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(ZM, r));
+ o(await m(QM, r));
} });
});
},
@@ -71863,37 +72020,37 @@ function Jke(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => sN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(JM, {
+ p((t) => cN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(YM, {
operation: "add",
tag: e.k
- }), p((t) => cN(t, e));
+ }), p((t) => lN(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(JM, {
+ let e = await m(YM, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- oN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => cN(e, {
+ sN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => lN(e, {
k: i,
cat: "general"
- })), dN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(JM, {
+ })), fN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(YM, {
operation: "remove",
tag: i
- }), p((e) => sN(e, i));
+ }), p((e) => cN(e, i));
} }));
});
}
};
}
// src/react/activity/downloads-panel.tsx
-var z2 = "/api/downloads", B2 = ["downloads"], Yke = "/api/downloads/cancel", Xke = "/api/downloads/postprocess", V2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Zke = {
+var B2 = "/api/downloads", V2 = ["downloads"], fAe = "/api/downloads/cancel", pAe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, mAe = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -71902,21 +72059,21 @@ var z2 = "/api/downloads", B2 = ["downloads"], Yke = "/api/downloads/cancel", Xk
remote_done: "lime",
landed: "lime",
submitted: "neutral"
-}, H2 = (e) => {
- let t = e.display_code || e.code || "", { title: n } = WF({
+}, U2 = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = _F({
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}`;
-}, U2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Qke = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function $ke() {
+}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", hAe = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function gAe() {
let e = (0, P.useId)(), t = It({
- queryKey: [...B2, "pages"],
+ queryKey: [...V2, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => B(`${z2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => B(`${B2}?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) => V2(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => H2(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",
@@ -71935,7 +72092,7 @@ function $ke() {
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)(eAe, {
+ children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(_Ae, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -71954,16 +72111,16 @@ function $ke() {
]
});
}
-function eAe({ task: e, writable: t }) {
- sI();
- let n = oe(), r = zH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = U2(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 _Ae({ task: e, writable: t }) {
+ oI();
+ let n = oe(), r = zH(), [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 = [
e.display_code || e.code ? "" : "番号未识别",
e.target,
- aI(e.submitted_at)
+ tI(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: B2 });
+ n.invalidateQueries({ queryKey: V2 });
}, g = () => {
- r.run("cancel", (t) => V(Yke, { id: e.id }, "POST", t), h);
+ r.run("cancel", (t) => V(fAe, { id: e.id }, "POST", t), h);
}, _ = () => {
let t = {
magnet: e.source_uri,
@@ -71973,11 +72130,11 @@ function eAe({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(z2, t, "POST", e), h);
+ r.run("resubmit", (e) => V(B2, t, "POST", e), h);
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
- r.run("postprocess", (t) => V(Xke, { id: e.id }, "POST", t), h);
+ r.run("postprocess", (t) => V(pAe, { id: e.id }, "POST", t), h);
};
return /* @__PURE__ */ (0, F.jsxs)("li", {
"data-download-state": e.state,
@@ -71993,7 +72150,7 @@ function eAe({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, F.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(LA) },
+ 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", {
@@ -72010,7 +72167,7 @@ function eAe({ task: e, writable: t }) {
f ? /* @__PURE__ */ (0, F.jsx)("a", {
"data-download-cover-link": "",
href: f,
- "aria-label": `打开作品详情:${H2(e)}`,
+ "aria-label": `打开作品详情:${U2(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
]
@@ -72021,17 +72178,17 @@ function eAe({ 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: H2(e),
+ title: U2(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: H2(e)
- }) : H2(e)
+ children: U2(e)
+ }) : U2(e)
}), /* @__PURE__ */ (0, F.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
children: [/* @__PURE__ */ (0, F.jsx)(aZ, {
- color: Zke[e.state] ?? "neutral",
+ color: mAe[e.state] ?? "neutral",
children: e.state_label
}), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(aZ, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
@@ -72134,33 +72291,33 @@ function eAe({ 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: H2(e)
+ children: U2(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 || Qke(e)
+ children: l || hAe(e)
})
}) : null
]
});
}
// src/react/activity/work-code.ts
-var W2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), G2 = (e, t) => !!W2(e) && W2(e) === W2(t);
+var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);
// src/react/activity/resource-search.tsx
-function tAe({ className: e }) {
+function vAe({ className: e }) {
return /* @__PURE__ */ (0, F.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: zs("") }
});
}
-function nAe(e) {
+function yAe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function rAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => nAe(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 = zH(), b = (0, P.useRef)(null);
+function bAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => yAe(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 = zH(), b = (0, P.useRef)(null);
(0, P.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -72176,7 +72333,7 @@ function rAe({ 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) => G2(e.code, t));
+ let r = (n.items || []).find((e) => K2(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -72208,7 +72365,7 @@ function rAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? tAe : Pz,
+ leadingIcon: y.busy ? vAe : Pz,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -72302,19 +72459,19 @@ function rAe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
});
}
// src/react/activity/cloud-download-dialog.tsx
-var iAe = {
+var xAe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function K2({ prefill: e, close: t, receipt: n, provider: r }) {
+function q2({ prefill: e, close: t, receipt: n, provider: r }) {
return /* @__PURE__ */ (0, F.jsx)(Wz, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, F.jsx)(aAe, {
+ children: e ? /* @__PURE__ */ (0, F.jsx)(SAe, {
prefill: e,
close: t,
receipt: n,
@@ -72322,11 +72479,11 @@ function K2({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function aAe({ prefill: e, close: t, receipt: n, provider: r }) {
+function SAe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Pt({
- queryKey: B2,
- queryFn: ({ signal: e }) => B(`${z2}?limit=50`, e),
- refetchInterval: (e) => V2(e.state.data)
+ queryKey: V2,
+ queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e),
+ refetchInterval: (e) => H2(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)(UI, {
@@ -72341,7 +72498,7 @@ function aAe({ prefill: e, close: t, receipt: n, provider: r }) {
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, F.jsx)(oAe, {
+ return a ? /* @__PURE__ */ (0, F.jsx)(CAe, {
header: o,
snapshot: a,
prefill: e,
@@ -72370,7 +72527,7 @@ function aAe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function oAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+function CAe({ 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 = zH(), C = (0, P.useRef)(null), w = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
@@ -72387,14 +72544,14 @@ function oAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => V(z2, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: B2 });
- let t = iAe[e.outcome];
+ b(""), S.run("submit", (e) => V(B2, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: V2 });
+ let t = xAe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = U2(e.task);
+ let n = W2(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -72426,17 +72583,17 @@ function oAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, F.jsx)(rAe, {
+ /* @__PURE__ */ (0, F.jsx)(bAe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- G2(e, _?.code) || (v(G2(e, n.code) ? n : null), f("")), m(e);
+ K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? G2(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : G2(t?.code, n.code) ? t : null),
+ } : e : K2(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
@@ -72499,7 +72656,7 @@ function oAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), G2(e, _?.code) || v(null);
+ m(e), K2(e, _?.code) || v(null);
}
}),
y || S.error ? /* @__PURE__ */ (0, F.jsx)(cU, { children: y || S.error }) : null
@@ -72522,11 +72679,11 @@ function oAe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/publication-cache.ts
-var q2 = 864e5, J2 = (e) => {
+var J2 = 864e5, Y2 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function Y2(e) {
+function X2(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));
@@ -72534,25 +72691,25 @@ function Y2(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function sAe(e, t = Date.now()) {
- let n = Y2(e);
- return n !== void 0 && J2(t) > n ? Infinity : q2;
+function wAe(e, t = Date.now()) {
+ let n = X2(e);
+ return n !== void 0 && Y2(t) > n ? Infinity : J2;
}
-function X2(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : sAe(t, n) === Infinity ? J2(e) > Y2(t) : n - e < q2;
+function Z2(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : wAe(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;
}
// src/react/wants/resource-cache.ts
-var Z2 = "peach.want-resources.v2";
-function Q2(e) {
+var Q2 = "peach.want-resources.v2";
+function $2(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function $2(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !Q2(e) ? Date.now() - t < 6e4 : X2(t, n));
+function e4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));
}
-function e4() {
+function t4() {
try {
- let e = JSON.parse(localStorage.getItem(Z2) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && Q2(e.result) && e.result.items.every((e) => e && [
+ 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 && [
"magnet",
"ed2k",
"url"
@@ -72561,23 +72718,23 @@ function e4() {
return [];
}
}
-function cAe(e, t) {
- let n = e4().find((t) => t.code === e);
- return n && X2(n.saved, t) ? n : void 0;
+function TAe(e, t) {
+ let n = t4().find((t) => t.code === e);
+ return n && Z2(n.saved, t) ? n : void 0;
}
-function lAe(e) {
- let t = new Map(e4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function EAe(e) {
+ let t = new Map(t4().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 && X2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function uAe(e, t) {
- if (t.state === "ready" && Q2(t)) try {
- let n = e4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(Z2, JSON.stringify([{
+function DAe(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([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -72585,15 +72742,15 @@ function uAe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function dAe(e) {
+function OAe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? Yn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function fAe(e) {
+function kAe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function t4({ icon: e, children: t, title: n }) {
+function n4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, F.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -72603,8 +72760,8 @@ function t4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function n4({ 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 = zH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => cAe(h, e.release_date), [h, e.release_date]);
+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 = zH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => TAe(h, e.release_date), [h, e.release_date]);
(0, P.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -72624,22 +72781,22 @@ function n4({ 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", uAe(h, i), i;
+ return m.current = n && i.state === "busy", DAe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => $2(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !$2(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !e4(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) && rEe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && dEe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -72647,7 +72804,7 @@ function n4({ 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(z2, {
+ let n = await V(B2, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -72658,7 +72815,7 @@ function n4({ 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: B2 });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -72692,7 +72849,7 @@ function n4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Kz, {
tone: "neutral",
- children: fAe(e)
+ children: kAe(e)
}, e)),
_.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(xI, {
variant: "secondary",
@@ -72737,25 +72894,25 @@ function n4({ 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)(t4, {
- icon: Jpe,
+ /* @__PURE__ */ (0, F.jsx)(n4, {
+ icon: Zpe,
children: e.source
}),
- /* @__PURE__ */ (0, F.jsx)(t4, {
+ /* @__PURE__ */ (0, F.jsx)(n4, {
icon: Oz,
title: `来源大小:${e.size}`,
- children: dAe(e.size)
+ children: OAe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, F.jsx)(t4, {
- icon: zpe,
+ e.files ? /* @__PURE__ */ (0, F.jsx)(n4, {
+ icon: Hpe,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, F.jsx)(t4, {
- icon: Tpe,
+ /* @__PURE__ */ (0, F.jsx)(n4, {
+ icon: Ope,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(t4, {
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(n4, {
icon: Mz,
children: e
}, e))
@@ -72778,7 +72935,7 @@ function n4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, F.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Lpe,
+ leadingIcon: Bpe,
...Zz(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
@@ -72786,7 +72943,7 @@ function n4({ 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 ? pU(v.key) : jpe,
+ leadingIcon: v ? pU(v.key) : Ppe,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...Zz(f.busy === e.id),
@@ -72812,10 +72969,10 @@ function n4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var r4 = "peach.jav-reviews.v2";
-function i4() {
+var i4 = "peach.jav-reviews.v2";
+function a4() {
try {
- let e = localStorage.getItem(r4) || "[]";
+ let e = localStorage.getItem(i4) || "[]";
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")) : [];
@@ -72823,21 +72980,21 @@ function i4() {
return [];
}
}
-function pAe(e, t) {
+function AAe(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
- }, ...i4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(r4, i);
+ }, ...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);
} catch {}
}
-function mAe(e, t) {
- let n = i4(), r = [], i = Infinity;
+function jAe(e, t) {
+ let n = a4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !X2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -72845,16 +73002,16 @@ function mAe(e, t) {
saved: i
} : void 0;
}
-function hAe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && X2(Date.parse(e.checked_at || "") || t, n));
+function MAe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function gAe(e) {
+function NAe(e) {
let t = (0, P.useRef)(!1), n = Pt({
- queryKey: D2(e.code),
+ queryKey: O2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, O2(e.code, n, r);
+ return t.current = !1, k2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -72864,21 +73021,21 @@ function gAe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, F.jsx)(_Ae, {
+ children: n.data ? /* @__PURE__ */ (0, F.jsx)(PAe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, F.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, F.jsx)(a4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(nG, {
+ children: [/* @__PURE__ */ (0, F.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(nG, {
message: cr(n.error),
onRetry: r
}) : null]
})
});
}
-var a4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
+var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -72887,7 +73044,7 @@ var a4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function _Ae({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function PAe({ 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)(() => {
@@ -72909,7 +73066,7 @@ function _Ae({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}] : []
], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = zH(), m = () => {
p.run("want", async (e) => d ? (await _$([d], e), null) : (await g$({ code: t.code }, e)).want.id, (t) => {
- f(t), H.setQueryData(D2(e), (e) => e && {
+ f(t), H.setQueryData(O2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
@@ -72922,19 +73079,19 @@ function _Ae({ 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)(a4, { close: n.close }),
+ /* @__PURE__ */ (0, F.jsx)(o4, { 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)(o4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(bAe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(dQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(LAe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(dQ, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, F.jsx)(f2, {
+ /* @__PURE__ */ (0, F.jsx)(p2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
@@ -72953,33 +73110,33 @@ function _Ae({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, F.jsx)(vAe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(c4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, F.jsx)(FAe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, F.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, F.jsx)(s4, {
+ children: [/* @__PURE__ */ (0, F.jsx)(c4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, F.jsx)(s4, {
+ }), /* @__PURE__ */ (0, F.jsx)(c4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, F.jsx)(yAe, {
+ /* @__PURE__ */ (0, F.jsx)(IAe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, F.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, F.jsx)(s4, {
+ children: [/* @__PURE__ */ (0, F.jsx)(c4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, F.jsx)(s4, {
+ }), /* @__PURE__ */ (0, F.jsx)(c4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -73008,7 +73165,7 @@ function _Ae({ 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: UF(t.summary),
+ lang: gF(t.summary),
children: t.summary
}) : null,
t.message ? /* @__PURE__ */ (0, F.jsx)(Kz, {
@@ -73059,12 +73216,12 @@ function _Ae({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, F.jsx)(xAe, {
+ /* @__PURE__ */ (0, F.jsx)(RAe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, F.jsx)(SAe, {
+ /* @__PURE__ */ (0, F.jsx)(zAe, {
item: t,
actions: n,
readOnly: r
@@ -73072,24 +73229,24 @@ function _Ae({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, F.jsx)(K2, {
+ /* @__PURE__ */ (0, F.jsx)(q2, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var o4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
+var s4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), s4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {
+}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, F.jsx)(o4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]
}) : null;
-function vAe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = T2(e.title), a = e.title === e.code ? "" : e.title;
+function FAe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, F.jsx)("h1", {
@@ -73105,7 +73262,7 @@ function vAe({ 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: UF(a),
+ lang: gF(a),
children: a
})] }) : null]
})
@@ -73124,20 +73281,20 @@ function vAe({ item: e }) {
})]
});
}
-function c4({ score: e, review: t = !1 }) {
+function l4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, F.jsxs)("div", {
"data-item-rating": "",
"data-jav-rating": "",
"data-review-rating": t ? "" : void 0,
role: "img",
"aria-label": `${t ? "评论" : "JavDB"}评分 ${e} / 5`,
- children: [/* @__PURE__ */ (0, F.jsx)(ZJ, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, F.jsx)(YJ, { value: e }), /* @__PURE__ */ (0, F.jsxs)("span", {
"data-rating-value": "",
children: [e.toFixed(1), " / 5"]
})]
});
}
-function yAe({ item: e, navigate: t }) {
+function IAe({ item: e, navigate: t }) {
let n = (e, n) => t(Nn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, F.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -73146,7 +73303,7 @@ function yAe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, F.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(C2, {
+ children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(w2, {
kind: t,
person: {
...r,
@@ -73170,7 +73327,7 @@ function yAe({ 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)(w2, {
+ }), /* @__PURE__ */ (0, F.jsx)(T2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -73179,11 +73336,11 @@ function yAe({ item: e, navigate: t }) {
})]
});
}
-function bAe({ src: e }) {
+function LAe({ 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), Dce(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), Ece(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
@@ -73203,8 +73360,8 @@ function bAe({ src: e }) {
}) : null
});
}
-function xAe({ code: e, count: t, released: n }) {
- let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => mAe(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({
+function RAe({ code: e, count: t, released: n }) {
+ let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => jAe(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -73213,12 +73370,12 @@ function xAe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => hAe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => MAe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await Cke(e, n, t, s.current);
- if (pAe(e, i), !i.ok || i.cache_stale) {
+ let i = await Bke(e, n, t, s.current);
+ if (AAe(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,
@@ -73228,7 +73385,7 @@ function xAe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: wke
+ getNextPageParam: Vke
});
(0, P.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -73239,7 +73396,7 @@ function xAe({ code: e, count: t, released: n }) {
children: /* @__PURE__ */ (0, F.jsxs)(uU, {
trailing: !0,
summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(Epe, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, F.jsx)(kpe, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -73276,7 +73433,7 @@ function xAe({ 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)(c4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, {
score: Number(e.score),
review: !0
}) : null,
@@ -73288,7 +73445,7 @@ function xAe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, F.jsx)("p", {
"data-long-text": "",
- lang: UF(e.content),
+ lang: gF(e.content),
children: e.content
})]
}, e.id)),
@@ -73335,21 +73492,21 @@ function xAe({ code: e, count: t, released: n }) {
})
});
}
-function SAe({ item: e, actions: t, readOnly: n }) {
+function zAe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, P.useState)(!1), a = Pt({
- queryKey: B2,
+ queryKey: V2,
enabled: r,
- queryFn: ({ signal: e }) => B(`${z2}?limit=50`, e)
+ queryFn: ({ signal: e }) => B(`${B2}?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)(uU, {
trailing: !0,
- summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(o4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, F.jsx)(n4, {
+ children: s ? /* @__PURE__ */ (0, F.jsx)(r4, {
want: {
id: 0,
code: e.code,
@@ -73366,31 +73523,31 @@ function SAe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var l4 = null, u4 = null, d4 = null, f4 = null, p4 = null, m4 = !1, h4 = 0, g4 = null, _4 = () => !1, v4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function CAe(e, t) {
- l4 = e, _4 = () => t.isOpen(), g4 = () => t.requestClose(), Use({
+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 BAe(e, t) {
+ u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), Jse({
...e.player,
stage: () => document.getElementById("stage")
- }), Wse({
- inMiniplayer: (e) => u4?.player === e,
- kind: (e) => u4?.player === e ? u4.kind : d4?.kind ?? f4?.kind ?? "item",
- expand: () => R4(),
- toMiniplayer: () => z4()
- }), y4 || (y4 = !0, addEventListener("pagehide", () => gM()));
-}
-var y4 = !1;
-function b4() {
- if (!l4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return l4;
-}
-function x4(e) {
- f4 = e;
-}
-var wAe = () => f4;
-function S4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = v4(n, r.id, i?.index ?? null);
- if (u4 && u4.key === a) return EAe(e, u4);
- u4 && L4();
+ }), Yse({
+ 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", () => mM()));
+}
+var b4 = !1;
+function x4() {
+ if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return u4;
+}
+function S4(e) {
+ p4 = e;
+}
+var VAe = () => 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 UAe(e, d4);
+ d4 && R4();
let o = {
player: null,
kind: n,
@@ -73398,52 +73555,52 @@ function S4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- d4 = o;
+ f4 = 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 = DM(s, {
+ let c = OM(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- d4 === o && (o.player = e);
+ f4 === o && (o.player = e);
},
- handedOff: (e) => u4?.player === e
+ handedOff: (e) => d4?.player === e
});
return () => {
- let e = !!o.player && u4?.player === o.player;
- d4 === o && (d4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), gM());
+ let e = !!o.player && d4?.player === o.player;
+ f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), mM());
};
}
-async function TAe(e, t, n) {
+async function HAe(e, t, n) {
let r = await wn(`/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 b4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(b4().player.offlineReason(String(r.root_id || r.location || "")));
+ 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 a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- x4(a);
- let o = S4(t, {
+ S4(a);
+ let o = C4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && f4 === a && w4(!0), o(), f4 === a && x4(null));
+ s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));
};
}
-function EAe(e, t) {
+function UAe(e, t) {
let { player: n } = t;
- F4(t), u4 = null, I4(), n.el().classList.remove("vjs-peach-mini"), TM(e), e.append(n.el()), bj(n);
+ I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), EM(e), e.append(n.el()), hj(n);
let r = {
player: n,
kind: t.kind,
@@ -73451,23 +73608,23 @@ function EAe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- d4 = r;
- let i = EM(n, e);
- return xj(n), () => {
- d4 === r && (d4 = null), i(), u4?.player !== n && (yj() === n && bj(null), sM(n), gM());
+ f4 = r;
+ let i = DM(n, e);
+ return gj(n), () => {
+ f4 === r && (f4 = null), i(), d4?.player !== n && (mj() === n && hj(null), nM(n), mM());
};
}
-var C4 = () => {
- let e = d4?.player;
+var w4 = () => {
+ let e = f4?.player;
return e && !e.isDisposed() ? e : null;
};
-function w4(e) {
- let t = m4;
- m4 = !1, u4?.pending && L4();
- let n = d4, r = n?.player, i = f4;
- if (!n || !r || r.isDisposed() || !i || !p4) return;
- let a = b4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && AAe({
+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()) && qAe({
player: r,
kind: n.kind,
item: n.item,
@@ -73475,46 +73632,46 @@ function w4(e) {
key: n.key
}, i);
}
-function T4(e, t) {
- m4 = !1, u4 && (u4.kind === e && u4.item.id === t ? (u4.pending = !0, I4()) : L4());
+function E4(e, t) {
+ h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());
}
-function E4(e) {
- p4 = e, p4 && N4();
+function D4(e) {
+ m4 = e, m4 && P4();
}
-var D4 = () => !!u4 && !u4.pending && !u4.player.isDisposed();
-function DAe() {
- return D4() ? p4?.frame.querySelector("video") ?? null : null;
+var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();
+function WAe() {
+ return O4() ? m4?.frame.querySelector("video") ?? null : null;
}
-function OAe() {
- return _4() ? document.getElementById("stage")?.querySelector("video") ?? null : C4()?.el().querySelector("video") ?? DAe();
+function GAe() {
+ return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? WAe();
}
-function O4(e) {
- p4 && (p4.title.textContent = e.title || "", p4.sub.textContent = e.sub || "", p4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function k4(e) {
+ m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function k4(e = u4?.item) {
- if (!p4) return;
- let t = p4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- p4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+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() {
- let e = u4?.player;
- if (!e || e.isDisposed() || !p4) return;
+function j4() {
+ let e = d4?.player;
+ if (!e || e.isDisposed() || !m4) return;
let t = e.paused();
- p4.play.setAttribute("aria-label", t ? "播放" : "暂停"), p4.play.querySelector("[data-icon-swap]") || (p4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(p4.play, t ? "b" : "a");
+ m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = Gs("player-pause", "player-play", t ? "b" : "a")), Ks(m4.play, t ? "b" : "a");
}
-function j4() {
- let e = u4?.player;
- if (!e || e.isDisposed() || !p4) return;
- let t = Kn(u4?.item.duration) || Kn(e.duration());
- p4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(t) : "0:00"}`;
-}
-var M4 = () => Math.max(1, Number(b4().player.settings().seekSeconds) || 10);
-function N4() {
- if (!p4 || !l4) return;
- let e = M4();
- for (let [t, n] of [[p4.back, `后退 ${e} 秒`], [p4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function P4(e) {
+function M4() {
+ let e = d4?.player;
+ if (!e || e.isDisposed() || !m4) return;
+ let t = Kn(d4?.item.duration) || Kn(e.duration());
+ m4.time.textContent = `${Jn(e.currentTime())} / ${t ? Jn(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 t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -73526,17 +73683,17 @@ function P4(e) {
"play",
"pause",
"ended"
- ], A4), t([
+ ], j4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], j4), t("loadedmetadata", () => k4()), A4(), j4(), k4(), N4();
+ ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();
}
-function F4(e) {
+function I4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function kAe() {
- let e = p4?.root;
+function KAe() {
+ let e = m4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -73544,8 +73701,8 @@ function kAe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function I4() {
- let e = p4?.root;
+function L4() {
+ let e = m4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -73556,73 +73713,73 @@ function I4() {
e.style.transform = "";
}
}
-function AAe(e, t) {
- if (!p4) return;
+function qAe(e, t) {
+ if (!m4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- u4 = n, h4++, e.player.el().classList.add("vjs-peach-mini"), p4.frame.prepend(e.player.el()), O4(t), P4(n), kAe(), xj(e.player);
-}
-function L4() {
- let e = u4;
- e && F4(e), u4 = null, h4++;
- let t = e?.player ?? null;
- t && yj() === t && bj(null), sM(t), t && gM(), p4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), _j(), I4();
+ d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), KAe(), gj(e.player);
}
function R4() {
- if (!D4() || !u4) return;
- let { kind: e, item: t, mediaIndex: n } = u4;
- b4().expand(e, t.id, n);
+ let e = d4;
+ e && I4(e), d4 = null, g4++;
+ let t = e?.player ?? null;
+ t && mj() === t && hj(null), nM(t), t && mM(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), fj(), L4();
}
function z4() {
- D4() && !_4() ? R4() : _4() && C4() && g4 && (m4 = !0, g4());
+ if (!O4() || !d4) return;
+ let { kind: e, item: t, mediaIndex: n } = d4;
+ x4().expand(e, t.id, n);
+}
+function B4() {
+ O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());
}
-function jAe() {
- let e = u4?.player;
+function JAe() {
+ let e = d4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function B4(e) {
- let t = u4?.player;
+function V4(e) {
+ let t = d4?.player;
if (!t || t.isDisposed()) return;
- let n = Kn(t.duration()) || Kn(u4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + M4() * e);
+ let n = Kn(t.duration()) || Kn(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function V4(e) {
- return !(!D4() || !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 || b4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function MAe(e) {
- if (!D4() || !u4 || !p4) return;
- let t = ++h4, n = await wn(`/api/item?id=${e}`).catch(() => null);
- if (t !== h4 || !D4() || !u4 || !p4 || !n || n.error) return;
- if (!V4(n)) {
- b4().openItem(e);
+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 YAe(e) {
+ if (!O4() || !d4 || !m4) return;
+ let t = ++g4, n = await wn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;
+ if (!H4(n)) {
+ x4().openItem(e);
return;
}
- let r = u4;
- F4(r), yj() === r.player && bj(null), sM(r.player), gM(), p4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = d4;
+ I4(r), mj() === r.player && hj(null), nM(r.player), mM(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", p4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- O4(a), DM(i, {
+ k4(a), OM(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== h4) {
- r && yj() === r && bj(null), sM(r);
+ if (t !== g4) {
+ r && mj() === r && hj(null), nM(r);
return;
}
if (!r) {
- L4(), b4().openItem(e);
+ R4(), x4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -73631,25 +73788,25 @@ async function MAe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: v4("item", n.id, null),
+ key: y4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- u4 = i, P4(i);
+ d4 = i, F4(i);
}
- }), k4(n);
+ }), A4(n);
}
// src/react/stage/miniplayer.tsx
-var H4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
+var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })
-}), NAe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, U4 = (e) => (t) => {
+}), XAe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {
t.stopPropagation(), e();
-}, PAe = (0, P.memo)(function() {
+}, ZAe = (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)(() => (E4({
+ return (0, P.useLayoutEffect)(() => (D4({
root: e.current,
frame: n.current,
play: r.current,
@@ -73659,7 +73816,7 @@ var H4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => E4(null)), []), (0, P.useEffect)(() => IAe(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {
+ }), () => D4(null)), []), (0, P.useEffect)(() => $Ae(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -73683,24 +73840,24 @@ var H4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: U4(R4),
- children: /* @__PURE__ */ (0, F.jsx)(H4, { name: "maximize-2" })
+ onClick: W4(z4),
+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: U4(L4),
- children: /* @__PURE__ */ (0, F.jsx)(H4, { name: "x" })
+ onClick: W4(R4),
+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "x" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: U4(() => B4(-1)),
- children: /* @__PURE__ */ (0, F.jsx)(H4, { name: "rotate-ccw" })
+ onClick: W4(() => V4(-1)),
+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, F.jsx)("button", {
ref: r,
@@ -73709,16 +73866,16 @@ var H4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: U4(jAe),
- dangerouslySetInnerHTML: NAe
+ onClick: W4(JAe),
+ dangerouslySetInnerHTML: XAe
}),
/* @__PURE__ */ (0, F.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: U4(() => B4(1)),
- children: /* @__PURE__ */ (0, F.jsx)(H4, { name: "rotate-cw" })
+ onClick: W4(() => V4(1)),
+ children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, F.jsx)("span", {
ref: i,
@@ -73735,7 +73892,7 @@ var H4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => R4(),
+ onClick: () => z4(),
children: [/* @__PURE__ */ (0, F.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -73749,7 +73906,7 @@ var H4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {
})
});
});
-function FAe(e, t, n) {
+function QAe(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
@@ -73771,7 +73928,7 @@ function FAe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function IAe(e, t) {
+function $Ae(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 = {
@@ -73797,7 +73954,7 @@ function IAe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), FAe(e, i.dx, i.dy));
+ }, 0), QAe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -73808,57 +73965,57 @@ function IAe(e, t) {
};
}
// src/react/stage/stage.tsx
-var W4 = null, G4 = null, K4 = null, q4 = /* @__PURE__ */ new Set(), J4 = 0, Y4 = null, X4 = !1, Z4 = !1, Q4 = () => {
+var G4 = null, K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function $4() {
- if (!W4) throw Error("舞台还没有接上宿主(configureStage)");
- return W4;
+function e3() {
+ if (!G4) throw Error("舞台还没有接上宿主(configureStage)");
+ return G4;
}
-function LAe(e) {
- return q4.add(e), () => {
- q4.delete(e);
+function eje(e) {
+ return J4.add(e), () => {
+ J4.delete(e);
};
}
-function RAe() {
- for (let e of [...q4]) e();
+function tje() {
+ for (let e of [...J4]) e();
}
-function e3() {
- (0, Lt.flushSync)(RAe);
+function t3() {
+ (0, Lt.flushSync)(tje);
}
-function zAe({ view: e }) {
- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(BAe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(PAe, {})] });
+function nje({ view: e }) {
+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(rje, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(ZAe, {})] });
}
-var t3 = () => /* @__PURE__ */ (0, F.jsx)("div", {
+var n3 = () => /* @__PURE__ */ (0, F.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: LOe() }
+ dangerouslySetInnerHTML: { __html: eke() }
});
-function n3(e) {
+function r3(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 r3() {
- let e = Q4(), t = e && BOe(e);
+function i3() {
+ let e = $4(), t = e && rke(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : i3();
+ }))) : a3();
}
-function BAe({ view: e }) {
+function rje({ view: e }) {
let t = (0, P.useRef)(null);
(0, P.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), r3());
+ t.target === e && (t.preventDefault(), i3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(Mke, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(gAe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(pke, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(Yke, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(NAe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(Ake, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, F.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -73866,27 +74023,27 @@ function BAe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), r3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());
},
onPointerDown: (e) => {
- Z4 = n3(e);
+ Q4 = r3(e);
},
onClick: (e) => {
- Z4 && n3(e) && i3();
+ Q4 && r3(e) && a3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(t3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(n3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, F.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, F.jsx)(t3, {})
+ children: /* @__PURE__ */ (0, F.jsx)(n3, {})
}, "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)(KT, {
- getContainer: () => J0(t.current),
+ children: /* @__PURE__ */ (0, F.jsx)(IT, {
+ getContainer: () => Y0(t.current),
children: i
})
})
@@ -73894,14 +74051,14 @@ function BAe({ view: e }) {
]
});
}
-function i3() {
- G4 && !X4 && (X4 = !0, G4.request.actions.close());
+function a3() {
+ K4 && !Z4 && (Z4 = !0, K4.request.actions.close());
}
-function a3(e, t) {
- let n = Q4();
+function o3(e, t) {
+ let n = $4();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function o3(e) {
+function s3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -73909,30 +74066,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 = () => $4().player.settings(), i = () => G4?.request === e;
+ }, r = () => e3().player.settings(), i = () => K4?.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;
- x4({
+ S4({
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) => S4(e, {
+ mountPlayer: (e, t, r, i) => C4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -73950,18 +74107,18 @@ function o3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: i3,
+ close: a3,
present: (e, t) => {
- x4({
+ S4({
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) => S4(e, {
+ mountPlayer: (e, t, r, i) => C4(e, {
kind: "follow",
item: t,
media: r,
@@ -73978,106 +74135,106 @@ function o3(e) {
}
};
}
-function VAe(e, t) {
+function ije(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"), G4?.generation === t && G4.phase === "reveal" && (G4 = {
- ...G4,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {
+ ...K4,
phase: "content"
- }, e3());
+ }, t3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function s3(e) {
- let t = Q4();
- return !G4 || G4.content.kind !== e || X4 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function c3(e) {
+ let t = $4();
+ return !K4 || K4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function HAe(e) {
- !K4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (K4 = {
+async function aje(e) {
+ !q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (q4 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = s3(e.kind);
+ let t = c3(e.kind);
if (t) {
- await WAe(e, t);
+ await sje(e, t);
return;
}
- G4 && c3({ miniplayer: !1 });
- let n = ++J4, r = new AbortController();
- Y4 = r, X4 = !1, Z4 = !1, e.kind === "jav" ? L4() : T4(e.kind, e.id ?? NaN);
- let i = o3(e);
- G4 = {
+ K4 && l3({ 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 = s3(e);
+ K4 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? aN(i.props, r.signal) : i.kind === "jav" ? k2(i.props, r.signal) : e2(i.props, r.signal);
- if (n !== J4 || G4?.request !== e) {
+ let a = i.kind === "item" ? oN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : t2(i.props, r.signal);
+ if (n !== Y4 || K4?.request !== e) {
await a.catch(() => {});
return;
}
- let o = UAe(i);
- G4 = {
- ...G4,
+ let o = oje(i);
+ K4 = {
+ ...K4,
phase: o ? "content" : "skeleton"
- }, e3();
- let s = Q4();
+ }, t3();
+ let s = $4();
if (!s) {
await a.catch(() => {});
return;
}
- o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), X0(s);
+ o || uc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Z0(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== J4 || !G4 || o) return;
+ if (n !== Y4 || !K4 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- G4 = {
- ...G4,
+ K4 = {
+ ...K4,
phase: c ? "content" : "reveal"
- }, e3(), c || VAe(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, t3(), c || ije(s, n), Qs(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function UAe(e) {
- if (e.kind === "jav") return !!H.getQueryData(D2(e.props.code));
- if (e.kind === "follow") return !!H.getQueryData(Z0(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(GM(t)) : null;
+function oje(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(KM(t)) : null;
if (t && !r) return !1;
- let i = r ? rN(r, n) : n;
- return i != null && !!H.getQueryData(WM(i));
+ let i = r ? iN(r, n) : n;
+ return i != null && !!H.getQueryData(GM(i));
}
-async function WAe(e, t) {
- let n = ++J4;
- Y4?.abort();
+async function sje(e, t) {
+ let n = ++Y4;
+ X4?.abort();
let r = new AbortController();
- Y4 = r, Z4 = !1;
- let i = o3(e);
+ X4 = r, Q4 = !1;
+ let i = s3(e);
try {
- i.kind === "item" ? await aN(i.props, r.signal) : i.kind === "jav" ? await k2(i.props, r.signal) : await e2(i.props, r.signal);
+ i.kind === "item" ? await oN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await t2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== J4 || !G4 || s3(e.kind) !== t) return;
- e.kind === "jav" ? L4() : T4(e.kind, e.id ?? NaN), ql(t), _j(), G4 = {
- ...G4,
+ if (n !== Y4 || !K4 || c3(e.kind) !== t) return;
+ e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), ql(t), fj(), K4 = {
+ ...K4,
request: e,
content: i,
phase: "content"
- }, e3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Qs(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Qs(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 GAe() {
- X0(null);
- let e = Q4();
+function cje() {
+ Z0(null);
+ let e = $4();
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();
@@ -74087,14 +74244,14 @@ function GAe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function c3({ miniplayer: e = !0 } = {}) {
- if (J4++, Y4?.abort(), Y4 = null, w4(e), !G4) return;
- let t = Q4();
- t && ql(t), _j(), X0(null), t?.open && t.close(), G4 = null, X4 = !1, Z4 = !1, e3(), x4(null), document.body.removeAttribute("data-detail-open");
- let n = K4;
- K4 = null;
+function l3({ miniplayer: e = !0 } = {}) {
+ if (Y4++, X4?.abort(), X4 = null, T4(e), !K4) return;
+ let t = $4();
+ t && ql(t), fj(), 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;
let r = () => {
- !G4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !K4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -74102,80 +74259,80 @@ function c3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function KAe(e) {
- G4 && (G4 = {
- ...G4,
- content: G4.content.kind === "item" ? {
+function lje(e) {
+ K4 && (K4 = {
+ ...K4,
+ content: K4.content.kind === "item" ? {
kind: "item",
props: {
- ...G4.content.props,
+ ...K4.content.props,
...e
}
- } : G4.content.kind === "jav" ? G4.content : {
+ } : K4.content.kind === "jav" ? K4.content : {
kind: "follow",
props: {
- ...G4.content.props,
+ ...K4.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, e3());
+ }, t3());
}
-function qAe() {
- let e = wAe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, $4().player.settings().javImage) : "";
+function uje() {
+ let e = VAe(), t = e?.kind === "item" ? e.item : null, n = t ? Oo(t, e3().player.settings().javImage) : "";
if (!n) return;
- let r = C4();
+ let r = w4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var JAe = {
- open: HAe,
- update: KAe,
- exit: GAe,
- dispose: c3,
- requestClose: i3,
- requestEscape: r3,
- repaintPoster: qAe,
- isOpen: () => !!G4,
- showing: () => G4 && s3(G4.content.kind) ? G4.content.kind : null,
- activeVideo: () => OAe(),
- mountWallPlayer: TAe,
+var dje = {
+ open: aje,
+ update: lje,
+ exit: cje,
+ dispose: l3,
+ requestClose: a3,
+ requestEscape: i3,
+ repaintPoster: uje,
+ isOpen: () => !!K4,
+ showing: () => K4 && c3(K4.content.kind) ? K4.content.kind : null,
+ activeVideo: () => GAe(),
+ mountWallPlayer: HAe,
toggleTheater: () => {
- G4 && Jj(!$4().player.settings().theaterMode);
+ K4 && Uj(!e3().player.settings().theaterMode);
},
- toggleMiniplayer: () => z4(),
- closeMiniplayer: () => L4(),
- miniplayerActive: () => D4(),
- miniplayerTakesCard: (e) => V4(e),
+ toggleMiniplayer: () => B4(),
+ closeMiniplayer: () => R4(),
+ miniplayerActive: () => O4(),
+ miniplayerTakesCard: (e) => H4(e),
miniplayerPlay: (e) => {
- MAe(e);
+ YAe(e);
}
};
-function YAe(e) {
- return W4 = e, CAe(e, {
- isOpen: () => !!G4,
- requestClose: i3
- }), JAe;
+function fje(e) {
+ return G4 = e, BAe(e, {
+ isOpen: () => !!K4,
+ requestClose: a3
+ }), dje;
}
-function XAe() {
- let e = (0, P.useSyncExternalStore)(LAe, () => G4);
- return W4 ? /* @__PURE__ */ (0, F.jsx)(zAe, { view: e }) : null;
+function pje() {
+ let e = (0, P.useSyncExternalStore)(eje, () => K4);
+ return G4 ? /* @__PURE__ */ (0, F.jsx)(nje, { view: e }) : null;
}
// src/react/stats/stats.ts
-var ZAe = "/api/stats", l3 = ["stats"], u3 = (e) => B(ZAe, e);
-async function QAe(e) {
+var mje = "/api/stats", u3 = ["stats"], d3 = (e) => B(mje, e);
+async function hje(e) {
await H.fetchQuery({
- queryKey: l3,
- queryFn: () => u3(e)
+ queryKey: u3,
+ queryFn: () => d3(e)
});
}
-var d3 = (e) => e != null && Number.isFinite(e), $Ae = (e) => d3(e) ? e.toLocaleString() : "未取得", eje = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, tje = (e, t) => {
- let n = eje(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), gje = (e) => f3(e) ? e.toLocaleString() : "未取得", _je = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, vje = (e, t) => {
+ let n = _je(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, nje = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", rje = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function ije(e, t = 6) {
+}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, yje = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", bje = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function xje(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);
@@ -74185,7 +74342,7 @@ function ije(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var aje = (e) => Math.max(1, ...e) * 1.1, oje = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, sje = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), cje = {
+var Sje = (e) => Math.max(1, ...e) * 1.1, Cje = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, wje = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Tje = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -74193,18 +74350,18 @@ var aje = (e) => Math.max(1, ...e) * 1.1, oje = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, lje = (e) => e.map((e) => ({
- name: cje[e.k] ?? e.k,
+}, Eje = (e) => e.map((e) => ({
+ name: Tje[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), uje = {
+})).sort((e, t) => t.value - e.value), Dje = {
速食: "<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
-})), dje = (e) => h3(e, uje), fje = [
+})), Oje = (e) => g3(e, Dje), kje = [
[
1,
1,
@@ -74240,12 +74397,12 @@ var aje = (e) => Math.max(1, ...e) * 1.1, oje = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], pje = (e) => fje.map(([t, n, r]) => ({
+], Aje = (e) => kje.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 {
@@ -74255,7 +74412,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 {
@@ -74265,7 +74422,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 {
@@ -74275,64 +74432,64 @@ function v3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function mje(e, t) {
+function jje(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 hje(e) {
+function Mje(e) {
return e.index;
}
-function gje(e) {
+function Nje(e) {
return e.nodes;
}
-function _je(e) {
+function Pje(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 vje() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = hje, c = mje, l, u, d = gje, f = _je, p = 6;
+function Fje() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = Mje, c = jje, l, u, d = Nje, f = Pje, 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) {
@@ -74340,9 +74497,9 @@ function vje() {
}, 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) {
@@ -74358,12 +74515,12 @@ function vje() {
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;
@@ -74388,7 +74545,7 @@ function vje() {
}
}
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];
@@ -74397,7 +74554,7 @@ function vje() {
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) {
@@ -74414,7 +74571,7 @@ function vje() {
}
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);
@@ -74433,7 +74590,7 @@ function vje() {
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) {
@@ -74449,7 +74606,7 @@ function vje() {
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) {
@@ -74470,12 +74627,12 @@ function vje() {
}
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;
@@ -74504,15 +74661,15 @@ function vje() {
return m;
}
// node_modules/d3-path/src/path.js
-var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, yje = D3 - O3;
-function k3() {
+var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, Ije = 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);
},
@@ -74533,11 +74690,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);
}
}
},
@@ -74545,7 +74702,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 > yje ? 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 > Ije ? 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";
@@ -74555,93 +74712,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 bje(e) {
+function Lje(e) {
return e[0];
}
-function xje(e) {
+function Rje(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var Sje = Array.prototype.slice;
+var zje = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function Cje(e) {
+function Bje(e) {
return e.source;
}
-function wje(e) {
+function Vje(e) {
return e.target;
}
-function Tje(e) {
- var t = Cje, n = wje, r = bje, i = xje, a = null;
+function Hje(e) {
+ var t = Bje, n = Vje, r = Lje, i = Rje, a = null;
function o() {
- var o, s = Sje.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 = zje.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 Eje(e, t, n, r, i) {
+function Uje(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function Dje() {
- return Tje(Eje);
+function Wje() {
+ return Hje(Uje);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function Oje(e) {
+function Gje(e) {
return [e.source.x1, e.y0];
}
-function kje(e) {
+function Kje(e) {
return [e.target.x0, e.y1];
}
-function Aje() {
- return Dje().source(Oje).target(kje);
+function qje() {
+ return Wje().source(Gje).target(Kje);
}
// src/react/taste/taste.ts
-var jje = "/api/taste", M3 = "/api/taste/refresh", Mje = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], Nje = ["taste", "refresh"], Pje = [
+var Jje = "/api/taste", N3 = "/api/taste/refresh", Yje = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], Xje = ["taste", "refresh"], Zje = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], Fje = 2e3, Ije = (e) => e?.stale && !e.error ? Fje : !1, Lje = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], Qje = 2e3, $je = (e) => e?.stale && !e.error ? Qje : !1, eMe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", Rje = (e, t) => V(N3, {
+}) : "—", tMe = (e, t) => V(P3, {
...e,
window: t
-}), F3 = (e, t, n = !1) => B(`${jje}?window=${e}${n ? "&retry=1" : ""}`, t), zje = (e) => B(M3, e);
-async function Bje(e, t) {
+}), I3 = (e, t, n = !1) => B(`${Jje}?window=${e}${n ? "&retry=1" : ""}`, t), nMe = (e) => B(N3, e);
+async function rMe(e, t) {
await H.fetchQuery({
- queryKey: P3(e),
- queryFn: () => F3(e, t)
+ queryKey: F3(e),
+ queryFn: () => I3(e, t)
});
}
-var Vje = (e) => V(M3, {
+var iMe = (e) => V(N3, {
window: e,
background: !0
-}), Hje = (e, t) => V(N3, {
+}), aMe = (e, t) => V(P3, {
operation: "remove",
source_key: e,
window: t
});
-async function Uje(e) {
- let t = await fetch(Mje, {
+async function oMe(e) {
+ let t = await fetch(Yje, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -74659,52 +74816,52 @@ async function Uje(e) {
}
return n;
}
-var Wje = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function Gje(e) {
+var sMe = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function cMe(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 Kje = f3, qje = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Jje = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function Yje(e) {
+var lMe = p3, uMe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), dMe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function fMe(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 Xje(e) {
- let t = e.map(Jje), n = Math.max(1, ...t);
+function pMe(e) {
+ let t = e.map(dMe), 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 Zje(e) {
- let t = L3(e, 6);
+function mMe(e) {
+ let t = R3(e, 6);
return t.length < 3 ? [] : t;
}
-var R3 = {
+var z3 = {
width: 720,
height: 435
-}, Qje = {
+}, hMe = {
source: 145,
target: 545
-}, z3 = 30, $je = 240;
-function B3(e, t, n) {
+}, B3 = 30, gMe = 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 eMe(e = []) {
+function _Me(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, {
@@ -74713,7 +74870,7 @@ function eMe(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 + $je), u = vje().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 + gMe), u = Fje().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -74728,7 +74885,7 @@ function eMe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = Aje();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = qje();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -74756,17 +74913,17 @@ function eMe(e = []) {
};
}),
total: d,
- height: l + R3.height - 404
+ height: l + z3.height - 404
};
}
-var tMe = (e) => er(e, 17), V3 = {
+var vMe = (e) => er(e, 17), H3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, nMe = [[
+}, yMe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -74774,7 +74931,7 @@ var tMe = (e) => er(e, 17), V3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], rMe = [[
+]], bMe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -74782,7 +74939,7 @@ var tMe = (e) => er(e, 17), V3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], iMe = [[
+]], xMe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -74790,7 +74947,7 @@ var tMe = (e) => er(e, 17), V3 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], aMe = [
+]], SMe = [
[
"studios",
"厂牌",
@@ -74806,7 +74963,7 @@ var tMe = (e) => er(e, 17), V3 = {
"系列",
"file-stack"
]
-], oMe = [[
+], CMe = [[
"local",
"本地",
"hard-drive"
@@ -74814,7 +74971,7 @@ var tMe = (e) => er(e, 17), V3 = {
"online",
"在线",
"rss"
-]], sMe = [
+]], wMe = [
[
"performers",
"艺人",
@@ -74830,7 +74987,7 @@ var tMe = (e) => er(e, 17), V3 = {
"在线",
"rss"
]
-], cMe = [[
+], TMe = [[
"cloud",
"标签云",
"tags"
@@ -74838,8 +74995,8 @@ var tMe = (e) => er(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,
@@ -74849,7 +75006,7 @@ function U3(e, t) {
category: n.get("category") || "all"
};
}
-var W3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
+var G3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -74857,12 +75014,12 @@ var W3 = (e, t, n) => Hs(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), lMe = (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">
+}), EMe = (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">${Xc("tag-view", "标签视图", cMe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function uMe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? iMe : c ? rMe : nMe, a) : "";
+ <span class="ml-auto">${Xc("tag-view", "标签视图", TMe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function DMe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Xc("people-layout", o + "索引版式", e === "series" ? xMe : c ? bMe : yMe, 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}
@@ -74874,24 +75031,24 @@ function uMe({ 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">${Es("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? W3(oMe, n, "词表") : e === "performers" || e === "creators" ? W3(sMe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(aMe, e, "资料类型") : ""}
- ${e === "tags" ? lMe(r) : ""}
- ${e === "performers" && n !== "online" ? nCe(i) : ""}
+ ${e === "tags" ? G3(CMe, n, "词表") : e === "performers" || e === "creators" ? G3(wMe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(SMe, e, "资料类型") : ""}
+ ${e === "tags" ? EMe(r) : ""}
+ ${e === "performers" && n !== "online" ? uCe(i) : ""}
${rc({
kind: e,
layout: a,
mode: r
})}`;
}
-var dMe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function G3(e, t, n) {
- let r = uMe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== dMe(r) && (e.innerHTML = r, uc(e));
+var OMe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function K3(e, t, n) {
+ let r = DMe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== OMe(r) && (e.innerHTML = r, uc(e));
}
// src/react/router/pages/index-entity.tsx
-var fMe = () => Du, pMe = () => fu, K3 = () => document.getElementById("index");
-function q3(e, t, n = {}) {
- let r = (0, P.useSyncExternalStore)(Ru, fMe);
+var kMe = () => Du, AMe = () => fu, q3 = () => document.getElementById("index");
+function J3(e, t, n = {}) {
+ let r = (0, P.useSyncExternalStore)(Ru, kMe);
JB();
let i = OV(sH.navigation.location.pathname), a = (0, P.useRef)({
mounted: !0,
@@ -74939,13 +75096,13 @@ function q3(e, t, n = {}) {
i
]);
}
-async function mMe(e, t, n, r) {
- let i = K3();
+async function jMe(e, t, n, r) {
+ let i = q3();
if (!i) return;
let a = `/${t}`;
e.surfaceChanged("index", a);
- let o = U3(t, n), s = H3(OA().value.peopleLayout);
- G3(i, o, s), await XV(a, {
+ let o = W3(t, n), s = U3(xA().value.peopleLayout);
+ K3(i, o, s), await XV(a, {
...o,
layout: s,
selectMode: fu,
@@ -74955,23 +75112,23 @@ async function mMe(e, t, n, r) {
isCurrent: r
}) && r() && e.surfaceShown?.("index", a);
}
-function hMe(e) {
- let t = K3(), n = t ? KV(t) : null;
+function MMe(e) {
+ let t = q3(), n = t ? KV(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function gMe({ epoch: e }) {
+function NMe({ epoch: e }) {
let t = (0, P.useContext)(IU), n = JB(), r = n.pathname.split("/").filter(Boolean)[0];
- return q3(e, (e, i) => {
- t && mMe(t, r, n.search, i);
- }, { shown: () => hMe(`/${r}`) }), null;
+ return J3(e, (e, i) => {
+ t && jMe(t, r, n.search, i);
+ }, { shown: () => MMe(`/${r}`) }), null;
}
-function _Me() {
- let e = FU(), t = (0, P.useSyncExternalStore)(Ru, pMe), n = (0, P.useRef)(t);
+function PMe() {
+ let e = FU(), t = (0, P.useSyncExternalStore)(Ru, AMe), n = (0, P.useRef)(t);
return (0, P.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && ZV(K3(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, F.jsx)(gMe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && ZV(q3(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, F.jsx)(NMe, { epoch: e }, e);
}
-function J3(e) {
+function Y3(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -74985,9 +75142,9 @@ function J3(e) {
name: a
} : null;
}
-var Y3 = /* @__PURE__ */ new WeakMap();
-function vMe(e) {
- let t = Y3.get(e);
+var X3 = /* @__PURE__ */ new WeakMap();
+function FMe(e) {
+ let t = X3.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -74997,14 +75154,14 @@ function vMe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, Y3.set(e, t)), t;
+ }, X3.set(e, t)), t;
}
-function X3() {
- let e = K3(), t = e ? KV(e) : null;
+function Z3() {
+ let e = q3(), t = e ? KV(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function yMe(e, t, n, r, i, a, o) {
- let s = K3();
+async function IMe(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;
@@ -75018,7 +75175,7 @@ async function yMe(e, t, n, r, i, a, o) {
}, h = t.props(l, u, i), g = {
...h,
hosts: m,
- card: vMe(e),
+ card: FMe(e),
resolvedEntity: o,
actions: {
...h.actions,
@@ -75031,14 +75188,14 @@ async function yMe(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 bMe({ target: e }) {
+function LMe({ target: e }) {
let t = (0, P.useContext)(IU), n = FU(), r = JB();
- return q3(n, (n, i) => {
+ return J3(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
let o = new URLSearchParams({ kind: e.kind });
@@ -75065,7 +75222,7 @@ function bMe({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Nn(e.kind, c, Number(s.id));
- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && yMe(t, a, {
+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && IMe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : cH(l + r.search + r.hash, {
@@ -75073,14 +75230,14 @@ function bMe({ target: e }) {
state: sH.navigation.location.state
});
})();
- }, { shown: () => X3() && !K3()?.hidden }), null;
+ }, { shown: () => Z3() && !q3()?.hidden }), null;
}
-function xMe() {
- let e = J3(JB().pathname);
- return e ? /* @__PURE__ */ (0, F.jsx)(bMe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function RMe() {
+ let e = Y3(JB().pathname);
+ return e ? /* @__PURE__ */ (0, F.jsx)(LMe, { 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", {
@@ -75102,37 +75259,37 @@ function Z3({ tab: e, navigate: t, find: n }) {
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(cEe(e))
+ onChange: (e) => t(gEe(e))
})]
});
}
-function SMe({ navigate: e, receipt: t }) {
+function zMe({ 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)(K2, {
+ }), /* @__PURE__ */ (0, F.jsx)(q2, {
prefill: n,
close: () => r(null),
receipt: t
})] });
}
// src/react/router/pages/catalog.tsx
-var CMe = () => Du, Q3 = sH.navigation.seq, $3 = sH.navigation.openEpoch, e6 = sH.navigation.location.pathname, t6 = {
- seq: Q3,
+var BMe = () => Du, $3 = sH.navigation.seq, e6 = sH.navigation.openEpoch, t6 = sH.navigation.location.pathname, n6 = {
+ seq: $3,
claimed: !0,
- from: e6
+ from: t6
};
sH.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 } = sH.navigation, i = OV(r.pathname), a = uH() ?? r, o = U ?? {};
return {
seq: t,
@@ -75144,7 +75301,7 @@ function r6(e) {
opened: e
};
}
-function wMe(e, t, n, r) {
+function VMe(e, t, n, r) {
let i = { ...U };
if (e === "/trash") return {
...i,
@@ -75155,7 +75312,7 @@ function wMe(e, t, n, r) {
state: "trash",
q: ""
};
- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = OA().value;
+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = xA().value;
return {
...i,
loc: a.get("loc") ?? r.defaultLoc(),
@@ -75169,7 +75326,7 @@ function wMe(e, t, n, r) {
dur_max: a.get("dur_max") || "",
orient: a.get("orient") || "",
state: On[e] || a.get("state") || "",
- ...lA(a.get("sort"), a.get("dir"), o, s),
+ ...Qk(a.get("sort"), a.get("dir"), o, s),
seed: a.get("seed") || (n ? rr() : i.seed || rr()),
q: a.get("q") || "",
jav: a.get("jav") || "",
@@ -75180,8 +75337,8 @@ function wMe(e, t, n, r) {
folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""
};
}
-function TMe(e, t) {
- let n = { ...e }, r = r6(n.opened);
+function HMe(e, t) {
+ let n = { ...e }, r = i6(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -75196,41 +75353,41 @@ function TMe(e, t) {
i.load();
return;
}
- r.epoch !== n.epoch && (a = sH.navigation.action === "POP" && t6.from !== "/");
+ r.epoch !== n.epoch && (a = sH.navigation.action === "POP" && n6.from !== "/");
}
let { pathname: o, search: s } = sH.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
let { kind: e, view: t } = a$(s);
- n6 = !0, cH(o$(e, t), { replace: !0 });
+ r6 = !0, cH(o$(e, t), { replace: !0 });
return;
}
- let c = n6;
- n6 = !1, a &&= o === "/", e.opened = !0, Iu({ state: wMe(o, s, a, i) }), i.open(o, {
+ let c = r6;
+ r6 = !1, a &&= o === "/", e.opened = !0, Iu({ state: VMe(o, s, a, i) }), i.open(o, {
entering: a,
retitle: c
});
}
-function EMe(e) {
- return An(e) || e === "/trash" || OV(e) || e === "/immerse" || !!J3(e);
+function UMe(e) {
+ return An(e) || e === "/trash" || OV(e) || e === "/immerse" || !!Y3(e);
}
-function DMe() {
- let e = (0, P.useContext)(IU), t = FU(), n = (0, P.useSyncExternalStore)(Ru, CMe), r = JB(), i = (0, P.useRef)(null), a = (0, P.useRef)({
+function WMe() {
+ let e = (0, P.useContext)(IU), t = FU(), n = (0, P.useSyncExternalStore)(Ru, BMe), r = JB(), 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(!OV(sH.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(!OV(sH.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 && !EMe(sH.navigation.location.pathname) && e.catalog.release();
+ e?.catalog && !UMe(sH.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 && TMe(i.current, e);
+ t.queued = !1, t.mounted && i.current && HMe(i.current, e);
}));
}, [
t,
@@ -75239,7 +75396,7 @@ function DMe() {
e
]), null;
}
-function i6() {
+function a6() {
let { pathname: e, search: t } = JB();
(0, P.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -75259,30 +75416,30 @@ function i6() {
r.hidden = !0;
};
}, [r, i]), OV(e) && !DV(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [
- /* @__PURE__ */ (0, F.jsx)(DMe, {}, e === "/junk-files" ? "/junk-files" : "/"),
+ /* @__PURE__ */ (0, F.jsx)(WMe, {}, e === "/junk-files" ? "/junk-files" : "/"),
An(e) ? /* @__PURE__ */ (0, F.jsx)(WU, {}) : null,
- i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(SMe, {
+ i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(zMe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null
] });
}
// src/react/router/pages/follow.tsx
-var a6 = () => document.getElementById("stats"), OMe = () => Nu;
-function kMe(e) {
+var o6 = () => document.getElementById("stats"), GMe = () => Nu;
+function KMe(e) {
let t = document.createElement("div");
return t.className = "peach-react", tc(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-async function AMe(e, t) {
- let n = a6(), r = e.follow;
+async function qMe(e, t) {
+ let n = o6(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = Mu;
- e.surfaceChanged("follow", "/follow"), l2(n, r.skeleton()), await XV("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), u2(n, r.skeleton()), await XV("/follow", r.props(), {
container: n,
isCurrent: t,
- place: kMe
+ place: KMe
}), t() && window.scrollTo(i ? {
top: i,
behavior: "instant"
@@ -75291,28 +75448,28 @@ async function AMe(e, t) {
behavior: "smooth"
});
}
-function jMe() {
- let e = a6(), t = e ? KV(e) : null;
+function JMe() {
+ let e = o6(), t = e ? KV(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function MMe() {
+function YMe() {
let e = (0, P.useContext)(IU);
- return q3(FU(), (t, n) => {
- e && AMe(e, n);
+ return J3(FU(), (t, n) => {
+ e && qMe(e, n);
}, {
- shown: jMe,
+ shown: JMe,
onCovered: () => {
sH.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function o6(e) {
+function s6(e) {
let t = e ? KV(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function NMe(e, t) {
- let n = a6();
- n && (e.surfaceChanged("playlists", "/playlists"), l2(n, s2("/playlists", {
+async function XMe(e, t) {
+ let n = o6();
+ n && (e.surfaceChanged("playlists", "/playlists"), u2(n, c2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -75324,37 +75481,37 @@ async function NMe(e, t) {
behavior: "smooth"
}));
}
-function PMe() {
- let e = (0, P.useContext)(IU), t = (0, P.useSyncExternalStore)(Ru, OMe), n = (0, P.useRef)(t);
+function ZMe() {
+ let e = (0, P.useContext)(IU), t = (0, P.useSyncExternalStore)(Ru, GMe), n = (0, P.useRef)(t);
return (0, P.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = a6();
- o6(e) && ZV(e, { revision: t });
- }, [t]), q3(FU(), (t, n) => {
- e && NMe(e, n);
+ let e = o6();
+ s6(e) && ZV(e, { revision: t });
+ }, [t]), J3(FU(), (t, n) => {
+ e && XMe(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 FMe() {
+function QMe() {
let e = new URLSearchParams(sH.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function IMe() {
+function $Me() {
let e = (0, P.useContext)(IU);
return NU(() => {
- e?.openImmerse(FMe());
+ e?.openImmerse(QMe());
}, !0), null;
}
-function LMe() {
- return /* @__PURE__ */ (0, F.jsx)(IMe, {}, FU());
+function eNe() {
+ return /* @__PURE__ */ (0, F.jsx)($Me, {}, FU());
}
// 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));
@@ -75369,37 +75526,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 RMe = () => Du > 0, l6 = () => (0, P.useSyncExternalStore)(Ru, RMe), u6 = () => OA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);
-function zMe(e) {
- let t = d6();
- return s2(e, {
- followLayout: u6(),
+var tNe = () => Du > 0, u6 = () => (0, P.useSyncExternalStore)(Ru, tNe), d6 = () => xA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
+function nNe(e) {
+ let t = f6();
+ return c2(e, {
+ followLayout: d6(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
});
}
-function f6(e) {
+function p6(e) {
return wn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (Tn(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 BMe(e, t) {
+async function rNe(e, t) {
if (e === "/jav") {
- let e = await f6(t);
+ let e = await p6(t);
return t.live ? {
- tab: b$(d6().get("tab")),
+ tab: b$(f6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -75410,54 +75567,55 @@ async function BMe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && Iu({ configurationRequestedSection: "网络与访问" });
- let t = d6().get("section") || wu || yV(e);
+ let t = f6().get("section") || wu || yV(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: EY(e) ? e : "",
- queue: kY(d6().get("queue")),
- ...p6(n, "/review")
+ category: wY(e) ? e : "",
+ queue: DY(f6().get("queue")),
+ ...m6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = FZ("?" + d6().toString()), n = await f6(t);
+ let e = FZ("?" + f6().toString()), n = await p6(t);
if (!t.live) return null;
- let r = OA().value;
+ let r = xA().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: u6(),
- ...p6(n, "/subscriptions")
+ layout: d6(),
+ ...m6(n, "/subscriptions")
};
}
return {};
}
-var VMe = () => {
+var iNe = () => {
window.scrollTo({
top: 0,
- behavior: s6()
+ behavior: c6()
});
-}, HMe = /* @__PURE__ */ new Set([
+}, aNe = /* @__PURE__ */ new Set([
"/stats",
"/taste",
"/review",
"/quality-goals",
"/tasks",
- "/subscriptions"
+ "/subscriptions",
+ ...dP.map((e) => e.path)
]);
-async function UMe(e, t, n) {
+async function oNe(e, t, n) {
let r = sH.navigation.seq, i = () => n.live && sH.navigation.seq === r;
- if (e === "/jav" && b$(d6().get("tab")) === "library") {
- sH.replace(lEe(window.location.search));
+ if (e === "/jav" && b$(f6().get("tab")) === "library") {
+ sH.replace(_Ee(window.location.search));
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "wants") {
+ if (e === "/subscriptions" && f6().get("tab") === "wants") {
cH("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && d6().get("tab") === "source") {
+ if (e === "/subscriptions" && f6().get("tab") === "source") {
cH("/settings/subscriptions", { replace: !0 });
return;
}
@@ -75480,8 +75638,8 @@ async function UMe(e, t, n) {
state: "",
q: "",
jav: ""
- } }), t.clearSearch()), l2(a, zMe(e));
- let o = await BMe(e, n);
+ } }), t.clearSearch()), u2(a, nNe(e));
+ let o = await rNe(e, n);
if (!o) return;
let s = await XV(e, o, {
container: a,
@@ -75494,22 +75652,22 @@ async function UMe(e, t, n) {
replace: !0,
state: null
});
- }) : t ? c6(t, i) : (HMe.has(e) || e === "/settings/library") && VMe();
+ }) : t ? l6(t, i) : (aNe.has(e) || e === "/settings/library") && iNe();
}
}
-function m6({ path: e }) {
+function h6({ path: e }) {
let t = FU();
JB();
let n = OV(sH.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)(WMe, {
+ return /* @__PURE__ */ (0, F.jsx)(sNe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function WMe({ path: e, covered: t }) {
- let n = (0, P.useContext)(IU), r = l6(), i = (0, P.useRef)(null);
+function sNe({ path: e, covered: t }) {
+ let n = (0, P.useContext)(IU), r = u6(), i = (0, P.useRef)(null);
return (0, P.useEffect)(() => {
e.startsWith("/settings/") && ZV(document.getElementById("stats"), { section: yV(e) });
}, [e]), (0, P.useEffect)(() => {
@@ -75520,7 +75678,7 @@ function WMe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && UMe(e, n, a);
+ a.live && oNe(e, n, a);
});
}, [r]), (0, P.useEffect)(() => () => {
let e = i.current;
@@ -75532,38 +75690,38 @@ function WMe({ path: e, covered: t }) {
});
}, []), null;
}
-function GMe() {
- let e = l6(), t = (0, P.useRef)(!1);
+function cNe() {
+ let e = u6(), t = (0, P.useRef)(!1);
return (0, P.useEffect)(() => {
if (!e || t.current || OV(sH.navigation.location.pathname)) return;
t.current = !0;
let n = !0;
return queueMicrotask(() => {
- n && cH("/data-cleanup#resource-sync", { replace: !0 });
+ n && cH("/data-cleanup/resource-sync", { replace: !0 });
}), () => {
n = !1;
};
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var h6 = [], g6 = "peach.chunkReloadAt", KMe = 3e4;
-async function qMe() {
+var g6 = [], _6 = "peach.chunkReloadAt", lNe = 3e4;
+async function uNe() {
try {
- let e = Number(sessionStorage.getItem(g6) || 0);
- if (Date.now() - e < KMe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(_6) || 0);
+ if (Date.now() - e < lNe || !(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 qMe(), e;
+ throw await uNe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -75571,10 +75729,10 @@ function _6(e) {
}
};
}
-function JMe() {
+function dNe() {
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);
@@ -75583,31 +75741,31 @@ function JMe() {
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-DHl3Jm_q.js")), b6 = _6(() => import("./peach-app.stats-page-CxbUCXeP.js")), x6 = _6(() => import("./peach-app.taste-page-C5j4APwJ.js")), S6 = _6(() => import("./peach-app.review-page-BoybwF8-.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 () => {
- let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-DFsNUGcd.js"), import("./peach-app.diagnostics-page-CZQmu5mE.js")]);
+var b6 = v6(() => import("./peach-app.jav-page-DHl3Jm_q.js")), x6 = v6(() => import("./peach-app.stats-page-DhNggTPt.js")), S6 = v6(() => import("./peach-app.taste-page-D4Qtfuxs.js")), C6 = v6(() => import("./peach-app.review-page-BoybwF8-.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-Gw7OWpuh.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-DFsNUGcd.js"), import("./peach-app.diagnostics-page-BcOPrk80.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), O6 = _6(() => import("./peach-app.activity-page-B66P-r0P.js")), k6 = _6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function YMe(e, t, n) {
+}), k6 = v6(() => import("./peach-app.activity-page-B66P-r0P.js")), A6 = v6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function fNe(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([$Ee(n), ...e === "/settings/diagnostics" ? [xTe(n)] : []]).then(() => {})),
+var M6 = (e) => ({
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e }),
+ prefetch: (t, n) => y6(O6, Promise.all([_De(n), ...e === "/settings/diagnostics" ? [kTe(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,
@@ -75618,12 +75776,24 @@ var j6 = (e) => ({
})
});
}
-}), M6 = {
+}), N6 = {
+ ...Object.fromEntries(dP.map((e) => [e.path, {
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e.path }),
+ prefetch: (t, n) => y6(w6, eCe(e.key, n)),
+ page: (t, n) => {
+ let { DataCleanupToolPage: r } = w6.get();
+ return /* @__PURE__ */ (0, F.jsx)(r, {
+ tool: e.key,
+ failure: n.failure,
+ toast: (e, { warning: t = !1 } = {}) => t ? n.toast({ text: e }, { sound: "warning" }) : n.receipt(e)
+ });
+ }
+ }])),
"/jav": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/jav" }),
- prefetch: (e, t) => v6(y6, dEe(e.tab, t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/jav" }),
+ prefetch: (e, t) => y6(b6, yEe(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,
@@ -75632,10 +75802,10 @@ var j6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/stats" }),
- prefetch: (e, t) => v6(b6, QAe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/stats" }),
+ prefetch: (e, t) => y6(x6, hje(t)),
page: (e, t) => {
- let { StatsPage: n } = b6.get();
+ let { StatsPage: n } = x6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
tagLabel: Zl,
onTag: t.openTag
@@ -75643,10 +75813,10 @@ var j6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/taste" }),
- prefetch: (e, t) => v6(x6, Bje("all", t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/taste" }),
+ prefetch: (e, t) => y6(S6, rMe("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,
@@ -75656,10 +75826,10 @@ var j6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/review" }),
- prefetch: (e, t) => v6(S6, zxe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/review" }),
+ prefetch: (e, t) => y6(C6, Wxe(t)),
page: (e, t) => {
- let { ReviewPage: n } = S6.get();
+ let { ReviewPage: n } = C6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
...e,
route: t.routeReview,
@@ -75671,22 +75841,23 @@ var j6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/data-cleanup" }),
- prefetch: (e, t) => v6(C6, KSe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => y6(w6, $Se(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = C6.get();
+ let { DataCleanupPage: r } = w6.get();
return /* @__PURE__ */ (0, F.jsx)(r, {
+ navigate: n,
failure: t.failure,
- open: (e) => YMe(e, t, n),
+ open: (e) => fNe(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, txe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/duplicates" }),
+ prefetch: (e, t) => y6(T6, oxe(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,
@@ -75695,46 +75866,46 @@ var j6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/quality-goals" }),
- prefetch: (e, t) => v6(T6, pxe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/quality-goals" }),
+ prefetch: (e, t) => y6(E6, vxe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = T6.get();
+ let { QualityGoalsPage: n } = E6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: KF,
- javDisplayName: GF,
+ javTitleHtml: yF,
+ javDisplayName: vF,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/sources" }),
- prefetch: (e, t) => v6(E6, UEe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/sources" }),
+ prefetch: (e, t) => y6(D6, sDe(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, Mue(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/tasks" }),
+ prefetch: (e, t) => y6(k6, AF(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, Li(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/subscriptions" }),
+ prefetch: (e, t) => y6(A6, Li(t)),
page: (e, t) => {
- let { FollowManagePage: n } = k6.get();
+ let { FollowManagePage: n } = A6.get();
return /* @__PURE__ */ (0, F.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -75744,12 +75915,12 @@ var j6 = (e) => ({
});
}
}
-}, N6 = (e) => Object.hasOwn(M6, e), XMe = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(GMe, {}) } }, ZMe = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(LMe, {}) } }, P6 = {
+}, P6 = (e) => Object.hasOwn(N6, e), pNe = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(cNe, {}) } }, mNe = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(eNe, {}) } }, F6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, F.jsx)(PMe, {}),
- prefetch: (e, t) => v6(A6, DEe(t)),
+ element: /* @__PURE__ */ (0, F.jsx)(ZMe, {}),
+ prefetch: (e, t) => y6(j6, GEe(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,
@@ -75760,14 +75931,14 @@ var j6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, F.jsx)(MMe, {}),
+ element: /* @__PURE__ */ (0, F.jsx)(YMe, {}),
prefetch: (e, t) => aa(e, t),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(ewe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(cwe, { ...e })
}
-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {
- element: /* @__PURE__ */ (0, F.jsx)(_Me, {}),
- prefetch: (e, t) => pCe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, F.jsx)(ITe, {
+}, I6 = (e) => Object.hasOwn(F6, e), L6 = {
+ element: /* @__PURE__ */ (0, F.jsx)(PMe, {}),
+ prefetch: (e, t) => xCe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, F.jsx)(WTe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -75780,82 +75951,82 @@ var j6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
-}, L6 = {
- "/performers": I6,
- "/creators": I6,
- "/studios": I6,
- "/agencies": I6,
- "/tags": I6,
- "/series": I6
}, R6 = {
- element: /* @__PURE__ */ (0, F.jsx)(xMe, {}),
- prefetch: (e) => tCe(e),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(gTe, { ...e })
+ "/performers": L6,
+ "/creators": L6,
+ "/studios": L6,
+ "/agencies": L6,
+ "/tags": L6,
+ "/series": L6
}, z6 = {
- "/performers/*": R6,
- "/studios/*": R6,
- "/creators/*": R6,
- "/series/*": R6,
- "/agencies/*": R6,
- "/tags/*": R6
+ element: /* @__PURE__ */ (0, F.jsx)(RMe, {}),
+ prefetch: (e) => lCe(e),
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(wTe, { ...e })
}, B6 = {
+ "/performers/*": z6,
+ "/studios/*": z6,
+ "/creators/*": z6,
+ "/series/*": z6,
+ "/agencies/*": z6,
+ "/tags/*": z6
+}, V6 = {
"/": {
- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),
- prefetch: (e, t) => Ice(e, t),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(oY, { ...e })
+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),
+ prefetch: (e, t) => Fce(e, t),
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(iY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),
+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, F.jsx)(ZTe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(aEe, { ...e })
}
-}, V6 = (e) => Object.hasOwn(B6, e), QMe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)($ge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(R$, { ...e }), H6 = {
+}, H6 = (e) => Object.hasOwn(V6, e), hNe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(n_e, { ...e }) : /* @__PURE__ */ (0, F.jsx)(R$, { ...e }), U6 = {
"catalog-filter": {
prefetch: async () => {},
page: (e) => /* @__PURE__ */ (0, F.jsx)(WW, { ...e })
},
"feed-new": {
- prefetch: (e) => ZSe(e),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(STe, { ...e })
+ prefetch: (e) => aCe(e),
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(ATe, { ...e })
},
"library-processing": {
prefetch: (e, t) => jH(t),
- page: (e) => /* @__PURE__ */ (0, F.jsx)(QMe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(hNe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, F.jsx)(YEe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, F.jsx)(pDe, { ...e })
}
-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {
+}, W6 = (e) => Object.hasOwn(U6, e), G6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(ase, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(gse, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(Vse, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(Kse, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(fue, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(Hue, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(jP, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(Lle, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(vDe, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(IDe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(NDe, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(ZDe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, F.jsx)(XAe, {})
+ page: () => /* @__PURE__ */ (0, F.jsx)(pje, {})
}
-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [
+}, K6 = (e) => Object.hasOwn(G6, e), q6 = [
"/",
"/wall",
"/unseen",
@@ -75865,99 +76036,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 $Me(e, t, n) {
- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function gNe(e, t, n) {
+ return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function eNe(e, t, n, r) {
- return J6(e).page(t, n, r);
+function _Ne(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 tNe(e) {
- return Y6 = e, X6 && e(X6), () => {
- Y6 === e && (Y6 = null);
+var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();
+function vNe(e) {
+ return X6 = e, Z6 && e(Z6), () => {
+ X6 === e && (X6 = null);
};
}
-function nNe(e) {
- return Y6 && (X6 = e, Y6(e), Phe(Promise.resolve($Me)), JMe()), Promise.resolve();
+function yNe(e) {
+ return X6 && (Z6 = e, X6(e), Lhe(Promise.resolve(gNe)), dNe()), Promise.resolve();
}
-async function $6(e, t, n = (e) => e) {
- let r = Z6;
- if (t.isConnected || Q6.add(t), !await XV(e, {}, {
+async function e8(e, t, n = (e) => e) {
+ let r = Q6;
+ if (t.isConnected || $6.add(t), !await XV(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!Y6 && r === Z6,
+ isCurrent: () => !!X6 && r === Q6,
place: () => n(t)
- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");
-}
-function rNe() {
- 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(), GQ();
-}
-var e8 = null, t8 = null;
-function n8(e) {
- return e8 ??= (async () => {
- let t = YAe(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 iNe(e) {
- return i8 ??= (async () => {
- let t = AP(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;
-function aNe(e) {
- return s8 ??= (async () => {
- let t = _De(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;
- })(), s8;
-}
-var l8 = () => c8, u8 = null, d8 = null;
-function oNe(e) {
- return u8 ??= (async () => {
- let t = MDe(e);
- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;
- })(), u8;
-}
-var f8 = () => d8, p8 = null, m8 = null;
-function sNe(e) {
- return p8 ??= (async () => {
- let t = due(e);
- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;
- })(), p8;
-}
-var h8 = () => m8, g8 = null, _8 = null;
-function cNe(e) {
- return g8 ??= (async () => {
- let t = ise(e);
- return await $6("batch-dock", e.root), _8 = t, t;
- })(), g8;
-}
-var v8 = () => _8, y8 = null;
-function lNe(e) {
- return y8 ??= (async () => {
- Bse(e), await $6("glow-picker", e.root);
- })(), y8;
-}
-function b8(e, t, n, r) {
+ }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");
+}
+function bNe() {
+ 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(), GQ();
+}
+var t8 = null, n8 = null;
+function r8(e) {
+ return t8 ??= (async () => {
+ let t = fje(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 xNe(e) {
+ return a8 ??= (async () => {
+ let t = Ile(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;
+ })(), a8;
+}
+var s8 = () => o8, c8 = null, l8 = null;
+function SNe(e) {
+ return c8 ??= (async () => {
+ let t = FDe(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 u8 = () => l8, d8 = null, f8 = null;
+function CNe(e) {
+ return d8 ??= (async () => {
+ let t = XDe(e);
+ return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;
+ })(), d8;
+}
+var p8 = () => f8, m8 = null, h8 = null;
+function wNe(e) {
+ return m8 ??= (async () => {
+ let t = Vue(e);
+ return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;
+ })(), m8;
+}
+var g8 = () => h8, _8 = null, v8 = null;
+function TNe(e) {
+ return _8 ??= (async () => {
+ let t = hse(e);
+ return await e8("batch-dock", e.root), v8 = t, t;
+ })(), _8;
+}
+var y8 = () => v8, b8 = null;
+function ENe(e) {
+ return b8 ??= (async () => {
+ Gse(e), await e8("glow-picker", e.root);
+ })(), b8;
+}
+function x8(e, t, n, r) {
KQ(e, t), qQ(n, r);
}
// src/application/effects.ts
-var x8 = class {
+var S8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -76038,12 +76209,12 @@ var x8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, J = new x8();
-function uNe() {
- return J.dispose(), J = new x8(), J;
+}, J = new S8();
+function DNe() {
+ return J.dispose(), J = new S8(), J;
}
// src/application/receipts.js
-var S8 = {
+var C8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -76053,13 +76224,13 @@ var S8 = {
rollSeed: void 0,
seededSample: void 0
};
-function dNe() {
+function ONe() {
KQ(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) => {
- Zo(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) => {
+ Zo(i || (t ? "error" : "success")), x8(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -76074,13 +76245,13 @@ function dNe() {
} : 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: "撤销",
@@ -76093,14 +76264,14 @@ function dNe() {
}
} : null
}), r;
- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => rr(), S8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, C8.actionFailure = (e, t) => C8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), C8.rollSeed = () => rr(), C8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => nr(n, r(e)) - nr(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var fNe = [
+var kNe = [
"loc",
"creator",
"studio",
@@ -76121,10 +76292,10 @@ var fNe = [
"folder",
"folder_recursive"
];
-function C8(e, t, n, r = n.defaultSort) {
- return lA(e, t, n.defaultSort, n.defaultSortDirection, r);
+function w8(e, t, n, r = n.defaultSort) {
+ return Qk(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function pNe(e, t, n) {
+function ANe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = An(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -76140,7 +76311,7 @@ function pNe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: On[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") || "",
@@ -76150,18 +76321,18 @@ function pNe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function mNe(e, t) {
+function jNe(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function hNe(e) {
+function MNe(e) {
let t = Dn[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of fNe) {
+ for (let t of kNe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === oA(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Yk(e.sort ?? "") || n.set(t, r);
}
return !Dn[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function gNe(e, t, n) {
+function NNe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -76177,7 +76348,7 @@ function gNe(e, t, n) {
year: "",
state: "",
sort: t.defaultSort,
- dir: cA(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: Zk(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -76187,7 +76358,7 @@ function gNe(e, t, n) {
folder_recursive: ""
};
}
-function w8(e) {
+function T8(e) {
return {
state: e,
barsContext: {
@@ -76198,7 +76369,7 @@ function w8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var _Ne = class {
+var PNe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -76243,44 +76414,44 @@ var _Ne = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, T8 = 3e4, E8 = 0, vNe = (e, t = E8) => [
+}, E8 = 3e4, D8 = 0, FNe = (e, t = D8) => [
"facets",
e,
t
-], yNe = (e, t, n = E8) => [
+], INe = (e, t, n = D8) => [
"tops",
e,
t,
n
-], bNe = (e, t = E8) => [
+], LNe = (e, t = D8) => [
"tops",
e,
t
];
-async function D8(e) {
+async function O8(e) {
let t = String(e), n = await wn(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await wn(`/api/tops?${r}`));
}
-function xNe(e, t) {
+function RNe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: vNe(e),
+ queryKey: FNe(e),
queryFn: () => wn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: T8
+ staleTime: E8
}), H.fetchQuery({
- queryKey: yNe(t, e),
- queryFn: () => D8(t),
- staleTime: T8
+ queryKey: INe(t, e),
+ queryFn: () => O8(t),
+ staleTime: E8
})]);
}
-function SNe(e) {
+function zNe(e) {
return H.fetchQuery({
- queryKey: bNe(e),
- queryFn: () => D8(e),
- staleTime: T8
+ queryKey: LNe(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"],
@@ -76291,7 +76462,7 @@ function O8() {
});
}
// src/application/navigation-items.ts
-var k8 = [
+var A8 = [
[
"",
"首页",
@@ -76342,7 +76513,7 @@ var k8 = [
"管理",
"wrench"
]
-], A8 = [
+], j8 = [
[
"stats",
"统计",
@@ -76388,18 +76559,18 @@ var k8 = [
"Peach 配置",
"folder-cog"
]
-], j8 = [
+], M8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], CNe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], BNe = (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
-]]), wNe = [...k8, ...M8], TNe = {
+]]), VNe = [...A8, ...N8], HNe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -76407,18 +76578,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: go(e.k, r ? {
@@ -76431,20 +76602,20 @@ function F8(e, t, n) {
face: vo(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" ${Ba({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function ENe(e) {
+function UNe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(Oa(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(ka(e.followView(), n));
},
@@ -76454,7 +76625,7 @@ function ENe(e) {
};
}
// src/application/source-action.ts
-function DNe(e) {
+function WNe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -76469,36 +76640,36 @@ function DNe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var L8 = () => Object.fromEntries(MX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function R8(e, t) {
- let n = new URLSearchParams(e), r = L8();
+var R8 = () => Object.fromEntries(MX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function z8(e, t) {
+ let n = new URLSearchParams(e), r = R8();
for (let e of MX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...lA(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Qk(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 MX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === oA(e.sort || "") || t.set(n, e[n]);
+ for (let n of MX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Yk(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 ONe(e, t, n, r) {
- let i = V8(n, r);
+function GNe(e, t, n, r) {
+ let i = H8(n, r);
return Nn(e, t) + (i ? `?${i}` : "");
}
-function kNe() {
+function KNe() {
let e = "";
return {
fresh(t, n) {
@@ -76507,22 +76678,22 @@ function kNe() {
read(t, n, r, i) {
let a = e === Nn(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 ANe(e, t) {
+function qNe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function jNe(e) {
+function JNe(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);
@@ -76544,12 +76715,12 @@ function jNe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function MNe(e, t, n) {
+function YNe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(ONe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(GNe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -76563,7 +76734,7 @@ function MNe(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) => {
@@ -76576,7 +76747,7 @@ function MNe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = sA(e, n.sort || "new", n.dir || "");
+ let n = c(), i = Xk(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -76627,7 +76798,7 @@ function MNe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function NNe(e) {
+function XNe(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);
@@ -76635,7 +76806,7 @@ function NNe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function PNe(e, t) {
+function ZNe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? ho({
kind: e,
id: t.id,
@@ -76657,11 +76828,11 @@ function PNe(e, t) {
return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Ba({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function FNe(e) {
- let t = kNe(), n = {
+function QNe(e) {
+ let t = KNe(), n = {
...e.helpers,
- portraitImg: PNe
- }, r = MNe(e.controller, n, e.actions);
+ portraitImg: ZNe
+ }, r = YNe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -76670,12 +76841,12 @@ function FNe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: NNe(e.loading),
- photos: jNe(e.photos)
+ loading: XNe(e.loading),
+ photos: JNe(e.photos)
};
}
// src/card-art/feed-identity.ts
-function INe(e) {
+function $Ne(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 ? "" : go(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(Nn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -76683,7 +76854,7 @@ function INe(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,
@@ -76699,56 +76870,56 @@ var H8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function U8(e) {
+function W8(e) {
return e.has_cover ? xo(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Vs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : xo(e, "big").replace(/ src="[^"]*"/, ` src="${z(uo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function LNe(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 ? KF({
+function ePe(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 ? yF({
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:${LA}">${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">${INe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${$Ne(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function RNe() {
+function tPe() {
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}/${Hn(e)}`, t.parts]));
+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Hn(e)}`, t.parts]));
} catch {}
}
-async function W8() {
+async function G8() {
let e = J, t = await wn("/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}/${Hn(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}/${Hn(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 zNe() {
+function nPe() {
try {
- let e = localStorage.getItem(G8);
+ let e = localStorage.getItem(K8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function q8(e) {
- !e || qV(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 || qV(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 BNe(e, t) {
+function rPe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : Rs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -76756,55 +76927,55 @@ function BNe(e, t) {
actionHref: "/sources"
});
}
-function J8(e) {
- let t = e && !e.error && e.items || [];
- return BNe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(LNe).join("")}</div>`;
-}
function Y8(e) {
- e && (e9(e), Z.appSettings.feedAutoScroll && Lc(e));
+ let t = e && !e.error && e.items || [];
+ return rPe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(ePe).join("")}</div>`;
}
function X8(e) {
+ e && (t9(e), Z.appSettings.feedAutoScroll && Lc(e));
+}
+function Z8(e) {
return An(e) && e !== "/junk-files";
}
-function VNe() {
+function iPe() {
let e = L("#feedNew");
- qV(e) ? ZV(e, { revision: ++H8.feedRevision }) : (q8(e), XV("feed-new", {
+ qV(e) ? ZV(e, { revision: ++U8.feedRevision }) : (J8(e), XV("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(Rc), QV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");
}
-function Q8() {
- H8.feedRevision += 1, ZV(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });
+function $8() {
+ U8.feedRevision += 1, ZV(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });
}
-function HNe() {
+function aPe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Lc(e) : Rc(e));
}
-var $8 = 0;
-function UNe([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 oPe([e]) {
+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;
+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {
+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function WNe() {
- H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${LA}"></div>
+function sPe() {
+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${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}/${Hn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${Hn(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(UNe).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}/${Hn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${Hn(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(oPe).observe(L("#index"));
}
// src/entity-skeleton.ts
-function GNe(e, t, n, r = "") {
+function cPe(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">
@@ -76818,10 +76989,10 @@ function GNe(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>` : ws(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${JU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${YU}" 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 = NM(), 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>` : ws(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${JU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${YU}" 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 = PM(), 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"
@@ -76829,7 +77000,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 = {
@@ -76857,16 +77028,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function i5() {
+function a5() {
let e = KV(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function a5(e) {
+function o5(e) {
Y.entityPageCurrent() && ZV(L("#index"), e);
}
-function o5() {
+function s5() {
if (cu.type === "item") return cu;
- let e = i5();
+ let e = a5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -76878,23 +77049,23 @@ function o5() {
}
return cu;
}
-function s5(e, t, n = e7()) {
- return zPe(n).map(([n, r]) => {
- let i = e === n, a = sA(n, e, t);
+function c5(e, t, n = t7()) {
+ return nFe(n).map(([n, r]) => {
+ let i = e === n, a = Xk(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && aA(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? aA(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Jk(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Jk(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 ANe({
+function u5() {
+ return qNe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -76903,37 +77074,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() ? Nse(UA()) : nj();
+function f5() {
+ u5() ? ZA(IA()) : YA();
}
-function KNe(e) {
+function lPe(e) {
Y.photos.setSize(e);
}
-var f5 = DNe({
+var p5 = WNe({
request: (e) => wn("/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 qNe(e) {
+async function uPe(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 wn("/api/purge-missing", {
@@ -76946,7 +77117,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 wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -76958,22 +77129,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 JNe(e) {
+function dPe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function YNe(e, t) {
+function fPe(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 XNe(e, t) {
+async function pPe(e, t) {
let n = il({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -76996,53 +77167,53 @@ async function XNe(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>${Ts()}${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>${Ts()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: zA(),
- options: PA
- } : 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 = GNe(e, r, e === "agency" ? rc({
+ 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 = cPe(e, r, e === "agency" ? rc({
kind: "performers",
- layout: j5.peopleIndexLayout()
- }) : VJ("正在读取作品", qA(KA({
+ layout: M5.peopleIndexLayout()
+ }) : zJ("正在读取作品", 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), uc(L("#index")));
+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), uc(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 = jn[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function v5(e) {
+ let t = jn[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 ZNe() {
+function mPe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -77054,40 +77225,40 @@ function ZNe() {
"year",
"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 QNe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {
- let n = i5();
+function hPe() {
+ 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 && Dc(e);
},
- wireFeedRow: (e) => Y8(e),
- feedRowHtml: J8,
- receipt: (e, t) => S8.actionReceipt(e, t),
- failure: (e, t) => S8.actionFailure(e, t),
- aliasForm: (e, t) => XNe(e, t),
- sourceToolsHtml: (e) => JNe(e),
- wireSourceTools: (e, t) => YNe(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) => pPe(e, t),
+ sourceToolsHtml: (e) => dPe(e),
+ wireSourceTools: (e, t) => fPe(e, t),
+ comboItems: (e) => I7(e),
+ sortKeys: (e, t, n) => c5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -77110,11 +77281,11 @@ function QNe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function $Ne() {
- Y.application = FNe({
+function gPe() {
+ Y.application = QNe({
controller: {
context: () => {
- let e = o5();
+ let e = s5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -77126,28 +77297,28 @@ function $Ne() {
filters: U
} }),
releaseBodyPreviews: () => ql(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: UA(),
- photoLayout: WA(),
- photoLayouts: IA,
+ feedRevision: U8.feedRevision,
+ photoSize: IA(),
+ photoLayout: LA(),
+ photoLayouts: kA,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: zA(),
- javLayouts: PA,
+ javLayout: MA(),
+ javLayouts: DA,
states: X.VIEW_PILLS,
- peopleLayout: j5.peopleIndexLayout(),
- layout: G7(),
+ peopleLayout: M5.peopleIndexLayout(),
+ layout: K7(),
selectMode: fu,
selected: new Set(uu),
seekSeconds: Z.appSettings.seekSeconds,
groupCollapse: Z.appSettings.groupCollapse,
- wireDrag: e9,
+ wireDrag: t9,
skeletonHtml: Y.entityBodySkeleton,
canLoadMore: Y.entityBodyCanLoadMore,
follow: {
@@ -77155,52 +77326,52 @@ function $Ne() {
actions: Y.entityFollowActions
}
}),
- changeFilter: S7,
- rollSeed: () => S8.rollSeed(),
+ changeFilter: C7,
+ rollSeed: () => C8.rollSeed(),
writeSeed: (e) => {
U.seed = e, Lu();
},
- setJavLayout: r7,
- javLayout: zA,
- setPhotoLayout: YA,
- 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: () => QV(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: () => {
Iu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: W8,
- syncParts: g5
+ loadShapes: G8,
+ syncParts: _5
},
photos: {
preferences: () => ({
- size: UA(),
- layout: WA(),
+ size: IA(),
+ layout: LA(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: a5,
- pushFollow: T9,
- syncDensity: d5,
- storeSize: jse
+ pushEntity: o5,
+ pushFollow: E9,
+ syncDensity: f5,
+ storeSize: Rse
},
helpers: Y.entityPageHelpers,
actions: {
- toggleTag: P7,
- openFollowAuthor: P5,
+ toggleTag: F7,
+ openFollowAuthor: F5,
javContext: (e) => Iu({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -77210,8 +77381,8 @@ function $Ne() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var y5 = { playlistWrite: void 0 };
-function ePe(e, t) {
+var b5 = { playlistWrite: void 0 };
+function _Pe(e, t) {
e === "tag" ? (Iu({ state: {
...U,
tag: t,
@@ -77221,17 +77392,17 @@ function ePe(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 tPe({ title: e, count: t, save: n }) {
+async function vPe({ title: e, count: t, save: n }) {
let r = il({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: b5(e),
+ body: x5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -77241,28 +77412,28 @@ async function tPe({ 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 nPe(e) {
+async function yPe(e) {
let t = ((await wn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Ws(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = il({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : Rs("还没有播放列表,填个名称就能新建一份。", { 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]
@@ -77280,42 +77451,42 @@ async function nPe(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() {
- ql(), i9(!1), H5();
+function S5() {
+ ql(), a9(!1), U5();
let e = KV(L("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? Iu({ pageOpens: Du + 1 }) : (V5({ manage: !1 }), Iu({ playlistsRevision: Nu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? Iu({ pageOpens: Du + 1 }) : (H5({ manage: !1 }), Iu({ playlistsRevision: Nu + 1 }));
}
-function rPe(e) {
+function bPe(e) {
let t = new URLSearchParams(location.search);
for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);
Q.route("/review" + (t.size ? "?" + t : ""));
}
-function S5(e) {
+function C5(e) {
Iu({ configurationRequestedSection: e }), Q.navigatePath(CV(e));
}
-function iPe() {
- y5.playlistWrite = (e) => wn("/api/playlist", {
+function xPe() {
+ b5.playlistWrite = (e) => wn("/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 : "",
@@ -77323,15 +77494,15 @@ function w5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function T5(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = CY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function E5(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = xY(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 aPe(e, t, n, r) {
- let i = C5(t);
+function SPe(e, t, n, r) {
+ let i = w5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
@@ -77339,7 +77510,7 @@ function aPe(e, t, n, r) {
};
}
// src/application/selection.js
-var E5 = {
+var D5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -77347,43 +77518,43 @@ var E5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function D5() {
- U7({
+function O5() {
+ W7({
selected: new Set(uu),
selectMode: fu
- }), a5({
+ }), o5({
selected: new Set(uu),
selectMode: fu
- }), T9({
+ }), E9({
selected: new Set(du),
selectMode: fu
- }), E5.batchDockProps = hPe(), v8() && (v8().render(E5.batchDockProps), Z.syncGlassOptics());
+ }), D5.batchDockProps = MPe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());
}
-function O5(e, t = !1) {
- Iu(w5({
+function k5(e, t = !1) {
+ Iu(T5({
selected: uu,
followSelected: du
- }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", fu), fu && ql(), L("#selectMode").setAttribute("aria-pressed", String(fu)), D5();
+ }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", fu), fu && ql(), L("#selectMode").setAttribute("aria-pressed", String(fu)), O5();
}
-function oPe() {
- return [...F5.gridCards()].map((e) => +e.dataset.id);
+function CPe() {
+ return [...I5.gridCards()].map((e) => +e.dataset.id);
}
-function k5(e, t = !1) {
- Iu(T5({
+function A5(e, t = !1) {
+ Iu(E5({
selected: uu,
followSelected: du
- }, A5(), C5(location.pathname), oPe(), e, t)), O5(!0);
+ }, j5(), w5(location.pathname), CPe(), e, t)), k5(!0);
}
-function sPe() {
+function wPe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function cPe(e, t = !1) {
- Iu(T5({
+function TPe(e, t = !1) {
+ Iu(E5({
selected: uu,
followSelected: du
- }, A5(), "follow", sPe(), e, t)), O5(!0);
+ }, j5(), "follow", wPe(), e, t)), k5(!0);
}
-async function lPe(e, t) {
+async function EPe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -77415,9 +77586,9 @@ async function lPe(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",
@@ -77442,23 +77613,23 @@ async function lPe(e, t) {
operation: r
})
});
- await a7();
+ await o7();
} : null });
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), D5();
+ qc(t, !1), O5();
}
}
});
}
-async function uPe() {
+async function DPe() {
let e = [...uu];
if (!e.length) return;
let t = il({
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,
@@ -77482,9 +77653,9 @@ async function uPe() {
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 dPe(e, t) {
+async function OPe(e, t) {
let n = [...du];
if (!n.length) return;
let r = {
@@ -77510,16 +77681,16 @@ async function dPe(e, t) {
items: n,
to: e
})
- }), O5(!1, !0), location.pathname === "/follow" && Iu({ pageOpens: Du + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), k5(!1, !0), location.pathname === "/follow" && Iu({ pageOpens: Du + 1 }), C8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), D5();
+ qc(t, !1), O5();
}
}
});
}
-async function fPe(e, t) {
+async function kPe(e, t) {
let n = [...uu];
if (!n.length) return;
let r = {
@@ -77546,68 +77717,68 @@ async function fPe(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 wn("/api/batch", {
method: "POST",
body: JSON.stringify({
ids: n,
operation: t
})
- }), await L7();
+ }), await R7();
} : null });
} catch (e) {
throw qc(t, !1), e;
} finally {
- qc(t, !1), D5();
+ qc(t, !1), O5();
}
}
});
}
-function pPe() {
- cNe({
+function APe() {
+ TNe({
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 mPe() {
- E5.batchDockProps = {
+function jPe() {
+ D5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(L("#selectMode"), "onclick", () => O5(!fu, !!fu)), E5.REGION_CHOICES = [
+ }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(L("#selectMode"), "onclick", () => k5(!fu, !!fu)), D5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], E5.BATCH_RUNNERS = {
- batch: lPe,
- region: uPe,
- follow: dPe,
- junk: fPe,
- clear: () => O5(!1, !0)
+ ], D5.BATCH_RUNNERS = {
+ batch: EPe,
+ region: DPe,
+ follow: OPe,
+ junk: kPe,
+ clear: () => k5(!1, !0)
}, J.handler(L("#density"), "onclick", () => {
- l5() ? KNe(UA() === "big" ? "small" : "big") : Mse();
- }), nj(), Gl({
+ u5() ? lPe(IA() === "big" ? "small" : "big") : XA();
+ }), YA(), Gl({
selecting: () => fu,
- censored: () => Q7(),
+ censored: () => $7(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
}), J.listen(window, "pagehide", () => ql()), J.listen(document, "visibilitychange", () => {
document.hidden && ql();
- }), Hl(), E5.coverRecheck = 0, J.listen(window, "resize", () => {
- zl(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Hl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {
+ zl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && Al(e);
}), 200);
}, { passive: !0 });
}
-function A5() {
+function j5() {
return {
selectMode: fu,
selectSurface: hu,
@@ -77615,73 +77786,73 @@ function A5() {
followLastSelectedId: mu
};
}
-function hPe() {
- return aPe({
+function MPe() {
+ return SPe({
selected: uu,
followSelected: du
}, location.pathname, location.search, U.state);
}
// src/application/index.js
-var j5 = {
+var M5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function gPe() {
+function NPe() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function _Pe() {
+function PPe() {
return FZ(location.search);
}
-function vPe(e) {
+function FPe(e) {
return IZ(e);
}
-function yPe(e) {
- Q.route(vPe(e));
+function IPe(e) {
+ Q.route(FPe(e));
}
-function bPe(e = "") {
+function LPe(e = "") {
return LZ(location.search, e);
}
-function xPe(e) {
- return I8(e);
+function RPe(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 SPe(e, t) {
+function zPe(e, t) {
Iu({ 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 CPe(e) {
- j5.controller.openFollowTag(e);
+function BPe(e) {
+ M5.controller.openFollowTag(e);
}
-function wPe() {
+function VPe() {
$.FOLLOW_MANAGE_TABS = PZ, 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 TPe() {
- j5.controller = ENe({
+function HPe() {
+ M5.controller = UNe({
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,
@@ -77690,58 +77861,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 = qTe(a$(location.search)), uc(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 = tEe(a$(location.search)), uc(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 !== c2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), uc(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 !== l2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), uc(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 EPe() {
+function UPe() {
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" && b$(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" && b$(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), uc(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), uc(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), uc(L("#index")));
+ (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), uc(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 DPe() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => o2(t, {
+function WPe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => s2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: UA()
+ 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>
@@ -77749,37 +77920,37 @@ function DPe() {
<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 = Vs(Bs), F5.setGridCards = (e) => tc(L("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Vs(Bs), I5.setGridCards = (e) => tc(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) => s2(e, {
- followLayout: gPe(),
+ }), 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) => c2(e, {
+ followLayout: NPe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(_Pe())
- }), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {
+ }))(PPe())
+ }), 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 = RV(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 OPe(e, t, n) {
+function GPe(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 kPe(e, t, n, r = !1) {
+function KPe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -77797,7 +77968,7 @@ function kPe(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var B5 = {
+var V5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -77819,20 +77990,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 && l2(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 && u2(L("#stats"), t);
}
function U5() {
- document.body.classList.remove("entity-open", "index-open"), QV(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 APe() {
- Q.route("/"), U5();
+function W5() {
+ document.body.classList.remove("entity-open", "index-open"), QV(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 W5({ tags: e = [], providers: t = [], duration: n = !1 }) {
- h9({
+function qPe() {
+ Q.route("/"), W5();
+}
+function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+ g9({
content: e.length || t.length || n ? {
kind: "follow",
tags: e.map(([e, t]) => ({
@@ -77855,28 +78026,28 @@ function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function G5(e) {
- IFe({
- ...S9(),
+function K5(e) {
+ $Fe({
+ ...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");
+ 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 jPe() {
- K5() && q5(!1);
+function JPe() {
+ q5() && J5(!1);
}
-function MPe() {
+function YPe() {
Tu === null && (Iu({ runtimeConfigurable: !1 }), wn("/healthz").then((e) => {
- Iu({ runtimeConfigurable: !!e.configurable }), Tu && Y5() && X5();
+ Iu({ runtimeConfigurable: !!e.configurable }), Tu && X5() && Z5();
}).catch(() => {}));
}
-function J5(e = "", t = !1) {
+function Y5(e = "", t = !1) {
if (!t && !xV(location.pathname)) {
let t = sH.navigation;
sH.push(CV(e), { settingsBackground: {
@@ -77889,35 +78060,35 @@ function J5(e = "", t = !1) {
replace: !0,
state: sH.navigation.location.state
});
- return e ||= SV(location.pathname), aNe(B5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= SV(location.pathname), SNe(V5.settingsHost()).then((t) => (t.open(e), t));
}
-function NPe() {
+function XPe() {
xV(location.pathname) && (wV(sH.navigation.location.state) ? sH.go(-1) : Q.navigatePath("/", !0));
}
-function PPe() {
+function ZPe() {
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
}),
@@ -77926,111 +78097,111 @@ function PPe() {
}
};
}
-function FPe() {
+function QPe() {
let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = OPe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {
- if (f8()) return;
+ e.innerHTML = GPe(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);
- }), oNe(PPe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});
+ t && l7(t.dataset.nav);
+ }), CNe(ZPe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});
}
-async function IPe() {
+async function $Pe() {
let e = J, t = null;
try {
t = await wn("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && kA(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();
- MPe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (E5.trashCount = null), Z5(e);
+function Z5() {
+ let e = X5();
+ YPe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);
}
-function LPe(e) {
+function eFe(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 = LPe(e), n = h8();
+function Q5(e = X5()) {
+ $5();
+ let t = eFe(e), n = g8();
if (n) n.render(t);
else {
- let e = BP(t);
- e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);
+ let e = Hle(t);
+ e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);
}
- let r = IP(t)?.title || "";
- r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && Qs(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ let r = mP(t)?.title || "";
+ r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Qs(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function RPe() {
- let e = B5.manageHeaderRoot();
+function tFe() {
+ 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();
- }), sNe({
+ } else e.target.closest?.("[data-empty-trash]") && P7();
+ }), wNe({
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() && An(t) && kn[U.state] || "";
- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Y5() || !An(t) || !!n || U.jav === "1";
+ let t = decodeURIComponent(location.pathname), n = !X5() && An(t) && kn[U.state] || "";
+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!X5() || !An(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", Lu(), Q.route(o$()), U5(), g9(), M7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Lu(), Q.route(o$()), 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" || ku : !1;
}
-function zPe(e = e7()) {
- let t = eA.filter(([e]) => e !== "seed");
- return e ? [tA, ...t] : t;
+function nFe(e = t7()) {
+ let t = Uk.filter(([e]) => e !== "seed");
+ return e ? [Wk, ...t] : t;
}
-function t7() {
+function n7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
-function n7() {
- return BA(t7());
+function r7() {
+ return NA(n7());
}
-function BPe(e) {
- kse(e), i7(), L("#grid").hidden || J7();
+function rFe(e) {
+ Ise(e), a7(), L("#grid").hidden || Y7();
}
-function r7(e) {
- JA(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 VPe(e) {
- Ase(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 iFe(e) {
+ Lse(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);
@@ -78039,24 +78210,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 !== "竖屏" : Dn[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 !== "竖屏" : Dn[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
-function c7(e) {
- if (jPe(), B5.DIRECT_MANAGE_NAV[e]) {
- $5(B5.DIRECT_MANAGE_NAV[e]);
+function l7(e) {
+ if (JPe(), V5.DIRECT_MANAGE_NAV[e]) {
+ e7(V5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
- $5();
+ e7();
return;
}
if (e === "jav") {
@@ -78064,25 +78235,25 @@ function c7(e) {
return;
}
if (e === "") {
- g7();
+ _7();
return;
}
let t = Dn[e] ? null : Q.routePathOf("nav", e);
- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Lu(), Q.route(h7()), U5(), g9(), M7());
+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), Lu(), Q.route(g7()), W5(), _9(), N7());
}
-function l7() {
+function u7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- fu && hu !== E5.currentSelectSurface() && O5(!1, !0);
+ fu && hu !== D5.currentSelectSurface() && k5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Mn, t[0]), r = An(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 && fu && O5(!1, !0);
+ L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && fu && k5(!1, !0);
}
-function HPe() {
+function aFe() {
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 = kPe(B5.mobileFilterScroll, n, innerWidth <= 760, r);
+ V5.mobileFilterScroll = KPe(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);
@@ -78094,63 +78265,63 @@ function HPe() {
});
}
}
-function UPe() {
- HPe(), [".board-filter-frame", "#count"].forEach((e) => {
+function oFe() {
+ aFe(), [".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, UPe();
+function d7() {
+ V5.stickyFrame ||= J.frame(() => {
+ V5.stickyFrame = 0, oFe();
});
}
-function WPe() {
+function sFe() {
$.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 = () => CNe(Tu === !0), B5.OPTIONAL_SIDEBAR_ITEMS = M8, B5.NAV_CATALOG = wNe, B5.DIRECT_MANAGE_NAV = TNe, 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 = () => BNe(Tu === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = VNe, V5.DIRECT_MANAGE_NAV = HNe, V5.settingsHost = () => ({
selectSection: (e) => cH(CV(e), {
replace: !0,
state: sH.navigation.location.state
}),
- closed: NPe,
+ closed: XPe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Zo(e),
- navCatalog: B5.NAV_CATALOG,
- themeOptions: wse,
- videoLayouts: PA,
- followInitialRanges: N8,
- videoLayout: () => n7(),
- setVideoLayout: VPe,
- censored: Q7,
- setCensored: pFe,
+ navCatalog: V5.NAV_CATALOG,
+ themeOptions: jse,
+ videoLayouts: DA,
+ followInitialRanges: P8,
+ videoLayout: () => r7(),
+ setVideoLayout: iFe,
+ censored: $7,
+ setCensored: AFe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: mFe,
- receipt: (e) => S8.actionReceipt(e),
- failure: S8.actionFailure,
- syncRemote: (e) => kA(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: jFe,
+ 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: () => wn("/healthz").then((e) => (Iu({ runtimeConfigurable: !!e.configurable }), Tu)).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() && Iu({ followScrollY: scrollY }), window.__scrolling = !0, ql(), 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() && Iu({ followScrollY: scrollY }), window.__scrolling = !0, ql(), 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 GPe(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 = VW();
- 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>${Ts()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), m7 = (e) => e.repeat(f7);
+function cFe(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 = VW();
+ 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>${Ts()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/application/catalog.js
var X = {
@@ -78189,46 +78360,46 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function KPe() {
- X.initialParams.has("loc") || (U.loc = m7(U.loc), Lu());
+function lFe() {
+ X.initialParams.has("loc") || (U.loc = h7(U.loc), Lu());
}
-function m7(e) {
- return mNe(e, Z.sourceOnline);
+function h7(e) {
+ return jNe(e, Z.sourceOnline);
}
-function h7(e = U) {
- return hNe(e);
+function g7(e = U) {
+ return MNe(e);
}
-function qPe() {
- Iu(w8(gNe(U, Z.appSettings, S8.rollSeed))), O8();
+function uFe() {
+ Iu(T8(NNe(U, Z.appSettings, C8.rollSeed))), k8();
}
-function g7(e = null, t = !1) {
- qPe(), e && (Object.assign(U, e), Lu()), Q.route(e ? h7() : "/"), X.clearSearchField(), i9(!1), U5(), g9(), M7(), t && window.scrollTo({
+function _7(e = null, t = !1) {
+ uFe(), e && (Object.assign(U, e), Lu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({
top: 0,
behavior: "smooth"
});
}
-function JPe(e, t = null) {
+function dFe(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, wn("/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 YPe(e, t) {
- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : v7(e, t);
+function fFe(e, t) {
+ i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);
}
-function v7(e, t) {
- e.edition_group ? xFe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? SFe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);
+function y7(e, t) {
+ e.edition_group ? RFe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? zFe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);
}
-async function XPe(e, t) {
+async function pFe(e, t) {
try {
let n = await wn("/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 wn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -78236,10 +78407,10 @@ async function XPe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- S8.actionFailure("更新稍后看", e);
+ C8.actionFailure("更新稍后看", e);
}
}
-async function ZPe(e, t) {
+async function mFe(e, t) {
try {
await wn("/api/batch", {
method: "POST",
@@ -78247,9 +78418,9 @@ async function ZPe(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 wn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -78257,14 +78428,14 @@ async function ZPe(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 QPe(e, t, n, r) {
- let i = Number(e.rating) || 0, a = UM(i, t), o = async (t, r) => {
+async function hFe(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = WM(i, t), o = async (t, r) => {
let i = (await wn("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -78278,14 +78449,14 @@ async function QPe(e, t, n, r) {
};
try {
let e = await o(a, r);
- S8.actionReceipt(e ? `已评 ${HM(e)} 星` : "已取消评分", { undo: () => o(i) });
+ C8.actionReceipt(e ? `已评 ${UM(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",
@@ -78307,9 +78478,9 @@ async function y7(e) {
e[n] && t.set(n, e[n]);
});
}
- return xNe(t.toString(), X.topsQueryParams(e).toString());
+ return RNe(t.toString(), X.topsQueryParams(e).toString());
}
-function $Pe() {
+function gFe() {
if (scrollY <= 0) return;
let e = document.documentElement;
e.classList.add("refiltering");
@@ -78321,32 +78492,32 @@ function $Pe() {
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) {
- $Pe();
- let t = o5();
+function C7(e) {
+ gFe();
+ 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(lu);
- if (i9(!1), Iu({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), c5(t.kind, t.name, t.filters) ? M7() : Iu({ pageOpens: Du + 1 });
+ if (a9(!1), Iu({ detailReturnBarsContext: null }), t && t.type === "entity") {
+ e(t.filters), l5(t.kind, t.name, t.filters) ? N7() : Iu({ pageOpens: Du + 1 });
return;
}
e(U), Iu({ barsContext: {
type: "home",
filters: U
- } }), Q.route(h7()), U5(), M7();
- } else e(U), Lu(), Q.route(h7()), b7(U), x7(cu);
+ } }), Q.route(g7()), W5(), N7();
+ } else e(U), Lu(), Q.route(g7()), x7(U), S7(cu);
}
-function eFe() {
+function _Fe() {
return {
tiers: null,
tiersPending: !1,
@@ -78364,94 +78535,94 @@ function eFe() {
combo: [],
comboHidden: !0,
comboHost: L("#combo"),
- actions: T7(),
+ actions: E7(),
helpers: {
- wireDrag: e9,
+ wireDrag: t9,
wireScroller: (e) => {
e && Dc(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 || eFe(),
+ ...X.catalogFilterProps || _Fe(),
...e
- }, !X.catalogFilterMounting && (qV(t) ? ZV(t, e) : (!t.firstChild && !n && (t.innerHTML = GPe(X.catalogViews(), X.catalogFilterProps.state, D7()), uc(t)), X.catalogFilterMounting = XV("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (qV(t) ? ZV(t, e) : (!t.firstChild && !n && (t.innerHTML = cFe(X.catalogViews(), X.catalogFilterProps.state, O7()), uc(t)), X.catalogFilterMounting = XV("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => ZV(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, Lu(), w7({ state: e }), Q.route(h7()), M7();
+ U.state = e, Lu(), 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 = sA(e, U.sort, U.dir);
- t && (U.sort = t.sort, U.dir = t.dir, Lu(), X7());
+ let t = Xk(e, U.sort, U.dir);
+ t && (U.sort = t.sort, U.dir = t.dir, Lu(), Z7());
},
- reshuffle: () => fFe(),
+ reshuffle: () => kFe(),
setLayout: (e) => {
- e7() ? r7(e) : BPe(e);
+ t7() ? i7(e) : rFe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await SNe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
- return e === "performers" ? n.map(k7) : n.map(A7);
+ let n = (await zNe(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: zA(),
- options: PA
- } : t7() ? {
+ value: MA(),
+ options: DA
+ } : n7() ? {
name: "home-layout",
label: "首页卡片版式",
- value: n7(),
- options: PA
+ 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($n(tn("performer", e.k, e.id)))}</span>${ho({
@@ -78465,99 +78636,99 @@ function k7(e) {
})}`
};
}
-function A7(e) {
+function j7(e) {
return {
name: e.k,
fallback: Qn(e.k, 2),
logo: e.has_logo ? fo(e.k, "icon", e.logo_version) : ""
};
}
-function tFe(e, t) {
- X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, w7({
+function vFe(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(), !au(location.pathname) || cu.type === "item") return;
- let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([
+ if (g9(), !au(location.pathname) || cu.type === "item") return;
+ let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
- e7()
+ t7()
]);
- tFe(n, e);
+ vFe(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 || [];
Ya(o.performers), Ya(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: Zl(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 nFe(e, t) {
- t9.total = e, U.state === "trash" && (E5.trashCount = {
- total: t9.total,
+function yFe(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 ol({
title: "清空回收站",
body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",
@@ -78567,19 +78738,19 @@ function N7() {
try {
let e = await wn("/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",
@@ -78603,13 +78774,13 @@ function F7(e) {
label: Zl(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 (Iu({
barsContext: {
@@ -78617,40 +78788,40 @@ async function L7() {
filters: U
},
detailReturnBarsContext: null
- }), i9(!1), U.state === "ads") return aFe(e);
- if (X.controller.page === "/junk-files" && z7(), I5(), U5(), X8(location.pathname) && U.browse !== "folders") {
- if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- VNe();
- } else Z8();
- return I7(), L("#count").classList.remove("manage-static", "junkcount"), B7(e);
-}
-function R7(e) {
+ }), a9(!1), U.state === "ads") return SFe(e);
+ if (X.controller.page === "/junk-files" && B7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {
+ if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ iPe();
+ } 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");
ql(e), QV(e), X.controller.clear(), e.innerHTML = "";
}
-function B7(e) {
- return W7("/", iFe, e, { place: RFe });
+function V7(e) {
+ return G7("/", xFe, e, { place: tIe });
}
-function rFe(e) {
- return W7("/junk-files", sFe, e);
+function bFe(e) {
+ return G7("/junk-files", wFe, e);
}
-function V7() {
+function H7() {
return !!KV(L("#grid"));
}
-function H7() {
- return X.controller.taken(V7());
+function U7() {
+ return X.controller.taken(H7());
}
-function U7(e) {
+function W7(e) {
ZV(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;
ql(i);
let s = () => QV(i);
return a.signal.addEventListener("abort", s, { once: !0 }), XV(e, o, {
@@ -78658,69 +78829,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 KA({
- active: e7() || e,
+function K7() {
+ let e = n7();
+ return zA({
+ active: t7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
-function K7(e = "正在读取作品") {
- return VJ(e, q7());
-}
-function q7() {
- return U ? qA(G7()) : 16 / 9;
+function q7(e = "正在读取作品") {
+ return zJ(e, J7());
}
function J7() {
- H7() && (ql(L("#grid")), U7({
- layout: G7(),
+ return U ? BA(K7()) : 16 / 9;
+}
+function Y7() {
+ U7() && (ql(L("#grid")), W7({
+ layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (ql(L("#index [data-entity-hero]")), a5({
- layout: G7(),
+ })), Y.entityPageCurrent() && (ql(L("#index [data-entity-hero]")), o5({
+ layout: K7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function iFe() {
+function xFe() {
let e = decodeURIComponent(location.pathname), t = An(e), n = U.state === "trash";
return {
mode: "catalog",
helpers: X.gridHelpers,
actions: X.gridActions,
- layout: G7(),
+ layout: K7(),
wall: e === "/wall",
selectMode: fu,
selected: new Set(uu),
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: nFe,
- onCountFailed: () => w7({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : NK({
- jav: e7() && !t,
+ onCount: yFe,
+ onCountFailed: () => T7({ count: !1 }),
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : jK({
+ jav: t7() && !t,
configurable: Tu,
filtered: !t
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function aFe(e) {
+function SFe(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"), rFe(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"), bFe(e);
}
-async function oFe(e, t) {
+async function CFe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await wn("/api/batch", {
@@ -78730,22 +78901,22 @@ async function oFe(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 wn("/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 sFe() {
+function wFe() {
return {
...a$(location.search),
helpers: X.junkQueueHelpers,
@@ -78755,16 +78926,16 @@ function sFe() {
selectMode: fu,
selected: new Set(uu),
countRow: L("#count"),
- settled: R7,
- skeletonHtml: () => o2("正在读取垃圾文件", {
+ settled: z7,
+ skeletonHtml: () => s2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function cFe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), Iu(w8(pNe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {
+function TFe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), Iu(T8(ANe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -78785,55 +78956,55 @@ function cFe() {
};
};
}
-function lFe() {
+function EFe() {
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(X_e(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(tve(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) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => KF(e, t),
- displayName: (e, t) => GF(e, t),
+ titleHtml: (e, t) => yF(e, t),
+ displayName: (e, t) => vF(e, t),
tagLabel: (e) => Zl(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) => YPe(e, t),
- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : JPe(e, t),
- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : d9(e.id),
- openShorts: () => d9(),
- openMix: (e, t) => bFe(e, e, !0, t),
- openEntity: (e, t) => v5(e, t),
- openUnowned: () => g7({ owner: "none" }, !0),
+ wallDetails: y7,
+ open: (e, t) => fFe(e, t),
+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : dFe(e, t),
+ openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : f9(e.id),
+ openShorts: () => f9(),
+ openMix: (e, t) => LFe(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) => XPe(e, t),
- rate: (e, t, n, r) => QPe(e, t, n, r),
- resourceOperation: (e, t) => ZPe(e, t),
- mixRelated: (e) => _7(e),
- canFlip: () => !fu && !Q7() && !window.__scrolling && !X.reduceMotion()
+ toggleSelection: (e, t) => A5(e, t),
+ watchLater: (e, t) => pFe(e, t),
+ rate: (e, t, n, r) => hFe(e, t, n, r),
+ resourceOperation: (e, t) => mFe(e, t),
+ mixRelated: (e) => v7(e),
+ canFlip: () => !fu && !$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: "",
@@ -78856,36 +79027,36 @@ function lFe() {
href: e.k ? Dn[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 uFe() {
+function DFe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- fu && O5(!1, !0), Q.route(e);
+ fu && 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 wn("/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) => oFe(e, t)
+ operate: (e, t) => CFe(e, t)
};
}
-X.controller = new _Ne();
+X.controller = new PNe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -78908,7 +79079,7 @@ var Z = {
emptyState: void 0,
CENSOR_KEY: void 0
};
-async function Y7() {
+async function X7() {
let e = J;
try {
let t = await xr(e.signal);
@@ -78919,18 +79090,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)), KPe(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), lFe(), Z.sourceOnline;
}
-function X7() {
+function Z7() {
let e = Q.surfacePath();
- if (!An(e) || e === "/junk-files") return L7();
+ if (!An(e) || e === "/junk-files") return R7();
let t = Z.nextCatalogLoad();
- return cH(h7(), {
+ return cH(g7(), {
replace: !0,
state: sH.navigation.location.state
}), t;
}
-function dFe(e) {
+function OFe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -78951,7 +79122,7 @@ function dFe(e) {
cost: "free"
};
}
-function Z7(e, t) {
+function Q7(e, t) {
let n = (e, t = (e) => e.label || Zl(e.k)) => (e || []).map((e) => ({
value: String(e.k),
label: t(e),
@@ -78962,7 +79133,7 @@ function Z7(e, t) {
value: e.k,
label: tr[e.k] || e.k,
n: e.n ?? null,
- dot: dFe(e.k),
+ dot: OFe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -78975,24 +79146,24 @@ function Z7(e, t) {
duration: !!e.stats?.duration
};
}
-async function fFe(e = !1) {
- if (e && (document.hidden || !An(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || fu || uu.size || document.activeElement === L("#q"))) return !1;
+async function kFe(e = !1) {
+ if (e && (document.hidden || !An(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || fu || uu.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, sH.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), Lu(), O8(), w7({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), Lu(), 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,
@@ -79000,69 +79171,69 @@ async function fFe(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 pFe(e) {
- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && ql();
+function AFe(e) {
+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && ql();
}
-function mFe(e) {
+function jFe(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 Dc(e, { drag: !0 });
}
-function hFe() {
- ["#nrow", "#count"].forEach((e) => e9(L(e))), document.querySelectorAll(".tier,.srow").forEach(e9);
+function MFe() {
+ ["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);
}
-function gFe() {
+function NFe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function _Fe() {
+function PFe() {
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 = OA(), Z.appSettings = Z.settingsStore.value, Xt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Xo(Z.appSettings.uiSounds), ns(), MA(), Dse(), rj(), oj(), sj(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = xA(), Z.appSettings = Z.settingsStore.value, Xt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Xo(Z.appSettings.uiSounds), ns(), TA(), Pse(), QA(), tj(), nj(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
performerNameLanguage: () => {
- Xt(Z.appSettings.performerNameLanguage), F5.syncPageTitle(location.href), X.barsRendered = "", M7();
+ Xt(Z.appSettings.performerNameLanguage), I5.syncPageTitle(location.href), X.barsRendered = "", N7();
},
- theme: () => MA(),
+ theme: () => TA(),
uiSounds: () => {
Xo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Zo("toggle-on");
},
- glowFrame: () => aj(),
+ glowFrame: () => ej(),
glow: () => {
- aj(), oj();
+ ej(), tj();
},
batchSize: () => {
- location.pathname === "/" && L7();
+ location.pathname === "/" && R7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = cA(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Lu(), location.pathname === "/" && X7();
+ U.sort = Z.appSettings.defaultSort, U.dir = Zk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Lu(), location.pathname === "/" && Z7();
},
sortDirection: () => {
- U.dir = cA(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Lu(), location.pathname === "/" && X7();
+ U.dir = Zk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Lu(), location.pathname === "/" && Z7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
Yl(e, "previewing", !1), Yl(e, "longhover", !1);
}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);
},
- seekSeconds: () => J7(),
- groupCollapse: () => o7(),
- feedAutoScroll: () => HNe(),
- feedLimit: () => Q8(),
- feedCompilations: () => Q8(),
+ seekSeconds: () => Y7(),
+ groupCollapse: () => s7(),
+ feedAutoScroll: () => aPe(),
+ feedLimit: () => $8(),
+ feedCompilations: () => $8(),
miniplayer: () => {
- Z.appSettings.miniplayer || r8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || i8()?.closeMiniplayer();
},
javImage: () => {
- io(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(El), yFe();
+ io(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(El), IFe();
},
searchHistoryLimit: () => ZV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -79073,11 +79244,11 @@ function _Fe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Us;
}
-function vFe() {
- Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");
+function FFe() {
+ 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,
@@ -79088,18 +79259,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 }), Iu({
+function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
+ Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), Iu({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -79107,12 +79278,12 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailOriginAnchor: null,
detailOriginAbove: !1,
detailReturnNeedsRestore: !1
- }), u7(), e && Q.route(gu || "/");
+ }), d7(), e && Q.route(gu || "/");
}
-function yFe() {
- r8()?.repaintPoster();
+function IFe() {
+ i8()?.repaintPoster();
}
-function a9(e, t, n, r, i = null, a = {}) {
+function o9(e, t, n, r, i = null, a = {}) {
t = +t;
let o = bu?.kind === e && (e === "playlist" ? bu.playlistId : bu.seedId) === t;
r && !o && Iu({ detailReturnPath: location.pathname + location.search }), r && MV();
@@ -79126,38 +79297,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: sH.navigation.seq,
cancelled: !1
};
- Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), Iu({ queueOpens: Ou + 1 });
- } else return c9(n == null ? null : +n, !1, s, i, r);
+ Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), Iu({ queueOpens: Ou + 1 });
+ } else return l9(n == null ? null : +n, !1, s, i, r);
}
-function bFe(e, t = e, n = !0, r = null) {
- return a9("mix", e, t, n, r);
+function LFe(e, t = e, n = !0, r = null) {
+ return o9("mix", e, t, n, r);
}
-function xFe(e, t = e, n = !0, r = null) {
- return a9("editions", e, t, n, r);
+function RFe(e, t = e, n = !0, r = null) {
+ return o9("editions", e, t, n, r);
}
-function SFe(e, t = e, n = !0, r = null) {
- return a9("parts", e, t, n, r);
+function zFe(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) {
- Iu({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));
+ if (a || v9(), t && !n) {
+ Iu({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => l9(e, !1, null, r));
return;
}
ql(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : _u?.isConnected ? _u : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : vu, c = s9(), l = yu || !t && !c, u = cu.type === "item" ? lu : Y.cloneBarsContext(o5());
- t ? Iu({ detailReturnPath: location.pathname + location.search }) : i || Iu({ detailReturnPath: PV() || gu }), t && MV(), r8()?.showing() !== "item" && i9(!1, !0, {
+ let o = r?.isConnected ? r : _u?.isConnected ? _u : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : vu, c = c9(), l = yu || !t && !c, u = cu.type === "item" ? lu : Y.cloneBarsContext(s5());
+ t ? Iu({ detailReturnPath: location.pathname + location.search }) : i || Iu({ detailReturnPath: PV() || gu }), t && MV(), i8()?.showing() !== "item" && a9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), Iu({
@@ -79169,60 +79340,60 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), Iu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, FV("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: fu,
selected: new Set(uu),
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(lu), t = gu || "/", n = yu;
- await r9(), i9(!1, !1, { miniplayer: !1 }), Iu({ detailReturnBarsContext: null }), NV(), Iu({ barsContext: e || {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), Iu({ detailReturnBarsContext: null }), NV(), Iu({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Iu({ pageOpens: Du + 1 }) : (M7(), location.pathname === "/playlists" && Iu({ pageOpens: Du + 1 })));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? Iu({ pageOpens: Du + 1 }) : (N7(), location.pathname === "/playlists" && Iu({ pageOpens: Du + 1 })));
}
-async function u9(e, t = !0) {
+async function d9(e, t = !0) {
if (t) {
- Iu({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));
+ Iu({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));
return;
}
- let n = sH.navigation.seq, r = Y.cloneBarsContext(o5()), i = !s9(), a = PV() || (i ? "/jav?tab=discover" : gu) || "/jav?tab=discover";
- r8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), Iu({
+ let n = sH.navigation.seq, r = Y.cloneBarsContext(s5()), i = !c9(), a = PV() || (i ? "/jav?tab=discover" : gu) || "/jav?tab=discover";
+ i8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), Iu({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), ql();
- let [o, s] = await Promise.all([n8(t9.stageHost), B("/healthz")]);
+ let [o, s] = await Promise.all([r8(n9.stageHost), B("/healthz")]);
sH.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) => {
sH.navigation.seq === n && t && t !== e && cH("/works/" + encodeURIComponent(t) + location.search + location.hash, {
@@ -79231,56 +79402,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 iNe(t9.immerseHost)).open(e));
+async function f9(e = null, t = !0) {
+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await xNe(n9.immerseHost)).open(e));
}
-function CFe() {
- t9.total = 0, t9.facets = null, t9.stageHost = {
+function BFe() {
+ 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 wFe() {
- t9.itemDetailHelpers = {
+function VFe() {
+ n9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => KF(e),
- displayName: (e) => GF(e),
+ titleHtml: (e) => yF(e),
+ displayName: (e) => vF(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Zl(e),
isDurationTag: (e) => ir.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: () => o2("正在读取推荐", {
+ relatedSkeletonHtml: () => s2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
- mixRelated: (e) => _7(e),
- wireDrag: (e) => e9(e),
+ mixRelated: (e) => v7(e),
+ wireDrag: (e) => t9(e),
wireDragReorder: (e, t) => nl(e, t)
- }, t9.itemDetailActions = {
- close: () => l9(),
+ }, n9.itemDetailActions = {
+ close: () => u9(),
present: (e) => {
Iu({ presentedItem: e });
let t = lu;
@@ -79288,65 +79459,65 @@ function wFe() {
type: "item",
id: e.id,
filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()
- } }), xu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${xu}`, !1, FV("item")), Iu({ pendingQueueRoute: null })), M7();
+ } }), xu && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${xu}`, !1, FV("item")), Iu({ pendingQueueRoute: null })), N7();
},
redirect: (e) => {
let t = !!xu;
e.kind === "follow" ? (Q.queueOpenRequest = null, Iu({
pendingQueueRoute: null,
followDetailReturnPath: gu || "/"
- }), Q.route(`/posts/${e.id}`, !t, FV("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, FV("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 = Su;
if (!e) return;
let t = bu;
- 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) => nPe(e),
- saveMix: (e) => tPe(e),
- editPlaylist: () => b9("/playlists"),
- openPlaylists: () => b9("/playlists"),
- reveal: (e) => p5(e),
- sync: (e) => qNe(e),
+ addToPlaylist: (e) => yPe(e),
+ saveMix: (e) => vPe(e),
+ editPlaylist: () => x9("/playlists"),
+ openPlaylists: () => x9("/playlists"),
+ reveal: (e) => m5(e),
+ sync: (e) => uPe(e),
trashChanged: async (e, t) => {
- U.state === "ads" && (t || e === "trash") && (t || (NV(), i9(!0, !1, { miniplayer: !1 })), await L7());
+ U.state === "ads" && (t || e === "trash") && (t || (NV(), 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) => GF(e),
+ displayName: (e) => vF(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,
@@ -79355,29 +79526,29 @@ var f9 = {
readPostSetupTutorialDone: void 0,
openTutorialTarget: void 0
};
-async function TFe() {
- Sl(), await f9.writePostSetupTutorialDone(!1), await p9();
+async function HFe() {
+ Sl(), 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(() => {})), fl() !== "pending" || await f9.readPostSetupTutorialDone()) {
+ if (p9.postSetupTutorialNeedsReopen && (p9.postSetupTutorialNeedsReopen = !1, await p9.writePostSetupTutorialDone(!1).catch(() => {})), fl() !== "pending" || await p9.readPostSetupTutorialDone()) {
t();
return;
}
let n = bl();
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 (!xl(n)) return;
let i = new Set(r.map((e) => e.key)), a = new Set([...gl()].filter((e) => i.has(e)));
_l(a);
let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);
if (!s.length) {
- pl("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});
+ pl("complete"), t(), await p9.writePostSetupTutorialDone(!0).catch(() => {});
return;
}
let c = vl(o);
@@ -79385,33 +79556,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 = ml(), 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), hl(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), Bo(d, !n);
}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {
let t = gl(), n = e.dataset.tutorialSkip;
- t.add(n), _l(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
+ t.add(n), _l(t), C8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {
let e = gl();
- e.delete(n), _l(e), pl("pending"), await p9();
- } }), p9();
+ e.delete(n), _l(e), pl("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 (!xl(n)) return;
e.innerHTML = Cl(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 EFe() {
- if (Iu({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, Eu) {
- pl("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;
+function UFe() {
+ if (Iu({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), p9.postSetupTutorialDone = null, p9.postSetupTutorialNeedsReopen = !1, Eu) {
+ pl("pending"), p9.postSetupTutorialDone = !1, p9.postSetupTutorialNeedsReopen = !0;
let e = new URL(location.href);
e.searchParams.delete("onboarding"), cH(e, {
replace: !0,
@@ -79425,7 +79596,7 @@ function EFe() {
state: sH.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 wn("/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 [
{
@@ -79478,7 +79649,7 @@ function EFe() {
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 = ml(), 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>
@@ -79499,19 +79670,19 @@ function EFe() {
<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 wn("/api/settings", {
+ }, p9.writePostSetupTutorialDone = async (e) => {
+ p9.postSetupTutorialDone = e, await wn("/api/settings", {
method: "POST",
body: JSON.stringify({ postSetupTutorialDone: e })
});
- }, f9.readPostSetupTutorialDone = async () => {
- if (f9.postSetupTutorialDone === null) try {
- f9.postSetupTutorialDone = (await wn("/api/settings")).postSetupTutorialDone === !0;
+ }, p9.readPostSetupTutorialDone = async () => {
+ if (p9.postSetupTutorialDone === null) try {
+ p9.postSetupTutorialDone = (await wn("/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 && Iu({ cameFromSetup: !0 }), Q.navigatePath(e.href);
};
}
@@ -79535,40 +79706,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, Iu({ pendingQueueRoute: null });
}
-function v9(e, t, n) {
- _9(), MV(), Q.requestedOverlay = {
+function y9(e, t, n) {
+ v9(), MV(), Q.requestedOverlay = {
path: e,
open: n
}, Q.route(e, !1, FV(t));
}
-function y9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), h9(), NV(), p9();
+function b9() {
+ Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), g9(), NV(), m9();
}
-function b9(e) {
+function x9(e) {
Q.route(e), Iu({ pageOpens: Du + 1 });
}
-function DFe() {
+function WFe() {
Q.routeMeta = (e) => {
let t = RV(e);
return t ? { route: t } : null;
@@ -79576,7 +79747,7 @@ function DFe() {
let t = RV(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !OV(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? d9(gFe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? bPe() : e) : (O5(!1, !0), b9(M5({
+ e === "/immerse" ? f9(NFe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? LPe() : e) : (k5(!1, !0), x9(N5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -79585,34 +79756,34 @@ function DFe() {
})));
};
}
-function OFe() {
+function GFe() {
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(), QV(L("#stats"), L("#index")), !An(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(), QV(L("#stats"), L("#index")), !An(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++, cH(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 ? sH.replace(e, n) : sH.push(e, n), queueMicrotask(() => {
- l7(), Q5();
+ u7(), $5();
});
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function kFe(e, t, n) {
+function KFe(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 AFe(e, t = 0, n = 0) {
- return n > 0 ? kFe(e, t, n) : Vs(e);
+function qFe(e, t = 0, n = 0) {
+ return n > 0 ? KFe(e, t, n) : Vs(e);
}
-async function jFe(e) {
+async function JFe(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -79627,14 +79798,14 @@ async function jFe(e) {
await t(2e3);
}
}
-function MFe(e) {
+function YFe(e) {
let t = e.note || ((e) => Rs(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Vs, r = e.progress || ((e, t, n) => AFe(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 || Vs, r = e.progress || ((e, t, n) => qFe(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;
- jFe({
+ JFe({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -79683,25 +79854,25 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function NFe(e) {
+function XFe(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- S8.toast({ text: Vi(e) }, {
+ C8.toast({ text: Vi(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
action: {
label: "查看",
- run: () => E9(!0)
+ run: () => D9(!0)
}
});
}
-function x9() {
- return Oa(S9());
+function S9() {
+ return Oa(C9());
}
-function PFe() {
+function ZFe() {
return $.controller.read();
}
-function S9() {
+function C9() {
return {
status: $.followFilter,
media: $.followMediaView,
@@ -79716,33 +79887,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 FFe() {
+function QFe() {
let e = KV(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
-function w9() {
- return !!FFe();
+function T9() {
+ return !!QFe();
}
-function T9(e) {
- w9() && ZV(L("#stats"), e);
+function E9(e) {
+ T9() && ZV(L("#stats"), e);
}
-function IFe(e, t = {}) {
+function $Fe(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 && Iu({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));
+ !location.pathname.startsWith("/posts/") && !r && Iu({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));
return;
}
ql(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && Iu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Iu({ followDetailReturnPath: PV() || "/follow" }), t && MV(), r8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, FV("follow")), await (await n8(t9.stageHost)).open({
+ t && i && !r && Iu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && Iu({ followDetailReturnPath: PV() || "/follow" }), t && MV(), i8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, FV("follow")), await (await r8(n9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -79750,66 +79921,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 LFe() {
- await r9(), i9(!1, !1, { miniplayer: !1 }), NV(), Q.route(Cu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && w9() ? (PFe(), T9({ view: S9() })) : Iu({ pageOpens: Du + 1 }));
+async function eIe() {
+ await i9(), a9(!1, !1, { miniplayer: !1 }), NV(), Q.route(Cu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (ZFe(), E9({ view: C9() })) : Iu({ pageOpens: Du + 1 }));
}
-function RFe(e) {
+function tIe(e) {
let t = document.createElement("div");
return t.className = "peach-react", tc(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function zFe() {
+function nIe() {
$.followFeedHelpers = $l({
wireDrag: (e) => {
- e && e9(e);
+ e && t9(e);
},
wireScroller: (e) => {
e && Dc(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: MFe
+ jobProgress: YFe
}), $.followFeedActions = {
- loaded: (e) => W5(e),
- openDetail: (e) => D9(e),
+ loaded: (e) => G5(e),
+ openDetail: (e) => O9(e),
openAuthor: (e) => Q.navigatePath(Nn("creator", e)),
- toggleSelection: (e, t) => cPe(e, t),
+ toggleSelection: (e, t) => TPe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();
},
setPhotoLayout: (e) => {
- YA(e), u5();
+ HA(e), d5();
},
- canFlip: () => !fu && !Q7() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: (e, t) => S8.actionFailure(e, t),
- checkReport: (e) => NFe(e)
+ canFlip: () => !fu && !$7() && !window.__scrolling && !X.reduceMotion(),
+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => C8.actionFailure(e, t),
+ checkReport: (e) => XFe(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- r8()?.showing() !== "follow" && (ql(), i9(!1), H5(), !w9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && QV(L("#stats")), L("#stats").replaceChildren()));
+ i8()?.showing() !== "follow" && (ql(), a9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && QV(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = su({
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
rememberReturn: (e) => Iu({ followDetailReturnPath: e }),
- close: () => void LFe(),
- open: (e, t, n) => void D9(e, !0, t, n),
- drawer: W5,
+ close: () => void eIe(),
+ open: (e, t, n) => void O9(e, !0, t, n),
+ drawer: G5,
openAuthor: (e) => Q.navigatePath(Nn("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 BFe() {
+function rIe() {
$.controller = ja({
location: () => location,
- view: S9,
- adoptView: C9,
+ view: C9,
+ adoptView: w9,
session: () => ({
discoverySeed: Au,
revision: ju,
@@ -79823,20 +79994,20 @@ function BFe() {
preferences: () => ({
selectMode: fu,
selected: du,
- photoSize: UA(),
- photoLayout: WA(),
+ 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: () => {
- ql(), H5(), V5({ manage: !1 });
+ ql(), U5(), H5({ manage: !1 });
},
- syncPhotoWalls: u5,
+ syncPhotoWalls: d5,
scrollTop: () => window.scrollTo({
top: 0,
behavior: "smooth"
@@ -79844,19 +80015,19 @@ function BFe() {
}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;
}
// src/application/lifecycle.js
-function VFe() {
- SCe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), J.own(Kc()), Ua(document.body), X.homeHasFeed = zNe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {
+function iIe() {
+ ACe(), Yc(document), Lo(document.documentElement, { variant: "page" }), Lo(L("#drawerScroll")), J.own(Kc()), Ua(document.body), X.homeHasFeed = nPe(), 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 O9(e) {
+async function aIe(e) {
let t = (await Promise.allSettled([
e("/api/items?sort=rand&limit=5"),
e("/api/jav/discoveries?scope=library&limit=5"),
@@ -79968,7 +80139,7 @@ async function O9(e) {
];
}
// src/application/search-morph.js
-function HFe(e, t, n, r, i, a, o) {
+function oIe(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);
@@ -79993,7 +80164,7 @@ var k9 = {
function A9() {
k9.searchControl?.close();
}
-function UFe(e) {
+function sIe(e) {
let t = e ? eo({
...e,
is_jav: !!e.code
@@ -80012,7 +80183,7 @@ function M9(e) {
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 = Bc();
t.classList.add("search-morphing");
- let h = t.animate(HFe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(oIe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
@@ -80021,27 +80192,27 @@ function M9(e) {
k9.searchMorph === h && j9();
});
}
-function WFe() {
- return t9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;
+function cIe() {
+ return n9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;
}
-function GFe(e) {
+function lIe(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function KFe() {
+function uIe() {
k9.searchControl = null, k9.searchActions = {
search: (e) => {
- X.rememberSearchValue(), i9(!1), U.q = e, Lu(), Q.route(U.jav === "1" ? h7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
+ X.rememberSearchValue(), a9(!1), U.q = e, Lu(), 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);
}
}, k9.searchHelpers = {
- pool: () => $_e(U, wn),
- recommendations: () => O9(wn),
- 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) : UFe(e)}</span>`,
+ pool: () => ive(U, wn),
+ recommendations: () => aIe(wn),
+ 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) : sIe(e)}</span>`,
present: (e) => ss(e),
dismiss: (e) => cs(e),
wireScroller: (e) => Dc(e),
@@ -80075,7 +80246,7 @@ function KFe() {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function qFe() {
+function dIe() {
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", () => {
@@ -80087,10 +80258,10 @@ function qFe() {
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;
@@ -80099,25 +80270,25 @@ function qFe() {
A9();
return;
}
- if (t9.immerseOpen()) {
- o8().close();
+ if (n9.immerseOpen()) {
+ s8().close();
return;
}
- if (t9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), r8().requestEscape());
+ if (n9.stageOpen()) {
+ e.defaultPrevented || (e.preventDefault(), i8().requestEscape());
return;
}
if (L("#drawer").classList.contains("open")) {
- q5(!1);
+ J5(!1);
return;
}
if (fu || uu.size || du.size) {
- O5(!1, !0);
+ k5(!1, !0);
return;
}
return;
}
- if (GFe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (lIe(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) {
@@ -80125,37 +80296,37 @@ function qFe() {
return;
}
}
- let t = WFe();
+ let t = cIe();
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(), kM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), AM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), OM(t);
+ e.preventDefault(), kM(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), Gj(t, ".vjs-mute-control");
+ e.preventDefault(), Bj(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), Gj(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 JFe(e) {
+function fIe(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;
@@ -80178,70 +80349,70 @@ var N9 = {
shellActions: void 0,
routing: void 0
};
-function YFe() {
+function pIe() {
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 (RNe(), F5.entityShapesReady = W8(), EPe(), location.pathname === "/") {
+ if (tPe(), I5.entityShapesReady = G8(), UPe(), 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")), FPe(), N9.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")), QPe(), 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) => {
- APe(), P7(e);
+ qPe(), F7(e);
},
- openTasteSignal: ePe,
+ openTasteSignal: _Pe,
navigate: (e) => {
let n = new URL(e, location.href), r = DV(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 && !OV(location.pathname)) {
Q.route(e);
let t = sH.navigation.seq;
- c6(n.hash, () => sH.navigation.seq === t);
+ l6(n.hash, () => sH.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: TFe,
- routeReview: rPe,
- routeFollowManage: yPe,
+ openFollow: () => D9(),
+ receipt: (e, t) => C8.actionReceipt(e, t),
+ toast: (e, t) => C8.toast(e, t),
+ failure: C8.actionFailure,
+ revealSource: m5,
+ reopenTutorial: HFe,
+ routeReview: bPe,
+ routeFollowManage: IPe,
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) => xPe(e),
- showIndexTags: SPe,
- openFollowAuthor: P5,
- openFollowTag: CPe,
- openPlaylist: (e, t) => void o9(e, t, !0),
- canFlip: () => !fu && !Q7() && !window.__scrolling && !X.reduceMotion(),
+ exitSelectMode: () => k5(!1, !1),
+ personAvatar: (e, t, n) => M5.personAvatar(e, t, n),
+ authorAvatar: (e) => RPe(e),
+ showIndexTags: zPe,
+ openFollowAuthor: F5,
+ openFollowTag: BPe,
+ openPlaylist: (e, t) => void s9(e, t, !0),
+ canFlip: () => !fu && !$7() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (ql(), Iu({ barsContext: {
type: "home",
filters: U
- } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (ql(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (ql(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));
+ } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (ql(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (ql(), 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;
@@ -80252,7 +80423,7 @@ function YFe() {
Q.requestedOverlay = null, sH.navigation.claimed && (!lH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (lH() && (Q.initialOverlayOpened = !0), t(e));
},
closeStage: () => {
- t9.stageOpen() && i9(!1);
+ n9.stageOpen() && a9(!1);
},
grid: {
helpers: X.gridHelpers,
@@ -80260,57 +80431,57 @@ function YFe() {
},
configurable: () => !!Tu,
surfaceShown: (e) => {
- e === "index" ? (g9(), u7()) : M7();
+ e === "index" ? (_9(), d7()) : N7();
},
entity: {
missing: (e) => {
- N9.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() || !lH() && !L("#grid").querySelector(".catalog-skeleton")) return;
+ if (U7() || !lH() && !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();
}
}
}, N9.routing = !1, e.listen(document, "click", (e) => {
- let t = JFe(e);
+ let t = fIe(e);
t && (e.preventDefault(), N9.shellActions.navigate(t));
}), J.own(sH.listen((e) => {
- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !OV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();
- })), nNe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), RPe(), pPe(), X5(), Promise.all([
- Y7(),
- IPe(),
- F5.entityShapesReady
+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !OV(e.location.pathname) && a9(!1), N9.routing && !e.claimed && b9();
+ })), yNe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), tFe(), APe(), Z5(), Promise.all([
+ X7(),
+ $Pe(),
+ I5.entityShapesReady
]).then(() => {
- e.isActive && (F5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), hFe(), N9.routing = !0, Iu({ pageOpens: 1 }), y9(), u7());
+ e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), MFe(), N9.routing = !0, Iu({ pageOpens: 1 }), b9(), d7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
var P9 = !1;
-async function XFe(e, t) {
+async function mIe(e, t) {
if (P9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -80332,7 +80503,7 @@ async function XFe(e, t) {
}
}
// src/application/chrome.js
-function ZFe() {
+function hIe() {
(() => {
let e = J, t = [
"#brandHome",
@@ -80415,7 +80586,7 @@ function ZFe() {
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) => {
@@ -80432,18 +80603,18 @@ function ZFe() {
(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" && XFe(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), MA();
+ t.getAttribute("aria-pressed") !== "true" && mIe(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), TA();
});
- })), MA();
+ })), 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 = ds(g, v, _);
- e.own(y.dispose), e.own(zse(v)), lNe({
+ e.own(y.dispose), e.own(Wse(v)), ENe({
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");
}));
}
@@ -80455,7 +80626,7 @@ function ZFe() {
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);
@@ -80579,15 +80750,15 @@ function ZFe() {
subtree: !0
}), y();
}
- })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function QFe() {
- VFe(), DFe(), DPe(), OFe(), _Fe(), dNe(), cFe(), EFe(), ZNe(), CFe(), mPe(), lFe(), WNe(), iPe(), zFe(), wPe(), QNe(), BFe(), TPe(), $Ne(), WPe(), uFe(), KFe(), wFe(), qFe(), vFe(), YFe(), ZFe(), J.own(z7), J.own(_9);
+function gIe() {
+ iIe(), WFe(), WPe(), GFe(), PFe(), ONe(), TFe(), UFe(), mPe(), BFe(), jPe(), EFe(), sPe(), xPe(), nIe(), VPe(), hPe(), rIe(), HPe(), gPe(), sFe(), DFe(), uIe(), VFe(), dIe(), FFe(), pIe(), hIe(), J.own(B7), J.own(v9);
}
// src/ui-kit/middle-truncate.ts
var F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));
-function $Fe(e, t) {
+function _Ie(e, t) {
let n = H9(e);
if (!n.length || t(e)) return String(e ?? "");
let r = 0, i = Math.max(0, n.length - 1), a = F9;
@@ -80605,7 +80776,7 @@ var U9 = Object.assign((e, t) => {
Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);
let o = parseFloat(n.wordSpacing);
return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;
-}, { canvas: null }), eIe = (e) => {
+}, { canvas: null }), vIe = (e) => {
if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;
let t = e.parentElement;
if (!t) return e.clientWidth;
@@ -80615,17 +80786,17 @@ var U9 = Object.assign((e, t) => {
n === e ? a++ : t > 0 && (i += t, a++);
}
return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);
-}, tIe = (e) => {
+}, yIe = (e) => {
let t = L9.get(e);
if (!t || !e.isConnected) return;
- let n = eIe(e), r = n > 0 ? $Fe(t.full, (t) => U9(e, t) <= n) : t.full;
+ let n = vIe(e), r = n > 0 ? _Ie(t.full, (t) => U9(e, t) <= n) : t.full;
t.rendered = r, e.textContent !== r && (e.textContent = r);
let i = r !== t.full;
e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), e.hasAttribute("title") && e.dataset.middleTitle !== "true" || (e.title = t.full, e.dataset.middleTitle = "true");
}, W9 = (e) => {
let t = L9.get(e);
t && !t.raf && (t.raf = requestAnimationFrame(() => {
- t.raf = 0, tIe(e);
+ t.raf = 0, yIe(e);
}));
}, G9 = (e) => {
e instanceof HTMLElement && (L9.has(e) || L9.set(e, {
@@ -80638,7 +80809,7 @@ var U9 = Object.assign((e, t) => {
let t = e;
t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);
};
-function nIe(e = document) {
+function bIe(e = document) {
B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();
let t = V9, n = !0;
z9 = new ResizeObserver((e) => e.forEach((e) => {
@@ -80712,7 +80883,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], rIe = {
+], xIe = {
catalog: [
...q9,
...J9,
@@ -80733,10 +80904,10 @@ var q9 = [
"avatar-choices"
]
};
-function iIe() {
+function SIe() {
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 rIe[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of xIe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -80749,12 +80920,12 @@ function iIe() {
})), t || Promise.resolve();
};
}
-function aIe() {
+function CIe() {
let e = Pt({
- queryKey: JF,
- queryFn: ({ signal: e }) => XF(e),
- refetchInterval: (e) => YF(e.state.data)
- }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(iIe), r = e.data?.result_versions;
+ queryKey: xF,
+ queryFn: ({ signal: e }) => kF(e),
+ refetchInterval: (e) => OF(e.state.data)
+ }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(SIe), r = e.data?.result_versions;
return (0, P.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -80764,52 +80935,52 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function oIe() {
+function wIe() {
if (!X9) {
- let e = uNe();
+ let e = DNe();
X9 = {
effects: e,
owners: 0
- }, e.own(nIe(document)), e.own(() => {
+ }, e.own(bIe(document)), e.own(() => {
ql(), H.cancelQueries();
- }), e.own(rNe), e.own(Lhe), e.own(as);
+ }), e.own(bNe), e.own(Bhe), e.own(as);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function sIe() {
+function TIe() {
let [e, t] = (0, P.useState)(null);
return (0, P.useLayoutEffect)(() => {
- let e = X9 === null, n = oIe(), r = tNe(t);
+ let e = X9 === null, n = wIe(), r = vNe(t);
if (e) try {
- QFe();
+ gIe();
} 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)(T_e, {
+ }, []), /* @__PURE__ */ (0, F.jsx)(O_e, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, F.jsx)(aIe, {}) : null
+ background: e ? /* @__PURE__ */ (0, F.jsx)(CIe, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function cIe(e) {
+function EIe(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, Rt.createRoot)(e, E_e);
+ let n = (0, Rt.createRoot)(e, k_e);
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)(sIe, {}))), n;
+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(TIe, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-cIe($9);
-export { UI as $2ec61d1d4f780267$export$a8a3e93435678ff9, ZI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, mR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, KT as $72abaeab4d80592f$export$78efe591171d7d45, oz as $76d00c5a4edb230a$export$76ccd210b9029917, rz as $76d00c5a4edb230a$export$816b5d811295e6bc, lz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, dz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, nz as $76d00c5a4edb230a$export$f850895b287ef28e, npe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, tpe as $b4f18e3395fe64d7$export$3e41faf802a29e71, Qfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, hz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, ape as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, Nw as $ea3928288112382f$export$439d29a4e110a164, DR as $f2ff30fde7b014be$export$3ddf2d174ce01153, PR as $fe21c36db05242bb$export$a98f0dcb43a68a25, FR as $fe21c36db05242bb$export$d7b12c4107be0d61, Vpe as $l, gA as ACCENTS, BEe as AMANE_BRIDGE_CHECK_URL, J$ as AMANE_BRIDGE_KEY, VEe as AMANE_BRIDGE_REBUILD_URL, or as ApiError, rG as ArtSlot, q as Button, xI as ButtonLink, Xpe as Bx, _n as CLOUD_LOCATIONS, J1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, o1 as CONFIGURATION_KEY, GY as CONFIGURATION_URL, HEe as COOKIE_TEXT_LIMIT, q$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, U$ as CUSTOM_SOURCES_KEY, H$ as CUSTOM_SOURCES_URL, hV as Checkbox, mV as CheckboxGlyph, aV as ChevronSortDown, aZ as Chip, K2 as CloudDownloadDialog, iU as CollapseChevron, rU as CollapseRegion, u$ as CollectionSummary, yxe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, kQ as DIAGNOSTICS_KEY, vSe as DIRECTORY_TEMPLATE_ERROR, k0 as DISCOVERY_SORTS, B2 as DOWNLOADS_KEY, z2 as DOWNLOADS_URL, dY as DUPLICATES_KEY, KJ as DataTableFooter, HJ as DataTableFrame, GJ as DataTableSort, uU as Disclosure, $ke as DownloadsPanel, Mpe as E3, bxe as ENTITY_REVIEW_KINDS, K1 as ENTRY_LINKS_HELP, q1 as ENTRY_LINKS_HINT, Wpe as Ea, sme as EmptyFocusButton, qz as EmptyState, cU as ErrorText, Uge as ExternalLink, Br as FEEDS_KEY, $Y as FEED_SCHEDULE_KEY, T$ as FIELDSET_FOOT, Qje as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, NZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, QY as FOLLOW_SCHEDULE_KEY, Kge as Fact, Gge as FactList, lU as FieldLabel, F$ as Fieldset, P$ as FieldsetTitle, $ue as FilterGlass, mI as FilterGlassRows, pI as FilterIconButton, hI as FilterPill, Hge as Footer, jz as Gg, gI as GlassPill, sU as Help, Rz as HintText, Wje as IDLE_POLL_MS, cxe as IDLE_REPAIR, lI as IconButton, Uz as Input, Hz as InputBase, PA as JAV_LAYOUTS, j0 as JAV_RECOMMENDATION_GRID, SX as JUNK_KEY, Z3 as JavHeader, nxe as KEEP_LABELS, Hr as LAYOUTS, G1 as LIBRARY_FOLDER_HELP, SH as LIBRARY_PROCESSING_KEY, LY as LINKS_KEY, RY as LINK_CHECK_KEY, Wxe as LINK_KINDS, zY as LINK_PRUNE_KEY, tr as LOC, Lz as Label, R$ as LibraryProcessingCard, uB as LibraryShortcuts, RH as LinkButton, QH as LoadingDots, Ppe as M6, Yxe as MEDIA_PROCESSING_KEY, tX as MEDIA_PROCESSING_URL, gY as MEDIA_REPAIR_KEY, hY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, lV as MENU_ITEM, uV as MENU_ITEM_INTERACTIVE, cV as MENU_POPOVER_SURFACE, HH as MenuDialog, $G as MixCard, Wz as ModalFrame, wy as MotionConfigContext, Iz as NR, Kz as Note, rme as OA, iX as ORGANIZE_KEY, sX as ORPHAN_RECORDS_KEY, Az as OV, Cz as P7, nEe as PHASES, KY as PICK_FOLDER_URL, B$ as PLAYLISTS_KEY, UDe as POLICY_COLUMNS, GDe as POLICY_COVER_NOTE, WDe as POLICY_MATRIX, W1 as POLICY_SUMMARY, WJ as Pagination, L$ as PathLine, zF as PillTabList, eU as Progress, xY as QUALITY_GOALS_KEY, O$ as REPAIR_CARD_TEXT, _Y as REPAIR_LIBRARIES_KEY, fX as RESOURCE_APPLY_KEY, dX as RESOURCE_SCAN_KEY, hEe as RESULT_PANEL, gEe as RESULT_SECTION, vxe as REVIEW_CATEGORIES, xX as REVIEW_COUNTS_KEY, xxe as REVIEW_DECISION_LABELS, wY as REVIEW_KEY, TY as REVIEW_LABELS, DY as REVIEW_QUEUES, OY as REVIEW_QUEUE_LABELS, nG as RetryNote, nme as Rf, zge as Rows, REe as SCRAPING_CHECK_URL, G$ as SCRAPING_COVER_URL, K$ as SCRAPING_KEY, LEe as SCRAPING_SETTINGS_URL, qU as SEGMENT, KU as SEGMENTED_TRACK, ZY as SETTINGS_KEY, qY as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, l3 as STATS_KEY, Rge as Section, Vge as SectionSkeleton, GU as SegmentedRadioGroup, I_e as SegmentedTabList, PW as Segments, UJ as Select, RU as Select$1, u1 as SelectField, zU as SelectItem, $J as SelectionActions, Jk as SelectionDock, eY as SelectionPopover, aU as SettingsCard, Lge as SettingsRow, oU as SettingsSectionLabel, Xge as SiteLabel, QU as SortDirectionIcon, LW as SortKeys, fQ as SourceAvatar, mU as SourceLabel, dU as SourceMark, Bge as Stack, I$ as StatusLabel, N2 as Switch, JF as TASKS_KEY, Nje as TASTE_REFRESH_KEY, Pje as TASTE_WINDOWS, eX as THUMBNAIL_JOBS_KEY, wX as TRASH_KEY, Nue as TRIGGER_LABELS, NJ as Table, tY as TableColumnControls, nY as TableColumnResizer, iY as TableSelectionHeader, $Q as TagManager, Wge as TaskCenterLink, tU as TaskProgress, Bz as TextField, zz as TextFieldContext, kz as Un, m$ as WANTS_KEY, n4 as WantMagnets, qp as WithPromise, wz as Wt, Oz as Xc, Fz as Xf, Ipe as Xt, Npe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, tme as aB, Ti as addAlias, wi as addSource, g$ as addWant, bb as animate, B as apiGet, V as apiSend, OA as appSettingsStore, LSe as applyConfirmText, bX as applyLeftovers, ISe as applyPlanText, zSe as applyText, MA as applyTheme, f_ as asNumber, TSe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, xq as autoResetPageIndex, go as avatarInner, h3 as bandRows, ySe as baseName, sxe as batchOperate, $k as boundedPreference, ixe as bulkCloudPreferences, Zz as busyProps, eme as cB, lAe as cachedMagnetStates, Lp as calcGeneratorVelocity, Oxe as canApprove, Yf as cancelFrame, ASe as candidateText, ZH as cardClass, qA as cardRatio, Dz as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, Jxe as checkLine, Vi as checkReceipt, Hi as checkSummary, WEe as checkText, Gi as checkedText, TG as clickedBlank, Xbe as cloudLocations, T0 as cloudProxySkeleton, $x as clsx, qpe as cn, Xh as collectMotionValues, Vq as columnVisibilityFeature, OJ as column_getCanSort, wJ as column_getSortFn, Exe as commonReviewSources, yV as configurationSection, Rje as configureTasteBrowser, ol as confirmModal, rq as copyInstancePropertiesWithoutMemos, co as coverUrl, Mq as createColumnHelper, jEe as createPlaylist, Yi as credentialDone, x0 as credentialsSkeleton, Lxe as currentReviewRow, IF as cx, Nz as dZ, Pxe as decisionPayload, Fxe as decisionReceipt, Nxe as defaultChoice, NEe as deletePlaylist, x as diagnosticHeaders, U1 as diagnosticsSkeleton, uEe as discoveryArtwork, x$ as discoveryKey, hOe as discoveryScore, exe as distinctName, zi as dropSources, $pe as du, axe as duplicateVictims, tI as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, bq as expandRowModel, bz as f1, $r as feedIntervalText, Z$ as fetchAmaneBridge, _i as fetchCheckJob, s1 as fetchConfiguration, X$ as fetchCoverJob, gi as fetchCredentials, W$ as fetchCustomSources, AQ as fetchDiagnostics, S$ as fetchDiscoveries, pY as fetchDuplicates, Oue as fetchEarlier, Qxe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, Zxe as fetchFollowSchedule, EX as fetchJunkSummary, HY as fetchLinkCheck, UY as fetchLinkPrune, VY as fetchLinkStats, Xxe as fetchMediaProcessing, vY as fetchMediaRepair, yr as fetchMediaSources, aX as fetchOrganize, dSe as fetchOrganizeExample, cX as fetchOrphanRecords, Ai as fetchPending, V$ as fetchPlaylists, SY as fetchQualityGoals, yY as fetchRepairLibraries, vi as fetchResolveJob, mX as fetchResourceApply, pX as fetchResourceScan, PY as fetchReview, TX as fetchReviewCounts, nX as fetchSettings, Y$ as fetchSources, u3 as fetchStats, yi as fetchSuggestions, XF as fetchTasks, F3 as fetchTaste, zje as fetchTasteJob, $xe as fetchThumbnailJobs, DX as fetchTrashSummary, h$ as fetchWants, wxe as filterReviewRows, $n as firstGrapheme, zK as flexRender, eMe as flowGraph, tMe as flowLabel, $Ae as fmtCount, qn as fmtDur, Yn as fmtSize, Due as foldByKind, Hue as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, Wue as followupDetail, Eue as followupTally, Jf as frame, Cpe as g4, Wq as getDefaultPaginationState, KA as gridLayout, ci as groupByAuthor, Vue as groupFollowups, jY as groupReviewRows, PSe as hasChanges, hX as hasResourceRoots, QF as hasResultProblems, Gje as historySpan, xz as i2, Uje as importTasteExport, S0 as indexersSkeleton, kp as interpolate, v$ as invalidateWants, eI as isActive, Qr as isBroken, Kr as isLayout, ug as isMotionValue, EY as isReviewCategory, Uue as isRoutine, C0 as javBrowserSkeleton, N0 as javContentSkeleton, zA as javLayout, M0 as javTagSkeleton, WSe as junkBreakdown, PEe as keepPlaylist, ke as keepPreviousData, fi as keepSelected, d3 as known, Dpe as l7, Bue as latestOfKind, dje as lengthRows, Sr as localTime, Fi as lookupFeedActor, Ape as m7, Mz as mM, En as mapLimit, ki as markItem, g3 as max, lje as mediumRows, kue as mergeFinished, _3 as min, Hxe as mirrorText, dxe as missingToolText, mY as mixedCloudPreferences, aI as momentText, xb as motion, Qh as motionValue, xSe as organizeOutcome, J0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, sH as peachHistory, sH as peachHistory$1, Mxe as pendingGenres, tje as percentText, mSe as pickOrganizeFolder, bSe as planSummary, f3 as playedFor, rje as playedItemUrl, YF as pollInterval, Js as popCount, AEe as posterUrl, xG as previewLibraryColor, pSe as previewOrganize, mxe as previewUrl, zue as problemDestination, nI as progressText, pU as providerIcon, qxe as pruneText, _X as purgeCount, ESe as purgeOrphan, Pz as pv, Qpe as qE, H as queryClient, Sz as r2, Zje as radarRows, oje as radialArc, sje as radialBarSize, aje as radialCeiling, ije as radialSlices, cM as randomId, Yje as rankDetail, Xje as rankShares, m3 as reachedShare, rI as readableErrorHeadline, gOe as recommendationScore, Rxe as recordGenre, OSe as recordsText, FEe as recreatePlaylist, OEe as refreshPlaylists, Bl as relayoutCovers, Bi as reloadFollowManage, Vxe as reloadReview, JDe as rememberShape, gSe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, Hje as removeTasteSource, _$ as removeWants, Di as renameAliasGroup, MEe as renamePlaylist, pje as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, $K as require_with_selector, aEe as resetWants, pr as resolveFollowSort, Up as resolveStartTime, kEe as resumeAssetId, Cxe as reviewGroupingOptions, AY as reviewQueueData, kY as reviewQueueOf, USe as reviewSummary, Txe as reviewWindow, Axe as rowEvidence, NY as rowFieldName, Zq as rowPaginationFeature, vJ as rowSelectionFeature, jJ as rowSortingFeature, MY as rowSubject, jxe as rowTags, kxe as rowTitle, wpe as s5, Oi as saveCredential, FSe as scanLine, iSe as schedulePollInterval, sEe as searchNote, Dxe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, CV as settingsPath, Bxe as settleReviewRows, $be as sharedNamePrefix, cH as shellNavigate, b8 as showToast, zn as siteMarkUrl, dq as skipFirstRun, LF as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, RSe as sourceMeta, zs as spinnerHtml, Ep as spring, Yz as spriteGlyph, bi as startCheck, Gxe as startLinkCheck, Kxe as startLinkPrune, hSe as startOrganize, xi as startResolve, MSe as startResourceApply, jSe as startResourceScan, Vje as startTasteRefresh, Fue as statusLabel, uxe as statusLine, Zr as statusText, JA as storeJavLayout, Ixe as submitDecision, oI as summaryItems, Nq as tableFeatures, fq as tableMemo, ui as tableRows, Rue as taskIssues, I3 as tasteDate, qje as tasteDimensions, Kje as tasteHours, P3 as tasteKey, Ije as tasteRefetchInterval, Lje as tasteTime, UF as textLang, Od as time, Bpe as tl, mi as toggleGroup, L3 as topScores, Upe as uo, zH as useAction, OZ as useBackgroundJob, jU as useClientUpdates, Bu as useConstant, sI as useEntityNames, fI as useHorizontalScroller, Vu as useIsomorphicLayoutEffect, CG as useLibraryTints, Ft as useMutation, gV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, lb as useReducedMotion, rSe as useRunSchedule, tSe as useSaveFollowSchedule, rX as useSaveSettings, aSe as useSaveThumbnailMode, MJ as useTable, YJ as useTablePreferences, yI as useViewGlide, oxe as victimBytes, oEe as wantName, nje as watchNote, p3 as watchedShare, Dc as wireHorizontalScroller, _Se as withOrganizeJob };
+EIe($9);
+export { UI as $2ec61d1d4f780267$export$a8a3e93435678ff9, ZI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, mR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, IT as $72abaeab4d80592f$export$78efe591171d7d45, oz as $76d00c5a4edb230a$export$76ccd210b9029917, rz as $76d00c5a4edb230a$export$816b5d811295e6bc, lz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, dz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, nz as $76d00c5a4edb230a$export$f850895b287ef28e, ape as $b4f18e3395fe64d7$export$3d96ec278d3efce4, ipe as $b4f18e3395fe64d7$export$3e41faf802a29e71, tpe as $b4f18e3395fe64d7$export$b2539bed5023c21c, hz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, cpe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, Cw as $ea3928288112382f$export$439d29a4e110a164, DR as $f2ff30fde7b014be$export$3ddf2d174ce01153, PR as $fe21c36db05242bb$export$a98f0dcb43a68a25, FR as $fe21c36db05242bb$export$d7b12c4107be0d61, Wpe as $l, aA as ACCENTS, iDe as AMANE_BRIDGE_CHECK_URL, J$ as AMANE_BRIDGE_KEY, aDe as AMANE_BRIDGE_REBUILD_URL, or as ApiError, rG as ArtSlot, q as Button, xI as ButtonLink, $pe as Bx, D$ as CLEANUP_ENTRY, E$ as CLEANUP_ENTRY_GRID, Rle as CLEANUP_HASH_REDIRECTS, dP as CLEANUP_TOOLS, _n as CLOUD_LOCATIONS, J1 as CLOUD_PROXY_HELP, Gr as COLUMN_SORT, o1 as CONFIGURATION_KEY, UY as CONFIGURATION_URL, oDe as COOKIE_TEXT_LIMIT, q$ as COVER_JOB_KEY, Ji as CREDENTIAL_STATE, U$ as CUSTOM_SOURCES_KEY, H$ as CUSTOM_SOURCES_URL, hV as Checkbox, mV as CheckboxGlyph, aV as ChevronSortDown, aZ as Chip, q2 as CloudDownloadDialog, iU as CollapseChevron, rU as CollapseRegion, u$ as CollectionSummary, wxe as DEFAULT_CATEGORY, ur as DEFAULT_SORT, kQ as DIAGNOSTICS_KEY, CSe as DIRECTORY_TEMPLATE_ERROR, A0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, lY as DUPLICATES_KEY, WJ as DataTableFooter, BJ as DataTableFrame, UJ as DataTableSort, uU as Disclosure, gAe as DownloadsPanel, Fpe as E3, Txe as ENTITY_REVIEW_KINDS, K1 as ENTRY_LINKS_HELP, q1 as ENTRY_LINKS_HINT, qpe as Ea, ume as EmptyFocusButton, qz as EmptyState, cU as ErrorText, Kge as ExternalLink, Br as FEEDS_KEY, ZY as FEED_SCHEDULE_KEY, w$ as FIELDSET_FOOT, hMe as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, Rr as FOLLOW_CHECK_KEY, Lr as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, Ir as FOLLOW_MANAGE_KEY, NZ as FOLLOW_MANAGE_NAV, zr as FOLLOW_RESOLVE_KEY, XY as FOLLOW_SCHEDULE_KEY, Yge as Fact, Jge as FactList, lU as FieldLabel, F$ as Fieldset, P$ as FieldsetTitle, nde as FilterGlass, mI as FilterGlassRows, pI as FilterIconButton, hI as FilterPill, Gge as Footer, jz as Gg, gI as GlassPill, sU as Help, Rz as HintText, sMe as IDLE_POLL_MS, pxe as IDLE_REPAIR, cI as IconButton, jQ as IndexSearch, Uz as Input, Hz as InputBase, DA as JAV_LAYOUTS, M0 as JAV_RECOMMENDATION_GRID, SX as JUNK_KEY, Q3 as JavHeader, sxe as KEEP_LABELS, Hr as LAYOUTS, G1 as LIBRARY_FOLDER_HELP, SH as LIBRARY_PROCESSING_KEY, FY as LINKS_KEY, IY as LINK_CHECK_KEY, Yxe as LINK_KINDS, LY as LINK_PRUNE_KEY, tr as LOC, Lz as Label, R$ as LibraryProcessingCard, uB as LibraryShortcuts, RH as LinkButton, QH as LoadingDots, Lpe as M6, eSe as MEDIA_PROCESSING_KEY, $Y as MEDIA_PROCESSING_URL, mY as MEDIA_REPAIR_KEY, pY as MEDIA_REPAIR_URL, vr as MEDIA_SOURCES_KEY, gs as MEDIA_SOURCE_ICONS, hn as MEDIA_SOURCE_OPTIONS, lV as MENU_ITEM, uV as MENU_ITEM_INTERACTIVE, cV as MENU_POPOVER_SURFACE, HH as MenuDialog, $G as MixCard, Wz as ModalFrame, yy as MotionConfigContext, Iz as NR, Kz as Note, ome as OA, nX as ORGANIZE_KEY, aX as ORPHAN_RECORDS_KEY, Az as OV, Cz as P7, yX as PERFORMER_DELETE_KEY, uEe as PHASES, WY as PICK_FOLDER_URL, k$ as PLAIN_STAT_STRIP, B$ as PLAYLISTS_KEY, sOe as POLICY_COLUMNS, lOe as POLICY_COVER_NOTE, cOe as POLICY_MATRIX, W1 as POLICY_SUMMARY, HJ as Pagination, L$ as PathLine, fF as PillTabList, EEe as PlainStat, eU as Progress, yY as QUALITY_GOALS_KEY, OEe as REPAIR_CARD_TEXT, hY as REPAIR_LIBRARIES_KEY, uX as RESOURCE_APPLY_KEY, lX as RESOURCE_SCAN_KEY, MEe as RESULT_PANEL, NEe as RESULT_SECTION, Cxe as REVIEW_CATEGORIES, xX as REVIEW_COUNTS_KEY, Exe as REVIEW_DECISION_LABELS, SY as REVIEW_KEY, CY as REVIEW_LABELS, TY as REVIEW_QUEUES, EY as REVIEW_QUEUE_LABELS, nG as RetryNote, ame as Rf, Hge as Rows, nDe as SCRAPING_CHECK_URL, G$ as SCRAPING_COVER_URL, K$ as SCRAPING_KEY, tDe as SCRAPING_SETTINGS_URL, qU as SEGMENT, KU as SEGMENTED_TRACK, YY as SETTINGS_KEY, GY as SETTINGS_URL, dr as SORT_DEFAULT_DIR, lr as SORT_OPTIONS, vn as SOURCE_LABELS, u3 as STATS_KEY, wEe as STAT_STRIP, TEe as STAT_STRIP_SIX, Vge as Section, PEe as SectionHeading, Wge as SectionSkeleton, GU as SegmentedRadioGroup, z_e as SegmentedTabList, PW as Segments, VJ as Select, RU as Select$1, u1 as SelectField, zU as SelectItem, ZJ as SelectionActions, Ik as SelectionDock, QJ as SelectionPopover, aU as SettingsCard, Bge as SettingsRow, oU as SettingsSectionLabel, $ge as SiteLabel, QU as SortDirectionIcon, LW as SortKeys, fQ as SourceAvatar, mU as SourceLabel, dU as SourceMark, Uge as Stack, DEe as StatCard, I$ as StatusLabel, P2 as Switch, xF as TASKS_KEY, Xje as TASTE_REFRESH_KEY, Zje as TASTE_WINDOWS, QY as THUMBNAIL_JOBS_KEY, wX as TRASH_KEY, jF as TRIGGER_LABELS, jJ as Table, $J as TableColumnControls, eY as TableColumnResizer, nY as TableSelectionHeader, $Q as TagManager, qge as TaskCenterLink, tU as TaskProgress, Bz as TextField, zz as TextFieldContext, kz as Un, m$ as WANTS_KEY, r4 as WantMagnets, qp as WithPromise, wz as Wt, Oz as Xc, Fz as Xf, zpe as Xt, Ipe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, ime as aB, Ti as addAlias, wi as addSource, g$ as addWant, _b as animate, B as apiGet, V as apiSend, xA as appSettingsStore, HSe as applyConfirmText, vX as applyLeftovers, VSe as applyPlanText, WSe as applyText, TA as applyTheme, d_ as asNumber, ASe as attachOrphan, si as authorAvatar, li as authorGroups, oi as authorInitial, ai as authorName, yq as autoResetPageIndex, go as avatarInner, g3 as bandRows, wSe as baseName, fxe as batchOperate, Hk as boundedPreference, lxe as bulkCloudPreferences, Zz as busyProps, rme as cB, EAe as cachedMagnetStates, Lp as calcGeneratorVelocity, Nxe as canApprove, Yf as cancelFrame, FSe as candidateText, ZH as cardClass, BA as cardRatio, Dz as cc, Wi as checkEvidenceGap, Ui as checkFailures, Pi as checkFeeds, $xe as checkLine, Vi as checkReceipt, Hi as checkSummary, cDe as checkText, Gi as checkedText, TG as clickedBlank, txe as cloudLocations, T0 as cloudProxySkeleton, Xx as clsx, Xpe as cn, Xh as collectMotionValues, zq as columnVisibilityFeature, EJ as column_getCanSort, SJ as column_getSortFn, jxe as commonReviewSources, yV as configurationSection, tMe as configureTasteBrowser, ol as confirmModal, tq as copyInstancePropertiesWithoutMemos, co as coverUrl, Aq as createColumnHelper, YEe as createPlaylist, Yi as credentialDone, x0 as credentialsSkeleton, Hxe as currentReviewRow, lF as cx, Nz as dZ, zxe as decisionPayload, Bxe as decisionReceipt, Rxe as defaultChoice, KSe as deletePerformerVideos, ZEe as deletePlaylist, x as diagnosticHeaders, U1 as diagnosticsSkeleton, vEe as discoveryArtwork, x$ as discoveryKey, MOe as discoveryScore, axe as distinctName, zi as dropSources, nme as du, uxe as duplicateVictims, qF as elapsedText, tn as entityDisplayName, ho as entityFaceImg, Nn as entityPath, ei as errorHeadline, cr as errorMessage, z as esc, vq as expandRowModel, bz as f1, $r as feedIntervalText, Z$ as fetchAmaneBridge, _i as fetchCheckJob, s1 as fetchConfiguration, X$ as fetchCoverJob, gi as fetchCredentials, W$ as fetchCustomSources, bX as fetchDeletePerformers, GSe as fetchDeletePlan, AQ as fetchDiagnostics, S$ as fetchDiscoveries, dY as fetchDuplicates, wF as fetchEarlier, rSe as fetchFeedSchedule, ji as fetchFeeds, hi as fetchFollow, nSe as fetchFollowSchedule, EX as fetchJunkSummary, BY as fetchLinkCheck, VY as fetchLinkPrune, zY as fetchLinkStats, tSe as fetchMediaProcessing, gY as fetchMediaRepair, yr as fetchMediaSources, rX as fetchOrganize, gSe as fetchOrganizeExample, oX as fetchOrphanRecords, Ai as fetchPending, V$ as fetchPlaylists, bY as fetchQualityGoals, _Y as fetchRepairLibraries, vi as fetchResolveJob, fX as fetchResourceApply, dX as fetchResourceScan, MY as fetchReview, TX as fetchReviewCounts, eX as fetchSettings, Y$ as fetchSources, d3 as fetchStats, yi as fetchSuggestions, kF as fetchTasks, I3 as fetchTaste, nMe as fetchTasteJob, iSe as fetchThumbnailJobs, DX as fetchTrashSummary, h$ as fetchWants, kxe as filterReviewRows, $n as firstGrapheme, LK as flexRender, _Me as flowGraph, vMe as flowLabel, gje as fmtCount, qn as fmtDur, Yn as fmtSize, CF as foldByKind, UF as foldRoutine, Ii as followFeedByName, Vr as followSuggestKey, KF as followupDetail, SF as followupTally, Jf as frame, Epe as g4, Hq as getDefaultPaginationState, zA as gridLayout, ci as groupByAuthor, HF as groupFollowups, kY as groupReviewRows, zSe as hasChanges, pX as hasResourceRoots, LF as hasResultProblems, cMe as historySpan, xz as i2, oMe as importTasteExport, S0 as indexersSkeleton, kp as interpolate, v$ as invalidateWants, GF as isActive, Qr as isBroken, Kr as isLayout, dg as isMotionValue, wY as isReviewCategory, WF as isRoutine, C0 as javBrowserSkeleton, P0 as javContentSkeleton, MA as javLayout, N0 as javTagSkeleton, ZSe as junkBreakdown, QEe as keepPlaylist, ke as keepPreviousData, fi as keepSelected, f3 as known, Ape as l7, VF as latestOfKind, Oje as lengthRows, Sr as localTime, Fi as lookupFeedActor, Npe as m7, Mz as mM, En as mapLimit, ki as markItem, _3 as max, Eje as mediumRows, TF as mergeFinished, v3 as min, qxe as mirrorText, gxe as missingToolText, fY as mixedCloudPreferences, tI as momentText, vb as motion, Qh as motionValue, nn as nameFallback, ESe as organizeOutcome, Y0 as overlayHost, qr as pageSizeOf, di as pageWindow, mr as paginationRange, Ri as patchSource, sH as peachHistory, sH as peachHistory$1, Lxe as pendingGenres, vje as percentText, ySe as pickOrganizeFolder, O$ as plainStatClass, TSe as planSummary, p3 as playedFor, bje as playedItemUrl, OF as pollInterval, Js as popCount, JEe as posterUrl, xG as previewLibraryColor, vSe as previewOrganize, yxe as previewUrl, BF as problemDestination, JF as progressText, pU as providerIcon, Qxe as pruneText, hX as purgeCount, jSe as purgeOrphan, Pz as pv, tme as qE, H as queryClient, Sz as r2, mMe as radarRows, Cje as radialArc, wje as radialBarSize, Sje as radialCeiling, xje as radialSlices, rM as randomId, fMe as rankDetail, pMe as rankShares, h3 as reachedShare, XF as readableErrorHeadline, NOe as recommendationScore, Uxe as recordGenre, NSe as recordsText, $Ee as recreatePlaylist, KEe as refreshPlaylists, Bl as relayoutCovers, Bi as reloadFollowManage, Kxe as reloadReview, fOe as rememberShape, xSe as rememberTemplates, Ei as removeAlias, Ni as removeFeed, Ci as removeSource, aMe as removeTasteSource, _$ as removeWants, Di as renameAliasGroup, XEe as renamePlaylist, Aje as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, ZK as require_with_selector, pEe as resetWants, pr as resolveFollowSort, Up as resolveStartTime, qEe as resumeAssetId, Oxe as reviewGroupingOptions, OY as reviewQueueData, DY as reviewQueueOf, XSe as reviewSummary, Axe as reviewWindow, Fxe as rowEvidence, jY as rowFieldName, Yq as rowPaginationFeature, gJ as rowSelectionFeature, kJ as rowSortingFeature, AY as rowSubject, Ixe as rowTags, Pxe as rowTitle, Dpe as s5, Oi as saveCredential, BSe as scanLine, lSe as schedulePollInterval, hEe as searchNote, Mxe as selectReviewRange, pi as selectionState, Mi as setFeedEnabled, Si as setSourceEnabled, CV as settingsPath, Gxe as settleReviewRows, ixe as sharedNamePrefix, cH as shellNavigate, x8 as showToast, zn as siteMarkUrl, lq as skipFirstRun, uF as sortCx, Yr as sortLabel, yn as sourceDefaultCost, qi as sourceIconUrl, USe as sourceMeta, zs as spinnerHtml, Ep as spring, Yz as spriteGlyph, bi as startCheck, Xxe as startLinkCheck, Zxe as startLinkPrune, bSe as startOrganize, xi as startResolve, LSe as startResourceApply, ISe as startResourceScan, iMe as startTasteRefresh, CEe as statCardClass, NF as statusLabel, hxe as statusLine, Zr as statusText, VA as storeJavLayout, Vxe as submitDecision, rI as summaryItems, jq as tableFeatures, uq as tableMemo, ui as tableRows, RF as taskIssues, L3 as tasteDate, uMe as tasteDimensions, lMe as tasteHours, F3 as tasteKey, $je as tasteRefetchInterval, eMe as tasteTime, gF as textLang, Od as time, Upe as tl, mi as toggleGroup, R3 as topScores, Kpe as uo, zH as useAction, OZ as useBackgroundJob, jU as useClientUpdates, Bu as useConstant, oI as useEntityNames, dI as useHorizontalScroller, Vu as useIsomorphicLayoutEffect, CG as useLibraryTints, Ft as useMutation, gV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, $y as useReducedMotion, cSe as useRunSchedule, oSe as useSaveFollowSchedule, tX as useSaveSettings, uSe as useSaveThumbnailMode, AJ as useTable, qJ as useTablePreferences, yI as useViewGlide, dxe as victimBytes, mEe as wantName, yje as watchNote, m3 as watchedShare, Dc as wireHorizontalScroller, SSe as withOrganizeJob };
-//# debugId=1887a47f-16fe-4cdd-88a0-e023e9a3fd51
\ No newline at end of file
+//# debugId=37ea8352-1303-4960-b5bb-5ac068baa1b5
\ No newline at end of file
diff --git a/web/dist/peach-app.stat-card-DsNmy_0F.js b/web/dist/peach-app.stat-card-DsNmy_0F.js
deleted file mode 100644
index 79bcc1cf0..000000000
--- a/web/dist/peach-app.stat-card-DsNmy_0F.js
+++ /dev/null
@@ -1,97 +0,0 @@
-(function() {
- try {
- var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "66908864-9b4c-4ae1-ad83-cdc8d0df8cf6", e._sentryDebugIdIdentifier = "sentry-dbid-66908864-9b4c-4ae1-ad83-cdc8d0df8cf6");
- } catch {}
-})();
-import { cardClass as e, require_jsx_runtime as t } from "./peach-app.js";
-// src/react/components/stat-card.tsx
-var n = t(), r = [
- "text-chart-6",
- "text-chart-5",
- "text-chart-7",
- "text-chart-8"
-], i = [
- "bg-chart-6/10",
- "bg-chart-5/10",
- "bg-chart-7/10",
- "bg-chart-8/10"
-];
-function a(t = {}) {
- return `${e({
- ...t,
- padding: "none"
- })} flex flex-col overflow-hidden pt-4 text-left`;
-}
-var o = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", s = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function c({ interactive: t = !1 } = {}) {
- return e({
- padding: "none",
- radius: "plain",
- interactive: t,
- className: "flex min-h-33 flex-col gap-2 p-4 text-left"
- });
-}
-var l = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function u({ label: e, icon: t, mark: r, aside: i, figure: a, meta: o, wrapMeta: s = !1 }) {
- return /* @__PURE__ */ (0, n.jsxs)(n.Fragment, { children: [
- /* @__PURE__ */ (0, n.jsxs)("span", {
- className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
- children: [
- t || r ? /* @__PURE__ */ (0, n.jsx)("i", {
- "aria-hidden": !0,
- className: "flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary",
- children: t ? /* @__PURE__ */ (0, n.jsx)(t, {
- "aria-hidden": !0,
- className: "size-4"
- }) : r
- }) : null,
- /* @__PURE__ */ (0, n.jsx)("span", {
- className: "min-w-0 truncate",
- children: e
- }),
- i ? /* @__PURE__ */ (0, n.jsx)("span", {
- className: "ml-auto shrink-0 text-caption-1-regular",
- children: i
- }) : null
- ]
- }),
- /* @__PURE__ */ (0, n.jsx)("strong", {
- className: "block text-title-1-medium tabular-nums text-text-primary",
- children: a
- }),
- /* @__PURE__ */ (0, n.jsx)("span", {
- className: `block min-h-4 text-caption-1-regular text-text-tertiary ${s ? "" : "truncate"}`,
- children: o
- })
- ] });
-}
-function d({ label: e, icon: t, accent: a = 0, figure: o, footer: s }) {
- return /* @__PURE__ */ (0, n.jsxs)(n.Fragment, { children: [
- /* @__PURE__ */ (0, n.jsxs)("span", {
- className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
- children: [t ? /* @__PURE__ */ (0, n.jsx)("i", {
- "aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${r[a % 4]} ${i[a % 4]}`,
- children: /* @__PURE__ */ (0, n.jsx)(t, {
- "aria-hidden": !0,
- className: "size-4"
- })
- }) : null, /* @__PURE__ */ (0, n.jsx)("span", {
- className: "min-w-0 truncate",
- children: e
- })]
- }),
- /* @__PURE__ */ (0, n.jsx)("b", {
- className: "px-4 pt-3 pb-4 text-title-1-medium tabular-nums text-text-primary wrap-anywhere max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium",
- children: o
- }),
- /* @__PURE__ */ (0, n.jsx)("small", {
- className: "mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular text-text-secondary max-sm:px-3 max-sm:py-2",
- children: s
- })
- ] });
-}
-export { l as PLAIN_STAT_STRIP, u as PlainStat, o as STAT_STRIP, s as STAT_STRIP_SIX, d as StatCard, c as plainStatClass, a as statCardClass };
-
-//# debugId=66908864-9b4c-4ae1-ad83-cdc8d0df8cf6
\ No newline at end of file
diff --git a/web/dist/peach-app.stats-page-CxbUCXeP.js b/web/dist/peach-app.stats-page-DhNggTPt.js
similarity index 94%
rename from web/dist/peach-app.stats-page-CxbUCXeP.js
rename to web/dist/peach-app.stats-page-DhNggTPt.js
index cb624e8b2..e2163cd8a 100644
--- a/web/dist/peach-app.stats-page-CxbUCXeP.js
+++ b/web/dist/peach-app.stats-page-DhNggTPt.js
@@ -1,17 +1,16 @@
(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] = "45a38cb3-b253-4ea5-bf72-b989b6cfb31b", e._sentryDebugIdIdentifier = "sentry-dbid-45a38cb3-b253-4ea5-bf72-b989b6cfb31b");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d74bc9bc-ce18-4303-b11a-c29a44b68728", e._sentryDebugIdIdentifier = "sentry-dbid-d74bc9bc-ce18-4303-b11a-c29a44b68728");
} catch {}
})();
import { AnimatedItems as e, CHART_CARD as t, CHART_COLORS as n, Cell as r, ChartBackground as i, ChartContainer as a, ChartEmpty as o, ChartLegend as s, ChartLegendContent as c, ChartTip as l, ChartTooltip as u, ChartTooltipContent as d, DefaultZIndexes as f, LabelListFromLabelProp as p, Layer as m, LoadingIndicator as h, PolarChart as g, PolarLabelListContextProvider as _, RegisterGraphicalItemId as v, Sector as y, SetPolarGraphicalItem as b, SetPolarLegendPayload as x, SetTooltipEntrySettings as S, Shape as C, ZIndexLayer as w, adaptEventsOfChild as T, arrayTooltipSearcher as E, combineAllBarPositions as ee, combineBarPosition as D, combineBarSizeList as te, combineDisplayedStackedData as ne, combineStackGroups as re, combineStackedData as ie, createSelector as O, defaultPolarChartProps as ae, findAllByType as oe, getBandSizeOfAxis as k, getBaseValueOfBar as se, getCateCoordinateOfBar as ce, getColorsCount as le, getNormalizedStackId as ue, getTooltipNameProp as de, getValueByDataKey as fe, getZIndexFromUnknown as pe, interpolate as me, isCategoricalAxis as he, isNullish as ge, isStacked as _e, matchAppend as ve, mathSign as ye, noop as be, resolveDefaultProps as xe, selectActiveTooltipIndex as Se, selectAngleAxis as Ce, selectBarCategoryGap as we, selectBarGap as Te, selectChartDataAndAlwaysIgnoreIndexes as Ee, selectChartDataWithIndexes as De, selectChartLayout as A, selectPolarItemsSettings as Oe, selectPolarViewBox as ke, selectRadiusAxis as Ae, selectReverseStackOrder as je, selectRootBarSize as Me, selectRootMaxBarSize as Ne, selectStackOffsetType as Pe, selectTooltipAxis as Fe, selectUnfilteredPolarItems as Ie, sliceConfig as Le, sliceKey as Re, svgPropertiesNoEvents as ze, svgPropertiesNoEventsFromUnknown as Be, truncateByDomain as Ve, useAnimationCallbacks as He, useAppSelector as j, useMouseClickItemDispatch as Ue, useMouseEnterItemDispatch as We, useMouseLeaveItemDispatch as Ge, usePolarChartLayout as Ke } from "./peach-app.chart-tip-CRxYp6KT.js";
-import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as M, $b4f18e3395fe64d7$export$3e41faf802a29e71 as N, $b4f18e3395fe64d7$export$b2539bed5023c21c as qe, $b4f18e3395fe64d7$export$e51a686c67fdaa2d as Je, ButtonLink as P, EmptyState as F, LOC as Ye, MEDIA_SOURCE_ICONS as Xe, NR as Ze, Note as Qe, Progress as I, SEGMENT as $e, SEGMENTED_TRACK as et, STATS_KEY as tt, SegmentedTabList as nt, SourceMark as rt, StatusLabel as it, Xc as at, Xt as ot, _8 as st, __toESM as ct, bandRows as lt, cardClass as ut, clsx as dt, errorMessage as ft, fetchStats as pt, fmtCount as L, fmtSize as R, known as mt, lengthRows as ht, mM as z, mediumRows as gt, percentText as B, playedFor as _t, playedItemUrl as vt, radialArc as yt, radialBarSize as bt, radialCeiling as xt, radialSlices as St, reachedShare as Ct, replayRows as wt, require_jsx_runtime as Tt, require_react as Et, settingsPath as Dt, uo as Ot, useQuery as kt, watchNote as At, watchedShare as jt } from "./peach-app.js";
-import { Page as Mt } from "./peach-app.page-QAncjzM1.js";
-import { STAT_STRIP as Nt, StatCard as Pt, statCardClass as Ft } from "./peach-app.stat-card-DsNmy_0F.js";
+import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as M, $b4f18e3395fe64d7$export$3e41faf802a29e71 as N, $b4f18e3395fe64d7$export$b2539bed5023c21c as qe, $b4f18e3395fe64d7$export$e51a686c67fdaa2d as Je, ButtonLink as P, EmptyState as F, LOC as Ye, MEDIA_SOURCE_ICONS as Xe, NR as Ze, Note as Qe, Progress as I, SEGMENT as $e, SEGMENTED_TRACK as et, STATS_KEY as tt, STAT_STRIP as nt, SegmentedTabList as rt, SourceMark as it, StatCard as at, StatusLabel as ot, Xc as st, Xt as ct, _8 as lt, __toESM as ut, bandRows as dt, cardClass as ft, clsx as pt, errorMessage as mt, fetchStats as ht, fmtCount as L, fmtSize as R, known as gt, lengthRows as _t, mM as z, mediumRows as vt, percentText as B, playedFor as yt, playedItemUrl as bt, radialArc as xt, radialBarSize as St, radialCeiling as Ct, radialSlices as wt, reachedShare as Tt, replayRows as Et, require_jsx_runtime as Dt, require_react as Ot, settingsPath as kt, statCardClass as At, uo as jt, useQuery as Mt, watchNote as Nt, watchedShare as Pt } from "./peach-app.js";
+import { Page as Ft } from "./peach-app.page-QAncjzM1.js";
import { ConnectionStatus as It } from "./peach-app.connection-status-DI6kgn3i.js";
import { ActivityHeat as Lt, BarCard as V, ExpandableRanking as Rt, PolarAngleAxis as zt, selectPolarAxisScale as Bt, selectPolarAxisTicks as Vt, selectPolarGraphicalItemAxisTicks as Ht } from "./peach-app.expandable-ranking-dFA65P9N.js";
// node_modules/recharts/es6/util/RadialBarUtils.js
-var H = /* @__PURE__ */ ct(Et()), Ut = ["option"];
+var H = /* @__PURE__ */ ut(Ot()), Ut = ["option"];
function Wt(e, t) {
if (e == null) return {};
var n, r, i = Gt(e, t);
@@ -387,7 +386,7 @@ var Ln = /*#__PURE__*/ H.memo((e) => {
if (!i) return null;
var o = q(q(q(q(q({ cornerRadius: qt(t) }, a), {}, { fill: "#eee" }, i), n), T(this.props, e, r)), {}, {
index: r,
- className: dt("recharts-radial-bar-background-sector", String(n?.className)),
+ className: pt("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
@@ -397,7 +396,7 @@ var Ln = /*#__PURE__*/ H.memo((e) => {
render() {
var e = this.props, t = e.hide, n = e.sectors, r = e.className, i = e.background;
if (t) return null;
- var a = dt("recharts-area", r);
+ var a = pt("recharts-area", r);
return /*#__PURE__*/ H.createElement(w, { zIndex: this.props.zIndex }, /*#__PURE__*/ H.createElement(m, { className: a }, i && /*#__PURE__*/ H.createElement(m, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ H.createElement(m, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ H.createElement(Fn, this.props))));
}
};
@@ -590,7 +589,7 @@ var qn = ["axis", "item"], Jn = Un(Un({}, ae), {}, {
categoricalChartProps: n,
ref: t
});
-}), Y = Tt(), Xn = "30%", Zn = "100%", Qn = 5, $n = 14, er = 5, tr = 1500, nr = (0, H.createContext)(null);
+}), Y = Dt(), Xn = "30%", Zn = "100%", Qn = 5, $n = 14, er = 5, tr = 1500, nr = (0, H.createContext)(null);
function rr() {
let e = (0, H.use)(nr);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
@@ -797,15 +796,15 @@ var fr = [
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
function mr({ title: e, rows: n, empty: r, unit: i = "个视频" }) {
- let [a, s] = (0, H.useState)(-1), [c, u] = (0, H.useState)(-1), d = St(n);
+ let [a, s] = (0, H.useState)(-1), [c, u] = (0, H.useState)(-1), d = wt(n);
if (!d.length) return /* @__PURE__ */ (0, Y.jsx)(o, {
title: e,
children: r
});
- let f = c >= 0 ? c : a, p = d.reduce((e, t) => e + t.value, 0), m = d[f], h = (e) => s((t) => t === e ? -1 : e), g = xt(d.map((e) => e.value)), _ = d.map((e, t) => ({
+ let f = c >= 0 ? c : a, p = d.reduce((e, t) => e + t.value, 0), m = d[f], h = (e) => s((t) => t === e ? -1 : e), g = Ct(d.map((e) => e.value)), _ = d.map((e, t) => ({
slice: Re(t),
value: e.value,
- arc: yt(e.value, g)
+ arc: xt(e.value, g)
}));
return /* @__PURE__ */ (0, Y.jsxs)("section", {
className: t,
@@ -816,7 +815,7 @@ function mr({ title: e, rows: n, empty: r, unit: i = "个视频" }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, Y.jsxs)("h3", {
className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",
- children: [m?.mark ? /* @__PURE__ */ (0, Y.jsx)(rt, { mark: m.mark }) : null, m ? m.name : e]
+ children: [m?.mark ? /* @__PURE__ */ (0, Y.jsx)(it, { mark: m.mark }) : null, m ? m.name : e]
}), /* @__PURE__ */ (0, Y.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (m ? m.value : p).toLocaleString()
@@ -839,7 +838,7 @@ function mr({ title: e, rows: n, empty: r, unit: i = "个视频" }) {
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, Y.jsx)(X.RadialBar, {
dataKey: "arc",
- barSize: bt(d.length),
+ barSize: St(d.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, Y.jsx)(y, {
...e,
@@ -875,7 +874,7 @@ function mr({ title: e, rows: n, empty: r, unit: i = "个视频" }) {
className: `mt-0.5 size-3 shrink-0 rounded-sm ${fr[t % 6]}`
}), /* @__PURE__ */ (0, Y.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
- children: [e.mark ? /* @__PURE__ */ (0, Y.jsx)(rt, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, Y.jsx)(it, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, Y.jsx)("b", {
@@ -893,7 +892,7 @@ function mr({ title: e, rows: n, empty: r, unit: i = "个视频" }) {
});
}
// src/react/stats/stats-page.tsx
-var hr = Dt("媒体库与入库"), gr = 10, _r = n[5], vr = n[4], yr = `${ut()} flex flex-col gap-4`, br = "添加媒体目录或关注来源后,这里会显示馆藏统计。", xr = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Sr = "开始播放后,这里会显示最近的真实观看证据。", Cr = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", wr = "添加媒体目录后,这里会显示存储空间。", Tr = "把媒体目录归进媒体库后,这里会按库显示视频数。", Er = "探测时长后,这里会显示时长分布。", Dr = "探测画质后,这里会显示画质分布。", Or = "开始播放后,这里会显示播放落在一周的哪些时段。", kr = "开始播放后,这里会显示每个作品播了几次。", Ar = (e, t) => Math.min(Math.max(e, 0), t);
+var hr = kt("媒体库与入库"), gr = 10, _r = n[5], vr = n[4], yr = `${ft()} flex flex-col gap-4`, br = "添加媒体目录或关注来源后,这里会显示馆藏统计。", xr = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Sr = "开始播放后,这里会显示最近的真实观看证据。", Cr = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", wr = "添加媒体目录后,这里会显示存储空间。", Tr = "把媒体目录归进媒体库后,这里会按库显示视频数。", Er = "探测时长后,这里会显示时长分布。", Dr = "探测画质后,这里会显示画质分布。", Or = "开始播放后,这里会显示播放落在一周的哪些时段。", kr = "开始播放后,这里会显示每个作品播了几次。", Ar = (e, t) => Math.min(Math.max(e, 0), t);
function Z({ term: e, value: t }) {
return /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -914,14 +913,14 @@ function Q({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, Y.jsx)("span", { children: e }), /* @__PURE__ */ (0, Y.jsxs)("b", {
className: "tabular-nums",
- children: [L(t), mt(t) ? /* @__PURE__ */ (0, Y.jsx)("span", {
+ children: [L(t), gt(t) ? /* @__PURE__ */ (0, Y.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
children: B(t, n)
}) : null]
})]
}), /* @__PURE__ */ (0, Y.jsx)(I, {
label: `${e}:${L(t)} / ${n.toLocaleString()}`,
- value: mt(t) ? Ar(t, r) : 0,
+ value: gt(t) ? Ar(t, r) : 0,
max: r
})]
});
@@ -986,7 +985,7 @@ function Nr({ data: e }) {
unit: "个视频",
series: "视频",
color: _r,
- rows: ht(e.by_length),
+ rows: _t(e.by_length),
empty: Er
}),
/* @__PURE__ */ (0, Y.jsx)(V, {
@@ -994,7 +993,7 @@ function Nr({ data: e }) {
unit: "个视频",
series: "视频",
color: _r,
- rows: lt(e.by_quality),
+ rows: dt(e.by_quality),
empty: Dr
}),
/* @__PURE__ */ (0, Y.jsx)(V, {
@@ -1003,7 +1002,7 @@ function Nr({ data: e }) {
series: "条目",
color: _r,
layout: "horizontal",
- rows: gt(e.by_medium),
+ rows: vt(e.by_medium),
empty: br
})
]
@@ -1042,7 +1041,7 @@ function Pr({ data: e }) {
unit: "个作品",
series: "作品",
color: vr,
- rows: wt(e.replays),
+ rows: Et(e.replays),
empty: kr
})] });
}
@@ -1089,7 +1088,7 @@ function Ir({ volume: e }) {
children: [/* @__PURE__ */ (0, Y.jsx)("h3", {
className: "min-w-0 break-words",
children: e.label
- }), t == null ? e.online ? /* @__PURE__ */ (0, Y.jsx)(it, { children: "容量未取得" }) : /* @__PURE__ */ (0, Y.jsx)(It, { online: !1 }) : /* @__PURE__ */ (0, Y.jsxs)("b", {
+ }), t == null ? e.online ? /* @__PURE__ */ (0, Y.jsx)(ot, { children: "容量未取得" }) : /* @__PURE__ */ (0, Y.jsx)(It, { online: !1 }) : /* @__PURE__ */ (0, Y.jsxs)("b", {
className: "whitespace-nowrap tabular-nums",
children: [R(n), /* @__PURE__ */ (0, Y.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
@@ -1120,7 +1119,7 @@ function Lr({ volumes: e }) {
className: "flex flex-col",
children: e.map((e) => /* @__PURE__ */ (0, Y.jsx)(Ir, { volume: e }, `${e.kind}:${e.label}`))
}) : /* @__PURE__ */ (0, Y.jsx)(F, {
- icon: at,
+ icon: st,
title: "还没有存储来源",
actions: /* @__PURE__ */ (0, Y.jsx)(P, {
variant: "primary",
@@ -1173,7 +1172,7 @@ function zr({ rows: e, hasMedia: t }) {
return e.length ? /* @__PURE__ */ (0, Y.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = jt(e);
+ let t = Pt(e);
return /* @__PURE__ */ (0, Y.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
@@ -1181,7 +1180,7 @@ function zr({ rows: e, hasMedia: t }) {
children: [/* @__PURE__ */ (0, Y.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, Y.jsx)("a", {
- href: vt(e),
+ href: bt(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -1191,7 +1190,7 @@ function zr({ rows: e, hasMedia: t }) {
children: [e.creator ? /* @__PURE__ */ (0, Y.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, Y.jsx)("span", { children: At(e) })]
+ }) : null, /* @__PURE__ */ (0, Y.jsx)("span", { children: Nt(e) })]
})]
}), /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "min-w-0 basis-40",
@@ -1200,13 +1199,13 @@ function zr({ rows: e, hasMedia: t }) {
value: t
}), /* @__PURE__ */ (0, Y.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${Ct(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${Tt(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
}) : /* @__PURE__ */ (0, Y.jsx)(F, {
- icon: Ot,
+ icon: jt,
title: "还没有观看记录",
actions: /* @__PURE__ */ (0, Y.jsx)(P, {
variant: "secondary",
@@ -1262,11 +1261,11 @@ function Br({ sources: e, videos: t }) {
function $({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
return /* @__PURE__ */ (0, Y.jsx)(N, {
id: e,
- className: Ft({
+ className: At({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, Y.jsx)(Pt, {
+ children: /* @__PURE__ */ (0, Y.jsx)(at, {
label: t,
icon: i,
accent: a,
@@ -1276,17 +1275,17 @@ function $({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
});
}
function Vr(e) {
- let t = kt({
+ let t = Mt({
queryKey: tt,
- queryFn: ({ signal: e }) => pt(e)
+ queryFn: ({ signal: e }) => ht(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, Y.jsx)(Mt, { children: /* @__PURE__ */ (0, Y.jsx)(Qe, {
+ if (!n) return /* @__PURE__ */ (0, Y.jsx)(Ft, { children: /* @__PURE__ */ (0, Y.jsx)(Qe, {
tone: "error",
title: "馆藏统计读取失败",
- children: t.error ? ft(t.error) : "未取得统计数据,请刷新页面重试。"
+ children: t.error ? mt(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = mt(n.tag_cov) ? B(n.tag_cov, n.attribution.videos) : "未取得", c = `${L(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, Y.jsxs)(Mt, { children: [
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = gt(n.tag_cov) ? B(n.tag_cov, n.attribution.videos) : "未取得", c = `${L(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ return /* @__PURE__ */ (0, Y.jsxs)(Ft, { children: [
/* @__PURE__ */ (0, Y.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `数据库中的当前统计 · ${a.toLocaleString()} 个视频 · ${R(o)}`
@@ -1297,12 +1296,12 @@ function Vr(e) {
children: [
/* @__PURE__ */ (0, Y.jsxs)(Je, {
"aria-label": "统计视图",
- className: Nt,
+ className: nt,
children: [
/* @__PURE__ */ (0, Y.jsx)($, {
id: "inventory",
label: "馆藏视频",
- icon: st,
+ icon: lt,
accent: 0,
figure: a.toLocaleString(),
detail: R(o)
@@ -1310,10 +1309,10 @@ function Vr(e) {
/* @__PURE__ */ (0, Y.jsx)($, {
id: "viewing",
label: "看过",
- icon: ot,
+ icon: ct,
accent: 1,
figure: L(r.played),
- detail: _t(r.play_seconds)
+ detail: yt(r.play_seconds)
}),
/* @__PURE__ */ (0, Y.jsx)($, {
id: "coverage",
@@ -1326,7 +1325,7 @@ function Vr(e) {
/* @__PURE__ */ (0, Y.jsx)($, {
id: "storage",
label: "使用空间",
- icon: at,
+ icon: st,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
detail: i.measured ? `已用 ${R(i.used)}` : "容量未取得"
@@ -1417,11 +1416,11 @@ function Vr(e) {
}),
/* @__PURE__ */ (0, Y.jsxs)(qe, {
defaultSelectedKey: "tags",
- className: `${ut({ padding: "none" })} flex flex-col`,
+ className: `${ft({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, Y.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, Y.jsxs)(nt, {
+ children: /* @__PURE__ */ (0, Y.jsxs)(rt, {
"aria-label": "统计维度",
className: et,
children: [
@@ -1474,4 +1473,4 @@ function Vr(e) {
}
export { Vr as StatsPage };
-//# debugId=45a38cb3-b253-4ea5-bf72-b989b6cfb31b
\ No newline at end of file
+//# debugId=d74bc9bc-ce18-4303-b11a-c29a44b68728
\ No newline at end of file
diff --git a/web/dist/peach-app.taste-page-C5j4APwJ.js b/web/dist/peach-app.taste-page-D4Qtfuxs.js
similarity index 76%
rename from web/dist/peach-app.taste-page-C5j4APwJ.js
rename to web/dist/peach-app.taste-page-D4Qtfuxs.js
index 40c1f045c..857df0e46 100644
--- a/web/dist/peach-app.taste-page-C5j4APwJ.js
+++ b/web/dist/peach-app.taste-page-D4Qtfuxs.js
@@ -1,20 +1,19 @@
(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] = "62f24d84-b5ed-47a6-8679-31d01dffdedc", e._sentryDebugIdIdentifier = "sentry-dbid-62f24d84-b5ed-47a6-8679-31d01dffdedc");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bcd0ae7b-6e75-44c2-8d9b-2294d144da42", e._sentryDebugIdIdentifier = "sentry-dbid-bcd0ae7b-6e75-44c2-8d9b-2294d144da42");
} catch {}
})();
-import { ActivePoints as e, AnimatedItems as t, CHART_CARD as n, CHART_COLORS as r, CartesianLabelListContextProvider as i, CategoryTick as a, ChartBackground as o, ChartContainer as s, ChartHead as c, ChartLegend as l, ChartLegendContent as u, ChartTip as d, ChartTooltip as f, ChartTooltipContent as p, DefaultZIndexes as m, Dots as h, EvilBarChart as g, LabelListFromLabelProp as _, Layer as v, LoadingIndicator as y, PolarChart as b, PolarLabelContextProvider as x, PolarLabelFromLabelProp as S, RegisterGraphicalItemId as C, SetPolarGraphicalItem as ee, SetPolarLegendPayload as w, SetTooltipEntrySettings as te, Text as T, ZIndexLayer as E, adaptEventsOfChild as ne, addRadiusAxis as re, arrayTooltipSearcher as ie, categoryAxisWidth as ae, cn as oe, createSelector as D, defaultPolarChartProps as se, defaultPolarRadiusAxisProps as ce, fitLabel as le, getAxisTypeBasedOnLayout as ue, getBandSizeOfAxis as de, getClassNameFromUnknown as fe, getColorsCount as pe, getTooltipNameProp as me, getValueByDataKey as he, identity as ge, interpolate as _e, isArrayLike as ve, isCategoricalAxis as ye, isNullish as be, iteratee as xe, matchAnimationItems as Se, matchByIndex as Ce, noop as we, polarToCartesian as O, removeRadiusAxis as Te, resolveDefaultProps as Ee, selectAngleAxis as De, selectChartDataAndAlwaysIgnoreIndexes as Oe, selectChartLayout as ke, selectPolarViewBox as Ae, selectRadiusAxis as je, selectUnfilteredPolarItems as Me, svgPropertiesAndEvents as Ne, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as Pe, tone as Fe, useAnimationCallbacks as Ie, useAnimationStartSnapshot as Le, useAppDispatch as Re, useAppSelector as A, useIsPanorama as ze, usePolarChartLayout as Be } from "./peach-app.chart-tip-CRxYp6KT.js";
-import { $542a13ca2fa5b484$export$5b6b19405a83ff9d as Ve, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as He, $b4f18e3395fe64d7$export$3e41faf802a29e71 as Ue, $b4f18e3395fe64d7$export$b2539bed5023c21c as We, Button as j, ButtonLink as Ge, Disclosure as Ke, E3 as qe, EmptyState as M, FLOW_LABEL_X as Je, FLOW_VIEWBOX as Ye, Gg as Xe, IDLE_POLL_MS as Ze, Input as Qe, M6 as $e, MENU_ITEM as et, MENU_ITEM_INTERACTIVE as tt, MENU_POPOVER_SURFACE as nt, MenuDialog as rt, Note as N, OV as it, Progress as at, Rf as ot, SEGMENT as st, SEGMENTED_TRACK as ct, SegmentedTabList as lt, Select$1 as ut, SelectItem as dt, TASTE_REFRESH_KEY as ft, TASTE_WINDOWS as pt, TaskProgress as mt, Wt as ht, Xt as gt, _8 as _t, __toESM as vt, aB as yt, avatarInner as bt, busyProps as P, cB as xt, cardClass as F, clsx as I, configureTasteBrowser as St, confirmModal as Ct, cx as wt, errorMessage as L, f1 as Tt, fetchTaste as Et, fetchTasteJob as Dt, firstGrapheme as Ot, flowGraph as kt, flowLabel as At, fmtSize as jt, g4 as Mt, historySpan as Nt, importTasteExport as Pt, keepPreviousData as Ft, mM as It, pv as R, queryClient as z, r2 as Lt, radarRows as Rt, rankDetail as zt, rankShares as Bt, removeTasteSource as Vt, require_jsx_runtime as Ht, require_react as Ut, siteMarkUrl as Wt, startTasteRefresh as Gt, tasteDate as Kt, tasteDimensions as qt, tasteHours as Jt, tasteKey as B, tasteRefetchInterval as Yt, tasteTime as Xt, topScores as Zt, uo as Qt, useBackgroundJob as $t, useMutation as V, useQuery as en } from "./peach-app.js";
-import { Page as tn } from "./peach-app.page-QAncjzM1.js";
-import { STAT_STRIP as nn, StatCard as rn, statCardClass as an } from "./peach-app.stat-card-DsNmy_0F.js";
+import { ActivePoints as e, AnimatedItems as t, CHART_CARD as n, CHART_COLORS as r, CartesianLabelListContextProvider as i, CategoryTick as a, ChartBackground as o, ChartContainer as s, ChartHead as c, ChartLegend as l, ChartLegendContent as u, ChartTip as d, ChartTooltip as f, ChartTooltipContent as p, DefaultZIndexes as m, Dots as h, EvilBarChart as g, LabelListFromLabelProp as _, Layer as v, LoadingIndicator as y, PolarChart as b, PolarLabelContextProvider as x, PolarLabelFromLabelProp as S, RegisterGraphicalItemId as C, SetPolarGraphicalItem as ee, SetPolarLegendPayload as w, SetTooltipEntrySettings as T, Text as te, ZIndexLayer as E, adaptEventsOfChild as ne, addRadiusAxis as re, arrayTooltipSearcher as ie, categoryAxisWidth as ae, cn as oe, createSelector as D, defaultPolarChartProps as se, defaultPolarRadiusAxisProps as ce, fitLabel as le, getAxisTypeBasedOnLayout as ue, getBandSizeOfAxis as de, getClassNameFromUnknown as fe, getColorsCount as pe, getTooltipNameProp as me, getValueByDataKey as he, identity as ge, interpolate as _e, isArrayLike as ve, isCategoricalAxis as ye, isNullish as be, iteratee as xe, matchAnimationItems as Se, matchByIndex as Ce, noop as we, polarToCartesian as O, removeRadiusAxis as Te, resolveDefaultProps as Ee, selectAngleAxis as De, selectChartDataAndAlwaysIgnoreIndexes as Oe, selectChartLayout as ke, selectPolarViewBox as Ae, selectRadiusAxis as je, selectUnfilteredPolarItems as Me, svgPropertiesAndEvents as Ne, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as Pe, tone as Fe, useAnimationCallbacks as Ie, useAnimationStartSnapshot as Le, useAppDispatch as Re, useAppSelector as A, useIsPanorama as ze, usePolarChartLayout as Be } from "./peach-app.chart-tip-CRxYp6KT.js";
+import { $542a13ca2fa5b484$export$5b6b19405a83ff9d as Ve, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as He, $b4f18e3395fe64d7$export$3e41faf802a29e71 as Ue, $b4f18e3395fe64d7$export$b2539bed5023c21c as We, Button as j, ButtonLink as Ge, Disclosure as Ke, E3 as qe, EmptyState as M, FLOW_LABEL_X as Je, FLOW_VIEWBOX as Ye, Gg as Xe, IDLE_POLL_MS as Ze, Input as Qe, M6 as $e, MENU_ITEM as et, MENU_ITEM_INTERACTIVE as tt, MENU_POPOVER_SURFACE as nt, MenuDialog as rt, Note as N, OV as it, Progress as at, Rf as ot, SEGMENT as st, SEGMENTED_TRACK as ct, STAT_STRIP as lt, SegmentedTabList as ut, Select$1 as dt, SelectItem as ft, StatCard as pt, TASTE_REFRESH_KEY as mt, TASTE_WINDOWS as ht, TaskProgress as gt, Wt as _t, Xt as vt, _8 as yt, __toESM as bt, aB as xt, avatarInner as St, busyProps as P, cB as Ct, cardClass as F, clsx as I, configureTasteBrowser as wt, confirmModal as Tt, cx as Et, errorMessage as L, f1 as Dt, fetchTaste as Ot, fetchTasteJob as kt, firstGrapheme as At, flowGraph as jt, flowLabel as Mt, fmtSize as Nt, g4 as Pt, historySpan as Ft, importTasteExport as It, keepPreviousData as Lt, mM as Rt, pv as R, queryClient as z, r2 as zt, radarRows as Bt, rankDetail as Vt, rankShares as Ht, removeTasteSource as Ut, require_jsx_runtime as Wt, require_react as Gt, siteMarkUrl as Kt, startTasteRefresh as qt, statCardClass as Jt, tasteDate as Yt, tasteDimensions as Xt, tasteHours as Zt, tasteKey as B, tasteRefetchInterval as Qt, tasteTime as $t, topScores as en, uo as tn, useBackgroundJob as nn, useMutation as V, useQuery as rn } from "./peach-app.js";
+import { Page as an } from "./peach-app.page-QAncjzM1.js";
import { LEGACY_AVATAR_IMG as on } from "./peach-app.legacy-avatar-NSITxLRS.js";
import { ActivityHeat as sn, BAR_DOMAIN as cn, ExpandableRanking as ln, PolarAngleAxis as un, Polygon as dn, barLabel as fn, selectPolarAxisScale as pn, selectPolarAxisTicks as H } from "./peach-app.expandable-ranking-dFA65P9N.js";
var mn = D([(e, t) => H(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
}), hn = D([(e, t) => H(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), U = /* @__PURE__ */ vt(Ut()), gn = [
+}), U = /* @__PURE__ */ bt(Gt()), gn = [
"gridType",
"radialLines",
"angleAxisId",
@@ -64,30 +63,30 @@ function yn(e, t) {
}
return n;
}
-function G(e) {
+function bn(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? yn(Object(n), !0).forEach(function(t) {
- bn(e, t, n[t]);
+ xn(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yn(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bn(e, t, n) {
- return (t = xn(t)) in e ? Object.defineProperty(e, t, {
+function xn(e, t, n) {
+ return (t = Sn(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xn(e) {
- var t = Sn(e, "string");
+function Sn(e) {
+ var t = Cn(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sn(e, t) {
+function Cn(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -97,16 +96,16 @@ function Sn(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Cn = (e, t, n, r) => {
+var wn = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
var o = O(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, wn = (e) => {
+}, Tn = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.polarAngles, o = e.radialLines;
if (!a || !a.length || !o) return null;
- var s = G({}, k(e));
+ var s = bn({}, k(e));
return /*#__PURE__*/ U.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = O(t, n, r, e), o = O(t, n, i, e);
return /*#__PURE__*/ U.createElement("line", W({ key: `line-${e}` }, s, {
@@ -116,35 +115,35 @@ var Cn = (e, t, n, r) => {
y2: o.y
}));
}));
-}, Tn = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = G({}, k(e));
+}, En = (e) => {
+ var t = e.cx, n = e.cy, r = e.radius, i = bn({}, k(e));
return /*#__PURE__*/ U.createElement("circle", W({}, i, {
className: I("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, En = (e) => {
- var t = e.radius, n = G({}, k(e));
+}, Dn = (e) => {
+ var t = e.radius, n = bn({}, k(e));
return /*#__PURE__*/ U.createElement("path", W({}, n, {
className: I("recharts-polar-grid-concentric-polygon", e.className),
- d: Cn(t, e.cx, e.cy, e.polarAngles)
+ d: wn(t, e.cx, e.cy, e.polarAngles)
}));
-}, Dn = (e) => {
+}, On = (e) => {
var t = e.polarRadius, n = e.gridType;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ U.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ U.createElement(Tn, W({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ U.createElement(En, W({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ U.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ U.createElement(En, W({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ U.createElement(Dn, W({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ U.createElement(Tn, W({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ U.createElement(En, W({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ U.createElement(En, W({ key: i }, e, {
+ })) : /*#__PURE__*/ U.createElement(Dn, W({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, On = {
+}, kn = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
@@ -153,10 +152,10 @@ var Cn = (e, t, n, r) => {
stroke: "#ccc",
strokeWidth: 1,
fill: "none"
-}, kn = (e) => {
- var t = Ee(e, On), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = _n(t, gn), m = A(Ae), h = A((e) => mn(e, i)), g = A((e) => hn(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+}, An = (e) => {
+ var t = Ee(e, kn), n = t.gridType, r = t.radialLines, i = t.angleAxisId, a = t.radiusAxisId, o = t.cx, s = t.cy, c = t.innerRadius, l = t.outerRadius, u = t.polarAngles, d = t.polarRadius, f = t.zIndex, p = _n(t, gn), m = A(Ae), h = A((e) => mn(e, i)), g = A((e) => hn(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = G({
+ var y = bn({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -165,13 +164,13 @@ var Cn = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p);
- return y.outerRadius <= 0 ? null : /*#__PURE__*/ U.createElement(E, { zIndex: y.zIndex }, /*#__PURE__*/ U.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ U.createElement(Dn, W({
+ return y.outerRadius <= 0 ? null : /*#__PURE__*/ U.createElement(E, { zIndex: y.zIndex }, /*#__PURE__*/ U.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ U.createElement(On, W({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ U.createElement(wn, W({
+ })), /*#__PURE__*/ U.createElement(Tn, W({
gridType: n,
radialLines: r
}, y, {
@@ -179,15 +178,15 @@ var Cn = (e, t, n, r) => {
polarRadius: v
}))));
};
-kn.displayName = "PolarGrid";
+An.displayName = "PolarGrid";
// node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function An(e) {
+function jn(e) {
return Array.isArray(e) ? e : Array.from(e);
}
// node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function jn(e, t = ge) {
+function Mn(e, t = ge) {
if (e == null) return;
- let n = An(e);
+ let n = jn(e);
if (n.length === 0) return;
let r = xe(t), i, a;
for (let e = 0; e < n.length; e++) {
@@ -197,9 +196,9 @@ function jn(e, t = ge) {
return i;
}
// node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function Mn(e, t = ge) {
+function Nn(e, t = ge) {
if (e == null) return;
- let n = An(e);
+ let n = jn(e);
if (n.length === 0) return;
let r = xe(t), i, a;
for (let e = 0; e < n.length; e++) {
@@ -209,27 +208,27 @@ function Mn(e, t = ge) {
return i;
}
// node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var Nn = ["type"], Pn = [
+var Pn = ["type"], Fn = [
"cx",
"cy",
"angle",
"axisLine"
-], Fn = [
+], In = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function K() {
- return K = Object.assign ? Object.assign.bind() : function(e) {
+function G() {
+ return G = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, K.apply(null, arguments);
+ }, G.apply(null, arguments);
}
-function In(e, t) {
+function Ln(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -239,30 +238,30 @@ function In(e, t) {
}
return n;
}
-function q(e) {
+function K(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? In(Object(n), !0).forEach(function(t) {
- Ln(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : In(Object(n)).forEach(function(t) {
+ t % 2 ? Ln(Object(n), !0).forEach(function(t) {
+ Rn(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ln(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Ln(e, t, n) {
- return (t = Rn(t)) in e ? Object.defineProperty(e, t, {
+function Rn(e, t, n) {
+ return (t = zn(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Rn(e) {
- var t = zn(e, "string");
+function zn(e) {
+ var t = Bn(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zn(e, t) {
+function Bn(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -272,16 +271,16 @@ function zn(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Bn(e, t) {
+function Vn(e, t) {
if (e == null) return {};
- var n, r, i = Vn(e, t);
+ var n, r, i = Hn(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Vn(e, t) {
+function Hn(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -290,20 +289,20 @@ function Vn(e, t) {
}
return n;
}
-var Hn = "radiusAxis";
-function Un(e) {
+var Un = "radiusAxis";
+function Wn(e) {
var t = Re(), n = Be(), r = (0, U.useMemo)(() => {
- var t = e.type, r = Bn(e, Nn), i = ue(n, "radiusAxis", t);
- if (i != null) return q(q({}, r), {}, { type: i });
+ var t = e.type, r = Vn(e, Pn), i = ue(n, "radiusAxis", t);
+ if (i != null) return K(K({}, r), {}, { type: i });
}, [e, n]);
return (0, U.useEffect)(() => r == null ? we : (t(re(r)), () => {
t(Te(r));
}), [t, r]), null;
}
-var Wn = (e, t, n, r) => {
+var Gn = (e, t, n, r) => {
var i = e.coordinate;
return O(n, r, i, t);
-}, Gn = (e) => {
+}, Kn = (e) => {
var t;
switch (e) {
case "left":
@@ -315,49 +314,49 @@ var Wn = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, Kn = (e, t, n, r) => {
- var i = jn(r, (e) => e.coordinate || 0);
+}, qn = (e, t, n, r) => {
+ var i = Mn(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: Mn(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: Nn(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, qn = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = Bn(e, Pn), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = O(n, r, s[0], i), l = O(n, r, s[1], i), u = q(q(q({}, k(o)), {}, { fill: "none" }, k(a)), {}, {
+}, Jn = (e, t) => {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = Vn(e, Fn), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = O(n, r, s[0], i), l = O(n, r, s[1], i), u = K(K(K({}, k(o)), {}, { fill: "none" }, k(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ U.createElement("line", K({ className: "recharts-polar-radius-axis-line" }, u));
-}, Jn = (e, t, n) => /*#__PURE__*/ U.isValidElement(e) ? /*#__PURE__*/ U.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ U.createElement(T, K({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Yn = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = Bn(e, Fn), s = Gn(e.orientation), c = k(o), l = Pe(a), u = t.map((t, o) => {
- var u = Wn(t, e.angle, e.cx, e.cy), d = q(q(q(q({
+ return /*#__PURE__*/ U.createElement("line", G({ className: "recharts-polar-radius-axis-line" }, u));
+}, Yn = (e, t, n) => /*#__PURE__*/ U.isValidElement(e) ? /*#__PURE__*/ U.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ U.createElement(te, G({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), Xn = (e, t) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = Vn(e, In), s = Kn(e.orientation), c = k(o), l = Pe(a), u = t.map((t, o) => {
+ var u = Gn(t, e.angle, e.cx, e.cy), d = K(K(K(K({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ U.createElement(v, K({
+ return /*#__PURE__*/ U.createElement(v, G({
className: I("recharts-polar-radius-axis-tick", fe(a)),
key: `tick-${t.coordinate}`
- }, ne(e, t, o)), Jn(a, d, r ? r(t.value, o) : t.value));
+ }, ne(e, t, o)), Yn(a, d, r ? r(t.value, o) : t.value));
});
return /*#__PURE__*/ U.createElement(v, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, Xn = (e) => {
+}, Zn = (e) => {
var t = e.radiusAxisId, n = A(Ae), r = A((e) => pn(e, "radiusAxis", t)), i = A((e) => H(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = q(q({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ U.createElement(E, { zIndex: a.zIndex }, /*#__PURE__*/ U.createElement(v, { className: I("recharts-polar-radius-axis", Hn, a.className) }, s && qn(a, i), o && Yn(a, i), /*#__PURE__*/ U.createElement(x, Kn(a.angle, a.cx, a.cy, i), /*#__PURE__*/ U.createElement(S, { label: a.label }), a.children)));
+ var a = K(K({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
+ return /*#__PURE__*/ U.createElement(E, { zIndex: a.zIndex }, /*#__PURE__*/ U.createElement(v, { className: I("recharts-polar-radius-axis", Un, a.className) }, s && Jn(a, i), o && Xn(a, i), /*#__PURE__*/ U.createElement(x, qn(a.angle, a.cx, a.cy, i), /*#__PURE__*/ U.createElement(S, { label: a.label }), a.children)));
};
-function Zn(e) {
+function Qn(e) {
var t = Ee(e, ce);
- return /*#__PURE__*/ U.createElement(U.Fragment, null, /*#__PURE__*/ U.createElement(Un, {
+ return /*#__PURE__*/ U.createElement(U.Fragment, null, /*#__PURE__*/ U.createElement(Wn, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -374,19 +373,19 @@ function Zn(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ U.createElement(Xn, t));
+ }), /*#__PURE__*/ U.createElement(Zn, t));
}
-Zn.displayName = "PolarRadiusAxis";
+Qn.displayName = "PolarRadiusAxis";
// node_modules/es-toolkit/dist/array/last.mjs
-function Qn(e) {
+function $n(e) {
return e[e.length - 1];
}
// node_modules/es-toolkit/dist/compat/array/last.mjs
-function $n(e) {
- if (ve(e) && e.length !== 0) return Qn(An(e));
+function er(e) {
+ if (ve(e) && e.length !== 0) return $n(jn(e));
}
// node_modules/recharts/es6/state/selectors/radarSelectors.js
-function er(e, t) {
+function tr(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -396,30 +395,30 @@ function er(e, t) {
}
return n;
}
-function tr(e) {
+function nr(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? er(Object(n), !0).forEach(function(t) {
- nr(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : er(Object(n)).forEach(function(t) {
+ t % 2 ? tr(Object(n), !0).forEach(function(t) {
+ rr(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tr(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nr(e, t, n) {
- return (t = rr(t)) in e ? Object.defineProperty(e, t, {
+function rr(e, t, n) {
+ return (t = ir(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rr(e) {
- var t = ir(e, "string");
+function ir(e) {
+ var t = ar(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ir(e, t) {
+function ar(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -429,15 +428,15 @@ function ir(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ar = (e, t) => pn(e, "radiusAxis", t), or = D([ar], (e) => {
+var or = (e, t) => pn(e, "radiusAxis", t), sr = D([or], (e) => {
if (e != null) return { scale: e };
-}), sr = D([je, ar], (e, t) => {
- if (e != null && t != null) return tr(tr({}, e), {}, { scale: t });
-}), cr = (e, t, n, r) => H(e, "radiusAxis", t, r), lr = (e, t, n) => De(e, n), ur = (e, t, n) => pn(e, "angleAxis", n), dr = D([lr, ur], (e, t) => {
- if (e != null && t != null) return tr(tr({}, e), {}, { scale: t });
-}), fr = (e, t, n, r) => H(e, "angleAxis", n, r), pr = D([
- lr,
+}), cr = D([je, or], (e, t) => {
+ if (e != null && t != null) return nr(nr({}, e), {}, { scale: t });
+}), lr = (e, t, n, r) => H(e, "radiusAxis", t, r), ur = (e, t, n) => De(e, n), dr = (e, t, n) => pn(e, "angleAxis", n), fr = D([ur, dr], (e, t) => {
+ if (e != null && t != null) return nr(nr({}, e), {}, { scale: t });
+}), pr = (e, t, n, r) => H(e, "angleAxis", n, r), mr = D([
ur,
+ dr,
Ae
], (e, t, n) => {
if (n != null && t != null) return {
@@ -447,40 +446,40 @@ var ar = (e, t) => pn(e, "radiusAxis", t), or = D([ar], (e) => {
cx: n.cx,
cy: n.cy
};
-}), mr = (e, t, n, r, i) => i, hr = D([
+}), hr = (e, t, n, r, i) => i, gr = D([
ke,
- sr,
cr,
- dr,
- fr
-], (e, t, n, r, i) => ye(e, "radiusAxis") ? de(t, n, !1) : de(r, i, !1)), gr = D([Me, mr], (e, t) => {
+ lr,
+ fr,
+ pr
+], (e, t, n, r, i) => ye(e, "radiusAxis") ? de(t, n, !1) : de(r, i, !1)), _r = D([Me, hr], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
-}), _r = D([
- or,
- pr,
+}), vr = D([
+ sr,
+ mr,
Oe,
- gr,
- hr
+ _r,
+ gr
], (e, t, n, r, i) => {
var a = n.chartData, o = n.dataStartIndex, s = n.dataEndIndex;
- if (e != null && t != null && a != null && i != null && r != null) return kr({
+ if (e != null && t != null && a != null && i != null && r != null) return Ar({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), vr = ["id"];
-function J() {
- return J = Object.assign ? Object.assign.bind() : function(e) {
+}), yr = ["id"];
+function q() {
+ return q = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, J.apply(null, arguments);
+ }, q.apply(null, arguments);
}
-function yr(e, t) {
+function br(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -490,30 +489,30 @@ function yr(e, t) {
}
return n;
}
-function Y(e) {
+function J(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yr(Object(n), !0).forEach(function(t) {
- br(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yr(Object(n)).forEach(function(t) {
+ t % 2 ? br(Object(n), !0).forEach(function(t) {
+ xr(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : br(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function br(e, t, n) {
- return (t = xr(t)) in e ? Object.defineProperty(e, t, {
+function xr(e, t, n) {
+ return (t = Sr(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xr(e) {
- var t = Sr(e, "string");
+function Sr(e) {
+ var t = Cr(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sr(e, t) {
+function Cr(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -523,16 +522,16 @@ function Sr(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Cr(e, t) {
+function wr(e, t) {
if (e == null) return {};
- var n, r, i = wr(e, t);
+ var n, r, i = Tr(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function wr(e, t) {
+function Tr(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -541,20 +540,20 @@ function wr(e, t) {
}
return n;
}
-function Tr(e, t) {
+function Er(e, t) {
return e && e !== "none" ? e : t;
}
-var Er = (e) => {
+var Dr = (e) => {
var t = e.dataKey, n = e.name, r = e.stroke, i = e.fill, a = e.legendType;
return [{
inactive: e.hide,
dataKey: t,
type: a,
- color: Tr(r, i),
+ color: Er(r, i),
value: me(n, t),
payload: e
}];
-}, Dr = /*#__PURE__*/ U.memo((e) => {
+}, Or = /*#__PURE__*/ U.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.tooltipType, c = e.id, l = {
dataDefinedOnItem: void 0,
getPosition: we,
@@ -567,17 +566,17 @@ var Er = (e) => {
name: me(a, t),
hide: o,
type: s,
- color: Tr(n, i),
+ color: Er(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ U.createElement(te, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ U.createElement(T, { tooltipEntrySettings: l });
});
-function Or(e) {
+function kr(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = Cr(n, vr), o = k(a);
+ var a = wr(n, yr), o = k(a);
return /*#__PURE__*/ U.createElement(h, {
points: t,
dot: r,
@@ -587,11 +586,11 @@ function Or(e) {
baseProps: o
});
}
-function kr(e) {
+function Ar(e) {
var t = e.radiusAxis, n = e.angleAxis, r = e.displayedData, i = e.dataKey, a = e.bandSize, o = n.cx, s = n.cy, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = he(e, n.dataKey, r), d = he(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? $n(d) : d, m = be(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(Y(Y({}, O(o, s, m, f)), {}, {
+ var a = he(e, n.dataKey, r), d = he(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? er(d) : d, m = be(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(J(J({}, O(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -605,7 +604,7 @@ function kr(e) {
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
var n = e.value[0], r = be(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(Y(Y({}, e), {}, { radius: r }, O(o, s, r, e.angle)));
+ d.push(J(J({}, e), {}, { radius: r }, O(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -613,7 +612,7 @@ function kr(e) {
baseLinePoints: d
};
}
-function Ar(e) {
+function jr(e) {
var t = e.showLabels, n = e.points, r = e.children, a = n.map((e) => {
var t = {
x: e.x,
@@ -623,7 +622,7 @@ function Ar(e) {
upperWidth: 0,
height: 0
};
- return Y(Y({}, t), {}, {
+ return J(J({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -633,10 +632,10 @@ function Ar(e) {
});
return /*#__PURE__*/ U.createElement(i, { value: t ? a : void 0 }, r);
}
-function jr(e) {
+function Mr(e) {
var t = e.points, n = e.baseLinePoints, r = e.props;
if (t == null) return null;
- var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ U.isValidElement(i) ? /*#__PURE__*/ U.cloneElement(i, Y(Y({}, r), {}, { points: t })) : typeof i == "function" ? i(Y(Y({}, r), {}, { points: t })) : /*#__PURE__*/ U.createElement(dn, J({}, Ne(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ U.isValidElement(i) ? /*#__PURE__*/ U.cloneElement(i, J(J({}, r), {}, { points: t })) : typeof i == "function" ? i(J(J({}, r), {}, { points: t })) : /*#__PURE__*/ U.createElement(dn, q({}, Ne(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -649,21 +648,21 @@ function jr(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ U.createElement(v, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ U.createElement(Or, {
+ return /*#__PURE__*/ U.createElement(v, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ U.createElement(kr, {
props: r,
points: t
}));
}
-var Mr = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [Y(Y({}, e.next), {}, {
+var Nr = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [J(J({}, e.next), {}, {
x: _e(e.prev.x, e.next.x, t),
y: _e(e.prev.y, e.next.y, t)
-})] : [Y(Y({}, e.next), {}, {
+})] : [J(J({}, e.next), {}, {
x: _e(e.next.cx, e.next.x, t),
y: _e(e.next.cy, e.next.y, t)
})]);
-function Nr(e) {
+function Pr(e) {
var n = e.props, r = e.previousPointsRef, i = e.previousBaseLinePointsRef, a = n.points, o = n.baseLinePoints, s = n.isAnimationActive, c = n.animationBegin, l = n.animationDuration, u = n.animationEasing, d = n.animationMatchBy, f = n.animationInterpolateFn, p = n.onAnimationStart, m = n.onAnimationEnd, h = Le(n, i), g = h.startValue, v = Se(g ?? null, o, d), y = Ie(p, m), b = y.isAnimating, x = y.handleAnimationStart, S = y.handleAnimationEnd, C = Be();
- return C == null ? null : /*#__PURE__*/ U.createElement(Ar, {
+ return C == null ? null : /*#__PURE__*/ U.createElement(jr, {
showLabels: !b,
points: a
}, /*#__PURE__*/ U.createElement(t, {
@@ -682,29 +681,29 @@ function Nr(e) {
layout: C
}, (e, t) => {
var r = t === 1 ? o : f(v, t, C);
- return h.syncStepValue(r, t), /*#__PURE__*/ U.createElement(jr, {
+ return h.syncStepValue(r, t), /*#__PURE__*/ U.createElement(Mr, {
points: e,
baseLinePoints: r,
props: n
});
}), /*#__PURE__*/ U.createElement(_, { label: n.label }), n.children);
}
-function Pr(e) {
+function Fr(e) {
var t = (0, U.useRef)(void 0), n = (0, U.useRef)(void 0);
- return /*#__PURE__*/ U.createElement(Nr, {
+ return /*#__PURE__*/ U.createElement(Pr, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var Fr = {
+var Ir = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease",
animationMatchBy: Ce,
- animationInterpolateFn: Mr,
+ animationInterpolateFn: Nr,
dot: !1,
hide: !1,
isAnimationActive: "auto",
@@ -713,27 +712,27 @@ var Fr = {
radiusAxisId: 0,
zIndex: m.area
};
-function Ir(t) {
+function Lr(t) {
var n = t.hide, r = t.className, i = t.points;
if (n) return null;
var a = I("recharts-radar", r);
- return /*#__PURE__*/ U.createElement(E, { zIndex: t.zIndex }, /*#__PURE__*/ U.createElement(v, { className: a }, /*#__PURE__*/ U.createElement(Pr, t)), /*#__PURE__*/ U.createElement(e, {
+ return /*#__PURE__*/ U.createElement(E, { zIndex: t.zIndex }, /*#__PURE__*/ U.createElement(v, { className: a }, /*#__PURE__*/ U.createElement(Fr, t)), /*#__PURE__*/ U.createElement(e, {
points: i,
- mainColor: Tr(t.stroke, t.fill),
+ mainColor: Er(t.stroke, t.fill),
itemDataKey: t.dataKey,
activeDot: t.activeDot
}));
}
-function Lr(e) {
- var t = ze(), n = A((n) => _r(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ U.createElement(Ir, J({}, e, {
+function Rr(e) {
+ var t = ze(), n = A((n) => vr(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ U.createElement(Lr, q({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function Rr(e) {
- var t = Ee(e, Fr);
+function zr(e) {
+ var t = Ee(e, Ir);
return /*#__PURE__*/ U.createElement(C, {
id: t.id,
type: "radar"
@@ -745,7 +744,7 @@ function Rr(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ U.createElement(w, { legendPayload: Er(t) }), /*#__PURE__*/ U.createElement(Dr, {
+ }), /*#__PURE__*/ U.createElement(w, { legendPayload: Dr(t) }), /*#__PURE__*/ U.createElement(Or, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -754,11 +753,11 @@ function Rr(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ U.createElement(Lr, J({}, t, { id: e }))));
+ }), /*#__PURE__*/ U.createElement(Rr, q({}, t, { id: e }))));
}
-Rr.displayName = "Radar";
+zr.displayName = "Radar";
// node_modules/recharts/es6/chart/RadarChart.js
-function zr(e, t) {
+function Br(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -768,30 +767,30 @@ function zr(e, t) {
}
return n;
}
-function Br(e) {
+function Vr(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? zr(Object(n), !0).forEach(function(t) {
- Vr(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zr(Object(n)).forEach(function(t) {
+ t % 2 ? Br(Object(n), !0).forEach(function(t) {
+ Hr(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Br(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Vr(e, t, n) {
- return (t = Hr(t)) in e ? Object.defineProperty(e, t, {
+function Hr(e, t, n) {
+ return (t = Ur(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Hr(e) {
- var t = Ur(e, "string");
+function Ur(e) {
+ var t = Wr(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ur(e, t) {
+function Wr(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -801,25 +800,25 @@ function Ur(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Wr = ["axis"], Gr = Br(Br({}, se), {}, {
+var Gr = ["axis"], Kr = Vr(Vr({}, se), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), Kr = /*#__PURE__*/ (0, U.forwardRef)((e, t) => {
- var n = Ee(e, Gr);
+}), qr = /*#__PURE__*/ (0, U.forwardRef)((e, t) => {
+ var n = Ee(e, Kr);
return /*#__PURE__*/ U.createElement(b, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: Wr,
+ validateTooltipEventTypes: Gr,
tooltipPayloadSearcher: ie,
categoricalChartProps: n,
ref: t
});
-}), X = Ht(), qr = U.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+}), Y = Wt(), Jr = U.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = U.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, X.jsx)(Yr, {
+ case "border": return /* @__PURE__ */ (0, Y.jsx)(Xr, {
cx: e,
cy: t,
dotId: c,
@@ -828,7 +827,7 @@ var Wr = ["axis"], Gr = Br(Br({}, se), {}, {
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, X.jsx)(Xr, {
+ case "colored-border": return /* @__PURE__ */ (0, Y.jsx)(Zr, {
cx: e,
cy: t,
dotId: c,
@@ -837,7 +836,7 @@ var Wr = ["axis"], Gr = Br(Br({}, se), {}, {
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, X.jsx)(Jr, {
+ default: return /* @__PURE__ */ (0, Y.jsx)(Yr, {
cx: e,
cy: t,
dotId: c,
@@ -847,17 +846,17 @@ var Wr = ["axis"], Gr = Br(Br({}, se), {}, {
maskId: s
});
}
-}), Jr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, X.jsxs)("g", {
+}), Yr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, Y.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
- children: [/* @__PURE__ */ (0, X.jsx)("defs", { children: /* @__PURE__ */ (0, X.jsx)("clipPath", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("defs", { children: /* @__PURE__ */ (0, Y.jsx)("clipPath", {
id: `dot-clip-${n}`,
- children: /* @__PURE__ */ (0, X.jsx)("circle", {
+ children: /* @__PURE__ */ (0, Y.jsx)("circle", {
cx: e,
cy: t,
r: 3
})
- }) }), /* @__PURE__ */ (0, X.jsx)("rect", {
+ }) }), /* @__PURE__ */ (0, Y.jsx)("rect", {
x: "0",
y: t - 3,
width: "100%",
@@ -867,26 +866,26 @@ var Wr = ["axis"], Gr = Br(Br({}, se), {}, {
clipPath: `url(#dot-clip-${n})`
})]
}));
-Jr.displayName = "DefaultDot";
-var Yr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, X.jsxs)("g", {
+Yr.displayName = "DefaultDot";
+var Xr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, Y.jsxs)("g", {
className: oe(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
- /* @__PURE__ */ (0, X.jsx)("defs", { children: /* @__PURE__ */ (0, X.jsx)("clipPath", {
+ /* @__PURE__ */ (0, Y.jsx)("defs", { children: /* @__PURE__ */ (0, Y.jsx)("clipPath", {
id: `dot-clip-${n}`,
- children: /* @__PURE__ */ (0, X.jsx)("circle", {
+ children: /* @__PURE__ */ (0, Y.jsx)("circle", {
cx: e,
cy: t,
r: 6
})
}) }),
- /* @__PURE__ */ (0, X.jsx)("circle", {
+ /* @__PURE__ */ (0, Y.jsx)("circle", {
cx: e,
cy: t,
r: 6,
fill: "currentColor"
}),
- /* @__PURE__ */ (0, X.jsx)("rect", {
+ /* @__PURE__ */ (0, Y.jsx)("rect", {
x: "0",
y: t - (6 - 5 / 2),
width: "100%",
@@ -895,9 +894,9 @@ var Yr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
fillOpacity: r,
clipPath: `url(#dot-clip-inner-${n})`
}),
- /* @__PURE__ */ (0, X.jsx)("defs", { children: /* @__PURE__ */ (0, X.jsx)("clipPath", {
+ /* @__PURE__ */ (0, Y.jsx)("defs", { children: /* @__PURE__ */ (0, Y.jsx)("clipPath", {
id: `dot-clip-inner-${n}`,
- children: /* @__PURE__ */ (0, X.jsx)("circle", {
+ children: /* @__PURE__ */ (0, Y.jsx)("circle", {
cx: e,
cy: t,
r: 6 - 5 / 2
@@ -905,20 +904,20 @@ var Yr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}) })
]
}));
-Yr.displayName = "PrimaryBorderDot";
-var Xr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, X.jsxs)("g", {
+Xr.displayName = "PrimaryBorderDot";
+var Zr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, Y.jsxs)("g", {
className: oe(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
- /* @__PURE__ */ (0, X.jsx)("defs", { children: /* @__PURE__ */ (0, X.jsx)("clipPath", {
+ /* @__PURE__ */ (0, Y.jsx)("defs", { children: /* @__PURE__ */ (0, Y.jsx)("clipPath", {
id: `dot-clip-${n}`,
- children: /* @__PURE__ */ (0, X.jsx)("circle", {
+ children: /* @__PURE__ */ (0, Y.jsx)("circle", {
cx: e,
cy: t,
r: 3.5
})
}) }),
- /* @__PURE__ */ (0, X.jsx)("rect", {
+ /* @__PURE__ */ (0, Y.jsx)("rect", {
x: "0",
y: t - 3 - 1 / 2,
width: "100%",
@@ -927,7 +926,7 @@ var Xr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
fillOpacity: r,
clipPath: `url(#dot-clip-${n})`
}),
- /* @__PURE__ */ (0, X.jsx)("circle", {
+ /* @__PURE__ */ (0, Y.jsx)("circle", {
cx: e,
cy: t,
r: 3 - 1 / 2,
@@ -935,16 +934,16 @@ var Xr = U.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
})
]
}));
-Xr.displayName = "ColoredBorderDot";
+Zr.displayName = "ColoredBorderDot";
// src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var Zr = 1, Qr = .3, $r = 6, ei = 1500, ti = "value", ni = (0, U.createContext)(null);
-function Z() {
- let e = (0, U.use)(ni);
+var Qr = 1, $r = .3, ei = 6, ti = 1500, ni = "value", ri = (0, U.createContext)(null);
+function X() {
+ let e = (0, U.use)(ri);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function Q({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: c = null, onSelectionChange: l, isLoading: u = !1, loadingPoints: d }) {
- let f = (0, U.useId)().replace(/:/g, ""), [p, m] = (0, U.useState)(c), h = vi(u, d), g = (0, U.useCallback)((e) => {
+function Z({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: c = null, onSelectionChange: l, isLoading: u = !1, loadingPoints: d }) {
+ let f = (0, U.useId)().replace(/:/g, ""), [p, m] = (0, U.useState)(c), h = yi(u, d), g = (0, U.useCallback)((e) => {
m(e), l?.(e);
}, [l]), _ = (0, U.useMemo)(() => ({
config: e,
@@ -957,37 +956,37 @@ function Q({ config: e, data: t, children: n, className: r, chartProps: i, backg
p,
g
]);
- return /* @__PURE__ */ (0, X.jsx)(ni, {
+ return /* @__PURE__ */ (0, Y.jsx)(ri, {
value: _,
- children: /* @__PURE__ */ (0, X.jsxs)(s, {
+ children: /* @__PURE__ */ (0, Y.jsxs)(s, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, X.jsx)(y, { isLoading: u }), /* @__PURE__ */ (0, X.jsxs)(Kr, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(y, { isLoading: u }), /* @__PURE__ */ (0, Y.jsxs)(qr, {
id: f,
data: u ? h : t,
...i,
children: [
- a && /* @__PURE__ */ (0, X.jsx)(o, { variant: a }),
+ a && /* @__PURE__ */ (0, Y.jsx)(o, { variant: a }),
n,
- u && /* @__PURE__ */ (0, X.jsx)(yi, {})
+ u && /* @__PURE__ */ (0, Y.jsx)(bi, {})
]
})]
})
});
}
-function ri({ dataKey: e, variant: t = "filled", fillOpacity: n = Qr, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = Z(), d = (0, U.useId)().replace(/:/g, "");
+function ii({ dataKey: e, variant: t = "filled", fillOpacity: n = $r, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = X(), d = (0, U.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = di(a, d, e, p.dot);
- return /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)(Rr, {
+ }, m = t === "filled", { dot: h, activeDot: g } = fi(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)(zr, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: Zr,
+ strokeWidth: Qr,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -999,31 +998,31 @@ function ri({ dataKey: e, variant: t = "filled", fillOpacity: n = Qr, isGlowing:
i && u(l === e ? null : e);
},
...o
- }), /* @__PURE__ */ (0, X.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, X.jsx)(pi, {
+ }), /* @__PURE__ */ (0, Y.jsxs)("defs", { children: [
+ /* @__PURE__ */ (0, Y.jsx)(mi, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, X.jsx)(mi, {
+ /* @__PURE__ */ (0, Y.jsx)(hi, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, X.jsx)(hi, {
+ m && /* @__PURE__ */ (0, Y.jsx)(gi, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, X.jsx)(gi, {
+ r && /* @__PURE__ */ (0, Y.jsx)(_i, {
id: d,
dataKey: e
})
] })] });
}
-var ii = () => null, ai = () => null;
-function oi({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, X.jsx)(kn, {
+var ai = () => null, oi = () => null;
+function si({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, Y.jsx)(An, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -1031,47 +1030,47 @@ function oi({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity
...i
});
}
-function si({ tick: e = {
+function ci({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = Z();
- return r ? null : /* @__PURE__ */ (0, X.jsx)(un, {
+ let { isLoading: r } = X();
+ return r ? null : /* @__PURE__ */ (0, Y.jsx)(un, {
tick: e,
tickLine: t,
...n
});
}
-function ci({ tick: e = {
+function li({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = Z();
- return i ? null : /* @__PURE__ */ (0, X.jsx)(Zn, {
+ let { isLoading: i } = X();
+ return i ? null : /* @__PURE__ */ (0, Y.jsx)(Qn, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function li({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = Z();
- return r ? null : /* @__PURE__ */ (0, X.jsx)(f, {
+function ui({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = X();
+ return r ? null : /* @__PURE__ */ (0, Y.jsx)(f, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, X.jsx)(p, {
+ content: /* @__PURE__ */ (0, Y.jsx)(p, {
selected: i,
roundness: t,
variant: e
})
});
}
-function ui({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = Z();
- return i ? null : /* @__PURE__ */ (0, X.jsx)(l, {
+function di({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = X();
+ return i ? null : /* @__PURE__ */ (0, Y.jsx)(l, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, X.jsx)(u, {
+ content: /* @__PURE__ */ (0, Y.jsx)(u, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -1079,22 +1078,22 @@ function ui({ variant: e, align: t = "center", verticalAlign: n = "bottom", isCl
})
});
}
-var di = (e, t, n, r) => {
+var fi = (e, t, n, r) => {
let i = !1, a = !1;
return U.Children.forEach(e, (e) => {
if ((0, U.isValidElement)(e)) {
- if (e.type === ii) {
+ if (e.type === ai) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, X.jsx)(qr, {
+ i = /* @__PURE__ */ (0, Y.jsx)(Jr, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === ai) {
+ if (e.type === oi) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, X.jsx)(qr, {
+ a = /* @__PURE__ */ (0, Y.jsx)(Jr, {
type: i,
dataKey: n,
chartId: t,
@@ -1106,81 +1105,81 @@ var di = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, fi = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsx)("stop", {
+}, pi = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
-}), /* @__PURE__ */ (0, X.jsx)("stop", {
+}), /* @__PURE__ */ (0, Y.jsx)("stop", {
offset: "100%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[n.length - 1]
-})] }) : /* @__PURE__ */ (0, X.jsx)(X.Fragment, { children: Array.from({ length: t }, (r, i) => {
+})] }) : /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: Array.from({ length: t }, (r, i) => {
let a = `${i / (t - 1) * 100}%`;
- return /* @__PURE__ */ (0, X.jsx)("stop", {
+ return /* @__PURE__ */ (0, Y.jsx)("stop", {
offset: a,
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), pi = ({ id: e, dataKey: t, config: n }) => {
+}) }), mi = ({ id: e, dataKey: t, config: n }) => {
let r = pe(n[t] ?? {});
- return /* @__PURE__ */ (0, X.jsx)("linearGradient", {
+ return /* @__PURE__ */ (0, Y.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, X.jsx)(fi, {
+ children: /* @__PURE__ */ (0, Y.jsx)(pi, {
dataKey: t,
colorsCount: r
})
});
-}, mi = ({ id: e, dataKey: t, config: n }) => {
+}, hi = ({ id: e, dataKey: t, config: n }) => {
let r = pe(n[t] ?? {});
- return /* @__PURE__ */ (0, X.jsx)("linearGradient", {
+ return /* @__PURE__ */ (0, Y.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, X.jsx)(fi, {
+ children: /* @__PURE__ */ (0, Y.jsx)(pi, {
dataKey: t,
colorsCount: r
})
});
-}, hi = ({ id: e, dataKey: t, config: n }) => {
+}, gi = ({ id: e, dataKey: t, config: n }) => {
let r = pe(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
- return /* @__PURE__ */ (0, X.jsx)("radialGradient", {
+ return /* @__PURE__ */ (0, Y.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, X.jsx)(fi, {
+ children: /* @__PURE__ */ (0, Y.jsx)(pi, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, gi = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, X.jsxs)("filter", {
+}, _i = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, Y.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
width: "200%",
height: "200%",
children: [
- /* @__PURE__ */ (0, X.jsx)("feGaussianBlur", {
+ /* @__PURE__ */ (0, Y.jsx)("feGaussianBlur", {
in: "SourceGraphic",
stdDeviation: "4",
result: "blur"
}),
- /* @__PURE__ */ (0, X.jsx)("feColorMatrix", {
+ /* @__PURE__ */ (0, Y.jsx)("feColorMatrix", {
in: "blur",
type: "matrix",
values: "1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.6 0",
result: "glow"
}),
- /* @__PURE__ */ (0, X.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, X.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, X.jsx)("feMergeNode", { in: "SourceGraphic" })] })
+ /* @__PURE__ */ (0, Y.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, Y.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, Y.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), _i = (e) => [
+}), vi = (e) => [
"A",
"B",
"C",
@@ -1189,20 +1188,20 @@ var di = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [ti]: 30 + Math.random() * 70
+ [ni]: 30 + Math.random() * 70
}));
-function vi(e, t = $r) {
+function yi(e, t = ei) {
let [n, r] = (0, U.useState)(0);
return (0, U.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, ei);
+ }, ti);
return () => clearInterval(t);
- }, [e]), (0, U.useMemo)(() => _i(t), [t, n]);
+ }, [e]), (0, U.useMemo)(() => vi(t), [t, n]);
}
-var yi = () => /* @__PURE__ */ (0, X.jsx)(Rr, {
- dataKey: ti,
+var bi = () => /* @__PURE__ */ (0, Y.jsx)(zr, {
+ dataKey: ni,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -1210,14 +1209,14 @@ var yi = () => /* @__PURE__ */ (0, X.jsx)(Rr, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: ei,
+ animationDuration: ti,
animationEasing: "ease-in-out"
});
-Q.Radar = ri, Q.Dot = ii, Q.ActiveDot = ai, Q.PolarGrid = oi, Q.PolarAngleAxis = si, Q.PolarRadiusAxis = ci, Q.Tooltip = li, Q.Legend = ui;
+Z.Radar = ii, Z.Dot = ai, Z.ActiveDot = oi, Z.PolarGrid = si, Z.PolarAngleAxis = ci, Z.PolarRadiusAxis = li, Z.Tooltip = ui, Z.Legend = di;
// src/react/taste/charts.tsx
-function bi(e) {
+function xi(e) {
let { x: t = 0, cx: n, textAnchor: r, payload: i, ...a } = e, o = String(i?.value ?? ""), s = typeof n == "number" ? n * 2 : 0, c = s ? r === "start" ? s - t : r === "end" ? t : 2 * Math.min(t, s - t) : 56;
- return /* @__PURE__ */ (0, X.jsxs)("g", { children: [/* @__PURE__ */ (0, X.jsx)("title", { children: o }), /* @__PURE__ */ (0, X.jsx)(T, {
+ return /* @__PURE__ */ (0, Y.jsxs)("g", { children: [/* @__PURE__ */ (0, Y.jsx)("title", { children: o }), /* @__PURE__ */ (0, Y.jsx)(te, {
...a,
x: t,
textAnchor: r,
@@ -1226,24 +1225,24 @@ function bi(e) {
children: le(o, c - 4)
})] });
}
-var xi = [
+var Si = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], Si = [
+], Ci = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], Ci = { value: {
+], wi = { value: {
label: "标签出现次数",
colors: Fe(r[3])
-} }, wi = [
+} }, Ti = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -1253,51 +1252,51 @@ var xi = [
"min-h-52",
"min-h-60",
"min-h-64"
-], Ti = 26, Ei = { radius: Ci.value }, Di = (e, t) => Math.sqrt(e / t);
-function Oi({ rows: e, label: t }) {
- let n = Rt(e);
+], Ei = 26, Di = { radius: wi.value }, Oi = (e, t) => Math.sqrt(e / t);
+function ki({ rows: e, label: t }) {
+ let n = Bt(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: Di(e.value, r)
+ radius: Oi(e.value, r)
}));
- return /* @__PURE__ */ (0, X.jsx)("div", {
+ return /* @__PURE__ */ (0, Y.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, X.jsxs)(Q, {
+ children: /* @__PURE__ */ (0, Y.jsxs)(Z, {
data: i,
- config: Ei,
+ config: Di,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, X.jsx)(Q.PolarGrid, {}),
- /* @__PURE__ */ (0, X.jsx)(Q.PolarAngleAxis, {
+ /* @__PURE__ */ (0, Y.jsx)(Z.PolarGrid, {}),
+ /* @__PURE__ */ (0, Y.jsx)(Z.PolarAngleAxis, {
dataKey: "name",
- tick: /* @__PURE__ */ (0, X.jsx)(bi, {})
+ tick: /* @__PURE__ */ (0, Y.jsx)(xi, {})
}),
- /* @__PURE__ */ (0, X.jsx)(Q.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, Y.jsx)(Z.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, X.jsx)(Q.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, X.jsx)(d, { valueKey: "value" })
+ /* @__PURE__ */ (0, Y.jsx)(Z.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, Y.jsx)(d, { valueKey: "value" })
]
})
});
}
-function ki({ rows: e, label: t }) {
- let n = Zt(e, 8);
- return n.length ? /* @__PURE__ */ (0, X.jsx)("section", {
+function Ai({ rows: e, label: t }) {
+ let n = en(e, 8);
+ return n.length ? /* @__PURE__ */ (0, Y.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${wi[n.length]}`,
- children: /* @__PURE__ */ (0, X.jsxs)(g, {
+ className: `flex grow flex-col ${Ti[n.length]}`,
+ children: /* @__PURE__ */ (0, Y.jsxs)(g, {
data: n,
- config: Ci,
+ config: wi,
layout: "horizontal",
barRadius: 4,
chartProps: {
- maxBarSize: Ti,
+ maxBarSize: Ei,
margin: {
top: 5,
right: 56,
@@ -1307,17 +1306,17 @@ function ki({ rows: e, label: t }) {
},
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, X.jsx)(g.YAxis, {
+ /* @__PURE__ */ (0, Y.jsx)(g.YAxis, {
dataKey: "name",
interval: 0,
- tick: /* @__PURE__ */ (0, X.jsx)(a, { along: "y" }),
+ tick: /* @__PURE__ */ (0, Y.jsx)(a, { along: "y" }),
width: ae(n.map((e) => e.name))
}),
- /* @__PURE__ */ (0, X.jsx)(g.XAxis, {
+ /* @__PURE__ */ (0, Y.jsx)(g.XAxis, {
hide: !0,
domain: cn
}),
- /* @__PURE__ */ (0, X.jsx)(g.Bar, {
+ /* @__PURE__ */ (0, Y.jsx)(g.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
@@ -1325,47 +1324,47 @@ function ki({ rows: e, label: t }) {
label: fn("right")
}
}),
- /* @__PURE__ */ (0, X.jsx)(d, {})
+ /* @__PURE__ */ (0, Y.jsx)(d, {})
]
})
}) : null;
}
-function Ai({ flows: e }) {
- let [t, r] = (0, U.useState)(null), i = kt(e);
+function ji({ flows: e }) {
+ let [t, r] = (0, U.useState)(null), i = jt(e);
if (!i) return null;
let a = t?.node ?? null, o = (e, n) => t ? a === null ? t.label === n : e.source === a || e.target === a : !0;
- return /* @__PURE__ */ (0, X.jsxs)("section", {
+ return /* @__PURE__ */ (0, Y.jsxs)("section", {
className: n,
children: [
- /* @__PURE__ */ (0, X.jsx)(c, {
+ /* @__PURE__ */ (0, Y.jsx)(c, {
title: "创作者线索来源",
figure: (t ? t.value : i.total).toLocaleString(),
note: t ? t.label : "条线索"
}),
- /* @__PURE__ */ (0, X.jsx)("ol", {
+ /* @__PURE__ */ (0, Y.jsx)("ol", {
"aria-label": "来源网站与创作者线索",
className: "flex flex-col sm:hidden",
- children: [...i.links].sort((e, t) => t.value - e.value).map((e) => /* @__PURE__ */ (0, X.jsxs)("li", {
+ children: [...i.links].sort((e, t) => t.value - e.value).map((e) => /* @__PURE__ */ (0, Y.jsxs)("li", {
className: "flex items-baseline justify-between gap-3 border-b border-separator-border py-2 text-body-2-regular text-text-primary last:border-b-0",
- children: [/* @__PURE__ */ (0, X.jsx)("span", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.label
- }), /* @__PURE__ */ (0, X.jsx)("b", {
+ }), /* @__PURE__ */ (0, Y.jsx)("b", {
className: "shrink-0 tabular-nums",
children: e.value.toLocaleString()
})]
}, e.key))
}),
- /* @__PURE__ */ (0, X.jsx)("div", {
+ /* @__PURE__ */ (0, Y.jsx)("div", {
className: "min-w-0 max-sm:hidden",
- children: /* @__PURE__ */ (0, X.jsxs)("svg", {
+ children: /* @__PURE__ */ (0, Y.jsxs)("svg", {
viewBox: `0 0 ${Ye.width} ${i.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
className: "block h-auto w-full",
onPointerLeave: () => r(null),
- children: [/* @__PURE__ */ (0, X.jsx)("g", { children: i.links.map((e) => /* @__PURE__ */ (0, X.jsx)("path", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("g", { children: i.links.map((e) => /* @__PURE__ */ (0, Y.jsx)("path", {
d: e.d,
strokeWidth: e.width,
tabIndex: 0,
@@ -1373,7 +1372,7 @@ function Ai({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: o(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${xi[e.color]}`,
+ className: `outline-none transition-opacity ${Si[e.color]}`,
onPointerEnter: () => r({
value: e.value,
label: e.label,
@@ -1385,7 +1384,7 @@ function Ai({ flows: e }) {
node: null
}),
onBlur: () => r(null)
- }, e.key)) }), /* @__PURE__ */ (0, X.jsx)("g", { children: i.nodes.map((e) => /* @__PURE__ */ (0, X.jsxs)("g", {
+ }, e.key)) }), /* @__PURE__ */ (0, Y.jsx)("g", { children: i.nodes.map((e) => /* @__PURE__ */ (0, Y.jsxs)("g", {
tabIndex: 0,
role: "img",
"aria-label": `${e.name}:${e.value} 条线索`,
@@ -1401,20 +1400,20 @@ function Ai({ flows: e }) {
node: e.index
}),
onBlur: () => r(null),
- children: [/* @__PURE__ */ (0, X.jsx)("rect", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("rect", {
x: e.x,
y: e.y,
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? Si[e.color] : "fill-text-secondary"
- }), /* @__PURE__ */ (0, X.jsxs)("text", {
+ className: e.side === "source" ? Ci[e.color] : "fill-text-secondary"
+ }), /* @__PURE__ */ (0, Y.jsxs)("text", {
x: Je[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [At(e.name), /* @__PURE__ */ (0, X.jsx)("tspan", {
+ children: [Mt(e.name), /* @__PURE__ */ (0, Y.jsx)("tspan", {
x: Je[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -1423,14 +1422,14 @@ function Ai({ flows: e }) {
}, e.id)) })]
})
}),
- /* @__PURE__ */ (0, X.jsxs)("footer", {
+ /* @__PURE__ */ (0, Y.jsxs)("footer", {
className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary max-sm:hidden",
- children: [/* @__PURE__ */ (0, X.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, X.jsx)("span", { children: "创作者 · 线索占比" })]
+ children: [/* @__PURE__ */ (0, Y.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, Y.jsx)("span", { children: "创作者 · 线索占比" })]
})
]
});
}
-var ji = {
+var Mi = {
version: 1,
note: "浏览器品牌标识仅用于识别相应数据源;商标归各自所有者。",
icons: [
@@ -2239,13 +2238,13 @@ var ji = {
bytes: 29648
}
]
-}, Mi = (e) => e.normalize("NFKC").toLowerCase().replace(/[\s_-]/g, ""), Ni = new Map(ji.icons.flatMap((e) => e.aliases.map((t) => [Mi(t), e.id])));
-function Pi(e) {
- return Ni.get(Mi(e));
+}, Ni = (e) => e.normalize("NFKC").toLowerCase().replace(/[\s_-]/g, ""), Pi = new Map(Mi.icons.flatMap((e) => e.aliases.map((t) => [Ni(t), e.id])));
+function Fi(e) {
+ return Pi.get(Ni(e));
}
-function Fi({ name: e }) {
- let [t, n] = (0, U.useState)(""), r = Pi(e);
- return r && t !== r ? /* @__PURE__ */ (0, X.jsx)("img", {
+function Ii({ name: e }) {
+ let [t, n] = (0, U.useState)(""), r = Fi(e);
+ return r && t !== r ? /* @__PURE__ */ (0, Y.jsx)("img", {
src: `/browser-icon/${r}`,
width: 24,
height: 24,
@@ -2254,41 +2253,41 @@ function Fi({ name: e }) {
loading: "lazy",
className: "size-6 shrink-0 object-contain",
onError: () => n(r)
- }) : /* @__PURE__ */ (0, X.jsx)(qe, {
+ }) : /* @__PURE__ */ (0, Y.jsx)(qe, {
"aria-hidden": !0,
className: "size-5 shrink-0 text-foreground-icon-secondary"
});
}
// src/react/taste/browser-sources.tsx
-var Ii = "flex min-w-0 items-center gap-3 rounded-xl bg-background-primary-default p-3";
-function Li({ browsers: e, sources: t, range: n, children: r }) {
+var Li = "flex min-w-0 items-center gap-3 rounded-xl bg-background-primary-default p-3";
+function Ri({ browsers: e, sources: t, range: n, children: r }) {
let [i, a] = (0, U.useState)(!1), [o, s] = (0, U.useState)(""), [c, l] = (0, U.useState)(""), u = V({
- mutationFn: (e) => St(e, n),
+ mutationFn: (e) => wt(e, n),
onSuccess: (e) => {
z.setQueryData(B(n), e.dashboard), a(!1), s(""), l("");
}
});
- return /* @__PURE__ */ (0, X.jsxs)("section", {
+ return /* @__PURE__ */ (0, Y.jsxs)("section", {
className: `${F()} flex flex-col gap-4`,
"aria-label": "数据源",
children: [
- /* @__PURE__ */ (0, X.jsxs)("div", {
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, X.jsx)("h3", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: "数据源"
- }), /* @__PURE__ */ (0, X.jsx)(j, {
+ }), /* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
onClick: () => a(!0),
disabled: i,
children: "添加浏览器"
})]
}),
- u.error ? /* @__PURE__ */ (0, X.jsx)(N, {
+ u.error ? /* @__PURE__ */ (0, Y.jsx)(N, {
tone: "error",
children: L(u.error)
}) : null,
- i ? /* @__PURE__ */ (0, X.jsxs)("form", {
+ i ? /* @__PURE__ */ (0, Y.jsxs)("form", {
className: "flex flex-col gap-3",
onSubmit: (e) => {
e.preventDefault(), u.isPending || u.mutate({
@@ -2298,7 +2297,7 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
});
},
children: [
- /* @__PURE__ */ (0, X.jsx)(Qe, {
+ /* @__PURE__ */ (0, Y.jsx)(Qe, {
label: "浏览器名称",
value: o,
onChange: s,
@@ -2306,7 +2305,7 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
isRequired: !0,
isDisabled: u.isPending
}),
- /* @__PURE__ */ (0, X.jsx)(Qe, {
+ /* @__PURE__ */ (0, Y.jsx)(Qe, {
label: "资料目录或历史文件",
value: c,
onChange: l,
@@ -2315,16 +2314,16 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
isDisabled: u.isPending,
hint: "请选择运行 Peach 的电脑上的浏览器资料。"
}),
- /* @__PURE__ */ (0, X.jsxs)("div", {
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex gap-2",
- children: [/* @__PURE__ */ (0, X.jsx)(j, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(j, {
variant: "ghost",
disabled: u.isPending,
onClick: () => {
a(!1), u.reset();
},
children: "取消"
- }), /* @__PURE__ */ (0, X.jsx)(j, {
+ }), /* @__PURE__ */ (0, Y.jsx)(j, {
type: "submit",
variant: "secondary",
disabled: !o.trim() || !c.trim(),
@@ -2334,34 +2333,34 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
})
]
}) : null,
- /* @__PURE__ */ (0, X.jsxs)("div", {
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "inline-grid w-full min-w-0 gap-2 sm:grid-cols-2",
children: [r, e.map((e) => {
let n = t.filter((t) => e.source_keys?.includes(t.source_key)), r = n.reduce((e, t) => e + (t.visits || 0), 0), i = n.reduce((e, t) => e + (t.bookmarks || 0), 0);
- return /* @__PURE__ */ (0, X.jsxs)("div", {
+ return /* @__PURE__ */ (0, Y.jsxs)("div", {
"data-taste-source": "browser",
- className: Ii,
+ className: Li,
children: [
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: /* @__PURE__ */ (0, X.jsx)(Fi, { name: e.name })
+ children: /* @__PURE__ */ (0, Y.jsx)(Ii, { name: e.name })
}),
- /* @__PURE__ */ (0, X.jsxs)("div", {
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex min-w-0 grow flex-col gap-0.5",
children: [
- /* @__PURE__ */ (0, X.jsx)("b", {
+ /* @__PURE__ */ (0, Y.jsx)("b", {
className: "text-body-2-medium break-words text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "break-all text-caption-1-regular text-text-secondary",
children: e.path
}),
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.enabled ? e.available ? `历史与书签 · ${e.profiles} 个资料` : "资料目录不可用" : "已停止读取"
}),
- n.length ? /* @__PURE__ */ (0, X.jsxs)("span", {
+ n.length ? /* @__PURE__ */ (0, Y.jsxs)("span", {
className: "text-caption-1-regular text-text-secondary",
children: [
r.toLocaleString(),
@@ -2372,9 +2371,9 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
}) : null
]
}),
- /* @__PURE__ */ (0, X.jsxs)("span", {
+ /* @__PURE__ */ (0, Y.jsxs)("span", {
className: "flex shrink-0 gap-1",
- children: [/* @__PURE__ */ (0, X.jsx)(j, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
size: "small",
...P(u.isPending),
@@ -2382,7 +2381,7 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
leadingIcon: e.enabled ? it : Xe,
"aria-label": `${e.enabled ? "停止读取" : "启用"} ${e.name}`,
onClick: () => {
- e.enabled ? Ct({
+ e.enabled ? Tt({
title: `停止读取 ${e.name}`,
body: "已导入的历史与书签仍用于口味分析。",
confirmLabel: "停止读取",
@@ -2395,7 +2394,7 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
id: e.id
});
}
- }), /* @__PURE__ */ (0, X.jsx)(j, {
+ }), /* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
size: "small",
iconOnly: !0,
@@ -2403,7 +2402,7 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
...P(u.isPending),
"aria-label": `删除 ${e.name}`,
onClick: () => {
- Ct({
+ Tt({
title: `删除 ${e.name}`,
body: "移除该浏览器的读取配置和已导入历史、书签,浏览器原文件保留。可以通过添加浏览器重新接入。",
confirmLabel: "删除浏览器来源",
@@ -2424,7 +2423,7 @@ function Li({ browsers: e, sources: t, range: n, children: r }) {
});
}
// src/react/taste/taste-page.tsx
-var Ri = 10, zi = wt(et, tt, "text-body-2-medium"), Bi = `${F()} flex flex-col gap-4`, Vi = "rounded-xl bg-background-primary-default p-3", Hi = "读取运行 Peach 的这台电脑上的浏览历史与书签", Ui = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", Wi = "馆藏中暂时没有与你浏览过的内容相符的标签。", Gi = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", Ki = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", qi = "采集浏览记录后,这里会列出浏览过的标签。", Ji = "采集浏览记录后,这里会列出浏览过的创作者。", Yi = "采集浏览记录后,这里会列出常访问的网站。", Xi = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Zi = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Qi = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", $i = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", ea = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", ta = "需要刷新时再次读取或导入;数据源可在页面底部移除。", na = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", ra = "peach-taste-guide-dismissed", ia = (0, U.createContext)(/* @__PURE__ */ (0, X.jsx)(Ge, {
+var zi = 10, Bi = Et(et, tt, "text-body-2-medium"), Q = `${F()} flex flex-col gap-4`, Vi = "rounded-xl bg-background-primary-default p-3", Hi = "读取运行 Peach 的这台电脑上的浏览历史与书签", Ui = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", Wi = "馆藏中暂时没有与你浏览过的内容相符的标签。", Gi = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", Ki = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", qi = "采集浏览记录后,这里会列出浏览过的标签。", Ji = "采集浏览记录后,这里会列出浏览过的创作者。", Yi = "采集浏览记录后,这里会列出常访问的网站。", Xi = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Zi = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Qi = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", $i = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", ea = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", ta = "需要刷新时再次读取或导入;数据源可在页面底部移除。", na = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", ra = "peach-taste-guide-dismissed", ia = (0, U.createContext)(/* @__PURE__ */ (0, Y.jsx)(Ge, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -2433,14 +2432,14 @@ function aa() {
return (0, U.useContext)(ia);
}
function $({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a }) {
- return /* @__PURE__ */ (0, X.jsx)("div", {
- className: an(),
- children: /* @__PURE__ */ (0, X.jsx)(rn, {
+ return /* @__PURE__ */ (0, Y.jsx)("div", {
+ className: Jt(),
+ children: /* @__PURE__ */ (0, Y.jsx)(pt, {
label: t,
icon: e,
accent: a,
figure: n,
- footer: /* @__PURE__ */ (0, X.jsx)("span", {
+ footer: /* @__PURE__ */ (0, Y.jsx)("span", {
className: "block min-w-0 truncate",
title: i || r,
children: r ?? ""
@@ -2449,10 +2448,10 @@ function $({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a }
});
}
function oa({ name: e, domain: t }) {
- return /* @__PURE__ */ (0, X.jsxs)("span", {
+ return /* @__PURE__ */ (0, Y.jsxs)("span", {
className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",
- children: [Ot(e).toUpperCase(), /* @__PURE__ */ (0, X.jsx)("img", {
- src: Wt({ domain: t }),
+ children: [At(e).toUpperCase(), /* @__PURE__ */ (0, Y.jsx)("img", {
+ src: Kt({ domain: t }),
alt: "",
loading: "lazy",
width: 20,
@@ -2463,78 +2462,78 @@ function oa({ name: e, domain: t }) {
});
}
function sa({ html: e }) {
- return /* @__PURE__ */ (0, X.jsx)("span", {
+ return /* @__PURE__ */ (0, Y.jsx)("span", {
className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary ${on}`,
dangerouslySetInnerHTML: { __html: e }
});
}
function ca({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, X.jsx)(M, {
+ if (!e.length) return /* @__PURE__ */ (0, Y.jsx)(M, {
size: "compact",
icon: R,
title: "记录还不够",
- actions: /* @__PURE__ */ (0, X.jsx)(aa, {}),
+ actions: /* @__PURE__ */ (0, Y.jsx)(aa, {}),
children: r
});
- let a = Bt(e);
- return /* @__PURE__ */ (0, X.jsx)(ln, {
- previewCount: Ri,
+ let a = Ht(e);
+ return /* @__PURE__ */ (0, Y.jsx)(ln, {
+ previewCount: zi,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
- let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [
- /* @__PURE__ */ (0, X.jsx)("svg", {
+ let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [
+ /* @__PURE__ */ (0, Y.jsx)("svg", {
viewBox: "0 0 100 1",
preserveAspectRatio: "none",
"aria-hidden": !0,
className: "absolute inset-0 -z-10 size-full overflow-hidden rounded-lg opacity-15",
- children: /* @__PURE__ */ (0, X.jsx)("rect", {
+ children: /* @__PURE__ */ (0, Y.jsx)("rect", {
width: a[r],
height: 1,
className: "fill-chart-4"
})
}),
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, X.jsx)(oa, {
+ n === "domain" ? /* @__PURE__ */ (0, Y.jsx)(oa, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, X.jsx)(oa, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, Y.jsx)(oa, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, X.jsx)(sa, { html: bt(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, Y.jsx)(sa, { html: St(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
avatar_focus: e.avatar_focus,
avatar_stand_in: e.avatar_stand_in
} : null, e.has_avatar ? e.representative_asset_id ?? null : null, n === "creator" ? "creator" : t || "performer") }) : null,
- /* @__PURE__ */ (0, X.jsxs)("span", {
+ /* @__PURE__ */ (0, Y.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, X.jsx)("b", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("b", {
className: "min-w-0 text-body-medium break-words text-text-primary",
children: e.name
- }), /* @__PURE__ */ (0, X.jsx)("small", {
+ }), /* @__PURE__ */ (0, Y.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: zt(e)
+ children: Vt(e)
})]
}),
- o ? /* @__PURE__ */ (0, X.jsx)(Lt, {
+ o ? /* @__PURE__ */ (0, Y.jsx)(zt, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
] }), l = "relative isolate flex min-h-11 w-full min-w-0 items-center gap-2.5 rounded-lg px-3 py-2 text-left";
- return /* @__PURE__ */ (0, X.jsx)("li", {
+ return /* @__PURE__ */ (0, Y.jsx)("li", {
className: "min-w-0",
- children: o ? /* @__PURE__ */ (0, X.jsx)("button", {
+ children: o ? /* @__PURE__ */ (0, Y.jsx)("button", {
type: "button",
onClick: () => i(t, e.name),
className: `${l} cursor-pointer outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: c
- }) : /* @__PURE__ */ (0, X.jsx)("div", {
+ }) : /* @__PURE__ */ (0, Y.jsx)("div", {
className: l,
children: c
})
@@ -2543,23 +2542,23 @@ function ca({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function la({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, X.jsxs)(We, {
+ return /* @__PURE__ */ (0, Y.jsxs)(We, {
className: `${F({ padding: "none" })} flex flex-col`,
- children: [/* @__PURE__ */ (0, X.jsx)("div", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, X.jsx)(lt, {
+ children: /* @__PURE__ */ (0, Y.jsx)(ut, {
"aria-label": e,
className: ct,
- children: t.map((e) => /* @__PURE__ */ (0, X.jsx)(Ue, {
+ children: t.map((e) => /* @__PURE__ */ (0, Y.jsx)(Ue, {
id: e.id,
className: st,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, X.jsx)(He, {
+ }), t.map((e) => /* @__PURE__ */ (0, Y.jsx)(He, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, X.jsx)(ca, {
+ children: /* @__PURE__ */ (0, Y.jsx)(ca, {
...e.props,
onSignal: n
})
@@ -2580,71 +2579,71 @@ function ua({ data: e, onSignal: t, navigate: n }) {
detail: e.detail,
act: () => n(e.route)
}))];
- return /* @__PURE__ */ (0, X.jsxs)("section", {
- className: Bi,
+ return /* @__PURE__ */ (0, Y.jsxs)("section", {
+ className: Q,
"aria-label": "口味总结",
children: [
- /* @__PURE__ */ (0, X.jsxs)("header", {
+ /* @__PURE__ */ (0, Y.jsxs)("header", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, X.jsx)("h3", {
+ /* @__PURE__ */ (0, Y.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: "口味总结"
}),
- /* @__PURE__ */ (0, X.jsx)("p", {
+ /* @__PURE__ */ (0, Y.jsx)("p", {
className: "max-w-prose text-title-2-regular wrap-anywhere text-text-primary",
children: r.headline
}),
- /* @__PURE__ */ (0, X.jsxs)("p", {
+ /* @__PURE__ */ (0, Y.jsxs)("p", {
className: "flex flex-wrap items-center gap-2 text-body-2-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, X.jsx)("i", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("i", {
"aria-hidden": !0,
className: `size-2 shrink-0 rounded-full ${i.level === "high" ? "bg-status-lime-text" : i.level === "medium" ? "bg-status-yellow-text" : "bg-text-tertiary"}`
- }), /* @__PURE__ */ (0, X.jsx)("span", {
+ }), /* @__PURE__ */ (0, Y.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: i.label || "仍在学习"
})]
})
]
}),
- r.points?.length ? /* @__PURE__ */ (0, X.jsx)("div", {
+ r.points?.length ? /* @__PURE__ */ (0, Y.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
- children: r.points.map((e) => /* @__PURE__ */ (0, X.jsxs)("div", {
+ children: r.points.map((e) => /* @__PURE__ */ (0, Y.jsxs)("div", {
className: `flex min-w-0 flex-col gap-1 ${Vi}`,
- children: [/* @__PURE__ */ (0, X.jsx)("span", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
- }), /* @__PURE__ */ (0, X.jsx)("b", {
+ }), /* @__PURE__ */ (0, Y.jsx)("b", {
className: "text-body-2-medium break-words text-text-primary",
children: e.text
})]
}, e.label))
}) : null,
- a.length ? /* @__PURE__ */ (0, X.jsx)("div", {
+ a.length ? /* @__PURE__ */ (0, Y.jsx)("div", {
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, X.jsxs)("button", {
+ children: a.map((e) => /* @__PURE__ */ (0, Y.jsxs)("button", {
type: "button",
onClick: e.act,
className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${Vi} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
- children: [/* @__PURE__ */ (0, X.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, Y.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
- children: [/* @__PURE__ */ (0, X.jsx)("b", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("b", {
className: "text-body-2-medium wrap-anywhere text-text-primary",
children: e.title
- }), /* @__PURE__ */ (0, X.jsx)("small", {
+ }), /* @__PURE__ */ (0, Y.jsx)("small", {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, X.jsx)(Lt, {
+ }), /* @__PURE__ */ (0, Y.jsx)(zt, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, X.jsx)(M, {
+ }) : /* @__PURE__ */ (0, Y.jsx)(M, {
size: "compact",
icon: R,
title: "还没有可探索的入口",
- actions: /* @__PURE__ */ (0, X.jsx)(Ge, {
+ actions: /* @__PURE__ */ (0, Y.jsx)(Ge, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -2662,47 +2661,47 @@ function da({ onboarding: e, done: t }) {
return !1;
}
});
- return t || n ? null : /* @__PURE__ */ (0, X.jsx)("div", {
+ return t || n ? null : /* @__PURE__ */ (0, Y.jsx)("div", {
className: F({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, X.jsxs)(Ke, {
+ children: /* @__PURE__ */ (0, Y.jsxs)(Ke, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
- /* @__PURE__ */ (0, X.jsx)("p", {
+ /* @__PURE__ */ (0, Y.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: $i
}),
- /* @__PURE__ */ (0, X.jsx)("p", {
+ /* @__PURE__ */ (0, Y.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: ea
}),
- /* @__PURE__ */ (0, X.jsxs)("ul", {
+ /* @__PURE__ */ (0, Y.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, X.jsxs)("li", { children: [
+ children: [/* @__PURE__ */ (0, Y.jsxs)("li", { children: [
"Chrome:在 ",
- /* @__PURE__ */ (0, X.jsxs)("a", {
+ /* @__PURE__ */ (0, Y.jsxs)("a", {
href: "https://takeout.google.com/",
target: "_blank",
rel: "noopener noreferrer",
className: "text-text-primary underline-offset-4 hover:underline",
- children: ["Google Takeout", /* @__PURE__ */ (0, X.jsx)(ht, {
+ children: ["Google Takeout", /* @__PURE__ */ (0, Y.jsx)(_t, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
})]
}),
" ",
"选择 Chrome 历史记录,下载 ZIP 后直接导入。"
- ] }), /* @__PURE__ */ (0, X.jsxs)("li", { children: [
+ ] }), /* @__PURE__ */ (0, Y.jsxs)("li", { children: [
"其他浏览器:用 ",
- /* @__PURE__ */ (0, X.jsxs)("a", {
+ /* @__PURE__ */ (0, Y.jsxs)("a", {
href: "https://github.com/purarue/browserexport",
target: "_blank",
rel: "noopener noreferrer",
className: "text-text-primary underline-offset-4 hover:underline",
- children: ["browserexport", /* @__PURE__ */ (0, X.jsx)(ht, {
+ children: ["browserexport", /* @__PURE__ */ (0, Y.jsx)(_t, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
})]
@@ -2711,13 +2710,13 @@ function da({ onboarding: e, done: t }) {
"导出历史记录,再导入导出文件。"
] })]
}),
- /* @__PURE__ */ (0, X.jsx)("p", {
+ /* @__PURE__ */ (0, Y.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: ta
}),
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, X.jsx)(j, {
+ children: /* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
size: "small",
onClick: () => {
@@ -2737,20 +2736,20 @@ function fa({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
let i = (0, U.useRef)(null), [a, o] = (0, U.useState)(!1), s = (e) => {
o(!1), e();
};
- return /* @__PURE__ */ (0, X.jsxs)(X.Fragment, { children: [/* @__PURE__ */ (0, X.jsxs)("span", {
+ return /* @__PURE__ */ (0, Y.jsxs)(Y.Fragment, { children: [/* @__PURE__ */ (0, Y.jsxs)("span", {
"data-button-group": !0,
"data-split-button": !0,
"data-variant": "primary",
- children: [/* @__PURE__ */ (0, X.jsx)(j, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(j, {
leadingIcon: qe,
title: Hi,
onClick: t,
...P(e),
children: "读取浏览器记录"
- }), /* @__PURE__ */ (0, X.jsx)(j, {
+ }), /* @__PURE__ */ (0, Y.jsx)(j, {
ref: i,
iconOnly: !0,
- leadingIcon: Tt,
+ leadingIcon: Dt,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": a,
@@ -2759,40 +2758,40 @@ function fa({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
e || o(!0);
}
})]
- }), /* @__PURE__ */ (0, X.jsx)(Ve, {
+ }), /* @__PURE__ */ (0, Y.jsx)(Ve, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
className: nt,
- children: /* @__PURE__ */ (0, X.jsxs)(rt, {
+ children: /* @__PURE__ */ (0, Y.jsxs)(rt, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [
- /* @__PURE__ */ (0, X.jsxs)("button", {
+ /* @__PURE__ */ (0, Y.jsxs)("button", {
type: "button",
- className: zi,
+ className: Bi,
onClick: () => s(t),
- children: [/* @__PURE__ */ (0, X.jsx)(qe, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(qe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器记录"]
}),
- /* @__PURE__ */ (0, X.jsxs)("button", {
+ /* @__PURE__ */ (0, Y.jsxs)("button", {
type: "button",
- className: zi,
+ className: Bi,
onClick: () => s(n),
- children: [/* @__PURE__ */ (0, X.jsx)(ot, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(ot, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
}),
- /* @__PURE__ */ (0, X.jsxs)("button", {
+ /* @__PURE__ */ (0, Y.jsxs)("button", {
type: "button",
- className: zi,
+ className: Bi,
onClick: () => s(r),
- children: [/* @__PURE__ */ (0, X.jsx)(Mt, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(Pt, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入书签文件"]
@@ -2803,46 +2802,46 @@ function fa({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
}
function pa({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {
let a = V({
- mutationFn: (e) => Vt(e, n),
+ mutationFn: (e) => Ut(e, n),
onSuccess: (e) => {
z.setQueryData(B(n), e.dashboard), r("已移除口味数据源");
}
});
- return /* @__PURE__ */ (0, X.jsxs)(Li, {
+ return /* @__PURE__ */ (0, Y.jsxs)(Ri, {
browsers: t,
sources: e,
range: n,
- children: [a.error ? /* @__PURE__ */ (0, X.jsx)("div", {
+ children: [a.error ? /* @__PURE__ */ (0, Y.jsx)("div", {
className: "sm:col-span-2",
- children: /* @__PURE__ */ (0, X.jsx)(N, {
+ children: /* @__PURE__ */ (0, Y.jsx)(N, {
tone: "error",
children: L(a.error)
})
- }) : null, e.length ? /* @__PURE__ */ (0, X.jsx)(X.Fragment, { children: e.filter((e) => !t.some((t) => t.source_keys?.includes(e.source_key))).map((e) => /* @__PURE__ */ (0, X.jsxs)("div", {
+ }) : null, e.length ? /* @__PURE__ */ (0, Y.jsx)(Y.Fragment, { children: e.filter((e) => !t.some((t) => t.source_keys?.includes(e.source_key))).map((e) => /* @__PURE__ */ (0, Y.jsxs)("div", {
"data-taste-source": "import",
- className: Ii,
+ className: Li,
children: [
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, X.jsx)(ot, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, Y.jsx)(ot, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, X.jsx)(_t, {
+ }) : /* @__PURE__ */ (0, Y.jsx)(yt, {
"aria-hidden": !0,
className: "size-4"
})
}),
- /* @__PURE__ */ (0, X.jsxs)("span", {
+ /* @__PURE__ */ (0, Y.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, X.jsx)("b", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("b", {
className: "min-w-0 text-body-2-medium break-words text-text-primary",
children: e.profile
- }), /* @__PURE__ */ (0, X.jsx)("small", {
+ }), /* @__PURE__ */ (0, Y.jsx)("small", {
className: "min-w-0 text-caption-1-regular break-words text-text-secondary",
children: `导入文件 · ${e.host} · ${Number(e.visits || e.bookmarks || 0).toLocaleString()} ${e.bookmarks ? "枚书签" : "条历史"}`
})]
}),
- /* @__PURE__ */ (0, X.jsx)(j, {
+ /* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
size: "small",
"aria-label": `移除 ${e.profile}`,
@@ -2851,7 +2850,7 @@ function pa({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {
leadingIcon: $e,
...P(a.isPending),
onClick: () => {
- a.isPending || Ct({
+ a.isPending || Tt({
title: "移除口味数据源",
body: na,
confirmLabel: "移除口味数据源",
@@ -2860,9 +2859,9 @@ function pa({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {
}
})
]
- }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, X.jsx)(M, {
+ }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, Y.jsx)(M, {
size: "compact",
- icon: _t,
+ icon: yt,
title: "还没有数据源",
actions: i,
children: Ui
@@ -2870,26 +2869,26 @@ function pa({ sources: e, browsers: t, window: n, toast: r, emptyActions: i }) {
});
}
function ma(e) {
- let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, U.useState)("all"), [s, c] = (0, U.useState)("browser"), l = (0, U.useRef)(null), u = (0, U.useRef)(null), d = en({
+ let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, U.useState)("all"), [s, c] = (0, U.useState)("browser"), l = (0, U.useRef)(null), u = (0, U.useRef)(null), d = rn({
queryKey: B(a),
- queryFn: ({ signal: e }) => Et(a, e),
- placeholderData: Ft,
- refetchInterval: (e) => Yt(e.state.data)
- }), { job: f, running: p, outcome: m, start: h } = $t({
- queryKey: ft,
- queryFn: ({ signal: e }) => Dt(e),
- start: () => Gt(a),
+ queryFn: ({ signal: e }) => Ot(a, e),
+ placeholderData: Lt,
+ refetchInterval: (e) => Qt(e.state.data)
+ }), { job: f, running: p, outcome: m, start: h } = nn({
+ queryKey: mt,
+ queryFn: ({ signal: e }) => kt(e),
+ start: () => qt(a),
idlePollMs: Ze,
onFinish: (e) => {
e.status !== "failed" && (z.invalidateQueries({ queryKey: ["taste"] }), r(e.warnings?.length ? "部分浏览记录未取得" : "已更新口味分析"));
}
}), g = V({
- mutationFn: (e) => Et(e, void 0, !0),
+ mutationFn: (e) => Ot(e, void 0, !0),
onSuccess: (e, t) => {
z.setQueryData(B(t), e);
}
}), _ = V({
- mutationFn: (e) => Pt(e),
+ mutationFn: (e) => It(e),
onSuccess: (e) => {
z.setQueryData(B("all"), e.dashboard), o("all"), r("已导入口味数据");
}
@@ -2899,78 +2898,78 @@ function ma(e) {
}, y = () => {
p || h.isPending || (h.reset(), h.mutate());
}, b = d.data;
- if (!b) return /* @__PURE__ */ (0, X.jsx)(tn, { children: /* @__PURE__ */ (0, X.jsx)(N, {
+ if (!b) return /* @__PURE__ */ (0, Y.jsx)(an, { children: /* @__PURE__ */ (0, Y.jsx)(N, {
tone: "error",
title: "口味分析读取失败",
children: d.error ? L(d.error) : "读取口味分析失败"
}) });
- let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, ee = b.storage || {}, w = qt(C.browser_categories || []), te = Rt(w).length > 0, T = b.gaps || [], E = S.tagged || 0, ne = S.identified || 0, re = h.error ? L(h.error) : _.error ? L(_.error) : g.error ? L(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "", ie = /* @__PURE__ */ (0, X.jsxs)("div", {
+ let x = b.summary || {}, S = b.coverage || {}, C = b.rankings || {}, ee = b.storage || {}, w = Xt(C.browser_categories || []), T = Bt(w).length > 0, te = b.gaps || [], E = S.tagged || 0, ne = S.identified || 0, re = h.error ? L(h.error) : _.error ? L(_.error) : g.error ? L(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "", ie = /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex flex-wrap justify-center gap-2",
- children: [/* @__PURE__ */ (0, X.jsx)(j, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
...P(p || h.isPending || _.isPending),
onClick: y,
children: "读取浏览器记录"
- }), /* @__PURE__ */ (0, X.jsx)(j, {
+ }), /* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
...P(_.isPending),
onClick: () => l.current?.click(),
children: "导入历史文件"
})]
});
- return /* @__PURE__ */ (0, X.jsx)(tn, { children: /* @__PURE__ */ (0, X.jsxs)(ia, {
- value: a === "all" ? s === "peach" ? /* @__PURE__ */ (0, X.jsx)(Ge, {
+ return /* @__PURE__ */ (0, Y.jsx)(an, { children: /* @__PURE__ */ (0, Y.jsxs)(ia, {
+ value: a === "all" ? s === "peach" ? /* @__PURE__ */ (0, Y.jsx)(Ge, {
size: "small",
variant: "secondary",
href: "/",
children: "浏览馆藏"
- }) : ie : /* @__PURE__ */ (0, X.jsx)(j, {
+ }) : ie : /* @__PURE__ */ (0, Y.jsx)(j, {
size: "small",
variant: "secondary",
onClick: () => o("all"),
children: "查看全部时间"
}),
children: [
- /* @__PURE__ */ (0, X.jsxs)(We, {
+ /* @__PURE__ */ (0, Y.jsxs)(We, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
- /* @__PURE__ */ (0, X.jsxs)("div", {
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, X.jsxs)(lt, {
+ children: [/* @__PURE__ */ (0, Y.jsxs)(ut, {
"aria-label": "口味分析的数据来源",
className: ct,
- children: [/* @__PURE__ */ (0, X.jsx)(Ue, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(Ue, {
id: "browser",
className: st,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, X.jsx)(Ue, {
+ }), /* @__PURE__ */ (0, Y.jsx)(Ue, {
id: "peach",
className: st,
children: "Peach 观看与评价"
})]
- }), /* @__PURE__ */ (0, X.jsxs)("div", {
+ }), /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, X.jsx)(ut, {
+ /* @__PURE__ */ (0, Y.jsx)(dt, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: pt.map(([e, t]) => /* @__PURE__ */ (0, X.jsx)(dt, {
+ children: ht.map(([e, t]) => /* @__PURE__ */ (0, Y.jsx)(ft, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, X.jsx)(fa, {
+ /* @__PURE__ */ (0, Y.jsx)(fa, {
busy: p || h.isPending || _.isPending,
onRefresh: y,
onImport: () => l.current?.click(),
onImportBookmarks: () => u.current?.click()
}),
- /* @__PURE__ */ (0, X.jsx)("input", {
+ /* @__PURE__ */ (0, Y.jsx)("input", {
ref: l,
type: "file",
tabIndex: -1,
@@ -2978,7 +2977,7 @@ function ma(e) {
className: "hidden",
onChange: v
}),
- /* @__PURE__ */ (0, X.jsx)("input", {
+ /* @__PURE__ */ (0, Y.jsx)("input", {
ref: u,
type: "file",
tabIndex: -1,
@@ -2990,112 +2989,112 @@ function ma(e) {
]
})]
}),
- /* @__PURE__ */ (0, X.jsx)(da, {
+ /* @__PURE__ */ (0, Y.jsx)(da, {
onboarding: i,
done: !!(x.history_sources || b.updated_at)
}),
- /* @__PURE__ */ (0, X.jsxs)("div", {
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- p ? /* @__PURE__ */ (0, X.jsx)(mt, {
+ p ? /* @__PURE__ */ (0, Y.jsx)(gt, {
label: f?.message || "正在读取浏览记录并更新口味分析",
value: f?.checked,
total: f?.total
}) : null,
- _.isPending ? /* @__PURE__ */ (0, X.jsx)(mt, { label: "正在导入口味数据" }) : null,
- b.stale && b.error ? /* @__PURE__ */ (0, X.jsx)(N, {
+ _.isPending ? /* @__PURE__ */ (0, Y.jsx)(gt, { label: "正在导入口味数据" }) : null,
+ b.stale && b.error ? /* @__PURE__ */ (0, Y.jsx)(N, {
tone: "error",
- action: /* @__PURE__ */ (0, X.jsx)(j, {
+ action: /* @__PURE__ */ (0, Y.jsx)(j, {
variant: "secondary",
size: "small",
...P(g.isPending),
onClick: () => g.mutate(a),
children: "立即重试"
}),
- children: `口味分析更新失败,当前显示 ${Xt(b.computed_at)} 的结果。${b.error}`
- }) : b.stale ? /* @__PURE__ */ (0, X.jsx)(mt, { label: `正在更新口味分析,当前显示 ${Xt(b.computed_at)} 的结果` }) : null,
- re ? /* @__PURE__ */ (0, X.jsx)(N, {
+ children: `口味分析更新失败,当前显示 ${$t(b.computed_at)} 的结果。${b.error}`
+ }) : b.stale ? /* @__PURE__ */ (0, Y.jsx)(gt, { label: `正在更新口味分析,当前显示 ${$t(b.computed_at)} 的结果` }) : null,
+ re ? /* @__PURE__ */ (0, Y.jsx)(N, {
tone: "error",
children: re
}) : null,
- m?.warnings?.length ? /* @__PURE__ */ (0, X.jsx)(N, {
+ m?.warnings?.length ? /* @__PURE__ */ (0, Y.jsx)(N, {
tone: "warning",
children: m.warnings.join(";")
}) : null
]
}),
- /* @__PURE__ */ (0, X.jsxs)(He, {
+ /* @__PURE__ */ (0, Y.jsxs)(He, {
id: "browser",
className: "flex flex-col gap-5",
children: [
- /* @__PURE__ */ (0, X.jsxs)("div", {
- className: nn,
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
+ className: lt,
children: [
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 0,
- icon: Qt,
+ icon: tn,
term: "浏览记录",
figure: Number(x.history_visits || 0).toLocaleString(),
- detail: Nt(x),
- detailTitle: `${Kt(x.range_start)}—${Kt(x.range_end)}`
+ detail: Ft(x),
+ detailTitle: `${Yt(x.range_start)}—${Yt(x.range_end)}`
}),
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 1,
- icon: It,
+ icon: Rt,
term: "口味维度",
figure: w.length.toLocaleString(),
detail: w[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 2,
icon: R,
term: "浏览线索",
- figure: T.length.toLocaleString()
+ figure: te.length.toLocaleString()
}),
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 3,
- icon: Mt,
+ icon: Pt,
term: "浏览器书签",
figure: Number(x.bookmarks || 0).toLocaleString(),
- detail: `${Number(ee.exports || 0).toLocaleString()} 份私有导出 · ${jt(ee.bytes || 0)}`
+ detail: `${Number(ee.exports || 0).toLocaleString()} 份私有导出 · ${Nt(ee.bytes || 0)}`
})
]
}),
- /* @__PURE__ */ (0, X.jsxs)("section", {
- className: te ? `${Bi} md:flex-row md:gap-6` : Bi,
+ /* @__PURE__ */ (0, Y.jsxs)("section", {
+ className: T ? `${Q} md:flex-row md:gap-6` : Q,
"aria-label": "浏览器画像",
- children: [/* @__PURE__ */ (0, X.jsxs)("div", {
- className: te ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",
+ children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
+ className: T ? "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0" : "flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",
children: [
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- te ? /* @__PURE__ */ (0, X.jsx)(Oi, {
+ T ? /* @__PURE__ */ (0, Y.jsx)(ki, {
rows: w,
label: "主要口味维度"
}) : null,
- /* @__PURE__ */ (0, X.jsx)("small", {
+ /* @__PURE__ */ (0, Y.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: b.updated_at ? `更新于 ${Kt(b.updated_at)}` : "尚未采集浏览记录"
+ children: b.updated_at ? `更新于 ${Yt(b.updated_at)}` : "尚未采集浏览记录"
})
]
- }), /* @__PURE__ */ (0, X.jsx)("div", {
+ }), /* @__PURE__ */ (0, Y.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: w.length ? /* @__PURE__ */ (0, X.jsx)(ki, {
+ children: w.length ? /* @__PURE__ */ (0, Y.jsx)(Ai, {
rows: w,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, X.jsx)(M, {
+ }) : /* @__PURE__ */ (0, Y.jsx)(M, {
size: "compact",
icon: R,
title: "暂无口味维度",
- actions: /* @__PURE__ */ (0, X.jsx)(aa, {}),
+ actions: /* @__PURE__ */ (0, Y.jsx)(aa, {}),
children: Gi
})
})]
}),
- /* @__PURE__ */ (0, X.jsx)(sn, {
+ /* @__PURE__ */ (0, Y.jsx)(sn, {
activity: b.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -3107,8 +3106,8 @@ function ma(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, X.jsx)(Ai, { flows: b.creator_flows }),
- /* @__PURE__ */ (0, X.jsx)(la, {
+ /* @__PURE__ */ (0, Y.jsx)(ji, { flows: b.creator_flows }),
+ /* @__PURE__ */ (0, Y.jsx)(la, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -3156,7 +3155,7 @@ function ma(e) {
id: "gaps",
name: "浏览线索",
props: {
- rows: T,
+ rows: te,
kind: "",
visual: "none",
empty: Ki
@@ -3166,73 +3165,73 @@ function ma(e) {
})
]
}),
- /* @__PURE__ */ (0, X.jsxs)(He, {
+ /* @__PURE__ */ (0, Y.jsxs)(He, {
id: "peach",
className: "flex flex-col gap-5",
children: [
- /* @__PURE__ */ (0, X.jsxs)("div", {
- className: nn,
+ /* @__PURE__ */ (0, Y.jsxs)("div", {
+ className: lt,
children: [
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 0,
- icon: gt,
+ icon: vt,
term: "Peach 看过",
figure: Number(x.peach_items || 0).toLocaleString(),
- detail: Jt(x.peach_seconds || 0)
+ detail: Zt(x.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 1,
- icon: yt,
+ icon: xt,
term: "喜欢",
figure: Number(x.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 2,
- icon: xt,
+ icon: Ct,
term: "不合口味",
figure: Number(x.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, X.jsx)($, {
+ /* @__PURE__ */ (0, Y.jsx)($, {
accent: 3,
- icon: It,
+ icon: Rt,
term: "有标签",
figure: E.toLocaleString()
})
]
}),
- /* @__PURE__ */ (0, X.jsxs)("section", {
- className: `${Bi} md:flex-row md:gap-6`,
+ /* @__PURE__ */ (0, Y.jsxs)("section", {
+ className: `${Q} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
- children: [/* @__PURE__ */ (0, X.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
children: [
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "Peach 观看"
}),
- /* @__PURE__ */ (0, X.jsx)("b", {
+ /* @__PURE__ */ (0, Y.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: Number(x.peach_items || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, X.jsx)("span", {
+ /* @__PURE__ */ (0, Y.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: "部作品有观看或评价记录"
})
]
- }), /* @__PURE__ */ (0, X.jsxs)("div", {
+ }), /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, X.jsx)(ha, {
+ children: [/* @__PURE__ */ (0, Y.jsx)(ha, {
term: "有标签",
value: E,
rest: S.untagged || 0
- }), /* @__PURE__ */ (0, X.jsx)(ha, {
+ }), /* @__PURE__ */ (0, Y.jsx)(ha, {
term: "有身份",
value: ne,
rest: S.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, X.jsx)(la, {
+ /* @__PURE__ */ (0, Y.jsx)(la, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -3272,12 +3271,12 @@ function ma(e) {
})
]
}),
- /* @__PURE__ */ (0, X.jsx)(ua, {
+ /* @__PURE__ */ (0, Y.jsx)(ua, {
data: b,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, X.jsx)(pa, {
+ /* @__PURE__ */ (0, Y.jsx)(pa, {
sources: b.sources || [],
browsers: b.browsers || [],
window: a,
@@ -3289,18 +3288,18 @@ function ma(e) {
}
function ha({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
- return /* @__PURE__ */ (0, X.jsxs)("div", {
+ return /* @__PURE__ */ (0, Y.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
- children: [/* @__PURE__ */ (0, X.jsxs)("p", {
+ children: [/* @__PURE__ */ (0, Y.jsxs)("p", {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
- children: [/* @__PURE__ */ (0, X.jsx)("span", { children: e }), /* @__PURE__ */ (0, X.jsxs)("b", {
+ children: [/* @__PURE__ */ (0, Y.jsx)("span", { children: e }), /* @__PURE__ */ (0, Y.jsxs)("b", {
className: "tabular-nums",
- children: [t.toLocaleString(), /* @__PURE__ */ (0, X.jsx)("span", {
+ children: [t.toLocaleString(), /* @__PURE__ */ (0, Y.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, X.jsx)(at, {
+ }), /* @__PURE__ */ (0, Y.jsx)(at, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -3309,4 +3308,4 @@ function ha({ term: e, value: t, rest: n }) {
}
export { ra as TASTE_GUIDE_KEY, ma as TastePage };
-//# debugId=62f24d84-b5ed-47a6-8679-31d01dffdedc
\ No newline at end of file
+//# debugId=bcd0ae7b-6e75-44c2-8d9b-2294d144da42
\ No newline at end of file