Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 统一云下载标题并补充封面头像和详情入口

longmeidao06fe19b70001
diff --git a/docs/REUSE.md b/docs/REUSE.md
index d1af87c94..ef08d4199 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -714,6 +714,10 @@ Python 复用 MIT 许可的 [Ruff](https://docs.astral.sh/ruff/) 0.17.0,版本
站点强调色检查覆盖进度、焦点、选中态、操作按钮与流光:旧 `--feedback-success` 引用既有强调色色阶;RSS 订阅保留橙色,信息、成功、警告、错误、品牌与图表分类保留语义色。
-任务中心的摘要复用结果字段白名单和 `Disclosure`:主区域以中文列表显示处理结果,原始字段与来源报告保留在「技术详情」。云下载复用 TanStack Query 5.104.3(MIT)的 `useInfiniteQuery`,按任务 id 倒序每批读取 20 条,轮询覆盖已加载页面;`has_more` 与 `next_before_id` 指定后续页面,更新状态不改变提交顺序。展示番号复用 `catalog_rules.release_code_from_filename`,保留已保存的番号,缺失时只展示名称中取得的唯一番号;冲突或未识别时不推断,不写真实 ledger。标题与状态保持一行,可展开完整标题。未新增依赖。
+任务中心的摘要复用结果字段白名单和 `Disclosure`:主区域以中文列表显示处理结果,原始字段与来源报告保留在「技术详情」。云下载复用 TanStack Query 5.104.3(MIT)的 `useInfiniteQuery`,按任务 id 倒序每批读取 20 条,轮询覆盖已加载页面;`has_more` 与 `next_before_id` 指定后续页面,更新状态不改变提交顺序。展示番号复用 `catalog_rules.release_code_from_filename`,优先已保存的番号和已绑定作品的番号,缺失时只展示名称中取得的唯一番号;冲突或未识别时不推断。标题资料按页批量读取已绑定作品的 `catalog_title`/`original_title`,其次使用提交标题和 `jav_fallback_title` 清理后的资源名称;`display_code`/`display_title` 是只读投影,不写真实 ledger。卡片复用 `javTitleParts` 去除标题开头的重复番号,以「番号 · 标题」显示,缺少标题时只显示番号。标题单行截断,状态在桌面与标题同行,窄屏另起一行;完整标题可展开。未新增依赖。
+
+云下载卡片的 `artwork` 只读取已入库任务绑定的本机资产,复用 `attach_artwork_fields`、`attach_card_performers`、`coverImage`、`ArtSlot` 与 `avatarInner`;封面沿用缩略图、版本和正封取景,女优头像沿用实体图片及姓名回退。页面轮询同步入库资料,提交与进度跟踪不等待图片,不额外创建取图任务或请求外部来源。没有封面时保留占位,图片失败使用共享回退处理。未新增依赖或 ledger 写入。
+
+桌面封面与右侧标题到按钮等高,取景复用 `coverAnchor` 并通过 `ResizeObserver` 同步实际容器比例;手机使用固定比例小封面。展开的完整标题位于卡片信息区下方,封面高度保持稳定。已入库且具有 `asset_id` 的任务,封面和标题使用原生链接打开 `/assets/:id`,同时保留新标签页与键盘访问;其他任务不提供详情链接。
普通 Toast 与扫描任务卡共用 Agent Progress 外框,16px 半径由通知栈内的既有 token 解析,细边框与接触阴影分别复用 `border-button-default`、`elevation-xs`,不改变内容排版。浏览器回归核对桌面、手机和明暗主题下的外框一致性,并以同一任务、同一内容回放外框基线生成对比图。
diff --git a/frontend/e2e/design-activity.test.ts b/frontend/e2e/design-activity.test.ts
index 3812ab1c6..cee84c264 100644
--- a/frontend/e2e/design-activity.test.ts
+++ b/frontend/e2e/design-activity.test.ts
@@ -1,20 +1,25 @@
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import type { Browser } from 'playwright-core';
-import { installDesignBrowser } from './design-fixture.ts';
-import { settle, visit, VIEWPORTS } from './harness.ts';
+import { installDesignBrowser, PIXEL } from './design-fixture.ts';
+import { requiredEnv, settle, visit, VIEWPORTS } from './harness.ts';
describe('任务页云下载布局', () => {
let browser: Browser;
installDesignBrowser((next) => { browser = next; });
- for (const viewport of VIEWPORTS) it(`${viewport.name} 标题与状态保持一行,长标题可展开`, async () => {
+ for (const viewport of VIEWPORTS) it(`${viewport.name} 左侧封面可见,番号完整,长标题可展开`, async () => {
const title = '制作记录与采访合集:摄影、场景设计及幕后访谈 '.repeat(12);
+ const assetId = Number(requiredEnv('PEACH_E2E_ITEM'));
const opened = await visit(browser, '/tasks', viewport, async (page) => {
+ await page.route('**/cover?*', (route) => route.fulfill({ contentType: 'image/png', body: Buffer.from(PIXEL, 'base64') }));
+ await page.route('**/entity-image?*', (route) => route.fulfill({ contentType: 'image/png', body: Buffer.from(PIXEL, 'base64') }));
await page.route('**/api/downloads?*', (route) => route.fulfill({ json: {
available: false, providers: [], tasks: [{ id: 1, title, code: 'ABC-123', provider: '115',
provider_label: '115', state: 'ingested', state_label: '已入库',
postprocess_state: 'complete', postprocess_label: '整理完成', target: '/云下载',
- source_uri: '', submitted_at: '2026-10-01T00:00:00Z' }],
+ source_uri: '', submitted_at: '2026-10-01T00:00:00Z', asset_id: assetId,
+ artwork: { id: 10, code: 'ABC-123', has_cover: true, cover_key: 'ABC-123',
+ performer_entities: [{ id: 30, name: '测试女优', has_image: true }] } }],
} }));
});
try {
@@ -23,26 +28,58 @@ describe('任务页云下载布局', () => {
await settle(page);
const geometry = await page.locator('[data-download-id="1"]').evaluate((card) => {
const heading = card.querySelector('strong')!;
+ const titleContent = heading.querySelector('a') || heading;
const row = heading.parentElement!;
const metadata = row.nextElementSibling!;
const provider = [...metadata.querySelectorAll('span')].filter((span) => span.textContent === '115').at(-1)!;
const detail = metadata.lastElementChild!;
+ const cover = card.querySelector('[data-download-cover]')!;
+ const detailColumn = cover.nextElementSibling!;
+ const picture = cover.querySelector('img') as HTMLImageElement;
+ const avatar = card.querySelector('[data-media-avatar] img') as HTMLImageElement;
+ const code = document.createRange();
+ const headingText = heading.querySelector('a')?.firstChild || heading.firstChild!;
+ code.setStart(headingText, 0);
+ code.setEnd(headingText, 'ABC-123'.length);
return { title: heading.getBoundingClientRect().height,
line: Number.parseFloat(getComputedStyle(heading).lineHeight),
- row: row.getBoundingClientRect().height, clipped: heading.scrollWidth > heading.clientWidth,
+ row: row.getBoundingClientRect().height, clipped: titleContent.scrollWidth > titleContent.clientWidth,
overflow: document.documentElement.scrollWidth > window.innerWidth,
- providerTop: provider.getBoundingClientRect().top, detailTop: detail.getBoundingClientRect().top };
+ providerTop: provider.getBoundingClientRect().top, metadataTop: detail.getBoundingClientRect().top,
+ coverLeft: cover.getBoundingClientRect().left, textLeft: heading.getBoundingClientRect().left,
+ coverTop: cover.getBoundingClientRect().top, coverBottom: cover.getBoundingClientRect().bottom,
+ coverHeight: cover.getBoundingClientRect().height,
+ detailTop: detailColumn.getBoundingClientRect().top, detailBottom: detailColumn.getBoundingClientRect().bottom,
+ coverReady: picture.complete && picture.naturalWidth > 0, avatarReady: avatar.complete && avatar.naturalWidth > 0,
+ codeFits: code.getBoundingClientRect().width <= heading.clientWidth };
});
assert.equal(geometry.title, geometry.line);
assert.ok(geometry.row < geometry.line * 2);
assert.equal(geometry.clipped, true);
+ assert.equal(geometry.codeFits, true, '番号不能被状态标签挤掉');
assert.equal(geometry.overflow, false);
- assert.equal(geometry.providerTop, geometry.detailTop, '来源文字与番号、路径、时间没有对齐');
+ assert.ok(geometry.coverLeft < geometry.textLeft);
+ if (!viewport.mobile) {
+ assert.equal(geometry.coverTop, geometry.detailTop);
+ assert.equal(geometry.coverBottom, geometry.detailBottom);
+ }
+ assert.equal(geometry.coverReady, true);
+ assert.equal(geometry.avatarReady, true);
+ assert.equal(await page.locator('[data-download-cover]').getByText('无封面').count(), 0);
+ assert.equal(geometry.providerTop, geometry.metadataTop, '来源文字与目录、时间没有对齐');
await page.screenshot({ path: `../build/agent-verification/browser/activity-${viewport.name}.png`, fullPage: true });
await page.getByRole('button', { name: '展开标题', exact: true }).click();
- assert.equal(await page.locator('[data-download-title-full]').textContent(), title);
+ assert.equal(await page.locator('[data-download-title-full]').textContent(), `ABC-123 · ${title.trim()}`);
+ assert.equal(await page.locator('[data-download-cover]').evaluate(cover => cover.getBoundingClientRect().height), geometry.coverHeight);
await page.getByRole('button', { name: '收起标题', exact: true }).click();
assert.equal(await page.locator('[data-download-title-full]').count(), 0);
+ for (const selector of ['[data-download-cover-link]', '[data-download-title-link]']) {
+ await page.locator(selector).click();
+ await page.waitForURL(`**/assets/${assetId}`);
+ await page.goBack();
+ await page.locator('[data-download-id="1"]').waitFor();
+ await settle(page);
+ }
assert.deepEqual(opened.problems, []);
} finally { await opened.close(); }
});
diff --git a/frontend/src/react/activity/downloads-panel.tsx b/frontend/src/react/activity/downloads-panel.tsx
index 499398bb1..50dd27ccb 100644
--- a/frontend/src/react/activity/downloads-panel.tsx
+++ b/frontend/src/react/activity/downloads-panel.tsx
@@ -7,7 +7,7 @@
*
* 一条任务都没有时整段不画。失败的任务给中文原因;失败、取消与停滞的可以重新提交,被判
* 违规的不给(服务端也会拒)。每张卡都能复制磁力:接口失效时退回手动添加。 */
-import { useId, useState } from 'react';
+import { useId, useLayoutEffect, useRef, useState, type CSSProperties } from 'react';
import { useInfiniteQuery, useQueryClient } from '@tanstack/react-query';
import { RiArrowDownSLine } from '@remixicon/react';
@@ -15,6 +15,7 @@ import { Chip } from '@/components/base/badges/chip';
import { Button } from '@/components/base/buttons/button';
import { apiGet, apiSend, errorMessage } from '../../api';
+import { javTitleParts } from '../../core/jav-title';
import type { DownloadsSnapshot, DownloadTask } from '../bundle';
import { cardClass } from '../components/card';
import { Note } from '../components/note';
@@ -23,6 +24,9 @@ import { ErrorText } from '../settings/section';
import { busyProps, useAction } from '../settings/use-action';
import { momentText } from './tasks';
import { SourceLabel } from '../components/source-label';
+import { ArtSlot } from '../components/art-slot';
+import { avatarInner, coverAnchor, coverImage, relayoutCovers } from '@peach/card-art';
+import { entityPath } from '@peach/legacy/core';
export const DOWNLOADS_URL = '/api/downloads';
export const DOWNLOADS_KEY = ['downloads'] as const;
@@ -36,8 +40,13 @@ const STATE_COLORS: Record<string, 'lime' | 'rose' | 'yellow'> = {
ingested: 'lime', failed: 'rose', cancelled: 'yellow', stalled: 'yellow',
};
-const taskName = (task: DownloadTask) =>
- task.title || task.display_name || task.remote_name || task.code || `磁力 ${task.info_hash?.slice(0, 8) ?? task.id}`;
+const taskName = (task: DownloadTask) => {
+ const code = task.display_code || task.code || '';
+ const { title } = javTitleParts({
+ is_jav: Boolean(code), code, name: task.display_title ?? task.title ?? task.display_name ?? task.remote_name,
+ });
+ return [code, title].filter(Boolean).join(' · ') || `磁力 ${task.info_hash?.slice(0, 8) ?? task.id}`;
+};
export const failureText = (task: DownloadTask) =>
task.failure_label ? [task.failure_label, task.failure_detail].filter(Boolean).join(':') : '';
@@ -82,9 +91,29 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
const [copied, setCopied] = useState(false);
const [fullTitle, setFullTitle] = useState(false);
const titleId = useId();
+ const cover = useRef<HTMLDivElement>(null);
+ useLayoutEffect(() => {
+ const box = cover.current;
+ if (!box) return;
+ const frame = () => {
+ const { width, height } = box.getBoundingClientRect();
+ if (!width || !height) return;
+ box.style.setProperty('--card-ratio', `${width} / ${height}`);
+ box.querySelectorAll<HTMLImageElement>('img.cover').forEach((image) => {
+ if (image.complete && image.naturalWidth) coverAnchor(image);
+ });
+ };
+ const observer = new ResizeObserver(frame);
+ observer.observe(box);
+ frame();
+ return () => observer.disconnect();
+ }, []);
const reason = failureText(task);
+ const artwork = task.artwork;
+ const people = artwork?.performer_entities || [];
+ const detailHref = task.state === 'ingested' && task.asset_id ? `/assets/${task.asset_id}` : undefined;
const failed = task.state === 'failed' || task.postprocess_state === 'failed';
- const meta = [task.display_code || task.code || '番号未识别', task.target, momentText(task.submitted_at)]
+ const meta = [task.display_code || task.code ? '' : '番号未识别', task.target, momentText(task.submitted_at)]
.filter(Boolean).join(' · ');
const refresh = () => { void client.invalidateQueries({ queryKey: DOWNLOADS_KEY }) };
@@ -110,9 +139,21 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
padding: 'none', bordered: 'line',
className: failed ? 'flex flex-col border-border-error-default' : 'flex flex-col',
})}>
- <div className="flex flex-col gap-1.5 px-5 pt-5 pb-4">
- <div className="flex min-w-0 items-center gap-2">
- <strong className="min-w-0 flex-1 truncate text-title-1-medium text-text-primary" title={taskName(task)}>{taskName(task)}</strong>
+ <div className="flex items-start gap-3 px-5 pt-5 pb-4">
+ <div ref={cover} data-download-cover="" style={{ '--card-ratio': '3 / 4' } as CSSProperties}
+ className="relative flex aspect-3/4 w-20 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-regular text-text-secondary sm:aspect-auto sm:w-24 sm:self-stretch">
+ {!artwork?.has_cover ? <span>无封面</span> : null}
+ {artwork?.has_cover ? <ArtSlot artwork={{ kind: 'cover', html: coverImage(artwork, 'big') }}
+ relayout={(root) => relayoutCovers(root, 'big')} /> : null}
+ {detailHref ? <a data-download-cover-link="" href={detailHref} aria-label={`打开作品详情:${taskName(task)}`}
+ 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}
+ </div>
+ <div className="flex min-w-0 flex-1 flex-col gap-1.5">
+ <div className="flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2">
+ <strong className="min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto" title={taskName(task)}>
+ {detailHref ? <a data-download-title-link="" href={detailHref}
+ className="block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring">{taskName(task)}</a> : taskName(task)}
+ </strong>
<div className="flex shrink-0 items-center gap-2">
<Chip color={STATE_COLORS[task.state] ?? 'neutral'}>{task.state_label}</Chip>
{task.state === 'ingested'
@@ -122,7 +163,15 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
</div>
</div>
<div className="flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary"><span className="flex shrink-0"><SourceLabel source={task.provider} label={task.provider_label} /></span><span className="min-w-0 truncate" title={meta}>{meta}</span></div>
- {fullTitle ? <p id={titleId} data-download-title-full className="wrap-anywhere text-body-2-regular text-text-secondary">{taskName(task)}</p> : null}
+ {people.length ? <div className="flex min-w-0 items-center gap-2">
+ <div className="flex shrink-0 items-center gap-1">
+ {people.slice(0, 3).map((person) => <a key={person.id || person.name} data-media-avatar=""
+ href={entityPath('performer', person.name, person.id)} aria-label={`打开女优页:${person.name}`} title={person.name}
+ dangerouslySetInnerHTML={{ __html: avatarInner(person.name, person, null) }} />)}
+ </div>
+ <span className="min-w-0 truncate text-caption-1-regular text-text-secondary"
+ title={people.map((person) => person.name).join('、')}>{people.map((person) => person.name).join('、')}{(artwork?.performer_total || 0) > people.length ? ` 等 ${artwork!.performer_total} 人` : ''}</span>
+ </div> : null}
{task.state === 'remote_running' && task.progress != null
? <Progress label="远端下载进度" value={Math.round(task.progress * 100)} max={100} />
: null}
@@ -145,7 +194,9 @@ function TaskCard({ task, writable }: { task: DownloadTask; writable: boolean })
: null}
<Button variant="ghost" size="small" onClick={copy}>{copied ? '已复制磁力' : '复制磁力'}</Button>
</div>
+ </div>
</div>
+ {fullTitle ? <p id={titleId} data-download-title-full className="wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary">{taskName(task)}</p> : null}
{reason || task.postprocess_detail
? <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">
<p className="wrap-anywhere text-caption-1-regular text-text-secondary">{reason || postprocessDetail(task)}</p>
diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.ts
index 1264163cf..1032c640f 100644
--- a/frontend/src/react/bundle.d.ts
+++ b/frontend/src/react/bundle.d.ts
@@ -18,6 +18,7 @@ import type { SidebarApi, SidebarHost } from './sidebar/sidebar-api';
import type { ManageHeaderApi, ManageHeaderHost } from './manage-header/manage-header-api';
import type { BatchDockApi, BatchDockHost } from './batch-dock/batch-dock-api';
import type { GlowPickerHost } from './glow-picker/glow-picker-api';
+import type { CoverItem, FaceRef } from '@peach/card-art';
export type { IndexProps };
export type { CatalogGridProps };
@@ -175,6 +176,8 @@ export interface DownloadTask {
title: string | null;
origin: string | null;
display_code?: string | null;
+ display_title?: string | null;
+ artwork?: (CoverItem & { performer_entities?: (FaceRef & { name: string })[]; performer_total?: number }) | null;
state: string;
state_label: string;
failure: string | null;
diff --git a/frontend/test/react/downloads-panel.test.tsx b/frontend/test/react/downloads-panel.test.tsx
index c373ca7c8..6804eab74 100644
--- a/frontend/test/react/downloads-panel.test.tsx
+++ b/frontend/test/react/downloads-panel.test.tsx
@@ -1,5 +1,6 @@
/* 活动页云下载段的行为:任务卡给哪些键、没有任务时整段不画、只读端不给写操作。 */
import { QueryClientProvider } from '@tanstack/react-query';
+import { act } from 'react';
import { afterEach, expect, it, vi } from 'vitest';
import { DownloadsPanel, downloadPollInterval } from '../../src/react/activity/downloads-panel';
@@ -55,6 +56,53 @@ const show = async () => {
return host;
};
+it.each([
+ [{ title: '制作记录' }, 'ABC-123 · 制作记录'],
+ [{ title: 'ABC-123 制作记录' }, 'ABC-123 · 制作记录'],
+ [{ title: 'ABC-123' }, 'ABC-123'],
+ [{ title: null, display_title: '', display_code: 'ABC-123' }, 'ABC-123'],
+ [{ title: 'ABC-123', display_title: '作品资料中的标题' }, 'ABC-123 · 作品资料中的标题'],
+ [{ code: null, display_code: 'XYZ-456', display_title: '制作花絮' }, 'XYZ-456 · 制作花絮'],
+ [{ code: null, title: '制作记录', display_name: '' }, '制作记录'],
+] as [Partial<DownloadTask>, string][])('云下载卡片用番号和标题标识作品:%j', async (patch, expected) => {
+ serve(snapshot({ tasks: [task(patch)] }));
+ const host = await show();
+ expect(host.querySelector('strong')?.textContent).toBe(expected);
+ await click(buttonNamed('展开标题', host));
+ expect(host.querySelector('[data-download-title-full]')?.textContent).toBe(expected);
+});
+
+it('入库资料随轮询补上本机封面和女优头像,不发起来源取图', async () => {
+ const shown = snapshot({ tasks: [task()] });
+ const { calls } = serve(shown);
+ const host = await show();
+ expect(host.querySelector('[data-download-cover] img')).toBeNull();
+ expect(buttonNamed('取消', host)).not.toBeNull();
+ const refreshed = serve(snapshot({ tasks: [task({ state: 'ingested', cancellable: false, artwork: {
+ has_cover: true, code: 'ABC-123', cover_key: 'ABC-123', cover_version: 'v2',
+ performer_entities: [{ id: 20, name: '测试女优', has_image: true, image_version: 'a2' }],
+ } })] }));
+ await act(async () => { await queryClient.invalidateQueries({ queryKey: ['downloads'] }); });
+ await vi.waitFor(async () => {
+ await settle();
+ expect(host.querySelector('[data-download-cover] img')?.getAttribute('src')).toBe('/cover?code=ABC-123&thumb=1&v=v2');
+ });
+ expect(host.querySelector('[data-media-avatar] img')?.getAttribute('src')).toContain('/entity-image?');
+ expect(host.querySelector('[data-media-avatar]')?.getAttribute('aria-label')).toBe('打开女优页:测试女优');
+ expect([...calls, ...refreshed.calls].every(([url]) => url.startsWith('/api/downloads'))).toBe(true);
+});
+
+it.each([
+ [{ state: 'ingested', asset_id: 42 }, '/assets/42'],
+ [{ state: 'ingested', asset_id: null }, null],
+ [{ state: 'remote_running', asset_id: 42 }, null],
+] as [Partial<DownloadTask>, string | null][])('只有已入库并关联作品的任务提供封面和标题链接:%j', async (patch, href) => {
+ serve(snapshot({ tasks: [task(patch)] }));
+ const host = await show();
+ expect(host.querySelector('[data-download-cover-link]')?.getAttribute('href') ?? null).toBe(href);
+ expect(host.querySelector('[data-download-title-link]')?.getAttribute('href') ?? null).toBe(href);
+});
+
it('远端在跑的任务给进度与取消键,取消发到取消接口', async () => {
const { posts } = serve(snapshot({ tasks: [task()] }), { '/api/downloads/cancel': { ok: true, task: task() } });
const host = await show();
diff --git a/src/peach/downloads.py b/src/peach/downloads.py
index ac8fa17d7..fae30ecf5 100644
--- a/src/peach/downloads.py
+++ b/src/peach/downloads.py
@@ -293,19 +293,29 @@ class DownloadTask:
def from_row(cls, row: sqlite3.Row) -> "DownloadTask":
return cls(**{name: row[name] for name in row.keys()})
- def payload(self) -> dict:
- from .catalog_rules import release_code_from_filename
+ def payload(self, asset: dict | None = None) -> dict:
+ from .catalog_rules import jav_fallback_title, release_code_from_filename, same_release_code
kind = FAILURE_KINDS.get(self.failure or "")
codes = {code for name in (self.remote_name, self.display_name, self.title)
if name and (code := release_code_from_filename(name))}
- display_code = self.code or (next(iter(codes)) if len(codes) == 1 else None)
+ display_code = self.code or (asset or {}).get("code") or (next(iter(codes)) if len(codes) == 1 else None)
+ matched_asset = asset if asset and (not display_code or not asset.get("code")
+ or same_release_code(display_code, asset["code"])) else {}
+ display_title = next((str(matched_asset.get(field) or "").strip()
+ for field in ("catalog_title", "original_title")
+ if str(matched_asset.get(field) or "").strip()), "")
+ if not display_title:
+ display_title = (self.title or "").strip() if jav_fallback_title(self.title, display_code) else ""
+ if not display_title:
+ display_title = next((title for name in (self.display_name, self.remote_name)
+ if (title := jav_fallback_title(name, display_code))), "")
return {
"id": self.id, "info_hash": self.info_hash, "provider": self.provider,
"provider_label": PROVIDER_LABELS.get(self.provider, self.provider),
"source_uri": self.source_uri, "display_name": self.display_name,
"target": self.target, "code": self.code, "title": self.title, "origin": self.origin,
- "display_code": display_code,
+ "display_code": display_code, "display_title": display_title,
"state": self.state, "state_label": STATE_LABELS.get(self.state, self.state),
"failure": self.failure, "failure_label": kind.label if kind else None,
"failure_detail": self.failure_detail,
@@ -378,6 +388,17 @@ class DownloadStore:
f"SELECT * FROM download_task{where} ORDER BY id DESC LIMIT ?", args).fetchall()
return [DownloadTask.from_row(row) for row in rows]
+ def display_assets(self, tasks: list[DownloadTask]) -> dict[int, dict]:
+ """一页任务已绑定作品的只读标题资料。"""
+ ids = sorted({task.asset_id for task in tasks if task.asset_id is not None})
+ if not ids:
+ return {}
+ with self.database.read_connection() as connection:
+ rows = connection.execute(
+ "SELECT id,code,catalog_title,original_title FROM asset "
+ f"WHERE id IN ({','.join('?' for _ in ids)})", ids).fetchall()
+ return {row["id"]: dict(row) for row in rows}
+
def due(self, now: float) -> list[DownloadTask]:
states = tuple(sorted(TRACKED_STATES))
marks = ",".join("?" for _ in states)
@@ -711,10 +732,11 @@ class DownloadService:
rows = self.store.page(limit + 1, before_id)
tasks = rows[:limit]
has_more = len(rows) > limit
+ assets = self.store.display_assets(tasks)
return {
"available": self.available,
"providers": [self._provider_state(key) for key in PROVIDER_LABELS],
- "tasks": [task.payload() for task in tasks],
+ "tasks": [task.payload(assets.get(task.asset_id)) for task in tasks],
"has_more": has_more,
"next_before_id": tasks[-1].id if has_more else None,
}
diff --git a/src/peach/web_downloads.py b/src/peach/web_downloads.py
index 445bc5949..39b4af6b4 100644
--- a/src/peach/web_downloads.py
+++ b/src/peach/web_downloads.py
@@ -79,7 +79,31 @@ def q_downloads(contract, args) -> dict:
raise ValueError("下载任务分页位置无效") from None
if before_id is not None and before_id < 1:
raise ValueError("下载任务分页位置无效")
- return _service(contract).snapshot(limit, before_id=before_id)
+ snapshot = _service(contract).snapshot(limit, before_id=before_id)
+ _attach_library_artwork(contract, snapshot["tasks"])
+ return snapshot
+
+
+def _attach_library_artwork(contract, tasks: list[dict]) -> None:
+ """已入库任务复用本机馆藏封面与人物资料;不发起远端取图。"""
+ from .catalog_rules import same_release_code
+ from .web_catalog import attach_artwork_fields, attach_card_performers
+
+ ids = sorted({task["asset_id"] for task in tasks if task["state"] == "ingested" and task["asset_id"]})
+ assets = {}
+ if ids:
+ with contract.read_connection() as connection:
+ rows = connection.execute(
+ f"SELECT id,code FROM asset WHERE id IN ({','.join('?' for _ in ids)})", ids).fetchall()
+ assets = {row["id"]: dict(row) for row in rows}
+ attach_card_performers(contract, list(assets.values()))
+ for asset in assets.values():
+ attach_artwork_fields(contract, asset)
+ for task in tasks:
+ asset = assets.get(task["asset_id"]) if task["state"] == "ingested" else None
+ if asset and task["display_code"] and asset["code"] and not same_release_code(task["display_code"], asset["code"]):
+ asset = None
+ task["artwork"] = asset
def w_download_submit(contract, body) -> dict:
diff --git a/tests/test_web_downloads.py b/tests/test_web_downloads.py
index c62f0b1c2..0b46e9f91 100644
--- a/tests/test_web_downloads.py
+++ b/tests/test_web_downloads.py
@@ -13,7 +13,7 @@ from unittest import mock
import httpx
from fastapi.testclient import TestClient
-from peach import download_postprocess
+from peach import download_postprocess, entities
from peach import downloads as dl
from peach import downloads_clouddrive, web_downloads
from peach.api import create_app
@@ -92,6 +92,39 @@ class _App(unittest.TestCase):
class RouteTests(_App):
+ def test_download_artwork_uses_local_library_images_after_ingestion(self):
+ from PIL import Image
+
+ contract = self.app.state.web_contract
+ contract.cover_root = self.root / "covers"
+ contract.avatar_root = self.root / "avatars"
+ contract.cover_root.mkdir()
+ contract.avatar_root.mkdir()
+ Image.new("RGB", (640, 360), "white").save(contract.cover_root / "ABC-123.jpg")
+ with self.service.store.database.write_transaction() as connection:
+ asset_id = connection.execute(
+ "INSERT INTO asset(location,path,name,medium,code) VALUES(?,?,?,?,?)",
+ ("115", "B:\\云下载\\ABC-123.mp4", "ABC-123.mp4", "video", "ABC-123"),
+ ).lastrowid
+ performer_id = entities.upsert_asset_entity(
+ connection, kind="performer", name="测试女优", asset_id=asset_id,
+ role="performer", source="test:downloads")
+ Image.new("RGB", (128, 128), "white").save(
+ contract.avatar_root / f"performer-{performer_id}.img", format="JPEG")
+ task = self.service.store.save(dl.DownloadTask(
+ id=0, info_hash="d" * 40, provider="115", source_uri="magnet:?xt=urn:btih:" + HASH,
+ display_name="ABC-123", code="ABC-123", target="/云下载", state=dl.REMOTE_RUNNING,
+ asset_id=asset_id))
+ self.assertIsNone(self.client.get("/api/downloads").json()["tasks"][0]["artwork"])
+ task.state = dl.INGESTED
+ self.service.store.save(task)
+ artwork = self.client.get("/api/downloads").json()["tasks"][0]["artwork"]
+ self.assertTrue(artwork["has_cover"])
+ self.assertEqual(artwork["cover_key"], "ABC-123")
+ self.assertEqual([(ref["name"], ref["has_image"]) for ref in artwork["performer_entities"]],
+ [("测试女优", True)])
+ self.assertEqual(self.provider.submitted, [])
+
def test_the_contract_and_the_app_share_one_service(self):
self.assertIs(self.app.state.web_contract.downloads, self.service)
@@ -130,6 +163,36 @@ class RouteTests(_App):
for position in ("nope", "0", "-1"):
self.assertEqual(self.client.get(f"/api/downloads?before_id={position}").status_code, 400)
+ def test_download_titles_use_bound_work_metadata_without_changing_saved_tasks(self):
+ with self.service.store.database.write_transaction() as connection:
+ asset_id = connection.execute(
+ "INSERT INTO asset(location,path,name,medium,code,catalog_title) VALUES(?,?,?,?,?,?)",
+ ("115", "B:\\云下载\\ABC-123.mp4", "ABC-123.mp4", "video", "ABC-123", "制作记录与访谈"),
+ ).lastrowid
+ bound = self.service.store.save(dl.DownloadTask(
+ id=0, info_hash="a" * 40, provider="115", source_uri="magnet:?xt=urn:btih:" + HASH,
+ display_name="ABC-123", target="/云下载", state=dl.INGESTED,
+ title="ABC-123", asset_id=asset_id))
+ named = self.service.store.save(dl.DownloadTask(
+ id=0, info_hash="b" * 40, provider="115", source_uri="magnet:?xt=urn:btih:" + HASH,
+ display_name="XYZ-456 制作花絮.mp4", target="/云下载", state=dl.FAILED, code="XYZ-456"))
+ listed = {task["id"]: task for task in self.client.get("/api/downloads").json()["tasks"]}
+ self.assertEqual((listed[bound.id]["display_code"], listed[bound.id]["display_title"]),
+ ("ABC-123", "制作记录与访谈"))
+ self.assertEqual((listed[named.id]["display_code"], listed[named.id]["display_title"]),
+ ("XYZ-456", "制作花絮"))
+ self.assertEqual(self.service.store.get(bound.id).title, "ABC-123")
+ self.assertIsNone(self.service.store.get(bound.id).code)
+ with self.service.store.database.write_transaction() as connection:
+ connection.execute("UPDATE asset SET catalog_title=NULL,original_title=? WHERE id=?",
+ ("原始作品标题", asset_id))
+ self.assertEqual(self.client.get("/api/downloads").json()["tasks"][1]["display_title"], "原始作品标题")
+ bound.code = "DEF-456"
+ bound.title = "提交时的标题"
+ self.service.store.save(bound)
+ conflicted = self.client.get("/api/downloads").json()["tasks"][1]
+ self.assertEqual((conflicted["display_code"], conflicted["display_title"]), ("DEF-456", "提交时的标题"))
+
def test_failed_postprocess_can_be_requeued_without_resubmitting(self):
result = self.service.submit(
source=f"magnet:?xt=urn:btih:{HASH}&dn=ABC-123", provider="115",
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index a007ef094..b0771a0b2 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--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-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{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-2{top:calc(var(--spacing) * 2)}.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{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.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-7\.5{height:calc(var(--spacing) * 7.5)}.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-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-60{max-height:calc(var(--spacing) * 60)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--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-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-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.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-37\.5{width:calc(var(--spacing) * 37.5)}.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-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.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-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.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-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-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-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.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\.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-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.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}.whitespace-pre-wrap{white-space:pre-wrap}.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-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-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.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-40{flex-basis:calc(var(--spacing) * 40)}.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-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\:flex{display:flex}.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\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.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\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:col-span-2{grid-column:span 2/span 2}.sm\:hidden{display:none}.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-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.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)}}@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}.\[\&\>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-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 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}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}.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]: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);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-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 :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:#000;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]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.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-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:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.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]{--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-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{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));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.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;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.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}.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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{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;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.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;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;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.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-watch-count]){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-text]>[data-media-tags]{margin-top:6px}.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;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] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;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]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.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{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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)}@media (width<=760px){body .peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-text],body[data-surface=\/trash] .peach-react [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline],body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-tags]{flex-wrap:wrap;height:auto}}.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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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-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:16px;height:16px;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;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;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:30px;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 [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;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{flex:none;width:14px;height:14px;margin-left:5px}.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]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;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]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.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:30px;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{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.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 .folder-tree-scroller{max-height:calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 72px)}#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%}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;overflow:auto}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{border-radius:var(--control-radius);width:30px;height:30px;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){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:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.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:14px;height:14px}.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]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:30px;height:30px;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:30px;height:30px;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 16px;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)}.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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;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]{object-fit:contain;vertical-align:-2px;border-radius:0;width:14px;height:14px;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] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.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;line-height:1.6}.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] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][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{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;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]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.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{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;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-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [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-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [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-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [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-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.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{fill:currentColor;color:#ff669d;width:20px;height:20px}.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:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 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}.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 [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.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-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.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{flex:none;width:18px;height:18px}.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-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.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-rate],.peach-react [data-review-rating] [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{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;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)}.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-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[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:cover!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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[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}[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}.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]{--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:clamp(300px,calc(100dvh - 294px),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]: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]{--detail-card-width:216px;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-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-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}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[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-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[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]{gap:0;min-width:0;display:grid}[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-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[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:600}[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-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[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:14px;height:14px;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:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width: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]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;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-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[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]{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{border-radius:var(--control-radius);min-width:34px;height:34px;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{stroke:currentColor;fill:none;width:17px;height:17px}@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]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[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 16px 0 0!important;padding:10px 12px 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{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[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]{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]>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-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[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-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[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 (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@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]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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;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]:after{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:16px}[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-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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[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{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!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:18px;height:18px;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{flex:none;width:20px;height:20px}[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,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[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{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;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{flex:none;width:16px;height:16px}[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}}:root{--font-inter:"Inter Variable", "Inter";--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;--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]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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 auto}.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}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.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-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: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 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%}[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}.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}.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{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;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}.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)}@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)}.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%)}@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: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-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 [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:30px;min-height:30px}.peach-react button[data-filter-action]{border-radius:var(--control-radius);background:var(--board-blue);width:30px;min-width:30px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;border:0;padding:0}.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}.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-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [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}@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}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom: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-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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[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}}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-favorite]){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-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) 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{fill:none;stroke:currentColor;width:20px;height:20px}.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}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}.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-catalog-table] .bui-table{table-layout:fixed}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table th{padding-right:16px;position:relative}.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-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-catalog-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-catalog-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-catalog-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-catalog-rating]{vertical-align:middle;gap:2px;display:inline-flex}.peach-react [data-catalog-star]{width:16px;height:16px;color:var(--muted);display:block;position:relative}.peach-react [data-catalog-star] svg{width:16px;height:16px;display:block}.peach-react [data-catalog-star-fill]{color:var(--ink);position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-catalog-star-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] [data-list-identity]{min-width:0;padding:12px 0;position:relative}.peach-react [data-catalog-table] [data-list-open]{text-align:left;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.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){object-fit:cover;width:100%;height:100%}.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]{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.peach-react [data-catalog-table] [data-list-open]:hover [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--fs-sm);display:block;overflow:hidden}[data-table-skeleton]>div{align-items:center;gap:16px;height:88px;display:flex}[data-table-skeleton] i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;display:block}[data-table-skeleton] span{border-radius:var(--control-radius);width:40%;height:20px;display:block}body:has([data-catalog-table]) #feedNew{display:none}@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-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-mount=offline]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-mount=offline]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}.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}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-500:oklch(72.3% .219 149.579);--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-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{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-2{top:calc(var(--spacing) * 2)}.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{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-auto{margin-inline-start:auto}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.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-7\.5{height:calc(var(--spacing) * 7.5)}.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-60{height:calc(var(--spacing) * 60)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-60{max-height:calc(var(--spacing) * 60)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--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-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-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.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-37\.5{width:calc(var(--spacing) * 37.5)}.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-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-1\/2{max-width:50%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-56{max-width:calc(var(--spacing) * 56)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.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-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-28{min-width:calc(var(--spacing) * 28)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-48{min-width:calc(var(--spacing) * 48)}.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-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-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-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.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\.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-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-start{text-align:start}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.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}.whitespace-pre-wrap{white-space:pre-wrap}.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-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-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.group-data-\[show-guides\=false\]\/tree-view\:hidden:is(:where(.group\/tree-view)[data-show-guides=false] *){display:none}.group-data-\[size\=sm\]\/tree-view\:min-h-8:is(:where(.group\/tree-view)[data-size=sm] *){min-height:calc(var(--spacing) * 8)}.group-data-\[size\=sm\]\/tree-view\:text-body-2-regular:is(:where(.group\/tree-view)[data-size=sm] *){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.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-40{flex-basis:calc(var(--spacing) * 40)}.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-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\:flex{display:flex}.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\:flex-1{flex:1}.max-sm\:shrink{flex-shrink:1}.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\:flex-wrap{flex-wrap:wrap}.max-sm\:items-center{align-items:center}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:col-span-2{grid-column:span 2/span 2}.sm\:hidden{display:none}.sm\:aspect-auto{aspect-ratio:auto}.sm\:w-24{width:calc(var(--spacing) * 24)}.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}.sm\:self-stretch{align-self:stretch}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}}@container (width>=36rem){.\@xl\:flex-row{flex-direction:row}.\@xl\:items-center{align-items:center}.\@xl\:justify-between{justify-content:space-between}}.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)}}@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}.\[\&\>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-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 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}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}.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]: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);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-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 :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:#000;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]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.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-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:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.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]{--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-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{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));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>*+:not(:has(img)){margin-left:-8px}.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;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.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}.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-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{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;align-items:center;gap:8px;display:flex}.peach-react [data-jav-item]:not([data-variant=next]) [data-media-meta]{--card-meta-byline:calc(2lh + 2px)}.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;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;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-byline] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=later]{background:var(--ink)}.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-watch-count]){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-text]>[data-media-tags]{margin-top:6px}.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;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] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;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]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.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{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-8px;padding:8px;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 + 8px));padding-left:calc(var(--railW) + 32px + 8px)}}.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)}@media (width<=760px){body .peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-text],body[data-surface=\/trash] .peach-react [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-byline],body[data-density] .peach-react [data-media-card]:not([data-variant=next]) [data-media-tags]{flex-wrap:wrap;height:auto}}.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-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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-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:16px;height:16px;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;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;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:30px;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 [data-entity-filter-glass] [data-entity-readout]{text-overflow:ellipsis;flex:0 auto;min-width:0;overflow:hidden}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;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{flex:none;width:14px;height:14px;margin-left:5px}.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]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;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]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react [data-entity-filter-glass] [data-entity-readout]{flex:none}.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:30px;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{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.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 .folder-tree-scroller{max-height:calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 72px)}#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%}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;overflow:auto}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{border-radius:var(--control-radius);width:30px;height:30px;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){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:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.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:14px;height:14px}.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]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:30px;height:30px;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:30px;height:30px;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 16px;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)}.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{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.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{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;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]{object-fit:contain;vertical-align:-2px;border-radius:0;width:14px;height:14px;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] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.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;line-height:1.6}.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] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-gallery]:not([data-item-picture])>[data-jav-preview-toggle]{left:64px}.peach-react [data-item-gallery][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{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;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]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.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{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;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-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;max-width:100%;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [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-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [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-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [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-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.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{fill:currentColor;color:#ff669d;width:20px;height:20px}.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:11px 15px 12px}.peach-react [data-item-related]>h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:16px;margin:-24px -16px -4px;padding:32px 16px 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}.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 [data-jav-picture-wait]{place-items:center;min-height:300px;padding:24px;display:grid}.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-rating] [data-rate]{cursor:default}.peach-react [data-jav-rating] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{z-index:5;border-radius:var(--pill-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:8px 12px;display:inline-flex;position:absolute;top:16px;left:16px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.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{flex:none;width:18px;height:18px}.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-jav-rating] [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-jav-rating] [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-jav-rating] [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-jav-rating] [data-rating-fill] svg{fill:currentColor;max-width:none}.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-rate],.peach-react [data-review-rating] [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{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;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)}.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-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[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:cover!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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[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}[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}.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]{--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:clamp(300px,calc(100dvh - 294px),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]: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]{--detail-card-width:216px;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-edition-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-edition-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}}[data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width)}[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-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[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]{gap:0;min-width:0;display:grid}[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-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[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:600}[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-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[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:14px;height:14px;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:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width: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]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;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-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[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]{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{border-radius:var(--control-radius);min-width:34px;height:34px;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{stroke:currentColor;fill:none;width:17px;height:17px}@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]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[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 16px 0 0!important;padding:10px 12px 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{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[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]{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]>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-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[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-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[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 (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:100%}}@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]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}}@media (width<=420px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr);gap:8px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting])>:last-child{justify-self:end}}@media (width<=760px){[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;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]:after{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:16px}[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-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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[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{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!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:18px;height:18px;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{flex:none;width:20px;height:20px}[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,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[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{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;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{flex:none;width:16px;height:16px}[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}}:root{--font-inter:"Inter Variable", "Inter";--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;--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]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}@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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center;width:1.15em;height:1.15em}.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{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.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 auto}.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}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-body{font-size:var(--fs-md);color:var(--ink-2);padding:20px;line-height:20px}.ui-geist-modal-body h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.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-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: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 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%}[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}.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}.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{vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px;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}.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)}@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)}.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%)}@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: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-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 [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:30px;min-height:30px}.peach-react button[data-filter-action]{border-radius:var(--control-radius);background:var(--board-blue);width:30px;min-width:30px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;border:0;padding:0}.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}.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-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [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}@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}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom: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-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{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[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}}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-favorite]){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-favorite]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-favorite]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-favorite]) 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{fill:none;stroke:currentColor;width:20px;height:20px}.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}}@media (width<=640px){:is(.peach-react[data-index-head],.peach-react [data-index-head]) [data-shortcuts-entry]{order:3}}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,#drawer,#main,#catalogFilter,#count,#javLibraryHeader,#feedNew){visibility:hidden;pointer-events:none}.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-catalog-table] .bui-table{table-layout:fixed}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table th{padding-right:16px;position:relative}.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-table] .react-aria-ColumnResizer{cursor:col-resize;touch-action:none;width:12px;position:absolute;top:0;bottom:0;right:0}.peach-react [data-catalog-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:5px}.peach-react [data-catalog-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-catalog-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-catalog-rating]{vertical-align:middle;gap:2px;display:inline-flex}.peach-react [data-catalog-star]{width:16px;height:16px;color:var(--muted);display:block;position:relative}.peach-react [data-catalog-star] svg{width:16px;height:16px;display:block}.peach-react [data-catalog-star-fill]{color:var(--ink);position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-catalog-star-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] [data-list-identity]{min-width:0;padding:12px 0;position:relative}.peach-react [data-catalog-table] [data-list-open]{text-align:left;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.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){object-fit:cover;width:100%;height:100%}.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]{text-overflow:ellipsis;white-space:nowrap;min-width:0;display:block;overflow:hidden}.peach-react [data-catalog-table] [data-list-open]:hover [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-byline]{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:var(--fs-sm);display:block;overflow:hidden}[data-table-skeleton]>div{align-items:center;gap:16px;height:88px;display:flex}[data-table-skeleton] i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;display:block}[data-table-skeleton] span{border-radius:var(--control-radius);width:40%;height:20px;display:block}body:has([data-catalog-table]) #feedNew{display:none}@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-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-mount=offline]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-mount=offline]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}.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}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index cc84a2e82..5de2e9485 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -21072,16 +21072,16 @@ function Bv(e) {
let n = Rv.get(t);
if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", Bv), Rv.delete(t)), Rv.size === 0)) for (let e of zv) e(!0), zv.delete(e);
}
-function Vv() {
+function jae() {
ev(document, "transitionrun", Aae), ev(document, "transitionend", Bv);
}
-function jae() {
+function Mae() {
for (let [e] of Rv) "isConnected" in e && !e.isConnected && Rv.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? ev(document, "DOMContentLoaded", Vv) : Vv());
-function Hv(e) {
+typeof document < "u" && (document.readyState === "loading" ? ev(document, "DOMContentLoaded", jae) : jae());
+function Vv(e) {
let t = window.requestAnimationFrame(() => {
- if (jae(), Rv.size === 0) return e(!1);
+ if (Mae(), Rv.size === 0) return e(!1);
zv.add(e);
});
return () => {
@@ -21090,12 +21090,12 @@ function Hv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function Uv(e) {
+function Hv(e) {
if (!e.isConnected) return;
let t = X_(e);
if (Iv() === "virtual") {
let n = iv(t);
- Hv(() => {
+ Vv(() => {
let r = iv(t);
(r === n || r === t.body) && e.isConnected && Y_(e);
});
@@ -21103,14 +21103,14 @@ function Uv(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/chain.mjs
-function Wv(...e) {
+function Uv(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Mae(e) {
+function Nae(e) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(t), i = (0, S.useRef)(null), a = (0, S.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
@@ -21124,21 +21124,21 @@ function Mae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useId.mjs
-var Nae = !!(typeof window < "u" && window.document && window.document.createElement), Gv = /* @__PURE__ */ new Map(), Kv;
-typeof FinalizationRegistry < "u" && (Kv = new FinalizationRegistry((e) => {
- Gv.delete(e);
+var Pae = !!(typeof window < "u" && window.document && window.document.createElement), Wv = /* @__PURE__ */ new Map(), Gv;
+typeof FinalizationRegistry < "u" && (Gv = new FinalizationRegistry((e) => {
+ Wv.delete(e);
}));
-var qv = /* @__PURE__ */ new WeakMap();
-function Jv(e) {
- let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(null), i = fae(t), a = (0, S.useRef)(null), o = qv.get(a);
- if (Kv && o !== i && (o != null && Kv.unregister(a), Kv.register(a, i, a), qv.set(a, i)), Nae) {
- let e = Gv.get(i);
- e && !e.includes(r) ? e.push(r) : Gv.set(i, [r]);
+var Kv = /* @__PURE__ */ new WeakMap();
+function qv(e) {
+ let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(null), i = fae(t), a = (0, S.useRef)(null), o = Kv.get(a);
+ if (Gv && o !== i && (o != null && Gv.unregister(a), Gv.register(a, i, a), Kv.set(a, i)), Pae) {
+ let e = Wv.get(i);
+ e && !e.includes(r) ? e.push(r) : Wv.set(i, [r]);
}
return dv(() => {
let e = i;
return () => {
- Kv && (Kv.unregister(a), qv.delete(a)), Gv.delete(e);
+ Gv && (Gv.unregister(a), Kv.delete(a)), Wv.delete(e);
};
}, [i]), (0, S.useEffect)(() => {
let e = r.current;
@@ -21147,15 +21147,15 @@ function Jv(e) {
};
}), i;
}
-function Pae(e, t) {
+function Fae(e, t) {
if (e === t) return e;
- let n = Gv.get(e);
+ let n = Wv.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = Gv.get(t);
+ let r = Wv.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function Yv(e = []) {
- let t = Jv(), [n, r] = Mae(t), i = (0, S.useCallback)(() => {
+function Jv(e = []) {
+ let t = qv(), [n, r] = Nae(t), i = (0, S.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
@@ -21168,38 +21168,38 @@ function Yv(e = []) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function Xv(...e) {
+function Yv(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = Zv(e, t);
+ let r = Xv(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : Zv(e[n], null);
+ typeof t == "function" ? t() : Xv(e[n], null);
});
};
};
}
-function Zv(e, t) {
+function Xv(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
//#endregion
//#region node_modules/clsx/dist/clsx.mjs
-function Qv(e) {
+function Zv(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 = Qv(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = Zv(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function $v() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Qv(e)) && (r && (r += " "), r += t);
+function Qv() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Zv(e)) && (r && (r += " "), r += t);
return r;
}
//#endregion
@@ -21210,14 +21210,14 @@ 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] = Wv(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = $v(n, i) : e === "id" && n && i ? t.id = Pae(n, i) : e === "ref" && n && i ? t.ref = Xv(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] = Uv(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Qv(n, i) : e === "id" && n && i ? t.id = Fae(n, i) : e === "ref" && n && i ? t.ref = Yv(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function ey(e) {
+function $v(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, S.useCallback)((e) => {
if (av(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
}, [r, i]), o = Kie(a), s = (0, S.useCallback)((e) => {
@@ -21235,7 +21235,7 @@ function ey(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function ty(e) {
+function ey(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -21260,33 +21260,33 @@ function ty(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Fae = /* @__PURE__ */ new Set([
+var Iae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Iae = [
+]), Lae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Lae(e) {
+function Rae(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(_v() ? "Meta" : "Control"), t;
}
-function Rae(e) {
+function zae(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 ny(e) {
- return Iae.filter((t) => e.has(t));
+function ty(e) {
+ return Lae.filter((t) => e.has(t));
}
-function zae(e) {
+function Bae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Fae.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 Iae.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,
@@ -21298,10 +21298,10 @@ function zae(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 ry(e) {
+function ny(e) {
return e.toLowerCase();
}
-var Bae = {
+var Vae = {
space: " ",
esc: "escape",
del: "delete",
@@ -21313,26 +21313,26 @@ var Bae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Vae(e) {
- let t = ry(e);
- return Bae[t] ?? t;
-}
function Hae(e) {
- let t = ny(Lae(e)), n = Vae(e.key);
- return t.length > 0 ? `${t.join("+")}+${n}` : n;
+ let t = ny(e);
+ return Vae[t] ?? t;
}
function Uae(e) {
- let t = ny(Rae(e)), n = ry(e.key);
- return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+ let t = ty(Rae(e)), n = Hae(e.key);
+ return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
function Wae(e) {
+ let t = ty(zae(e)), n = ny(e.key);
+ return (t.length > 0 ? `${t.join("+")}+` : "") + n;
+}
+function Gae(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = zae(n);
- t.set(Hae(e), r);
+ let e = Bae(n);
+ t.set(Uae(e), r);
}
return (e) => {
- let n = Uae(e), r = t.get(n), i = r?.(e);
+ let n = Wae(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -21344,16 +21344,16 @@ function Wae(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function iy(e) {
+function ry(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Wae(t), s = ty((e) => {
+ let o = Gae(t), s = ey((e) => {
rv(e.currentTarget, av(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = ty((e) => {
+ }), c = ey((e) => {
rv(e.currentTarget, av(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? Wv(e.onKeyDown, s) : s, a = e.onKeyUp ? Wv(e.onKeyUp, c) : c;
- } else i = ty(e.onKeyDown), a = ty(e.onKeyUp);
+ i = e.onKeyDown ? Uv(e.onKeyDown, s) : s, a = e.onKeyUp ? Uv(e.onKeyUp, c) : c;
+ } else i = ey(e.onKeyDown), a = ey(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
@@ -21361,7 +21361,7 @@ function iy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function ay(e) {
+function iy(e) {
let t = (0, S.useRef)(null), n = (0, S.useRef)(void 0), r = (0, S.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -21384,7 +21384,7 @@ function ay(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function oy(e, t) {
+function ay(e, t) {
dv(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
@@ -21393,17 +21393,17 @@ function oy(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var sy = /*#__PURE__*/ S.createContext(null);
-function Gae(e) {
- let t = (0, S.useContext)(sy) || {};
- oy(t, e);
+var oy = /*#__PURE__*/ S.createContext(null);
+function Kae(e) {
+ let t = (0, S.useContext)(oy) || {};
+ ay(t, e);
let { ref: n, ...r } = t;
return r;
}
-function cy(e, t) {
- let { focusProps: n } = ey(e), { keyboardProps: r } = iy(e), i = K(n, r), a = Gae(t), o = e.isDisabled ? {} : a, s = (0, S.useRef)(e.autoFocus);
+function sy(e, t) {
+ let { focusProps: n } = $v(e), { keyboardProps: r } = ry(e), i = K(n, r), a = Kae(t), o = e.isDisabled ? {} : a, s = (0, S.useRef)(e.autoFocus);
(0, S.useEffect)(() => {
- s.current && t.current && Uv(t.current), s.current = !1;
+ s.current && t.current && Hv(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: K({
@@ -21438,22 +21438,22 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var ly = /*#__PURE__*/ (0, S.createContext)(!1);
-function Kae(e) {
- if ((0, S.useContext)(ly)) return /*#__PURE__*/ S.createElement(S.Fragment, null, e.children);
- let t = /*#__PURE__*/ S.createElement(ly.Provider, { value: !0 }, e.children);
+var cy = /*#__PURE__*/ (0, S.createContext)(!1);
+function qae(e) {
+ if ((0, S.useContext)(cy)) return /*#__PURE__*/ S.createElement(S.Fragment, null, e.children);
+ let t = /*#__PURE__*/ S.createElement(cy.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ S.createElement("template", null, t);
}
-function uy(e) {
- let t = (t, n) => (0, S.useContext)(ly) ? null : e(t, n);
+function ly(e) {
+ let t = (t, n) => (0, S.useContext)(cy) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, S.forwardRef)(t);
}
-function dy() {
- return (0, S.useContext)(ly);
+function uy() {
+ return (0, S.useContext)(cy);
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var qae = /* @__PURE__ */ o(((e) => {
+var Jae = /* @__PURE__ */ o(((e) => {
var t = p();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -21491,47 +21491,47 @@ var qae = /* @__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;
-})), fy = /* @__PURE__ */ o(((e, t) => {
- t.exports = qae();
-})), Jae = fy(), py = /*#__PURE__*/ (0, S.createContext)(!1), my = /*#__PURE__*/ (0, S.createContext)(null);
-function hy(e) {
- if ((0, S.useContext)(my)) return e.content;
- let { collection: t, document: n } = Qae(e.createCollection);
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Kae, null, /*#__PURE__*/ S.createElement(my.Provider, { value: n }, e.content)), /*#__PURE__*/ S.createElement(Yae, {
+})), dy = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Jae();
+})), Yae = dy(), fy = /*#__PURE__*/ (0, S.createContext)(!1), py = /*#__PURE__*/ (0, S.createContext)(null);
+function my(e) {
+ if ((0, S.useContext)(py)) return e.content;
+ let { collection: t, document: n } = $ae(e.createCollection);
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(qae, null, /*#__PURE__*/ S.createElement(py.Provider, { value: n }, e.content)), /*#__PURE__*/ S.createElement(Xae, {
render: e.children,
collection: t
}));
}
-function Yae({ collection: e, render: t }) {
+function Xae({ collection: e, render: t }) {
return t(e);
}
-function Xae(e, t, n) {
+function Zae(e, t, n) {
let r = Tv(), i = (0, S.useRef)(r);
i.current = r;
let a = (0, S.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, Jae.useSyncExternalStore)(e, a);
+ return (0, Yae.useSyncExternalStore)(e, a);
}
-var Zae = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Xae;
-function Qae(e) {
+var Qae = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : Zae;
+function $ae(e) {
let [t] = (0, S.useState)(() => new Nie(e?.() || new K_()));
return {
- collection: Zae((0, S.useCallback)((e) => t.subscribe(e), [t]), (0, S.useCallback)(() => {
+ collection: Qae((0, S.useCallback)((e) => t.subscribe(e), [t]), (0, S.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, S.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var gy = /*#__PURE__*/ (0, S.createContext)(null);
-function $ae(e) {
+var hy = /*#__PURE__*/ (0, S.createContext)(null);
+function eoe(e) {
return class extends U_ {
static {
this.type = e;
}
};
}
-function _y(e, t, n, r, i, a) {
- typeof e == "string" && (e = $ae(e));
+function gy(e, t, n, r, i, a) {
+ typeof e == "string" && (e = eoe(e));
let o = (0, S.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -21540,78 +21540,78 @@ function _y(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, S.useContext)(gy);
+ ]), s = (0, S.useContext)(hy);
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__*/ S.createElement(gy.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__*/ S.createElement(hy.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ S.createElement(e.type, { ref: o }, i);
}
-function vy(e, t) {
+function _y(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, S.forwardRef)((r, i) => {
- let a = (0, S.useContext)(sy);
- if (!(0, S.useContext)(py)) {
+ let a = (0, S.useContext)(oy);
+ if (!(0, S.useContext)(fy)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return _y(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ S.createElement(sy.Provider, { value: a }, /*#__PURE__*/ S.createElement(n, { node: e })));
+ return gy(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ S.createElement(oy.Provider, { value: a }, /*#__PURE__*/ S.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function yy(e, t, n = by) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, S.forwardRef)((t, i) => _y(e, t, i, null, n(t), (e) => /*#__PURE__*/ S.createElement(r, { node: e })) ?? /*#__PURE__*/ S.createElement(S.Fragment, null));
+function vy(e, t, n = yy) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, S.forwardRef)((t, i) => gy(e, t, i, null, n(t), (e) => /*#__PURE__*/ S.createElement(r, { node: e })) ?? /*#__PURE__*/ S.createElement(S.Fragment, null));
return i.displayName = t.name, i;
}
-function by(e) {
+function yy(e) {
return J_({
...e,
addIdAndValue: !0
});
}
-var xy = /*#__PURE__*/ (0, S.createContext)(null);
-function Sy(e) {
- let t = (0, S.useContext)(xy), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = by({
+var by = /*#__PURE__*/ (0, S.createContext)(null);
+function xy(e) {
+ let t = (0, S.useContext)(by), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = yy({
...e,
idScope: r,
dependencies: n
});
- return (0, S.useContext)(my) && (i = /*#__PURE__*/ S.createElement(eoe, null, i)), t = (0, S.useMemo)(() => ({
+ return (0, S.useContext)(py) && (i = /*#__PURE__*/ S.createElement(toe, null, i)), t = (0, S.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ S.createElement(xy.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ S.createElement(by.Provider, { value: t }, i);
}
-function eoe({ children: e }) {
- let t = (0, S.useContext)(my), n = (0, S.useMemo)(() => /*#__PURE__*/ S.createElement(my.Provider, { value: null }, /*#__PURE__*/ S.createElement(py.Provider, { value: !0 }, e)), [e]);
- return Tv() ? /*#__PURE__*/ S.createElement(gy.Provider, { value: t }, n) : /*#__PURE__*/ (0, gt.createPortal)(n, t);
+function toe({ children: e }) {
+ let t = (0, S.useContext)(py), n = (0, S.useMemo)(() => /*#__PURE__*/ S.createElement(py.Provider, { value: null }, /*#__PURE__*/ S.createElement(fy.Provider, { value: !0 }, e)), [e]);
+ return Tv() ? /*#__PURE__*/ S.createElement(hy.Provider, { value: t }, n) : /*#__PURE__*/ (0, gt.createPortal)(n, t);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/constants.mjs
-var toe = "react-aria-clear-focus", noe = "react-aria-focus";
+var noe = "react-aria-clear-focus", roe = "react-aria-focus";
//#endregion
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function Cy(e) {
- let t = ioe(X_(e));
- t !== e && (t && roe(t, e), e && wy(e, t));
+function Sy(e) {
+ let t = aoe(X_(e));
+ t !== e && (t && ioe(t, e), e && Cy(e, t));
}
-function roe(e, t) {
+function ioe(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function wy(e, t) {
+function Cy(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function ioe(e) {
+function aoe(e) {
let t = iv(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function Ty(e, t) {
+function wy(e, t) {
let n = Z_(t), r = X_(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
@@ -21619,7 +21619,7 @@ function Ty(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/keyboard.mjs
-var Ey = 100, Dy = 600, Oy = {
+var Ty = 100, Ey = 600, Dy = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -21629,7 +21629,7 @@ var Ey = 100, Dy = 600, Oy = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, aoe = /* @__PURE__ */ new Set([
+}, ooe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -21640,7 +21640,7 @@ var Ey = 100, Dy = 600, Oy = {
"submit",
"reset"
]);
-function ky() {
+function Oy() {
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,
@@ -21648,59 +21648,59 @@ function ky() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function ooe(e) {
- Oy.resizeTimeStamp <= e.timeStamp + 50 && (Oy.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Oy.resizeTimeout), Oy.resizeTimeout = window.setTimeout(Ay, 150));
+function soe(e) {
+ Dy.resizeTimeStamp <= e.timeStamp + 50 && (Dy.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(Dy.resizeTimeout), Dy.resizeTimeout = window.setTimeout(ky, 150));
}
-function Ay() {
- let e = Ty("viewport");
+function ky() {
+ let e = wy("viewport");
if (bv() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = ky(), r = t - Oy.startTimeStamp, i = Oy.screenHeight - n.height, a = Oy.screenAngle - n.angle;
- Math.abs(a) % 180 && Oy.screenWidth - n.height < Ey && (Oy.screenWidth = n.width, Oy.screenHeight = n.height, Oy.screenAngle = n.angle, i = 0), r > Dy && (window.clearTimeout(Oy.screenTimeout), Oy.screenTimeout = window.setTimeout(() => {
- let e = Ny(document.hasFocus() ? iv() : null), t = ky();
- Math.abs(Oy.screenAngle - t.angle) % 180 || Oy.isOpen && e || (Oy.screenWidth = t.width, Oy.screenHeight = t.height, Oy.screenAngle = t.angle, Oy.isOpen = !1);
- }, Dy)), r <= Dy && i >= Ey && (Oy.endTimeStamp = t), Oy.isOpen = i >= Ey;
+ let t = performance.now(), n = Oy(), r = t - Dy.startTimeStamp, i = Dy.screenHeight - n.height, a = Dy.screenAngle - n.angle;
+ Math.abs(a) % 180 && Dy.screenWidth - n.height < Ty && (Dy.screenWidth = n.width, Dy.screenHeight = n.height, Dy.screenAngle = n.angle, i = 0), r > Ey && (window.clearTimeout(Dy.screenTimeout), Dy.screenTimeout = window.setTimeout(() => {
+ let e = My(document.hasFocus() ? iv() : null), t = Oy();
+ Math.abs(Dy.screenAngle - t.angle) % 180 || Dy.isOpen && e || (Dy.screenWidth = t.width, Dy.screenHeight = t.height, Dy.screenAngle = t.angle, Dy.isOpen = !1);
+ }, Ey)), r <= Ey && i >= Ty && (Dy.endTimeStamp = t), Dy.isOpen = i >= Ty;
}
-function soe() {
- let e = ky(), t = Oy.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !Oy.isOpen) {
- let e = Oy.screenWidth;
- Oy.screenWidth = Oy.screenHeight, Oy.screenHeight = e;
+function coe() {
+ let e = Oy(), t = Dy.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !Dy.isOpen) {
+ let e = Dy.screenWidth;
+ Dy.screenWidth = Dy.screenHeight, Dy.screenHeight = e;
}
- Oy.isOpen || (Oy.screenAngle = e.angle);
+ Dy.isOpen || (Dy.screenAngle = e.angle);
}
-function coe(e) {
- let t = Ny(av(e)), n = performance.now(), r = ky(), i = Oy.screenHeight - r.height;
- i < Ey && t && (Oy.screenWidth = r.width, Oy.screenHeight = r.height, Oy.screenAngle = r.angle, Oy.startTimeStamp = n), t && window.clearTimeout(Oy.screenTimeout), i >= Ey && t && (Oy.endTimeStamp = n);
+function loe(e) {
+ let t = My(av(e)), n = performance.now(), r = Oy(), i = Dy.screenHeight - r.height;
+ i < Ty && t && (Dy.screenWidth = r.width, Dy.screenHeight = r.height, Dy.screenAngle = r.angle, Dy.startTimeStamp = n), t && window.clearTimeout(Dy.screenTimeout), i >= Ty && t && (Dy.endTimeStamp = n);
}
-function jy() {
- let e = ky();
- ev(window.visualViewport, "resize", yv() ? Ay : ooe), ev(window.screen.orientation, "change", soe), ev(window, "focus", coe, {
+function Ay() {
+ let e = Oy();
+ ev(window.visualViewport, "resize", yv() ? ky : soe), ev(window.screen.orientation, "change", coe), ev(window, "focus", loe, {
capture: !0,
passive: !0
- }), Oy.screenWidth = e.width, Oy.screenHeight = e.height, Oy.screenAngle = e.angle;
+ }), Dy.screenWidth = e.width, Dy.screenHeight = e.height, Dy.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? ev(document, "DOMContentLoaded", jy) : jy());
-function My() {
- let e = Ty("viewport");
- return bv() && e?.includes("overlays-content") ? !1 : Oy.isOpen ? !0 : Oy.startTimeStamp ? Oy.endTimeStamp >= Oy.startTimeStamp ? !0 : performance.now() - Oy.startTimeStamp <= Dy ? Oy.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? ev(document, "DOMContentLoaded", Ay) : Ay());
+function jy() {
+ let e = wy("viewport");
+ return bv() && e?.includes("overlays-content") ? !1 : Dy.isOpen ? !0 : Dy.startTimeStamp ? Dy.endTimeStamp >= Dy.startTimeStamp ? !0 : performance.now() - Dy.startTimeStamp <= Ey ? Dy.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function Ny(e) {
+function My(e) {
if (!(e instanceof Element) || !lv(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !aoe.has(e.type);
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !ooe.has(e.type);
return t || n || r;
}
-function Py(e) {
+function Ny(e) {
return _v() ? e.metaKey : e.ctrlKey;
}
-function Fy() {
- return Oy.isOpen;
+function Py() {
+ return Dy.isOpen;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var loe = S.useInsertionEffect ?? dv;
-function Iy(e) {
+var uoe = S.useInsertionEffect ?? dv;
+function Fy(e) {
let t = (0, S.useRef)(null);
- return loe(() => {
+ return uoe(() => {
t.current = e;
}, [e]), (0, S.useCallback)((...e) => {
let n = t.current;
@@ -21709,8 +21709,8 @@ function Iy(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Ly(e, t, n, r) {
- let i = Iy(n), a = n == null;
+function Iy(e, t, n, r) {
+ let i = Fy(n), a = n == null;
(0, S.useEffect)(() => {
if (!(a || e.current == null)) return ev(e.current, t, i, r);
}, [
@@ -21722,9 +21722,9 @@ function Ly(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLabels.mjs
-function Ry(e, t) {
+function Ly(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = Jv(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 = qv(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
@@ -21732,7 +21732,7 @@ function Ry(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/utils.mjs
-var uoe = /* @__PURE__ */ new Set([
+var doe = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -21743,7 +21743,7 @@ var uoe = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), doe = /* @__PURE__ */ new Set([
+]), foe = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -21764,20 +21764,20 @@ var uoe = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function foe(e) {
+function poe(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 uoe.has(t.script);
+ if (t.script) return doe.has(t.script);
}
let t = e.split("-")[0];
- return doe.has(t);
+ return foe.has(t);
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var zy = Symbol.for("react-aria.i18n.locale");
-function By() {
- let e = typeof window < "u" && window[zy] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Ry = Symbol.for("react-aria.i18n.locale");
+function zy() {
+ let e = typeof window < "u" && window[Ry] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -21785,33 +21785,33 @@ function By() {
}
return {
locale: e,
- direction: foe(e) ? "rtl" : "ltr"
+ direction: poe(e) ? "rtl" : "ltr"
};
}
-var Vy = By(), Hy = /* @__PURE__ */ new Set();
-function Uy() {
- Vy = By();
- for (let e of Hy) e(Vy);
+var By = zy(), Vy = /* @__PURE__ */ new Set();
+function Hy() {
+ By = zy();
+ for (let e of Vy) e(By);
}
-function poe() {
- let e = Tv(), [t, n] = (0, S.useState)(Vy);
- return (0, S.useEffect)(() => (Hy.size === 0 && window.addEventListener("languagechange", Uy), Hy.add(n), () => {
- Hy.delete(n), Hy.size === 0 && window.removeEventListener("languagechange", Uy);
+function moe() {
+ let e = Tv(), [t, n] = (0, S.useState)(By);
+ return (0, S.useEffect)(() => (Vy.size === 0 && window.addEventListener("languagechange", Hy), Vy.add(n), () => {
+ Vy.delete(n), Vy.size === 0 && window.removeEventListener("languagechange", Hy);
}), []), e ? {
- locale: typeof window < "u" && window[zy] || "en-US",
+ locale: typeof window < "u" && window[Ry] || "en-US",
direction: "ltr"
} : t;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var moe = /*#__PURE__*/ S.createContext(null);
-function Wy() {
- let e = poe();
- return (0, S.useContext)(moe) || e;
+var hoe = /*#__PURE__*/ S.createContext(null);
+function Uy() {
+ let e = moe();
+ return (0, S.useContext)(hoe) || e;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var hoe = Symbol.for("react-aria.i18n.locale"), goe = Symbol.for("react-aria.i18n.strings"), Gy = void 0, Ky = class e {
+var goe = Symbol.for("react-aria.i18n.locale"), _oe = Symbol.for("react-aria.i18n.strings"), Wy = void 0, Gy = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -21822,39 +21822,39 @@ var hoe = Symbol.for("react-aria.i18n.locale"), goe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = _oe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = voe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[hoe];
- if (Gy === void 0) {
- let t = window[goe];
+ let n = window[goe];
+ if (Wy === void 0) {
+ let t = window[_oe];
if (!t) return null;
- Gy = {};
- for (let r in t) Gy[r] = new e({ [n]: t[r] }, n);
+ Wy = {};
+ for (let r in t) Wy[r] = new e({ [n]: t[r] }, n);
}
- let r = Gy?.[t];
+ let r = Wy?.[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 _oe(e, t, n = "en-US") {
+function voe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = voe(e), i = yoe(e);
+ let r = yoe(e), i = boe(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 voe(e) {
+function yoe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function yoe(e) {
+function boe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
//#endregion
//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var qy = /* @__PURE__ */ new Map(), Jy = /* @__PURE__ */ new Map(), boe = class {
+var Ky = /* @__PURE__ */ new Map(), qy = /* @__PURE__ */ new Map(), xoe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -21865,37 +21865,37 @@ var qy = /* @__PURE__ */ new Map(), Jy = /* @__PURE__ */ new Map(), boe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = qy.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), qy.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Ky.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Ky.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = Jy.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Jy.set(this.locale, t)), t.format(e);
+ let t = qy.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), qy.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Yy = /* @__PURE__ */ new WeakMap();
-function xoe(e) {
- let t = Yy.get(e);
- return t || (t = new Ky(e), Yy.set(e, t)), t;
+}, Jy = /* @__PURE__ */ new WeakMap();
+function Soe(e) {
+ let t = Jy.get(e);
+ return t || (t = new Gy(e), Jy.set(e, t)), t;
}
-function Soe(e, t) {
- return t && Ky.getGlobalDictionaryForPackage(t) || xoe(e);
+function Coe(e, t) {
+ return t && Gy.getGlobalDictionaryForPackage(t) || Soe(e);
}
-function Xy(e, t) {
- let { locale: n } = Wy(), r = Soe(e, t);
- return (0, S.useMemo)(() => new boe(n, r), [n, r]);
+function Yy(e, t) {
+ let { locale: n } = Uy(), r = Coe(e, t);
+ return (0, S.useMemo)(() => new xoe(n, r), [n, r]);
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var Coe = /* @__PURE__ */ new Set(["id"]), woe = /* @__PURE__ */ new Set([
+var woe = /* @__PURE__ */ new Set(["id"]), Toe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Toe = /* @__PURE__ */ new Set([
+]), Eoe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -21903,64 +21903,64 @@ var Coe = /* @__PURE__ */ new Set(["id"]), woe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), Eoe = /* @__PURE__ */ new Set([
+]), Doe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), Zy = /* @__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(".")), Doe = /^(data-.*)$/;
-function Qy(e, t = {}) {
+]), Xy = /* @__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(".")), Ooe = /^(data-.*)$/;
+function Zy(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) && (Coe.has(t) || n && woe.has(t) || r && Toe.has(t) || i && Eoe.has(t) || a && (Zy.has(t) || t.endsWith("Capture") && Zy.has(t.slice(0, -7))) || o?.has(t) || Doe.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (woe.has(t) || n && Toe.has(t) || r && Eoe.has(t) || i && Doe.has(t) || a && (Xy.has(t) || t.endsWith("Capture") && Xy.has(t.slice(0, -7))) || o?.has(t) || Ooe.test(t)) && (s[t] = e[t]);
return s;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var $y = "default", eb = "", tb = /* @__PURE__ */ new WeakMap();
-function nb(e) {
+var Qy = "default", $y = "", eb = /* @__PURE__ */ new WeakMap();
+function tb(e) {
if (vv() && yv()) {
- if ($y === "default") {
+ if (Qy === "default") {
let t = X_(e);
- eb = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ $y = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
}
- $y = "disabled";
+ Qy = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- tb.set(e, e.style[t]), e.style[t] = "none";
+ eb.set(e, e.style[t]), e.style[t] = "none";
}
}
-function rb(e) {
+function nb(e) {
if (vv() && yv()) {
- if ($y !== "disabled") return;
- $y = "restoring", setTimeout(() => {
- Hv(() => {
- if ($y === "restoring") {
+ if (Qy !== "disabled") return;
+ Qy = "restoring", setTimeout(() => {
+ Vv(() => {
+ if (Qy === "restoring") {
let t = X_(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = eb || ""), eb = "", $y = "default";
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = $y || ""), $y = "", Qy = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && tb.has(e)) {
- let t = tb.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), tb.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && eb.has(e)) {
+ let t = eb.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), eb.delete(e);
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getNonce.mjs
-var ib = /* @__PURE__ */ new WeakMap();
-function ab(e) {
- let t = X_(e), n = ib.get(t);
- return n ??= Ty("csp-nonce", t), n !== void 0 && ib.set(t, n), n;
+var rb = /* @__PURE__ */ new WeakMap();
+function ib(e) {
+ let t = X_(e), n = rb.get(t);
+ return n ??= wy("csp-nonce", t), n !== void 0 && rb.set(t, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/context.mjs
-var ob = S.createContext({ register: () => {} });
-ob.displayName = "PressResponderContext";
+var ab = S.createContext({ register: () => {} });
+ab.displayName = "PressResponderContext";
//#endregion
//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function sb() {
+function ob() {
let e = (0, S.useRef)(/* @__PURE__ */ new Map()), t = (0, S.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -21987,15 +21987,15 @@ function sb() {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Ooe(e) {
- let t = (0, S.useContext)(ob);
+function koe(e) {
+ let t = (0, S.useContext)(ab);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return oy(t, e.ref), e;
+ return ay(t, e.ref), e;
}
-var cb = class {
+var sb = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -22008,9 +22008,9 @@ var cb = class {
get shouldStopPropagation() {
return this.#e;
}
-}, lb = Symbol("linkClicked"), ub = "react-aria-pressable-style", db = "data-react-aria-pressable";
-function fb(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 } = Ooe(e), [m, h] = (0, S.useState)(!1), g = (0, S.useRef)({
+}, cb = Symbol("linkClicked"), lb = "react-aria-pressable-style", ub = "data-react-aria-pressable";
+function db(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 } = koe(e), [m, h] = (0, S.useState)(!1), g = (0, S.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -22020,12 +22020,12 @@ function fb(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = sb(), y = (0, S.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = ob(), y = (0, S.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new cb("pressstart", t, e);
+ let n = new sb("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -22039,11 +22039,11 @@ function fb(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new cb("pressend", r, e);
+ let t = new sb("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new cb("press", r, e);
+ let n = new sb("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -22052,19 +22052,19 @@ function fb(e) {
i,
n,
t
- ]), x = Iy(b), C = Iy((0, S.useCallback)((e, t) => {
+ ]), x = Fy(b), C = Fy((0, S.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new cb("pressup", t, e);
+ let r = new sb("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), w = (0, S.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(hb(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || rb(t.target);
+ t.didFirePressStart && t.pointerType != null && b(mb(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || nb(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -22072,7 +22072,7 @@ function fb(e) {
d,
v,
b
- ]), T = Iy(w);
+ ]), T = Fy(w);
(0, S.useEffect)(() => {
s && g.current.isPressed && T({
currentTarget: g.current.target,
@@ -22094,13 +22094,13 @@ function fb(e) {
}, [s, o]), k = (0, S.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (mb(t.nativeEvent, t.currentTarget) && rv(t.currentTarget, av(t))) {
- gb(av(t), t.key) && t.preventDefault();
+ if (pb(t.nativeEvent, t.currentTarget) && rv(t.currentTarget, av(t))) {
+ hb(av(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;
- _(X_(t.currentTarget), "keyup", Wv((t) => {
- mb(t, i) && !t.repeat && rv(i, av(t)) && e.target && C(hb(e.target, t), "keyboard");
+ _(X_(t.currentTarget), "keyup", Uv((t) => {
+ pb(t, i) && !t.repeat && rv(i, av(t)) && e.target && C(mb(e.target, t), "keyboard");
}, n), !0), r && t.stopPropagation(), t.metaKey && _v() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
@@ -22111,17 +22111,17 @@ function fb(e) {
let e = y(t, "virtual"), r = C(t, "virtual"), i = x(t, "virtual");
D(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(hb(t.currentTarget, t), r), a = x(hb(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(mb(t.currentTarget, t), r), a = x(mb(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, D(t), T(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && mb(t, e.target)) {
- gb(av(t), t.key) && t.preventDefault();
+ if (e.isPressed && e.target && pb(t, e.target)) {
+ hb(av(t), t.key) && t.preventDefault();
let n = av(t), r = rv(e.target, n);
- x(hb(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && pb(e.target) && rv(e.target, n) && !t[lb] && (t[lb] = !0, Sv(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ x(mb(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && fb(e.target) && rv(e.target, n) && !t[cb] && (t[cb] = !0, Sv(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;
@@ -22138,7 +22138,7 @@ function fb(e) {
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 || nb(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || tb(e.target), i = y(t, e.pointerType);
let a = av(t);
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(X_(t.currentTarget), "pointerup", n, !1), _(X_(t.currentTarget), "pointercancel", r, !1);
}
@@ -22154,9 +22154,9 @@ function fb(e) {
}, t.onPointerUp = (t) => {
rv(t.currentTarget, av(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(hb(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(mb(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(hb(e.target, t), e.pointerType, !1), E(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(mb(e.target, t), e.pointerType, !1), E(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
@@ -22190,13 +22190,13 @@ function fb(e) {
return (0, S.useEffect)(() => {
if (!f) return;
let e = X_(f.current);
- if (!e || !e.head || e.getElementById(ub)) return;
+ if (!e || !e.head || e.getElementById(lb)) return;
let t = e.createElement("style");
- t.id = ub;
- let n = ab(e);
+ t.id = lb;
+ let n = ib(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${db}] {
+ [${ub}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -22204,23 +22204,23 @@ function fb(e) {
}, [f]), (0, S.useEffect)(() => {
let e = g.current;
return () => {
- d || rb(e.target ?? void 0);
+ d || nb(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, k, { [db]: !0 })
+ pressProps: K(p, k, { [ub]: !0 })
};
}
-function pb(e) {
+function fb(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function mb(e, t) {
+function pb(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Z_(i).HTMLInputElement && !_b(i, n) || i instanceof Z_(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && pb(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Z_(i).HTMLInputElement && !gb(i, n) || i instanceof Z_(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && fb(i)) && n !== "Enter");
}
-function hb(e, t) {
+function mb(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -22233,13 +22233,13 @@ function hb(e, t) {
key: t.key
};
}
-function koe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !pb(e);
+function Aoe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !fb(e);
}
-function gb(e, t) {
- return _v() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !_b(e, t) : koe(e);
+function hb(e, t) {
+ return _v() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !gb(e, t) : Aoe(e);
}
-var Aoe = /* @__PURE__ */ new Set([
+var joe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22250,12 +22250,12 @@ var Aoe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function _b(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Aoe.has(e.type);
+function gb(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : joe.has(e.type);
}
//#endregion
//#region node_modules/react-aria/dist/private/button/useButton.mjs
-function joe(e, t) {
+function Moe(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,
@@ -22277,7 +22277,7 @@ function joe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = fb({
+ let { pressProps: _, isPressed: v } = db({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -22287,9 +22287,9 @@ function joe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = cy(e, t);
+ }), { focusableProps: y } = sy(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, Qy(e, { labelable: !0 }));
+ let b = K(y, _, Zy(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -22304,7 +22304,7 @@ function joe(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Moe = class {
+var Noe = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -22407,45 +22407,45 @@ var Moe = class {
return null;
}
};
-function vb(e, t, n, r) {
- return nv() ? new Moe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function _b(e, t, n, r) {
+ return nv() ? new Noe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var yb = /*#__PURE__*/ S.createContext(null), bb = "react-aria-focus-scope-restore", xb = null;
-function Sb(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)([]), { parentNode: c } = (0, S.useContext)(yb) || {}, l = (0, S.useMemo)(() => new Fb({ scopeRef: s }), [s]);
+var vb = /*#__PURE__*/ S.createContext(null), yb = "react-aria-focus-scope-restore", bb = null;
+function xb(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)([]), { parentNode: c } = (0, S.useContext)(vb) || {}, l = (0, S.useMemo)(() => new Pb({ scopeRef: s }), [s]);
dv(() => {
- let e = c || Ib.root;
- if (Ib.getTreeNode(e.scopeRef) && xb && !Ob(xb, e.scopeRef)) {
- let t = Ib.getTreeNode(xb);
+ let e = c || Fb.root;
+ if (Fb.getTreeNode(e.scopeRef) && bb && !Db(bb, e.scopeRef)) {
+ let t = Fb.getTreeNode(bb);
t && (e = t);
}
- e.addChild(l), Ib.addNode(l);
+ e.addChild(l), Fb.addNode(l);
}, [l, c]), dv(() => {
- let e = Ib.getTreeNode(s);
+ let e = Fb.getTreeNode(s);
e && (e.contain = !!n);
}, [n]), dv(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(bb, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(yb, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(bb, n);
+ for (let e of t) e.removeEventListener(yb, n);
};
- }, [t]), zoe(s, r, n), Ioe(s, n), Boe(s, r, n), Roe(s, i), (0, S.useEffect)(() => {
+ }, [t]), Boe(s, r, n), Loe(s, n), Voe(s, r, n), zoe(s, i), (0, S.useEffect)(() => {
let e = iv(X_(s.current ? s.current[0] : void 0)), t = null;
- if (Eb(e, s.current)) {
- for (let n of Ib.traverse()) n.scopeRef && Eb(e, n.scopeRef.current) && (t = n);
- t === Ib.getTreeNode(s) && (xb = t.scopeRef);
+ if (Tb(e, s.current)) {
+ for (let n of Fb.traverse()) n.scopeRef && Tb(e, n.scopeRef.current) && (t = n);
+ t === Fb.getTreeNode(s) && (bb = t.scopeRef);
}
}, [s]), dv(() => () => {
- let e = Ib.getTreeNode(s)?.parent?.scopeRef ?? null;
- (s === xb || Ob(s, xb)) && (!e || Ib.getTreeNode(e)) && (xb = e), Ib.removeTreeNode(s);
+ let e = Fb.getTreeNode(s)?.parent?.scopeRef ?? null;
+ (s === bb || Db(s, bb)) && (!e || Fb.getTreeNode(e)) && (bb = e), Fb.removeTreeNode(s);
}, [s]);
- let u = (0, S.useMemo)(() => Noe(s), []), d = (0, S.useMemo)(() => ({
+ let u = (0, S.useMemo)(() => Poe(s), []), d = (0, S.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ S.createElement(yb.Provider, { value: d }, /*#__PURE__*/ S.createElement("span", {
+ return /*#__PURE__*/ S.createElement(vb.Provider, { value: d }, /*#__PURE__*/ S.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -22455,68 +22455,68 @@ function Sb(e) {
ref: o
}));
}
-function Noe(e) {
+function Poe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || iv(X_(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Pb(Cb(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || iv(X_(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Nb(Sb(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Eb(s, n) ? s : c;
+ l.currentNode = Tb(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && kb(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ob(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || iv(X_(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Pb(Cb(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || iv(X_(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Nb(Sb(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = Eb(s, n) ? s : c;
+ l.currentNode = Tb(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && kb(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ob(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Pb(Cb(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Nb(Sb(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && kb(o, !0), o;
+ return o && Ob(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = Pb(Cb(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = Nb(Sb(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && kb(o, !0), o;
+ return o && Ob(o, !0), o;
}
};
}
-function Cb(e) {
+function Sb(e) {
return e[0].parentElement;
}
-function wb(e) {
- let t = Ib.getTreeNode(xb);
+function Cb(e) {
+ let t = Fb.getTreeNode(bb);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Poe(e) {
+function Foe(e) {
if (!e.form) return Array.from(X_(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
let t = e.form.elements.namedItem(e.name), n = Z_(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Foe(e) {
+function Ioe(e) {
if (e.checked) return !0;
- let t = Poe(e);
+ let t = Foe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Ioe(e, t) {
+function Loe(e, t) {
let n = (0, S.useRef)(void 0), r = (0, S.useRef)(void 0);
dv(() => {
let i = e.current;
@@ -22525,23 +22525,23 @@ function Ioe(e, t) {
return;
}
let a = X_(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !wb(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Cb(e) || t.isComposing) return;
let n = iv(a), r = e.current;
- if (!r || !Eb(n, r)) return;
- let i = Pb(Cb(r), { tabbable: !0 }, r);
+ if (!r || !Tb(n, r)) return;
+ let i = Nb(Sb(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 && (kb(o, !0), o instanceof Z_(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 && (Ob(o, !0), o instanceof Z_(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!xb || Ob(xb, e)) && Eb(av(t), e.current) ? (xb = e, n.current = av(t)) : wb(e) && !Db(av(t), e) ? n.current ? kb(n.current) : xb && xb.current && jb(xb.current) : wb(e) && (n.current = av(t));
+ (!bb || Db(bb, e)) && Tb(av(t), e.current) ? (bb = e, n.current = av(t)) : Cb(e) && !Eb(av(t), e) ? n.current ? Ob(n.current) : bb && bb.current && Ab(bb.current) : Cb(e) && (n.current = av(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
let r = Iv(), i = (r === "virtual" || r === null) && bv() && Zie(), o = iv(a);
- if (!i && o && wb(e) && !Db(o, e)) {
- xb = e;
+ if (!i && o && Cb(e) && !Eb(o, e)) {
+ bb = e;
let r = av(t);
- r && r.isConnected ? (n.current = r, kb(n.current)) : xb.current && jb(xb.current);
+ r && r.isConnected ? (n.current = r, Ob(n.current)) : bb.current && Ab(bb.current);
}
});
};
@@ -22552,57 +22552,57 @@ function Ioe(e, t) {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function Tb(e) {
- return Db(e);
+function wb(e) {
+ return Eb(e);
}
-function Eb(e, t) {
+function Tb(e, t) {
return !e || !t ? !1 : t.some((t) => rv(t, e));
}
-function Db(e, t = null) {
+function Eb(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of Ib.traverse(Ib.getTreeNode(t))) if (n && Eb(e, n.current)) return !0;
+ for (let { scopeRef: n } of Fb.traverse(Fb.getTreeNode(t))) if (n && Tb(e, n.current)) return !0;
return !1;
}
-function Loe(e) {
- return Db(e, xb);
+function Roe(e) {
+ return Eb(e, bb);
}
-function Ob(e, t) {
- let n = Ib.getTreeNode(t)?.parent;
+function Db(e, t) {
+ let n = Fb.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function kb(e, t = !1) {
+function Ob(e, t = !1) {
if (e != null && !t) try {
- Uv(e);
+ Hv(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function Ab(e, t = !0) {
- let n = e[0].previousElementSibling, r = Cb(e), i = Pb(r, { tabbable: t }, e);
+function kb(e, t = !0) {
+ let n = e[0].previousElementSibling, r = Sb(e), i = Nb(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = Cb(e), i = Pb(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = Sb(e), i = Nb(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function jb(e, t = !0) {
- kb(Ab(e, t));
+function Ab(e, t = !0) {
+ Ob(kb(e, t));
}
-function Roe(e, t) {
+function zoe(e, t) {
let n = S.useRef(t);
(0, S.useEffect)(() => {
- n.current && (xb = e, !Eb(iv(X_(e.current ? e.current[0] : void 0)), xb.current) && e.current && jb(e.current)), n.current = !1;
+ n.current && (bb = e, !Tb(iv(X_(e.current ? e.current[0] : void 0)), bb.current) && e.current && Ab(e.current)), n.current = !1;
}, [e]);
}
-function zoe(e, t, n) {
+function Boe(e, t, n) {
dv(() => {
if (t || n) return;
let r = e.current, i = X_(r ? r[0] : void 0), a = (t) => {
let n = av(t);
- Eb(n, e.current) ? xb = e : Tb(n) || (xb = null);
+ Tb(n, e.current) ? bb = e : wb(n) || (bb = 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));
@@ -22613,21 +22613,21 @@ function zoe(e, t, n) {
n
]);
}
-function Mb(e) {
- let t = Ib.getTreeNode(xb);
+function jb(e) {
+ let t = Fb.getTreeNode(bb);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Boe(e, t, n) {
+function Voe(e, t, n) {
let r = (0, S.useRef)(typeof document < "u" ? iv(X_(e.current ? e.current[0] : void 0)) : null);
dv(() => {
let r = e.current, i = X_(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!xb || Ob(xb, e)) && Eb(iv(i), e.current) && (xb = e);
+ (!bb || Db(bb, e)) && Tb(iv(i), e.current) && (bb = 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));
@@ -22636,20 +22636,20 @@ function Boe(e, t, n) {
let r = X_(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !wb(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Cb(e) || t.isComposing) return;
let n = r.activeElement;
- if (!Db(n, e) || !Mb(e)) return;
- let i = Ib.getTreeNode(e);
+ if (!Eb(n, e) || !jb(e)) return;
+ let i = Fb.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = Pb(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = Nb(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 || !Db(s, e)) && a) {
+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Eb(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (Db(s, e));
- t.preventDefault(), t.stopPropagation(), s ? kb(s, !0) : Tb(a) ? kb(a, !0) : n.blur();
+ while (Eb(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? Ob(s, !0) : wb(a) ? Ob(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -22662,28 +22662,28 @@ function Boe(e, t, n) {
]), dv(() => {
let n = X_(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = Ib.getTreeNode(e);
+ let i = Fb.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = Ib.getTreeNode(e);
+ let r = Fb.getTreeNode(e);
if (!r) return;
let i = r.nodeToRestore, a = iv(n);
- if (t && i && (a && Db(a, e) || a === n.body && Mb(e))) {
- let t = Ib.clone();
+ if (t && i && (a && Eb(a, e) || a === n.body && jb(e))) {
+ let t = Fb.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- Nb(n.nodeToRestore);
+ Mb(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && Ib.getTreeNode(n.scopeRef)) {
- let e = Ab(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && Fb.getTreeNode(n.scopeRef)) {
+ let e = kb(n.scopeRef.current, !0);
if (e) {
- Nb(e);
+ Mb(e);
return;
}
}
@@ -22695,21 +22695,21 @@ function Boe(e, t, n) {
};
}, [e, t]);
}
-function Nb(e) {
- e.dispatchEvent(new CustomEvent(bb, {
+function Mb(e) {
+ e.dispatchEvent(new CustomEvent(yb, {
bubbles: !0,
cancelable: !0
- })) && kb(e);
+ })) && Ob(e);
}
-function Pb(e, t, n) {
- let r = t?.tabbable ? uv : lv, i = X_(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = vb(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return rv(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Foe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Eb(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function Nb(e, t, n) {
+ let r = t?.tabbable ? uv : lv, i = X_(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = _b(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return rv(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Ioe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Tb(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Voe = class e {
+var Hoe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new Fb({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new Pb({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -22720,7 +22720,7 @@ var Voe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new Fb({ scopeRef: e });
+ let i = new Pb({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -22731,7 +22731,7 @@ var Voe = 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 && Eb(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 && Tb(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);
}
@@ -22743,7 +22743,7 @@ var Voe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, Fb = class {
+}, Pb = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -22753,13 +22753,13 @@ var Voe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, Ib = new Voe(), Lb = 7e3, Rb = null;
-function zb(e, t = "assertive", n = Lb) {
- Rb ? Rb.announce(e, t, n) : (Rb = new Hoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Rb.announce(e, t, n) : setTimeout(() => {
- Rb?.isAttached() && Rb?.announce(e, t, n);
+}, Fb = new Hoe(), Ib = 7e3, Lb = null;
+function Rb(e, t = "assertive", n = Ib) {
+ Lb ? Lb.announce(e, t, n) : (Lb = new Uoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? Lb.announce(e, t, n) : setTimeout(() => {
+ Lb?.isAttached() && Lb?.announce(e, t, n);
}, 100));
}
-var Hoe = class {
+var Uoe = 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,
@@ -22784,7 +22784,7 @@ var Hoe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = Lb) {
+ announce(e, t = "assertive", n = Ib) {
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(() => {
@@ -22797,8 +22797,8 @@ var Hoe = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function Bb(e, t) {
- let n = (0, S.useRef)(!0), r = (0, S.useRef)(null), i = Iy(e);
+function zb(e, t) {
+ let n = (0, S.useRef)(!0), r = (0, S.useRef)(null), i = Fy(e);
(0, S.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, S.useEffect)(() => {
@@ -22808,31 +22808,31 @@ function Bb(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function Vb(e, t) {
+function Bb(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;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function Hb(e, t) {
+function Vb(e, t) {
let n = e;
- for (Vb(n, t) && (n = n.parentElement); n && !Vb(n, t);) n = n.parentElement;
+ for (Bb(n, t) && (n = n.parentElement); n && !Bb(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function Ub(e, t) {
+function Hb(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (Vb(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (Bb(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function Wb(e, t, n = {}) {
- e !== t && Uoe(e, t, t.getBoundingClientRect(), n);
+function Ub(e, t, n = {}) {
+ e !== t && Woe(e, t, t.getBoundingClientRect(), n);
}
-function Uoe(e, t, n, r = {}) {
+function Woe(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, N = e === d ? 0 : D + O, P = e === d ? 0 : T + E, F = e === d ? 0 : e.offsetWidth - e.clientWidth - N, I = e === d ? 0 : e.offsetHeight - e.clientHeight - P, ee = p + (f ? 0 : T) + x, L = m - (f ? 0 : E) - S - I, te = h + (f ? 0 : D) + C, ne = g - (f ? 0 : O) - w;
vv() && yv() || u.direction === "ltr" ? ne -= F : u.direction === "rtl" && (te += F);
let re = k < ee || A > L, ie = j < te || M > ne;
@@ -22855,7 +22855,7 @@ function Uoe(e, t, n, r = {}) {
top: o
});
}
-function Gb(e, t = {}) {
+function Wb(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -22868,47 +22868,47 @@ function Gb(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = Ub(e, !0);
- for (let t of i) Wb(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = Hb(e, !0);
+ for (let t of i) Ub(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? Ub(n, !0) : [];
- for (let e of i) Wb(e, n, {
+ i = n ? Hb(n, !0) : [];
+ for (let e of i) Ub(e, n, {
block: "center",
inline: "center"
});
- for (let t of Ub(e, !0)) Wb(t, e);
+ for (let t of Hb(e, !0)) Ub(t, e);
}
}
}
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Woe = 0, Kb = /* @__PURE__ */ new Map();
-function qb(e) {
+var Goe = 0, Gb = /* @__PURE__ */ new Map();
+function Kb(e) {
let [t, n] = (0, S.useState)();
return dv(() => {
if (!e) return;
- let t = Kb.get(e);
+ let t = Gb.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Woe++}`;
+ let r = `react-aria-description-${Goe++}`;
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
- }, Kb.set(e, t);
+ }, Gb.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), Kb.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), Gb.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function Jb(e, t, n) {
- let r = Iy((e) => {
+function qb(e, t, n) {
+ let r = Fy((e) => {
n && !e.defaultPrevented && n(t);
});
(0, S.useEffect)(() => {
@@ -22920,21 +22920,21 @@ function Jb(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function Yb(e, t, n) {
+function Jb(e, t, n) {
let { validationBehavior: r, focus: i } = e;
dv(() => {
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(Koe(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(qoe(n.current));
}
});
- let a = (0, S.useRef)(!1), o = Iy(() => {
+ let a = (0, S.useRef)(!1), o = Fy(() => {
a.current || t.resetValidation();
- }), s = Iy((e) => {
+ }), s = Fy((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && qoe(r) === n.current && (i ? i() : n.current?.focus(), Lv("keyboard")), e.preventDefault();
- }), c = Iy(() => {
+ !e.defaultPrevented && n && r && Joe(r) === n.current && (i ? i() : n.current?.focus(), Lv("keyboard")), e.preventDefault();
+ }), c = Fy(() => {
t.commitValidation();
});
(0, S.useEffect)(() => {
@@ -22948,7 +22948,7 @@ function Yb(e, t, n) {
};
}, [n, r]);
}
-function Goe(e) {
+function Koe(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -22964,14 +22964,14 @@ function Goe(e) {
valid: t.valid
};
}
-function Koe(e) {
+function qoe(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: Goe(e),
+ validationDetails: Koe(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function qoe(e) {
+function Joe(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -22980,7 +22980,7 @@ function qoe(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useSlot.mjs
-function Joe(e = !0) {
+function Yoe(e = !0) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -22988,8 +22988,8 @@ function Joe(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function Xb(e = !0) {
- let t = Jv(), [n, r] = Joe(e);
+function Yb(e = !0) {
+ let t = qv(), [n, r] = Yoe(e);
return {
id: r ? t : void 0,
ref: n
@@ -22997,7 +22997,7 @@ function Xb(e = !0) {
}
//#endregion
//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var Zb = {
+var Xb = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -23009,18 +23009,18 @@ var Zb = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, Qb = {
- ...Zb,
+}, Zb = {
+ ...Xb,
customError: !0,
valid: !1
-}, $b = {
+}, Qb = {
isInvalid: !1,
- validationDetails: Zb,
+ validationDetails: Xb,
validationErrors: []
-}, Yoe = (0, S.createContext)({}), ex = "__reactAriaFormValidationState";
-function tx(e) {
+}, Xoe = (0, S.createContext)({}), $b = "__reactAriaFormValidationState";
+function ex(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[ex];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[$b];
return {
realtimeValidation: t,
displayValidation: n,
@@ -23029,71 +23029,71 @@ function tx(e) {
commitValidation: a
};
}
- return Xoe(e);
+ return Zoe(e);
}
-function Xoe(e) {
+function Zoe(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: Qb
- }, l = (0, S.useMemo)(() => !o || i == null ? null : rx(Zoe(o, i)), [o, i]);
+ validationDetails: Zb
+ }, l = (0, S.useMemo)(() => !o || i == null ? null : nx(Qoe(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, S.useContext)(Yoe), d = (0, S.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => nx(u[e])) : nx(u[r]) : [], [u, r]), [f, p] = (0, S.useState)(u), [m, h] = (0, S.useState)(!1);
+ let u = (0, S.useContext)(Xoe), d = (0, S.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => tx(u[e])) : tx(u[r]) : [], [u, r]), [f, p] = (0, S.useState)(u), [m, h] = (0, S.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, S.useMemo)(() => rx(m ? [] : d), [m, d]), _ = (0, S.useRef)($b), [v, y] = (0, S.useState)($b), b = (0, S.useRef)($b), x = () => {
+ let g = (0, S.useMemo)(() => nx(m ? [] : d), [m, d]), _ = (0, S.useRef)(Qb), [v, y] = (0, S.useState)(Qb), b = (0, S.useRef)(Qb), x = () => {
if (!C) return;
w(!1);
let e = l || a || _.current;
- ix(e, b.current) || (b.current = e, y(e));
+ rx(e, b.current) || (b.current = e, y(e));
}, [C, w] = (0, S.useState)(!1);
return (0, S.useEffect)(x), {
- realtimeValidation: c || g || l || a || $b,
+ realtimeValidation: c || g || l || a || Qb,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !ix(v, e) ? y(e) : _.current = e;
+ s === "aria" && !rx(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = $b;
- ix(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
+ let e = Qb;
+ rx(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);
},
commitValidation() {
s === "native" && w(!0), h(!0);
}
};
}
-function nx(e) {
+function tx(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function Zoe(e, t) {
+function Qoe(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return nx(n);
+ if (n && typeof n != "boolean") return tx(n);
}
return [];
}
-function rx(e) {
+function nx(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: Qb
+ validationDetails: Zb
} : null;
}
-function ix(e, t) {
+function rx(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);
}
//#endregion
//#region node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function ax(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 = tx({
+function ix(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 = ex({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: C, validationDetails: w } = b.displayValidation;
- Yb(e, b, n);
+ Jb(e, b, n);
let T = (e) => {
e.stopPropagation(), t.setSelected(av(e).checked);
- }, { pressProps: E, isPressed: D } = fb({
+ }, { pressProps: E, isPressed: D } = db({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -23101,7 +23101,7 @@ function ax(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [O, k] = (0, S.useState)(!1), { pressProps: A } = fb({
+ }), [O, k] = (0, S.useState)(!1), { pressProps: A } = db({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), k(!0));
},
@@ -23118,13 +23118,13 @@ function ax(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [ex]: i } = e, { commitValidation: a } = i || b;
+ let { [$b]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: j } = cy(e, n), M = K(E, j), N = Qy(e, { labelable: !0 });
- Jb(n, t.defaultSelected, t.setSelected);
- let P = Xb(), F = Xb();
+ }), { focusableProps: j } = sy(e, n), M = K(E, j), N = Zy(e, { labelable: !0 });
+ qb(n, t.defaultSelected, t.setSelected);
+ let P = Yb(), F = Yb();
return {
labelProps: K(A, { onClick: (e) => e.preventDefault() }),
inputProps: K(N, {
@@ -23161,8 +23161,8 @@ function ax(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function ox(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 } = ax(e, t, n), { isIndeterminate: m } = e;
+function ax(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 } = ix(e, t, n), { isIndeterminate: m } = e;
return (0, S.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -23181,18 +23181,18 @@ function ox(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/utils.mjs
-var Qoe = /* @__PURE__ */ new WeakMap();
+var $oe = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/label/useLabel.mjs
-function sx(e) {
+function ox(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = Jv(t);
- let o = Jv(), s = {};
+ t = qv(t);
+ let o = qv(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = Ry({
+ let c = Ly({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -23204,13 +23204,13 @@ function sx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/label/useField.mjs
-function cx(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = sx(e), s = Yv([
+function sx(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = ox(e), s = Jv([
!!t,
!!n,
r,
i
- ]), c = Yv([
+ ]), c = Jv([
!!t,
!!n,
r,
@@ -23229,8 +23229,8 @@ function cx(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function lx(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, S.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = sb(), c = (0, S.useCallback)((e) => {
+function cx(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, S.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = ob(), c = (0, S.useCallback)((e) => {
rv(e.currentTarget, av(e)) && a.current.isFocusWithin && !rv(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
@@ -23270,14 +23270,14 @@ function lx(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var $oe = S.useInsertionEffect ?? S.useLayoutEffect;
-function ux(e, t, n) {
+var ese = S.useInsertionEffect ?? S.useLayoutEffect;
+function lx(e, t, n) {
let [r, i] = (0, S.useState)(e || t), a = (0, S.useRef)(r), o = (0, S.useRef)(e !== void 0), s = e !== void 0;
(0, S.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- $oe(() => {
+ ese(() => {
a.current = c;
});
let [, l] = (0, S.useReducer)(() => ({}), {});
@@ -23288,8 +23288,8 @@ function ux(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function dx(e = {}) {
- let { isReadOnly: t } = e, [n, r] = ux(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, S.useState)(n);
+function ux(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = lx(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, S.useState)(n);
function a(e) {
t || r(e);
}
@@ -23305,26 +23305,26 @@ function dx(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function ese(e, t, n) {
- let r = dx({
+function tse(e, t, n) {
+ let r = ux({
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 } = Qoe.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = $oe.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = tx({
+ let { realtimeValidation: l } = ex({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, S.useRef)($b), d = () => {
+ }), u = (0, S.useRef)(Qb), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, S.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ox({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = ax({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -23332,7 +23332,7 @@ function ese(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [ex]: {
+ [$b]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -23356,10 +23356,10 @@ function ese(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/utils/number.mjs
-function fx(e, t = -Infinity, n = Infinity) {
+function dx(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function px(e, t) {
+function fx(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 {
@@ -23372,24 +23372,24 @@ function px(e, t) {
}
return n;
}
-function mx(e, t, n, r) {
+function px(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = px(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(px(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(px((n - t) / r, r)) * r), a = px(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = fx(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(fx(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(fx((n - t) / r, r)) * r), a = fx(a, r), a;
}
//#endregion
//#region node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var hx = /* @__PURE__ */ new Map(), gx = !1;
+var mx = /* @__PURE__ */ new Map(), hx = !1;
try {
- gx = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ hx = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var tse = class {
+var nse = class {
constructor(e, t = {}) {
- this.numberFormatter = nse(e, t), this.options = t;
+ this.numberFormatter = rse(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !gx && this.options.signDisplay != null ? rse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !hx && this.options.signDisplay != null ? ise(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -23421,21 +23421,21 @@ var tse = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !gx && this.options.signDisplay != null && (e = {
+ return !hx && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function nse(e, t = {}) {
+function rse(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 (hx.has(r)) return hx.get(r);
+ if (mx.has(r)) return mx.get(r);
let i = new Intl.NumberFormat(e, t);
- return hx.set(r, i), i;
+ return mx.set(r, i), i;
}
-function rse(e, t, n) {
+function ise(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -23449,12 +23449,12 @@ function rse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useMove.mjs
-function _x(e) {
+function gx(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, S.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = sb(), s = Iy((0, S.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = ob(), s = Fy((0, S.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -23476,8 +23476,8 @@ function _x(e) {
t,
n,
i
- ])), c = Iy((0, S.useCallback)((e, t) => {
- rb(), i.current.didMove && r?.({
+ ])), c = Fy((0, S.useCallback)((e, t) => {
+ nb(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -23488,7 +23488,7 @@ function _x(e) {
}, [r, i]));
return { moveProps: (0, S.useMemo)(() => {
let e = {}, t = () => {
- nb(), i.current.didMove = !1;
+ tb(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -23547,7 +23547,7 @@ function _x(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var vx = {
+var _x = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -23559,38 +23559,38 @@ var vx = {
width: "1px",
whiteSpace: "nowrap"
};
-function yx(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, S.useState)(!1), { focusWithinProps: a } = lx({
+function vx(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, S.useState)(!1), { focusWithinProps: a } = cx({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, S.useMemo)(() => r ? t : t ? {
- ...vx,
+ ..._x,
...t
- } : vx, [r]);
+ } : _x, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function bx(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = yx(e);
+function yx(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = vx(e);
return /*#__PURE__*/ S.createElement(n, K(a, o), t);
}
//#endregion
//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function ise(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = ux(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = cy(e, t), d = tx({
+function ase(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = lx(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = sy(e, t), d = ex({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = cx({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = sx({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Qy(e, { labelable: !0 }), b = {
+ }), y = Zy(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, S.useState)(c);
- return Jb(t, e.defaultValue ?? x, l), Yb(e, d, t), {
+ return qb(t, e.defaultValue ?? x, l), Jb(e, d, t), {
labelProps: h,
inputProps: K(y, n === "input" ? b : void 0, {
disabled: r,
@@ -23637,28 +23637,28 @@ function ise(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function ase(e = {}) {
- let { locale: t } = Wy();
- return (0, S.useMemo)(() => new tse(t, e), [t, e]);
+function ose(e = {}) {
+ let { locale: t } = Uy();
+ return (0, S.useMemo)(() => new nse(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/slider/utils.mjs
-var xx = /* @__PURE__ */ new WeakMap();
-function Sx(e, t) {
- let n = xx.get(e);
+var bx = /* @__PURE__ */ new WeakMap();
+function xx(e, t) {
+ let n = bx.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/slider/useSlider.mjs
-function ose(e, t, n) {
- let { labelProps: r, fieldProps: i } = sx(e), a = e.orientation === "vertical";
- xx.set(t, {
+function sse(e, t, n) {
+ let { labelProps: r, fieldProps: i } = ox(e), a = e.orientation === "vertical";
+ bx.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = Wy(), { addGlobalListener: s, removeGlobalListener: c } = sb(), l = (0, S.useRef)(null), u = o === "rtl", d = (0, S.useRef)(null), { moveProps: f } = _x({
+ let { direction: o } = Uy(), { addGlobalListener: s, removeGlobalListener: c } = ob(), l = (0, S.useRef)(null), u = o === "rtl", d = (0, S.useRef)(null), { moveProps: f } = gx({
onMoveStart() {
d.current = null;
},
@@ -23668,7 +23668,7 @@ function ose(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 = fx(d.current / s, 0, 1);
+ let e = dx(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -23692,7 +23692,7 @@ function ose(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(Sx(t, 0))?.focus(), Lv("keyboard");
+ document.getElementById(xx(t, 0))?.focus(), Lv("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -23715,17 +23715,17 @@ function ose(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => Sx(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => xx(t, n)).join(" "),
"aria-live": "off"
}
};
}
//#endregion
//#region node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function sse(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 } = Wy(), { addGlobalListener: m, removeGlobalListener: h } = sb(), g = xx.get(t), { labelProps: _, fieldProps: v } = sx({
+function cse(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 } = Uy(), { addGlobalListener: m, removeGlobalListener: h } = ob(), g = bx.get(t), { labelProps: _, fieldProps: v } = ox({
...e,
- id: Sx(t, n),
+ id: xx(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, S.useCallback)(() => {
s.current && Y_(s.current);
@@ -23735,7 +23735,7 @@ function sse(e, t) {
}, [x, b]);
let C = p === "rtl", w = (0, S.useRef)(null), T = (e) => {
t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);
- }, { keyboardProps: E } = iy({
+ }, { keyboardProps: E } = ry({
shortcuts: {
PageUp: () => T(() => {
t.incrementThumb(n, t.pageSize);
@@ -23751,7 +23751,7 @@ function sse(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: D } = _x({
+ }), { moveProps: D } = gx({
onMoveStart() {
w.current = null, t.setThumbDragging(n, !0);
},
@@ -23762,7 +23762,7 @@ function sse(e, t) {
if (w.current ??= s(n) * g, i === "keyboard") e > 0 && C || e < 0 && !C || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);
else {
let t = f ? r : e;
- (f || C) && (t = -t), w.current += t, c(n, fx(w.current / g, 0, 1));
+ (f || C) && (t = -t), w.current += t, c(n, dx(w.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -23770,7 +23770,7 @@ function sse(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: O } = cy(K(e, {
+ let { focusableProps: O } = sy(K(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), k = (0, S.useRef)(void 0), A = (e) => {
@@ -23790,7 +23790,7 @@ function sse(e, t) {
A(e.changedTouches[0].identifier);
}
});
- return Jb(s, t.defaultValues[n], (e) => {
+ return qb(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(O, v, {
@@ -23831,13 +23831,13 @@ function sse(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var cse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function Cx(e) {
+var lse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function Sx(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var wx = /* @__PURE__ */ new WeakMap(), Tx = [];
-function Ex(e, t) {
- let n = Z_(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && cse, 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 Cx = /* @__PURE__ */ new WeakMap(), wx = [];
+function Tx(e, t) {
+ let n = Z_(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && lse, 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 (nv()) {
@@ -23853,19 +23853,19 @@ function Ex(e, t) {
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 (rv(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = vb(X_(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = _b(X_(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 = wx.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), wx.set(e, t + 1));
+ let t = Cx.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Cx.set(e, t + 1));
};
- Tx.length && Tx[Tx.length - 1].disconnect(), d(i);
+ wx.length && wx[wx.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) => rv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Cx(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => rv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Sx(e) ? o.add(e) : e instanceof Element && d(e);
if (nv()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -23882,7 +23882,7 @@ function Ex(e, t) {
if (nv()) 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) => rv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Cx(e) ? o.add(e) : e instanceof Element && d(e);
+ if (t.target.isConnected && ![...o, ...s].some((e) => rv(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Sx(e) ? o.add(e) : e instanceof Element && d(e);
if (nv()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
@@ -23909,59 +23909,59 @@ function Ex(e, t) {
p.disconnect();
}
};
- return Tx.push(h), () => {
+ return wx.push(h), () => {
if (p.disconnect(), nv()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = wx.get(e);
- t != null && (t === 1 ? (l(e, !1), wx.delete(e)) : wx.set(e, t - 1));
+ let t = Cx.get(e);
+ t != null && (t === 1 ? (l(e, !1), Cx.delete(e)) : Cx.set(e, t - 1));
}
- h === Tx[Tx.length - 1] ? (Tx.pop(), Tx.length && Tx[Tx.length - 1].observe()) : Tx.splice(Tx.indexOf(h), 1);
+ h === wx[wx.length - 1] ? (wx.pop(), wx.length && wx[wx.length - 1].observe()) : wx.splice(wx.indexOf(h), 1);
};
}
-function Dx(e) {
- let t = Tx[Tx.length - 1];
+function Ex(e) {
+ let t = wx[wx.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/utils.mjs
-var Ox = /* @__PURE__ */ new WeakMap();
-function lse(e) {
+var Dx = /* @__PURE__ */ new WeakMap();
+function use(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function use(e, t) {
- let n = Ox.get(e);
+function dse(e, t) {
+ let n = Dx.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${lse(t)}`;
+ return `${n.id}-option-${use(t)}`;
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/utils.mjs
-function kx(e) {
+function Ox(e) {
return Xie() ? e.altKey : e.ctrlKey;
}
-function Ax(e, t) {
+function kx(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 jx = /* @__PURE__ */ new WeakMap();
-function dse(e) {
- let t = Jv();
- return jx.set(e, t), t;
-}
+var Ax = /* @__PURE__ */ new WeakMap();
function fse(e) {
- return jx.get(e);
+ let t = qv();
+ return Ax.set(e, t), t;
+}
+function pse(e) {
+ return Ax.get(e);
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var Mx = class {
+var jx = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : Ax(this.ref, e);
+ let n = e == null ? null : kx(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -23987,12 +23987,12 @@ var Mx = class {
height: e?.clientHeight ?? 0
};
}
-}, Nx = class {
+}, Mx = 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 Mx(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 Mx(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 jx(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 jx(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -24032,14 +24032,14 @@ var Mx = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = Ax(this.ref, e);
+ let t = this.getNextKey(e), n = kx(this.ref, e);
if (t != null) {
- let e = Ax(this.ref, t);
+ let e = kx(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = Ax(this.ref, r);
+ let e = kx(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -24073,7 +24073,7 @@ var Mx = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !Vb(t)) return this.getFirstKey();
+ if (t && !Bb(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -24088,7 +24088,7 @@ var Mx = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !Vb(t)) return this.getLastKey();
+ if (t && !Bb(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);
@@ -24111,184 +24111,184 @@ var Mx = class {
}
return null;
}
-}, Px = {};
-Px = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, Nx = {};
+Nx = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var Fx = {};
-Fx = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var Px = {};
+Px = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var Ix = {};
-Ix = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var Fx = {};
+Fx = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var Lx = {};
-Lx = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var Ix = {};
+Ix = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var Rx = {};
-Rx = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var Lx = {};
+Lx = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var zx = {};
-zx = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var Rx = {};
+Rx = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var Bx = {};
-Bx = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var zx = {};
+zx = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var Vx = {};
-Vx = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var Bx = {};
+Bx = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var Hx = {};
-Hx = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var Vx = {};
+Vx = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var Ux = {};
-Ux = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var Hx = {};
+Hx = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var Wx = {};
-Wx = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var Ux = {};
+Ux = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var Gx = {};
-Gx = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var Wx = {};
+Wx = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var Kx = {};
-Kx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var Gx = {};
+Gx = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var qx = {};
-qx = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var Kx = {};
+Kx = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var Jx = {};
-Jx = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var qx = {};
+qx = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var Yx = {};
-Yx = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var Jx = {};
+Jx = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var Xx = {};
-Xx = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var Yx = {};
+Yx = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var Zx = {};
-Zx = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var Xx = {};
+Xx = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var Qx = {};
-Qx = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var Zx = {};
+Zx = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var $x = {};
-$x = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var Qx = {};
+Qx = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var eS = {};
-eS = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var $x = {};
+$x = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var tS = {};
-tS = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var eS = {};
+eS = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var nS = {};
-nS = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var tS = {};
+tS = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var rS = {};
-rS = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var nS = {};
+nS = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var iS = {};
-iS = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var rS = {};
+rS = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var aS = {};
-aS = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var iS = {};
+iS = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var oS = {};
-oS = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var aS = {};
+aS = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var sS = {};
-sS = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var oS = {};
+oS = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var cS = {};
-cS = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var sS = {};
+sS = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var lS = {};
-lS = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var cS = {};
+cS = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var uS = {};
-uS = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var lS = {};
+lS = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var dS = {};
-dS = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var uS = {};
+uS = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var fS = {};
-fS = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var dS = {};
+dS = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var pS = {};
-pS = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var fS = {};
+fS = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
//#endregion
//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var mS = {};
-mS = {
- "ar-AE": Px,
- "bg-BG": Fx,
- "cs-CZ": Ix,
- "da-DK": Lx,
- "de-DE": Rx,
- "el-GR": zx,
- "en-US": Bx,
- "es-ES": Vx,
- "et-EE": Hx,
- "fi-FI": Ux,
- "fr-FR": Wx,
- "he-IL": Gx,
- "hr-HR": Kx,
- "hu-HU": qx,
- "it-IT": Jx,
- "ja-JP": Yx,
- "ko-KR": Xx,
- "lt-LT": Zx,
- "lv-LV": Qx,
- "nb-NO": $x,
- "nl-NL": eS,
- "pl-PL": tS,
- "pt-BR": nS,
- "pt-PT": rS,
- "ro-RO": iS,
- "ru-RU": aS,
- "sk-SK": oS,
- "sl-SI": sS,
- "sr-SP": cS,
- "sv-SE": lS,
- "tr-TR": uS,
- "uk-UA": dS,
- "zh-CN": fS,
- "zh-TW": pS
+var pS = {};
+pS = {
+ "ar-AE": Nx,
+ "bg-BG": Px,
+ "cs-CZ": Fx,
+ "da-DK": Ix,
+ "de-DE": Lx,
+ "el-GR": Rx,
+ "en-US": zx,
+ "es-ES": Bx,
+ "et-EE": Vx,
+ "fi-FI": Hx,
+ "fr-FR": Ux,
+ "he-IL": Wx,
+ "hr-HR": Gx,
+ "hu-HU": Kx,
+ "it-IT": qx,
+ "ja-JP": Jx,
+ "ko-KR": Yx,
+ "lt-LT": Xx,
+ "lv-LV": Zx,
+ "nb-NO": Qx,
+ "nl-NL": $x,
+ "pl-PL": eS,
+ "pt-BR": tS,
+ "pt-PT": nS,
+ "ro-RO": rS,
+ "ru-RU": iS,
+ "sk-SK": aS,
+ "sl-SI": oS,
+ "sr-SP": sS,
+ "sv-SE": cS,
+ "tr-TR": lS,
+ "uk-UA": uS,
+ "zh-CN": dS,
+ "zh-TW": fS
};
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var pse = 500;
-function hS(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = pse, accessibilityDescription: s } = e, c = (0, S.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = sb(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = fb({
+var mse = 500;
+function mS(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = mse, accessibilityDescription: s } = e, c = (0, S.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = ob(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = db({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -24316,12 +24316,12 @@ function hS(e) {
});
}
});
- return { longPressProps: K(f, qb(a && !t ? s : void 0)) };
+ return { longPressProps: K(f, Kb(a && !t ? s : void 0)) };
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function mse(e) {
- let { onContextMenu: t } = e, n = (0, S.useRef)(!1), { longPressProps: r } = hS({
+function hse(e) {
+ let { onContextMenu: t } = e, n = (0, S.useRef)(!1), { longPressProps: r } = mS({
onLongPressStart() {
n.current = !1;
},
@@ -24364,13 +24364,13 @@ function mse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var gS = /* @__PURE__ */ new WeakMap();
-function hse(e) {
+var hS = /* @__PURE__ */ new WeakMap();
+function gse(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
(0, S.useEffect)(() => !n || r === null ? void 0 : ev(Rie(t.current), "scroll", (e) => {
let n = av(e);
if (!t.current || n instanceof Node && !rv(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || gS.get(t.current);
+ let i = r || hS.get(t.current);
i && i();
}, !0), [
n,
@@ -24380,14 +24380,14 @@ function hse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function gse(e, t, n) {
+function _se(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, S.useEffect)(() => {
- n && n.current && gS.set(n.current, t.close);
+ n && n.current && hS.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = Jv();
+ let o = qv();
return {
triggerProps: {
"aria-haspopup": a,
@@ -24400,14 +24400,14 @@ function gse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function _se(e) {
+function vse(e) {
return e && e.__esModule ? e.default : e;
}
-function _S(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Jv(), { triggerProps: s, overlayProps: c } = gse({ type: r }, t, n), l = (e, n, r = "first") => {
+function gS(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = qv(), { triggerProps: s, overlayProps: c } = _se({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = iy({
+ }, { keyboardProps: u } = ry({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -24419,7 +24419,7 @@ function _S(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Xy(_se(mS), "@react-aria/menu"), { longPressProps: f } = hS({
+ }), d = Yy(vse(pS), "@react-aria/menu"), { longPressProps: f } = mS({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -24438,7 +24438,7 @@ function _S(e, t, n) {
}
};
delete s.onPress;
- let { contextMenuProps: m } = mse({ onContextMenu(e) {
+ let { contextMenuProps: m } = hse({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -24483,8 +24483,8 @@ function _S(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var vS = 1e3;
-function yS(e) {
+var _S = 1e3;
+function vS(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, S.useRef)({
search: "",
timeout: void 0
@@ -24503,11 +24503,11 @@ function yS(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, vS);
+ }, _S);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = vse(e.key);
+ let a = yse(e.key);
if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !rv(e.currentTarget, av(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
@@ -24519,17 +24519,17 @@ function yS(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, vS);
+ }, _S);
}
} : void 0
} };
}
-function vse(e) {
+function yse(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function bS(e, t) {
+function yS(e, t) {
let n = (0, S.useRef)(!0), r = (0, S.useRef)(null);
dv(() => (n.current = !0, () => {
n.current = !1;
@@ -24539,14 +24539,14 @@ function bS(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function xS(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 } = Wy(), _ = xv(), v = (e, n, i) => {
+function bS(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 } = Uy(), _ = xv(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !kx(e)) {
+ if (t.isLink(n) && m === "selection" && l && !Ox(e)) {
(0, gt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = Ax(r, n), o = t.getItemProps(n);
+ let a = kx(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -24558,7 +24558,7 @@ function xS(e) {
t.extendSelection(n);
return;
}
- if (l && !kx(e)) {
+ if (l && !Ox(e)) {
t.replaceSelection(n);
return;
}
@@ -24585,9 +24585,9 @@ function xS(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Py(e));
+ let r = n.getFirstKey(t.focusedKey, Ny(e));
if (t.setFocusedKey(r), r != null) {
- if (Py(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ny(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24619,9 +24619,9 @@ function xS(e) {
}, T = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Py(e));
+ let r = n.getLastKey(t.focusedKey, Ny(e));
if (t.setFocusedKey(r), r != null) {
- if (Py(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Ny(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -24652,7 +24652,7 @@ function xS(e) {
else return !1;
}, A = () => {
if (!f && r.current) {
- let e = Pb(r.current, { tabbable: !0 }), t, n;
+ let e = Nb(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
@@ -24671,7 +24671,7 @@ function xS(e) {
[e + "+Shift"]: t,
[_v() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: N } = iy({
+ }), { keyboardProps: N } = ry({
shortcuts: {
...M("ArrowDown", y),
...M("ArrowUp", b),
@@ -24681,7 +24681,7 @@ function xS(e) {
...M("PageUp", D)
},
allowRepeats: !0
- }), { keyboardProps: P } = iy({ shortcuts: {
+ }), { keyboardProps: P } = ry({ shortcuts: {
...M("Home", x),
...M("End", T),
"Mod+A": O,
@@ -24692,7 +24692,7 @@ function xS(e) {
top: 0,
left: 0
});
- Ly(p, "scroll", () => {
+ Iy(p, "scroll", () => {
F.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -24715,27 +24715,27 @@ function xS(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 = F.current.top, p.current.scrollLeft = F.current.left);
if (t.focusedKey != null && p.current) {
- let e = Ax(r, t.focusedKey);
- e instanceof HTMLElement && (!ov(e) && !d && Y_(e), (i === "keyboard" || h && i === "virtual") && Gb(e, { containingElement: r.current }));
+ let e = kx(r, t.focusedKey);
+ e instanceof HTMLElement && (!ov(e) && !d && Y_(e), (i === "keyboard" || h && i === "virtual") && Wb(e, { containingElement: r.current }));
}
}, ee = (e) => {
rv(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, L = (0, S.useRef)(!1);
- Ly(r, noe, d ? (e) => {
+ Iy(r, roe, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (L.current = !0);
} : void 0);
let te = n.getFirstKey?.() ?? null;
- bS(() => {
+ yS(() => {
if (L.current) {
if (te == null) {
let e = iv();
- Cy(r.current), wy(e, null), t.collection.size > 0 && (L.current = !1);
+ Sy(r.current), Cy(e, null), t.collection.size > 0 && (L.current = !1);
} else t.setFocusedKey(te), L.current = !1;
}
- }, [te, t.collection.size]), bS(() => {
+ }, [te, t.collection.size]), yS(() => {
t.collection.size > 0 && (L.current = !1);
- }, [t.focusedKey]), Ly(r, toe, d ? (e) => {
+ }, [t.focusedKey]), Iy(r, noe, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let ne = (0, S.useRef)(i), re = (0, S.useRef)(!1);
@@ -24750,22 +24750,22 @@ function xS(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Uv(r.current), t.collection.size > 0 && (ne.current = !1, re.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Hv(r.current), t.collection.size > 0 && (ne.current = !1, re.current = !0);
}
});
let ie = (0, S.useRef)(t.focusedKey), ae = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ie.current || re.current) && p.current && r.current) {
- let e = Iv(), n = Ax(r, t.focusedKey);
+ let e = Iv(), n = kx(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || re.current) && (ae.current && cancelAnimationFrame(ae.current), ae.current = requestAnimationFrame(() => {
- p.current && (Wb(p.current, n), e !== "virtual" && Gb(n, { containingElement: r.current }));
+ p.current && (Ub(p.current, n), e !== "virtual" && Wb(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && Uv(r.current), ie.current = t.focusedKey, re.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ie.current != null && r.current && Hv(r.current), ie.current = t.focusedKey, re.current = !1;
}), (0, S.useEffect)(() => () => {
ae.current && cancelAnimationFrame(ae.current);
- }, []), Ly(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Iy(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let oe = {
@@ -24775,14 +24775,14 @@ function xS(e) {
onMouseDown(e) {
p.current === av(e) && e.preventDefault();
}
- }, { typeSelectProps: se } = yS({
+ }, { typeSelectProps: se } = vS({
keyboardDelegate: n,
selectionManager: t
});
u || (oe = K(se, oe));
let ce;
d || (ce = t.focusedKey == null ? 0 : -1);
- let le = dse(t.collection);
+ let le = fse(t.collection);
return { collectionProps: K(oe, {
tabIndex: ce,
"data-collection": le
@@ -24790,13 +24790,13 @@ function xS(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function SS(e, t) {
+function xS(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function CS(e) {
- return wS(e, 0);
+function SS(e) {
+ return CS(e, 0);
}
-function wS(e, t) {
+function CS(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -24804,112 +24804,112 @@ function wS(e, t) {
n++;
}
}
-function TS(e) {
+function wS(e) {
let t;
for (let n of e) t = n;
return t;
}
-function ES(e, t, n) {
+function TS(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...DS(e, t), t], i = [...DS(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...ES(e, t), t], i = [...ES(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 DS(e, t) {
+function ES(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var OS = /* @__PURE__ */ new WeakMap();
-function kS(e) {
- let t = OS.get(e);
+var DS = /* @__PURE__ */ new WeakMap();
+function OS(e) {
+ let t = DS.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(SS(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(xS(i, e)) : i.type === "item" && n++;
};
- return r(e), OS.set(e, n), n;
+ return r(e), DS.set(e, n), n;
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var AS = /* @__PURE__ */ new Map();
-function jS(e) {
- let { locale: t } = Wy(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (AS.has(n)) return AS.get(n);
+var kS = /* @__PURE__ */ new Map();
+function AS(e) {
+ let { locale: t } = Uy(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (kS.has(n)) return kS.get(n);
let r = new Intl.Collator(t, e);
- return AS.set(n, r), r;
+ return kS.set(n, r), r;
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var yse = /*#__PURE__*/ S.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, S.useRef)(!1), i = (0, S.useContext)(ob), a = K(i || {}, {
+var bse = /*#__PURE__*/ S.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, S.useRef)(!1), i = (0, S.useContext)(ab), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = ay(n || i?.ref), oy(i, a.ref), (0, S.useEffect)(() => {
+ return a.ref = iy(n || i?.ref), ay(i, a.ref), (0, S.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ S.createElement(ob.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ S.createElement(ab.Provider, { value: a }, e);
});
-function bse({ children: e }) {
+function xse({ children: e }) {
let t = (0, S.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ S.createElement(ob.Provider, { value: t }, e);
+ return /*#__PURE__*/ S.createElement(ab.Provider, { value: t }, e);
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var MS = /*#__PURE__*/ (0, S.createContext)({});
-function NS(e) {
- let { getContainer: t } = e, { getContainer: n } = PS();
- return /*#__PURE__*/ S.createElement(MS.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var jS = /*#__PURE__*/ (0, S.createContext)({});
+function MS(e) {
+ let { getContainer: t } = e, { getContainer: n } = NS();
+ return /*#__PURE__*/ S.createElement(jS.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function PS() {
- return (0, S.useContext)(MS) ?? {};
+function NS() {
+ return (0, S.useContext)(jS) ?? {};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var FS = /*#__PURE__*/ S.createContext(null);
-function IS(e) {
+var PS = /*#__PURE__*/ S.createContext(null);
+function FS(e) {
let t = Tv(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = PS();
+ }), [i, a]), { getContainer: s } = NS();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ S.createElement(Sb, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ S.createElement(xb, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ S.createElement(FS.Provider, { value: o }, /*#__PURE__*/ S.createElement(bse, null, /*#__PURE__*/ S.createElement(sy.Provider, { value: null }, c))), /*#__PURE__*/ gt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ S.createElement(PS.Provider, { value: o }, /*#__PURE__*/ S.createElement(xse, null, /*#__PURE__*/ S.createElement(oy.Provider, { value: null }, c))), /*#__PURE__*/ gt.createPortal(c, n);
}
-function LS() {
- let e = (0, S.useContext)(FS)?.setContain;
+function IS() {
+ let e = (0, S.useContext)(PS)?.setContain;
dv(() => {
e?.(!0);
}, [e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function xse(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = Yv();
+function Sse(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = Jv();
i = e["aria-label"] ? void 0 : i;
- let a = Yv();
+ let a = Jv();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, S.useRef)(!1);
(0, S.useEffect)(() => {
if (!r && t.current && !ov(t.current)) {
- Uv(t.current);
+ Hv(t.current);
let e = setTimeout(() => {
- (iv() === t.current || iv() === document.body) && (o.current = !0, t.current && (t.current.blur(), Uv(t.current)), o.current = !1);
+ (iv() === t.current || iv() === document.body) && (o.current = !0, t.current && (t.current.blur(), Hv(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), LS(), (0, S.useRef)(!1), (0, S.useEffect)(() => {});
+ }, [t, r]), IS(), (0, S.useRef)(!1), (0, S.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...Qy(e, { labelable: !0 }),
+ ...Zy(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -24924,7 +24924,7 @@ function xse(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function RS(e = {}) {
+function LS(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, S.useRef)({
isFocused: !1,
isFocusVisible: t || Fv()
@@ -24937,10 +24937,10 @@ function RS(e = {}) {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = ey({
+ let { focusProps: d } = $v({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = lx({
+ }), { focusWithinProps: f } = cx({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -24952,36 +24952,36 @@ function RS(e = {}) {
}
//#endregion
//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Sse(e = {}) {
- let { locale: t } = Wy();
+function Cse(e = {}) {
+ let { locale: t } = Uy();
return (0, S.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useHover.mjs
-var zS = !1, BS = 0;
-function Cse() {
- zS = !0, setTimeout(() => {
- zS = !1;
+var RS = !1, zS = 0;
+function wse() {
+ RS = !0, setTimeout(() => {
+ RS = !1;
}, 500);
}
-function VS(e) {
- e.pointerType === "touch" && Cse();
+function BS(e) {
+ e.pointerType === "touch" && wse();
}
-function wse() {
+function Tse() {
let e = X_(null);
- if (e !== void 0) return BS === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", VS), BS++, () => {
- BS--, !(BS > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", VS);
+ if (e !== void 0) return zS === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", BS), zS++, () => {
+ zS--, !(zS > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", BS);
};
}
-function HS(e) {
+function VS(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, S.useState)(!1), s = (0, S.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, S.useEffect)(wse, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = sb(), { hoverProps: u, triggerHoverEnd: d } = (0, S.useMemo)(() => {
+ (0, S.useEffect)(Tse, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = ob(), { hoverProps: u, triggerHoverEnd: d } = (0, S.useMemo)(() => {
let e = (e, r) => {
if (s.pointerType = r, i || r === "touch" || s.isHovered || !rv(e.currentTarget, av(e))) return;
s.isHovered = !0;
@@ -25002,7 +25002,7 @@ function HS(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- zS && t.pointerType === "mouse" || e(t, t.pointerType);
+ RS && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
!i && rv(e.currentTarget, av(e)) && a(e, e.pointerType);
}), {
@@ -25027,13 +25027,13 @@ function HS(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Tse(e) {
+function Ese(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, S.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = Iy((e) => {
- n && US(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = Iy((e) => {
+ }), o = Fy((e) => {
+ n && HS(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Fy((e) => {
n && n(e);
});
(0, S.useEffect)(() => {
@@ -25042,7 +25042,7 @@ function Tse(e) {
let n = t.current, i = X_(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && US(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && HS(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);
@@ -25050,7 +25050,7 @@ function Tse(e) {
}
}, [t, r]);
}
-function US(e, t) {
+function HS(e, t) {
if (e.button > 0) return !1;
let n = av(e);
if (n) {
@@ -25061,19 +25061,19 @@ function US(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/utils.mjs
-var WS = /* @__PURE__ */ new WeakMap();
-function GS(e, t) {
- let { id: n } = WS.get(e) ?? {};
+var US = /* @__PURE__ */ new WeakMap();
+function WS(e, t) {
+ let { id: n } = US.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Ese(t)}`;
+ return `${n}-${Dse(t)}`;
}
-function Ese(e) {
+function Dse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var KS = {};
-KS = {
+var GS = {};
+GS = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -25087,8 +25087,8 @@ KS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var qS = {};
-qS = {
+var KS = {};
+KS = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -25102,8 +25102,8 @@ qS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var JS = {};
-JS = {
+var qS = {};
+qS = {
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",
@@ -25117,8 +25117,8 @@ JS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var YS = {};
-YS = {
+var JS = {};
+JS = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -25132,8 +25132,8 @@ YS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var XS = {};
-XS = {
+var YS = {};
+YS = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -25147,8 +25147,8 @@ XS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var ZS = {};
-ZS = {
+var XS = {};
+XS = {
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: "Επιλογή",
@@ -25162,8 +25162,8 @@ ZS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var QS = {};
-QS = {
+var ZS = {};
+ZS = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -25177,8 +25177,8 @@ QS = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var $S = {};
-$S = {
+var QS = {};
+QS = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -25192,8 +25192,8 @@ $S = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var eC = {};
-eC = {
+var $S = {};
+$S = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -25207,8 +25207,8 @@ eC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var tC = {};
-tC = {
+var eC = {};
+eC = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -25222,8 +25222,8 @@ tC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var nC = {};
-nC = {
+var tC = {};
+tC = {
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",
@@ -25237,8 +25237,8 @@ nC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var rC = {};
-rC = {
+var nC = {};
+nC = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -25252,8 +25252,8 @@ rC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var iC = {};
-iC = {
+var rC = {};
+rC = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -25267,8 +25267,8 @@ iC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var aC = {};
-aC = {
+var iC = {};
+iC = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -25282,8 +25282,8 @@ aC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var oC = {};
-oC = {
+var aC = {};
+aC = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -25297,8 +25297,8 @@ oC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var sC = {};
-sC = {
+var oC = {};
+oC = {
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: "選択",
@@ -25312,8 +25312,8 @@ sC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var cC = {};
-cC = {
+var sC = {};
+sC = {
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: "선택",
@@ -25327,8 +25327,8 @@ cC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var lC = {};
-lC = {
+var cC = {};
+cC = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -25342,8 +25342,8 @@ lC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var uC = {};
-uC = {
+var lC = {};
+lC = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -25357,8 +25357,8 @@ uC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var dC = {};
-dC = {
+var uC = {};
+uC = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -25372,8 +25372,8 @@ dC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var fC = {};
-fC = {
+var dC = {};
+dC = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -25387,8 +25387,8 @@ fC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var pC = {};
-pC = {
+var fC = {};
+fC = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -25402,8 +25402,8 @@ pC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var mC = {};
-mC = {
+var pC = {};
+pC = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -25417,8 +25417,8 @@ mC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var hC = {};
-hC = {
+var mC = {};
+mC = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -25432,8 +25432,8 @@ hC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var gC = {};
-gC = {
+var hC = {};
+hC = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -25447,8 +25447,8 @@ gC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var _C = {};
-_C = {
+var gC = {};
+gC = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -25462,8 +25462,8 @@ _C = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var vC = {};
-vC = {
+var _C = {};
+_C = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -25477,8 +25477,8 @@ vC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var yC = {};
-yC = {
+var vC = {};
+vC = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -25492,8 +25492,8 @@ yC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var bC = {};
-bC = {
+var yC = {};
+yC = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -25507,8 +25507,8 @@ bC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var xC = {};
-xC = {
+var bC = {};
+bC = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -25522,8 +25522,8 @@ xC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var SC = {};
-SC = {
+var xC = {};
+xC = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -25537,8 +25537,8 @@ SC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var CC = {};
-CC = {
+var SC = {};
+SC = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -25552,8 +25552,8 @@ CC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var wC = {};
-wC = {
+var CC = {};
+CC = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -25567,8 +25567,8 @@ wC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var TC = {};
-TC = {
+var wC = {};
+wC = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -25582,55 +25582,55 @@ TC = {
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var EC = {};
-EC = {
- "ar-AE": KS,
- "bg-BG": qS,
- "cs-CZ": JS,
- "da-DK": YS,
- "de-DE": XS,
- "el-GR": ZS,
- "en-US": QS,
- "es-ES": $S,
- "et-EE": eC,
- "fi-FI": tC,
- "fr-FR": nC,
- "he-IL": rC,
- "hr-HR": iC,
- "hu-HU": aC,
- "it-IT": oC,
- "ja-JP": sC,
- "ko-KR": cC,
- "lt-LT": lC,
- "lv-LV": uC,
- "nb-NO": dC,
- "nl-NL": fC,
- "pl-PL": pC,
- "pt-BR": mC,
- "pt-PT": hC,
- "ro-RO": gC,
- "ru-RU": _C,
- "sk-SK": vC,
- "sl-SI": yC,
- "sr-SP": bC,
- "sv-SE": xC,
- "tr-TR": SC,
- "uk-UA": CC,
- "zh-CN": wC,
- "zh-TW": TC
+var TC = {};
+TC = {
+ "ar-AE": GS,
+ "bg-BG": KS,
+ "cs-CZ": qS,
+ "da-DK": JS,
+ "de-DE": YS,
+ "el-GR": XS,
+ "en-US": ZS,
+ "es-ES": QS,
+ "et-EE": $S,
+ "fi-FI": eC,
+ "fr-FR": tC,
+ "he-IL": nC,
+ "hr-HR": rC,
+ "hu-HU": iC,
+ "it-IT": aC,
+ "ja-JP": oC,
+ "ko-KR": sC,
+ "lt-LT": cC,
+ "lv-LV": lC,
+ "nb-NO": uC,
+ "nl-NL": dC,
+ "pl-PL": fC,
+ "pt-BR": pC,
+ "pt-PT": mC,
+ "ro-RO": hC,
+ "ru-RU": gC,
+ "sk-SK": _C,
+ "sl-SI": vC,
+ "sr-SP": yC,
+ "sv-SE": bC,
+ "tr-TR": xC,
+ "uk-UA": SC,
+ "zh-CN": CC,
+ "zh-TW": wC
};
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Dse(e) {
+function Ose(e) {
return e && e.__esModule ? e.default : e;
}
-function DC(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Xy(Dse(EC), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, S.useRef)(i), o = (0, S.useCallback)(() => {
+function EC(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Yy(Ose(TC), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, S.useRef)(i), o = (0, S.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = OC(i, a.current), o = OC(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = DC(i, a.current), o = DC(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)) {
@@ -25650,7 +25650,7 @@ function DC(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 && zb(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 && Rb(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -25661,7 +25661,7 @@ function DC(e, t) {
n,
r
]);
- Bb(() => {
+ zb(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -25669,7 +25669,7 @@ function DC(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function OC(e, t) {
+function DC(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);
@@ -25677,13 +25677,13 @@ function OC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function kC(e, t) {
+function OC(e, t) {
let n = t?.isDisabled, [r, i] = (0, S.useState)(!1);
return dv(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = Pb(e.current, { tabbable: !0 });
+ let t = Nb(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -25702,12 +25702,12 @@ function kC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Ose(e) {
+function kse(e) {
return e && e.__esModule ? e.default : e;
}
-function AC(e) {
- let t = Xy(Ose(EC), "@react-aria/grid"), n = wae(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return qb((0, S.useMemo)(() => {
+function kC(e) {
+ let t = Yy(kse(TC), "@react-aria/grid"), n = wae(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return Kb((0, S.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;
}, [
@@ -25720,11 +25720,11 @@ function AC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function jC(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = jS({
+function AC(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = AS({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, S.useMemo)(() => a || new Nx({
+ }), l = t.disabledBehavior, u = (0, S.useMemo)(() => a || new Mx({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -25741,7 +25741,7 @@ function jC(e) {
c,
l,
s
- ]), { collectionProps: d } = xS({
+ ]), { collectionProps: d } = bS({
...e,
ref: i,
selectionManager: t,
@@ -25751,10 +25751,10 @@ function jC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function kse(e, t, n) {
+function Ase(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 } = jC({
+ let { listProps: f } = AC({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -25769,31 +25769,31 @@ function kse(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = Jv(e.id);
- WS.set(t, {
+ }), p = qv(e.id);
+ US.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = AC({
+ let m = kC({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = kC(n, { isDisabled: t.collection.size !== 0 }), g = K(Qy(e, { labelable: !0 }), {
+ }), h = OC(n, { isDisabled: t.collection.size !== 0 }), g = K(Zy(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), DC({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), EC({}, t), { gridProps: g };
}
//#endregion
//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function MC(e) {
+function jC(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 = xv();
- t = Jv(t);
+ t = qv(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && kx(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && Ox(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -25804,11 +25804,11 @@ function MC(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 && (Py(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 && (Ny(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, S.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? Cy(i.current) : s ? s() : iv() !== i.current && i.current && Uv(i.current));
+ r === n.focusedKey && n.isFocused && (o ? Sy(i.current) : s ? s() : iv() !== i.current && i.current && Hv(i.current));
}, [
i,
r,
@@ -25836,22 +25836,22 @@ function MC(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, O.href, O.routerOptions);
}, A = { ref: i };
a ? (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || PC(e.key)) && p(e);
+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || NC(e.key)) && p(e);
}, u ? (A.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, A.onPress = b ? k : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : A.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !NC(e.key)) return;
+ if (e.pointerType === "keyboard" && !MC(e.key)) return;
k(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (A.onPressStart = (e) => {
- w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || PC(e.key))) && p(e);
+ w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || NC(e.key))) && p(e);
}, A.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && NC(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && MC(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));
});
- let j = fse(n.collection);
+ let j = pse(n.collection);
if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = K(A, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -25866,10 +25866,10 @@ function MC(e) {
"onPress",
"onPressUp",
"onClick"
- ]) O[e] && (A[e] = Wv(A[e], O[e]));
- let { pressProps: M, isPressed: N } = fb(A), P = x ? (e) => {
+ ]) O[e] && (A[e] = Uv(A[e], O[e]));
+ let { pressProps: M, isPressed: N } = db(A), P = x ? (e) => {
w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));
- } : void 0, { longPressProps: F } = hS({
+ } : void 0, { longPressProps: F } = mS({
isDisabled: !T,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -25910,15 +25910,15 @@ function MC(e) {
hasAction: C
};
}
-function NC(e) {
+function MC(e) {
return e === "Enter";
}
-function PC(e) {
+function NC(e) {
return e === " ";
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var FC = {
+var PC = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -25928,18 +25928,18 @@ var FC = {
rtl: "ArrowRight"
}
};
-function Ase(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Wy(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = WS.get(t), f = Yv(), p = (0, S.useRef)(null), m = () => {
+function jse(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Uy(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = US.get(t), f = Jv(), p = (0, S.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
if (ov(n.current) && n.current !== iv(X_(n.current))) return;
- let e = Pb(n.current, { tabbable: !0 }).firstChild();
+ let e = Nb(n.current, { tabbable: !0 }).firstChild();
if (e) {
- Uv(e), Gb(e, { containingElement: Hb(e) });
+ Hv(e), Wb(e, { containingElement: Vb(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !ov(n.current)) && Uv(n.current);
+ (p.current != null && r.key !== p.current || !ov(n.current)) && Hv(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -25949,7 +25949,7 @@ function Ase(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = jse(e, t.collection);
+ let n = Mse(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;
@@ -25960,41 +25960,41 @@ function Ase(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = MC({
+ let { itemProps: v, ...y } = jC({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? Wv(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? Uv(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
let i = iv(X_(n.current));
if (!rv(e.currentTarget, av(e)) || !n.current || !i) return;
- let a = Pb(n.current);
- if (a.currentNode = i, !IC(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let a = Nb(n.current);
+ if (a.currentNode = i, !FC(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(), Uv(t), Gb(t, { containingElement: Hb(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Uv(n.current), Gb(n.current, { containingElement: Hb(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Hv(t), Wb(t, { containingElement: Vb(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Hv(n.current), Wb(n.current, { containingElement: Vb(n.current) });
else {
a.currentNode = n.current;
- let e = LC(a);
- e && (Uv(e), Gb(e, { containingElement: Hb(n.current) }));
+ let e = IC(a);
+ e && (Hv(e), Wb(e, { containingElement: Vb(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), Uv(t), Gb(t, { containingElement: Hb(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Uv(n.current), Gb(n.current, { containingElement: Hb(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), Hv(t), Wb(t, { containingElement: Vb(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Hv(n.current), Wb(n.current, { containingElement: Vb(n.current) });
else {
a.currentNode = n.current;
- let e = LC(a);
- e && (Uv(e), Gb(e, { containingElement: Hb(n.current) }));
+ let e = IC(a);
+ e && (Hv(e), Wb(e, { containingElement: Vb(n.current) }));
}
}
break;
@@ -26013,10 +26013,10 @@ function Ase(e, t, n) {
e.stopPropagation();
return;
}
- if (IC(e, t, r, g, s, i, n.current, o)) return;
+ if (FC(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = Pb(n.current, { tabbable: !0 });
+ let t = Nb(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -26027,8 +26027,8 @@ function Ase(e, t, n) {
"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) ? `${GS(t, r.key)} ${f}` : void 0,
- id: GS(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${WS(t, r.key)} ${f}` : void 0,
+ id: WS(t, r.key)
});
a === "child" && o && u === "tab" && (T.tabIndex = -1);
let E = T.onKeyDown;
@@ -26049,37 +26049,37 @@ function Ase(e, t, n) {
...y
};
}
-function IC(e, t, n, r, i, a, o, s) {
+function FC(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === FC.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === FC.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === PC.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === PC.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 LC(e) {
+function IC(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function jse(e, t) {
+function Mse(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;
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Mse(e) {
+function Nse(e) {
return e && e.__esModule ? e.default : e;
}
-function RC(e, t) {
- let { key: n } = e, r = t.selectionManager, i = Jv(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function LC(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = qv(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Xy(Mse(EC), "@react-aria/grid").format("select"),
+ "aria-label": Yy(Nse(TC), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
@@ -26087,31 +26087,31 @@ function RC(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Nse(e, t) {
- let { key: n } = e, { checkboxProps: r } = RC(e, t);
+function Pse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = LC(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${GS(t, n)}`
+ "aria-labelledby": `${r.id} ${WS(t, n)}`
} };
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Pse(e, t, n) {
- let r = Qy(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Fse(e, t, n) {
+ let r = Zy(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 } = jC({
+ let { listProps: s } = AC({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = lx({
+ }), { focusWithinProps: c } = cx({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = Jv(e.id);
- Ox.set(t, {
+ }), l = qv(e.id);
+ Dx.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -26121,7 +26121,7 @@ function Pse(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = sx({
+ let { labelProps: u, fieldProps: d } = ox({
...e,
id: l,
labelElementType: "span"
@@ -26137,8 +26137,8 @@ function Pse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Fse(e) {
- let { heading: t, "aria-label": n } = e, r = Jv();
+function Ise(e) {
+ let { heading: t, "aria-label": n } = e, r = qv();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26157,8 +26157,8 @@ function Fse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Ise(e, t, n) {
- let { key: r } = e, i = Ox.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 = Yv(), f = Yv(), p = {
+function Lse(e, t, n) {
+ let { key: r } = e, i = Dx.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 = Jv(), f = Jv(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -26168,9 +26168,9 @@ function Ise(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"] = kS(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = OS(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = use(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = MC({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = dse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = jC({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -26179,16 +26179,16 @@ function Ise(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? Wv(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? Uv(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = HS({
+ }), { hoverProps: S } = VS({
isDisabled: a || !c,
onHoverStart() {
Fv() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Qy(m?.props);
+ }), C = Zy(m?.props);
delete C.id;
let w = Cv(m?.props);
return {
@@ -26210,13 +26210,13 @@ function Ise(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/utils.mjs
-var zC = /* @__PURE__ */ new WeakMap();
+var RC = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Lse(e, t, n) {
+function Rse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Qy(e, { labelable: !0 }), { listProps: c } = jC({
+ let s = Zy(e, { labelable: !0 }), { listProps: c } = AC({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -26225,7 +26225,7 @@ function Lse(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return zC.set(t, {
+ return RC.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -26242,15 +26242,15 @@ function Lse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Rse(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: C, selectionManager: w = t.selectionManager } = e, T = !!c, E = T && e["aria-expanded"] === "true", D = e.isDisabled ?? w.isDisabled(i), O = e.isSelected ?? w.isSelected(i), k = zC.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = xv(), N = () => {
+function zse(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: C, selectionManager: w = t.selectionManager } = e, T = !!c, E = T && e["aria-expanded"] === "true", D = e.isDisabled ?? w.isDisabled(i), O = e.isSelected ?? w.isSelected(i), k = RC.get(t), A = t.collection.getItem(i), j = e.onClose || k.onClose, M = xv(), N = () => {
if (!T && (A?.props?.onAction ? A.props.onAction() : e.onAction && e.onAction(i), k.onAction)) {
let e = k.onAction;
e(i, A?.value);
}
}, P = "menuitem";
T || (w.selectionMode === "single" ? P = "menuitemradio" : w.selectionMode === "multiple" && (P = "menuitemcheckbox"));
- let F = Yv(), I = Yv(), ee = Yv(), L = {
+ let F = Jv(), I = Jv(), ee = Jv(), L = {
id: r,
"aria-disabled": D || void 0,
role: P,
@@ -26267,7 +26267,7 @@ function Rse(e, t, n) {
};
if (w.selectionMode !== "none" && !T && (L["aria-checked"] = O), s) {
let e = Number(A?.index);
- L["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, L["aria-setsize"] = kS(t.collection);
+ L["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, L["aria-setsize"] = OS(t.collection);
}
let te = (0, S.useRef)(!1), ne = (e) => {
f?.(e), te.current = e;
@@ -26277,7 +26277,7 @@ function Rse(e, t, n) {
m?.(e), N(), aae(e, M, A.props.href, A?.props.routerOptions);
let t = re.current?.pointerType === "keyboard" ? re.current?.key === "Enter" || w.selectionMode === "none" || w.isLink(i) : w.selectionMode !== "multiple" || w.isLink(i);
t = o ?? a ?? t, j && !T && t && j(), re.current = null;
- }, { itemProps: oe, isFocused: se } = MC({
+ }, { itemProps: oe, isFocused: se } = jC({
id: r,
selectionManager: w,
key: i,
@@ -26286,21 +26286,21 @@ function Rse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: k.shouldUseVirtualFocus
- }), { pressProps: ce, isPressed: le } = fb({
+ }), { pressProps: ce, isPressed: le } = db({
onPressStart: l,
onPress: d,
onPressUp: ie,
onPressChange: ne,
onPressEnd: p,
isDisabled: D
- }), { hoverProps: ue } = HS({
+ }), { hoverProps: ue } = VS({
isDisabled: D,
onHoverStart(e) {
!Fv() && !(E && c) && (w.setFocused(!0), w.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: de } = iy({
+ }), { keyboardProps: de } = ry({
shortcuts: {
" ": (e) => {
re.current = {
@@ -26323,11 +26323,11 @@ function Rse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: fe } = cy({
+ }), { focusableProps: fe } = sy({
onBlur: C,
onFocus: b,
onFocusChange: x
- }, n), pe = Qy(A?.props);
+ }, n), pe = Zy(A?.props);
delete pe.id;
let me = Cv(A?.props);
return {
@@ -26352,8 +26352,8 @@ function Rse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function zse(e) {
- let { heading: t, "aria-label": n } = e, r = Jv();
+function Bse(e) {
+ let { heading: t, "aria-label": n } = e, r = qv();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -26369,15 +26369,15 @@ function zse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Bse() {
+function Vse() {
return window.ResizeObserver !== void 0;
}
-function BC(e) {
- let { ref: t, box: n, onResize: r } = e, i = Iy(r);
+function zC(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Fy(r);
(0, S.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Bse()) {
+ if (Vse()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -26393,189 +26393,189 @@ function BC(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var VC = {};
-VC = { dismiss: "تجاهل" };
+var BC = {};
+BC = { dismiss: "تجاهل" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var HC = {};
-HC = { dismiss: "Отхвърляне" };
+var VC = {};
+VC = { dismiss: "Отхвърляне" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var UC = {};
-UC = { dismiss: "Odstranit" };
+var HC = {};
+HC = { dismiss: "Odstranit" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var WC = {};
-WC = { dismiss: "Luk" };
+var UC = {};
+UC = { dismiss: "Luk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var GC = {};
-GC = { dismiss: "Schließen" };
+var WC = {};
+WC = { dismiss: "Schließen" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var KC = {};
-KC = { dismiss: "Απόρριψη" };
+var GC = {};
+GC = { dismiss: "Απόρριψη" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var qC = {};
-qC = { dismiss: "Dismiss" };
+var KC = {};
+KC = { dismiss: "Dismiss" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var JC = {};
-JC = { dismiss: "Descartar" };
+var qC = {};
+qC = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var YC = {};
-YC = { dismiss: "Lõpeta" };
+var JC = {};
+JC = { dismiss: "Lõpeta" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var XC = {};
-XC = { dismiss: "Hylkää" };
+var YC = {};
+YC = { dismiss: "Hylkää" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var ZC = {};
-ZC = { dismiss: "Rejeter" };
+var XC = {};
+XC = { dismiss: "Rejeter" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var QC = {};
-QC = { dismiss: "התעלם" };
+var ZC = {};
+ZC = { dismiss: "התעלם" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var $C = {};
-$C = { dismiss: "Odbaci" };
+var QC = {};
+QC = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var ew = {};
-ew = { dismiss: "Elutasítás" };
+var $C = {};
+$C = { dismiss: "Elutasítás" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var tw = {};
-tw = { dismiss: "Ignora" };
+var ew = {};
+ew = { dismiss: "Ignora" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var nw = {};
-nw = { dismiss: "閉じる" };
+var tw = {};
+tw = { dismiss: "閉じる" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var rw = {};
-rw = { dismiss: "무시" };
+var nw = {};
+nw = { dismiss: "무시" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var iw = {};
-iw = { dismiss: "Atmesti" };
+var rw = {};
+rw = { dismiss: "Atmesti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var aw = {};
-aw = { dismiss: "Nerādīt" };
+var iw = {};
+iw = { dismiss: "Nerādīt" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var ow = {};
-ow = { dismiss: "Lukk" };
+var aw = {};
+aw = { dismiss: "Lukk" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var sw = {};
-sw = { dismiss: "Negeren" };
+var ow = {};
+ow = { dismiss: "Negeren" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var cw = {};
-cw = { dismiss: "Zignoruj" };
+var sw = {};
+sw = { dismiss: "Zignoruj" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var lw = {};
-lw = { dismiss: "Descartar" };
+var cw = {};
+cw = { dismiss: "Descartar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var uw = {};
-uw = { dismiss: "Dispensar" };
+var lw = {};
+lw = { dismiss: "Dispensar" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var dw = {};
-dw = { dismiss: "Revocare" };
+var uw = {};
+uw = { dismiss: "Revocare" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var fw = {};
-fw = { dismiss: "Пропустить" };
+var dw = {};
+dw = { dismiss: "Пропустить" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var pw = {};
-pw = { dismiss: "Zrušiť" };
+var fw = {};
+fw = { dismiss: "Zrušiť" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var mw = {};
-mw = { dismiss: "Opusti" };
+var pw = {};
+pw = { dismiss: "Opusti" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var hw = {};
-hw = { dismiss: "Odbaci" };
+var mw = {};
+mw = { dismiss: "Odbaci" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var gw = {};
-gw = { dismiss: "Avvisa" };
+var hw = {};
+hw = { dismiss: "Avvisa" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var _w = {};
-_w = { dismiss: "Kapat" };
+var gw = {};
+gw = { dismiss: "Kapat" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var vw = {};
-vw = { dismiss: "Скасувати" };
+var _w = {};
+_w = { dismiss: "Скасувати" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var yw = {};
-yw = { dismiss: "取消" };
+var vw = {};
+vw = { dismiss: "取消" };
//#endregion
//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var bw = {};
-bw = { dismiss: "關閉" };
+var yw = {};
+yw = { dismiss: "關閉" };
//#endregion
//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var xw = {};
-xw = {
- "ar-AE": VC,
- "bg-BG": HC,
- "cs-CZ": UC,
- "da-DK": WC,
- "de-DE": GC,
- "el-GR": KC,
- "en-US": qC,
- "es-ES": JC,
- "et-EE": YC,
- "fi-FI": XC,
- "fr-FR": ZC,
- "he-IL": QC,
- "hr-HR": $C,
- "hu-HU": ew,
- "it-IT": tw,
- "ja-JP": nw,
- "ko-KR": rw,
- "lt-LT": iw,
- "lv-LV": aw,
- "nb-NO": ow,
- "nl-NL": sw,
- "pl-PL": cw,
- "pt-BR": lw,
- "pt-PT": uw,
- "ro-RO": dw,
- "ru-RU": fw,
- "sk-SK": pw,
- "sl-SI": mw,
- "sr-SP": hw,
- "sv-SE": gw,
- "tr-TR": _w,
- "uk-UA": vw,
- "zh-CN": yw,
- "zh-TW": bw
+var bw = {};
+bw = {
+ "ar-AE": BC,
+ "bg-BG": VC,
+ "cs-CZ": HC,
+ "da-DK": UC,
+ "de-DE": WC,
+ "el-GR": GC,
+ "en-US": KC,
+ "es-ES": qC,
+ "et-EE": JC,
+ "fi-FI": YC,
+ "fr-FR": XC,
+ "he-IL": ZC,
+ "hr-HR": QC,
+ "hu-HU": $C,
+ "it-IT": ew,
+ "ja-JP": tw,
+ "ko-KR": nw,
+ "lt-LT": rw,
+ "lv-LV": iw,
+ "nb-NO": aw,
+ "nl-NL": ow,
+ "pl-PL": sw,
+ "pt-BR": cw,
+ "pt-PT": lw,
+ "ro-RO": uw,
+ "ru-RU": dw,
+ "sk-SK": fw,
+ "sl-SI": pw,
+ "sr-SP": mw,
+ "sv-SE": hw,
+ "tr-TR": gw,
+ "uk-UA": _w,
+ "zh-CN": vw,
+ "zh-TW": yw
};
//#endregion
//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Vse(e) {
+function Hse(e) {
return e && e.__esModule ? e.default : e;
}
-function Sw(e) {
- let { onDismiss: t, ...n } = e, r = Ry(n, Xy(Vse(xw), "@react-aria/overlays").format("dismiss")), i = () => {
+function xw(e) {
+ let { onDismiss: t, ...n } = e, r = Ly(n, Yy(Hse(bw), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ S.createElement(bx, null, /*#__PURE__*/ S.createElement("button", {
+ return /*#__PURE__*/ S.createElement(yx, null, /*#__PURE__*/ S.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -26587,35 +26587,35 @@ function Sw(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var Cw = [];
-function ww(e, t) {
+var Sw = [];
+function Cw(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, S.useRef)(void 0);
(0, S.useEffect)(() => {
- if (i && !Cw.includes(t)) return Cw.push(t), () => {
- let e = Cw.indexOf(t);
- e >= 0 && Cw.splice(e, 1);
+ if (i && !Sw.includes(t)) return Sw.push(t), () => {
+ let e = Sw.indexOf(t);
+ e >= 0 && Sw.splice(e, 1);
};
}, [i, t]);
let l = () => {
- Cw[Cw.length - 1] === t && n && n();
+ Sw[Sw.length - 1] === t && n && n();
}, u = (e) => {
- let n = Cw[Cw.length - 1];
+ let n = Sw[Sw.length - 1];
c.current = n, (!s || s(av(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(av(e))) && (Cw[Cw.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = iy({ shortcuts: { Escape: () => {
+ (!s || s(av(e))) && (Sw[Sw.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = ry({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Tse({
+ Ese({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = lx({
+ let { focusWithinProps: p } = cx({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Loe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !Roe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -26628,88 +26628,88 @@ function ww(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var Hse = 200, Use = 50, Wse = 600, Tw = /* @__PURE__ */ new WeakMap(), Ew = /* @__PURE__ */ new Set(), Dw = /* @__PURE__ */ new Set();
-function Gse(e, t) {
- let n = Fy();
- if (e !== n || t.aborted) for (let e of Dw) e(n), Dw.delete(e);
- if (!e && n && yv() && !t.aborted) window.clearInterval(Tw.get(window)), Tw.set(window, Ow(Hse));
+var Use = 200, Wse = 50, Gse = 600, ww = /* @__PURE__ */ new WeakMap(), Tw = /* @__PURE__ */ new Set(), Ew = /* @__PURE__ */ new Set();
+function Kse(e, t) {
+ let n = Py();
+ if (e !== n || t.aborted) for (let e of Ew) e(n), Ew.delete(e);
+ if (!e && n && yv() && !t.aborted) window.clearInterval(ww.get(window)), ww.set(window, Dw(Use));
else {
- if (e !== n || t.aborted) for (let e of Ew) e(n), Ew.delete(e);
- (Dw.size + Ew.size <= 0 || t.aborted) && (window.clearInterval(Tw.get(window)), Tw.delete(window));
+ if (e !== n || t.aborted) for (let e of Tw) e(n), Tw.delete(e);
+ (Ew.size + Tw.size <= 0 || t.aborted) && (window.clearInterval(ww.get(window)), ww.delete(window));
}
}
-function Ow(e = Wse) {
- return window.setInterval(Gse, Use, Fy(), AbortSignal.timeout(e));
+function Dw(e = Gse) {
+ return window.setInterval(Kse, Wse, Py(), AbortSignal.timeout(e));
}
-function kw(e) {
- if (!My()) return e(!1), () => {};
+function Ow(e) {
+ if (!jy()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ny(document.hasFocus() ? iv() : null);
- if (Fy() === t || Fy() && !t) return e(t);
- Dw.add(e), Tw.has(window) || Tw.set(window, Ow());
+ let t = My(document.hasFocus() ? iv() : null);
+ if (Py() === t || Py() && !t) return e(t);
+ Ew.add(e), ww.has(window) || ww.set(window, Dw());
});
});
return () => {
- window.cancelAnimationFrame(t), Dw.delete(e);
+ window.cancelAnimationFrame(t), Ew.delete(e);
};
}
-function Kse(e) {
- if (!My()) return e(!1), () => {};
+function qse(e) {
+ if (!jy()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ny(document.hasFocus() ? iv() : null);
- if (Fy() === t) return e(t);
- Ew.add(e), Tw.has(window) || Tw.set(window, Ow());
+ let t = My(document.hasFocus() ? iv() : null);
+ if (Py() === t) return e(t);
+ Tw.add(e), ww.has(window) || ww.set(window, Dw());
});
});
return () => {
- window.cancelAnimationFrame(t), Ew.delete(e);
+ window.cancelAnimationFrame(t), Tw.delete(e);
};
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Aw = typeof document < "u" && window.visualViewport, jw = 0, Mw;
-function Nw(e = {}) {
+var kw = typeof document < "u" && window.visualViewport, Aw = 0, jw;
+function Mw(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
dv(() => {
- if (!t) return jw++, jw === 1 && (Mw = vv() && yv() ? Jse() : qse(n)), () => {
- jw--, jw === 0 && Mw();
+ if (!t) return Aw++, Aw === 1 && (jw = vv() && yv() ? Yse() : Jse(n)), () => {
+ Aw--, Aw === 0 && jw();
};
}, [t, n]);
}
-function qse(e) {
+function Jse(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return Wv(t > 0 && ("scrollbarGutter" in document.documentElement.style ? tv(document.documentElement, "scrollbar-gutter", "stable") : tv(document.documentElement, "padding-right", `${t}px`)), tv(document.documentElement, "overflow", "hidden"), e && Fw(), e && My() && Pw());
+ return Uv(t > 0 && ("scrollbarGutter" in document.documentElement.style ? tv(document.documentElement, "scrollbar-gutter", "stable") : tv(document.documentElement, "padding-right", `${t}px`)), tv(document.documentElement, "overflow", "hidden"), e && Pw(), e && jy() && Nw());
}
-function Jse() {
+function Yse() {
let e = tv(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = av(e);
- t = Vb(r, !0) ? r : Hb(r, !0), n = !1;
+ t = Bb(r, !0) ? r : Vb(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 = ab();
+ }, i = document.createElement("style"), a = ib();
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 = Fw(), c = Wv(ev(document, "touchstart", r, {
+ }, s = Pw(), c = Uv(ev(document, "touchstart", r, {
passive: !1,
capture: !0
}), ev(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Pw());
+ }), Nw());
return () => {
e(), c(), i.remove(), s();
};
}
-function Pw() {
+function Nw() {
return ev(document, "blur", (e) => {
let t = av(e), n = e.relatedTarget;
- n && Ny(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && My(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Fw() {
+function Pw() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -26720,9 +26720,9 @@ function Fw() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- iv() === this && Yse(this);
+ iv() === this && Xse(this);
};
- kw((t) => t ? e() : Kse(() => e()));
+ Ow((t) => t ? e() : qse(() => e()));
}
}
}), () => {
@@ -26733,15 +26733,15 @@ function Fw() {
});
};
}
-function Yse(e) {
+function Xse(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = Hb(n);
+ let e = Vb(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;
- Aw && (n = Math.min(n, Aw.offsetTop + Aw.height));
+ kw && (n = Math.min(n, kw.offsetTop + kw.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)),
@@ -26754,19 +26754,19 @@ function Yse(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function Xse(e, t, n) {
- let { overlayProps: r, underlayProps: i } = ww({
+function Zse(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = Cw({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- Nw({
+ Mw({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), LS();
+ }), IS();
let { isEntering: a } = e;
return (0, S.useEffect)(() => {
- if (t.isOpen && n.current) return a ? Dx(n.current) : Ex([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? Ex(n.current) : Tx([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -26778,32 +26778,32 @@ function Xse(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var Iw = {
+var Fw = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Lw = {
+}, Iw = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, Zse = {
+}, Qse = {
top: "left",
left: "top"
-}, Rw = {
+}, Lw = {
top: "height",
left: "width"
-}, zw = {
+}, Rw = {
width: "totalWidth",
height: "totalHeight"
-}, Bw = {}, Qse = () => typeof document < "u" ? window.visualViewport : null;
-function Vw(e, t) {
+}, zw = {}, $se = () => typeof document < "u" ? window.visualViewport : null;
+function Bw(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} = qw(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ } else ({width: n, height: r, top: o, left: s} = Kw(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
return yv() && (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,
@@ -26814,7 +26814,7 @@ function Vw(e, t) {
left: s
};
}
-function $se(e) {
+function ece(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -26822,11 +26822,11 @@ function $se(e) {
height: e.scrollHeight
};
}
-function Hw(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[Rw[e]], l = o[e] + r.scroll[Iw[e]] + a, u = o[e] + r.scroll[Iw[e]] + c - a, d = t - s + r.scroll[Iw[e]] + o[e] - r[Iw[e]], f = t - s + n + r.scroll[Iw[e]] + o[e] - r[Iw[e]];
+function Vw(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Lw[e]], l = o[e] + r.scroll[Fw[e]] + a, u = o[e] + r.scroll[Fw[e]] + c - a, d = t - s + r.scroll[Fw[e]] + o[e] - r[Fw[e]], f = t - s + n + r.scroll[Fw[e]] + o[e] - r[Fw[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function ece(e) {
+function tce(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -26835,55 +26835,55 @@ function ece(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Uw(e) {
- if (Bw[e]) return Bw[e];
- let [t, n] = e.split(" "), r = Iw[t] || "right", i = Zse[r];
- Iw[n] || (n = "center");
- let a = Rw[r], o = Rw[i];
- return Bw[e] = {
+function Hw(e) {
+ if (zw[e]) return zw[e];
+ let [t, n] = e.split(" "), r = Fw[t] || "right", i = Qse[r];
+ Fw[n] || (n = "center");
+ let a = Lw[r], o = Lw[i];
+ return zw[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Bw[e];
+ }, zw[e];
}
-function Ww(e, t, n, r, i, a, o, s, c, l, u) {
+function Uw(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] = fx(_[m], v, y), d === p) {
- let t = s ? u[h] : u[zw[h]];
- _[Lw[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = dx(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Rw[h]];
+ _[Iw[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function tce(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[zw.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function nce(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Rw.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 Gw(e, t, n, r, i, a, o, s) {
+function Ww(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[Lw[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[Lw[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Iw[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[Iw[l]] - i);
}
-function nce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Uw(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Ww(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Gw(s, l, t, i, a + u, v, c, g);
+function rce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Hw(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Uw(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Ww(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Uw(`${Lw[S]} ${C}`), r = Ww(t, s, n, e, u, d, l, f, m, h, c);
- Gw(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Hw(`${Iw[S]} ${C}`), r = Uw(t, s, n, e, u, d, l, f, m, h, c);
+ Ww(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 = Hw(b, w[b], n[x], s, c, a, l);
+ let O = Vw(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = tce(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Ww(t, s, n, v, T, d, l, f, m, h, c), O = Hw(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[Iw[b]], M = j + .5 * t[x], N = m / 2 + h, P = Iw[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
- A[b] = fx(fx(M, t[b] + m / 2 - (w[b] + i[Iw[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Iw[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = nce(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Uw(t, s, n, v, T, d, l, f, m, h, c), O = Vw(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Fw[b]], M = j + .5 * t[x], N = m / 2 + h, P = Fw[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), F = n[x] - P - m / 2 - h;
+ A[b] = dx(dx(M, t[b] + m / 2 - (w[b] + i[Fw[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Fw[b]])), N, F), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let I = S === "left" || S === "top" ? n[y] : 0, ee = {
x: S === "top" || S === "bottom" ? j : I,
y: S === "left" || S === "right" ? j : I
@@ -26897,17 +26897,17 @@ function nce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ee
};
}
-function rce(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 = Qse(), h = r instanceof HTMLElement ? ice(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? qw(n, !1, p) : Jw(n, h, !1, p);
+function ice(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 = $se(), h = r instanceof HTMLElement ? ace(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Kw(n, !1, p) : qw(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 = qw(r, !0), x = ece(r);
+ let b = Kw(r, !0), x = tce(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = $se(i), C = Vw(s, m), w = Vw(h, m), T;
+ let S = ece(i), C = Bw(s, m), w = Bw(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = Kw(h, !1);
+ let e = Gw(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -26919,11 +26919,11 @@ function rce(e) {
left: 0,
width: 0,
height: 0
- } : Jw(s, h, !1);
+ } : qw(s, h, !1);
let E = rv(s, h);
- return nce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ return rce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function Kw(e, t) {
+function Gw(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,
@@ -26932,8 +26932,8 @@ function Kw(e, t) {
height: a
};
}
-function qw(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || Kw(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Kw(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Gw(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -26941,30 +26941,30 @@ function qw(e, t, n) {
height: o
};
}
-function Jw(e, t, n, r) {
+function qw(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || Kw(e, n);
+ if (i.position === "fixed") a = r || Gw(e, n);
else {
- a = qw(e, n, r);
- let i = qw(t, n), o = window.getComputedStyle(t);
+ a = Kw(e, n, r);
+ let i = Kw(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 ice(e) {
+function ace(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Yw(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Yw(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Jw(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Jw(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Yw(e) {
+function Jw(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";
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Xw = typeof document < "u" ? window.visualViewport : null;
-function ace(e) {
- let { direction: t } = Wy(), { 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, S.useState)(null), x = [
+var Yw = typeof document < "u" ? window.visualViewport : null;
+function oce(e) {
+ let { direction: t } = Uy(), { 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, S.useState)(null), x = [
p,
s,
i.current,
@@ -26981,12 +26981,12 @@ function ace(e) {
g,
_,
n
- ], C = (0, S.useRef)(Xw?.scale);
+ ], C = (0, S.useRef)(Yw?.scale);
(0, S.useEffect)(() => {
- m && (C.current = Xw?.scale);
+ m && (C.current = Yw?.scale);
}, [m]);
let w = (0, S.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Xw?.scale !== C.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || Yw?.scale !== C.current) return;
let e = null;
if (o.current && ov(o.current)) {
let t = iv()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
@@ -26997,8 +26997,8 @@ function ace(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 = rce({
- placement: sce(s, t),
+ let y = ice({
+ placement: cce(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -27008,7 +27008,7 @@ function ace(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? Kw(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Gw(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
@@ -27021,10 +27021,10 @@ function ace(e) {
}
b(y);
}, x);
- dv(w, x), oce(w), BC({
+ dv(w, x), sce(w), zC({
ref: i,
onResize: w
- }), BC({
+ }), zC({
ref: r,
onResize: w
});
@@ -27037,16 +27037,16 @@ function ace(e) {
}, n = () => {
T.current && t();
};
- Xw?.addEventListener("resize", t), Xw?.addEventListener("scroll", n);
+ Yw?.addEventListener("resize", t), Yw?.addEventListener("scroll", n);
let r = ev(Rie(window), "scroll", n);
return () => {
- Xw?.removeEventListener("resize", t), Xw?.removeEventListener("scroll", n), r();
+ Yw?.removeEventListener("resize", t), Yw?.removeEventListener("scroll", n), r();
};
}, [w]);
let E = (0, S.useCallback)(() => {
T.current || h?.();
}, [h, T]);
- return hse({
+ return gse({
triggerRef: r,
isOpen: m,
onClose: h && E
@@ -27072,25 +27072,25 @@ function ace(e) {
updatePosition: w
};
}
-function oce(e) {
+function sce(e) {
dv(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function sce(e, t) {
+function cce(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
//#endregion
//#region node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function cce(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 } = ww({
+function lce(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 } = Cw({
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 } = ace({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = oce({
...c,
targetRef: n,
overlayRef: r,
@@ -27098,15 +27098,15 @@ function cce(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)
});
- Nw({ isDisabled: a || !t.isOpen }), (0, S.useEffect)(() => {
- if (t.isOpen && r.current) return a ? Dx(i?.current ?? r.current) : Ex([i?.current ?? r.current], { shouldUseInert: !0 });
+ Mw({ isDisabled: a || !t.isOpen }), (0, S.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? Ex(i?.current ?? r.current) : Tx([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = lx(e);
+ let { focusWithinProps: g } = cx(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -27117,13 +27117,13 @@ function cce(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/utils.mjs
-var Zw = /* @__PURE__ */ new WeakMap();
+var Xw = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadio.mjs
-function lce(e, t, n) {
+function uce(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: _ } = fb({
+ }, { pressProps: g, isPressed: _ } = db({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -27131,7 +27131,7 @@ function lce(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = fb({
+ }), { pressProps: v, isPressed: y } = db({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -27141,11 +27141,11 @@ function lce(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = cy(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), C = Qy(e, { labelable: !0 }), w = -1;
+ }), { focusableProps: b } = sy(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), C = Zy(e, { labelable: !0 }), w = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (w = 0) : t.selectedValue === r && (w = 0), p && (w = void 0);
- let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = Zw.get(t);
- Jb(n, t.defaultSelectedValue, t.setSelectedValue), Yb({ validationBehavior: k }, t, n);
- let A = Xb();
+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = Xw.get(t);
+ qb(n, t.defaultSelectedValue, t.setSelectedValue), Jb({ validationBehavior: k }, t, n);
+ let A = Yb();
return {
labelProps: K(v, (0, S.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -27177,13 +27177,13 @@ function lce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function uce(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Wy(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = cx({
+function dce(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Uy(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = sx({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Qy(e, { labelable: !0 }), { focusWithinProps: v } = lx({
+ }), _ = Zy(e, { labelable: !0 }), { focusWithinProps: v } = cx({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -27191,13 +27191,13 @@ function uce(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = Pb(n.currentTarget, {
+ let r = Nb(n.currentTarget, {
from: av(n),
accept: (e) => e instanceof Z_(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 } = iy({
+ let { keyboardProps: b } = ry({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -27205,8 +27205,8 @@ function uce(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = Jv(n);
- return Zw.set(t, {
+ }), x = qv(n);
+ return Xw.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -27235,21 +27235,21 @@ function uce(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/useSelect.mjs
-var Qw = /* @__PURE__ */ new WeakMap();
-function dce(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = jS({
+var Zw = /* @__PURE__ */ new WeakMap();
+function fce(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = AS({
usage: "search",
sensitivity: "base"
- }), u = (0, S.useMemo)(() => r || new Nx(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, S.useMemo)(() => r || new Mx(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = _S({
+ ]), { menuTriggerProps: d, menuProps: f } = gS({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = iy({
+ }, t, n), { keyboardProps: p } = ry({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -27265,21 +27265,21 @@ function dce(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = yS({
+ }), { typeSelectProps: m } = vS({
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 } = cx({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = sx({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let C = Qy(e, { labelable: !0 }), w = K(m, d, y), T = Jv();
- return Qw.set(t, {
+ let C = Zy(e, { labelable: !0 }), w = K(m, d, y), T = qv();
+ return Zw.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -27295,7 +27295,7 @@ function dce(e, t, n) {
triggerProps: K(C, {
...w,
isDisabled: i,
- onKeyDown: Wv(w.onKeyDown, p.onKeyDown),
+ onKeyDown: Uv(w.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
T,
@@ -27340,13 +27340,13 @@ function dce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function fce(e, t, n) {
- let r = Qw.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = yx({ style: {
+function pce(e, t, n) {
+ let r = Zw.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = vx({ style: {
position: "fixed",
top: 0,
left: 0
} });
- Jb(e.selectRef, t.defaultValue, t.setValue), Yb({
+ qb(e.selectRef, t.defaultValue, t.setValue), Jb({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -27376,8 +27376,8 @@ function fce(e, t, n) {
}
};
}
-function pce(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, S.useRef)(null), c = (0, S.useRef)(null), { containerProps: l, selectProps: u } = fce({
+function mce(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, S.useRef)(null), c = (0, S.useRef)(null), { containerProps: l, selectProps: u } = pce({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -27401,7 +27401,7 @@ function pce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Qw.get(t) || {};
+ let { validationBehavior: e } = Zw.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -27432,8 +27432,8 @@ function pce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function mce(e) {
- let t = Qy(e, { labelable: !0 }), n;
+function hce(e) {
+ let t = Zy(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -27442,8 +27442,8 @@ function mce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function hce(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = ax(e, t, n);
+function gce(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = ix(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -27457,10 +27457,10 @@ function hce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var $w = class {
+var Qw = 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 gce(e.layout) : new Mx(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new _ce(e.layout) : new jx(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -27496,7 +27496,7 @@ var $w = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of SS(n, this.collection)) {
+ for (let e of xS(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -27530,13 +27530,13 @@ var $w = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = SS(t, this.collection);
- return (this.direction === "rtl" ? TS(e)?.key : CS(e)?.key) ?? null;
+ let e = xS(t, this.collection);
+ return (this.direction === "rtl" ? wS(e)?.key : SS(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = SS(n, this.collection), i = (this.direction === "rtl" ? wS(r, t.index - 1) : wS(r, t.index + 1)) ?? null;
+ let r = xS(n, this.collection), i = (this.direction === "rtl" ? CS(r, t.index - 1) : CS(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;
@@ -27545,13 +27545,13 @@ var $w = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = SS(t, this.collection);
- return (this.direction === "rtl" ? CS(e)?.key : TS(e)?.key) ?? null;
+ let e = xS(t, this.collection);
+ return (this.direction === "rtl" ? SS(e)?.key : wS(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = SS(n, this.collection), i = (this.direction === "rtl" ? wS(r, t.index + 1) : wS(r, t.index - 1)) ?? null;
+ let r = xS(n, this.collection), i = (this.direction === "rtl" ? CS(r, t.index + 1) : CS(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;
@@ -27562,13 +27562,13 @@ var $w = 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 ? CS(SS(e, this.collection))?.key ?? null : null;
+ return e ? SS(xS(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 = CS(SS(e, this.collection))?.key ?? null;
+ n = SS(xS(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27578,13 +27578,13 @@ var $w = 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 ? TS(SS(e, this.collection))?.key ?? null : null;
+ return e ? wS(xS(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 = TS(SS(e, this.collection))?.key ?? null;
+ n = wS(xS(e, this.collection))?.key ?? null;
}
return n;
}
@@ -27620,13 +27620,13 @@ var $w = 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" ? CS(SS(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? SS(xS(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;
}
-}, gce = class {
+}, _ce = class {
constructor(e) {
this.layout = e;
}
@@ -27639,16 +27639,16 @@ var $w = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, eT = /* @__PURE__ */ new WeakMap();
+}, $w = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function _ce(e, t, n) {
+function vce(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 = jS({
+ let h = AS({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Wy(), _ = t.selectionManager.disabledBehavior, v = (0, S.useMemo)(() => a || new $w({
+ }), { direction: g } = Uy(), _ = t.selectionManager.disabledBehavior, v = (0, S.useMemo)(() => a || new Qw({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -27665,7 +27665,7 @@ function _ce(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = xS({
+ ]), { collectionProps: y } = bS({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -27673,8 +27673,8 @@ function _ce(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = Jv(e.id);
- eT.set(t, {
+ }), b = qv(e.id);
+ $w.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -27683,44 +27683,44 @@ function _ce(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = AC({
+ let x = kC({
selectionManager: m,
hasItemActions: !!(l || u)
- }), C = Qy(e, { labelable: !0 }), w = (0, S.useCallback)((e) => {
+ }), C = Zy(e, { labelable: !0 }), w = (0, S.useCallback)((e) => {
m.isFocused ? rv(e.currentTarget, av(e)) || m.setFocused(!1) : rv(e.currentTarget, av(e)) && m.setFocused(!0);
}, [m]), T = (0, S.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: w
- }), [w, y.onBlur]), E = kC(n, { isDisabled: t.collection.size !== 0 }), D = K(C, {
+ }), [w, y.onBlur]), E = OC(n, { isDisabled: t.collection.size !== 0 }), D = K(C, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? T : y, t.collection.size === 0 && { tabIndex: E ? -1 : 0 } || void 0, x);
- return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), DC({ getRowText: c }, t), { gridProps: D };
+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), EC({ getRowText: c }, t), { gridProps: D };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var tT = /* @__PURE__ */ new WeakMap();
-function nT(e) {
+var eT = /* @__PURE__ */ new WeakMap();
+function tT(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function rT(e, t) {
- let n = tT.get(e);
+function nT(e, t) {
+ let n = eT.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${nT(t)}`;
+ return `${n}-${tT(t)}`;
}
-function iT(e, t, n) {
- let r = tT.get(e);
+function rT(e, t, n) {
+ let r = eT.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${nT(t)}-${nT(n)}`;
+ return `${r}-${tT(t)}-${tT(n)}`;
}
-function aT(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => iT(e, t, n)).join(" ");
+function iT(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => rT(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var oT = {};
-oT = {
+var aT = {};
+aT = {
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: "طي",
@@ -27735,8 +27735,8 @@ oT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var sT = {};
-sT = {
+var oT = {};
+oT = {
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: "Свиване",
@@ -27751,8 +27751,8 @@ sT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var cT = {};
-cT = {
+var sT = {};
+sT = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -27767,8 +27767,8 @@ cT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var lT = {};
-lT = {
+var cT = {};
+cT = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -27783,8 +27783,8 @@ lT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var uT = {};
-uT = {
+var lT = {};
+lT = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -27799,8 +27799,8 @@ uT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var dT = {};
-dT = {
+var uT = {};
+uT = {
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: "Σύμπτυξη",
@@ -27815,8 +27815,8 @@ dT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var fT = {};
-fT = {
+var dT = {};
+dT = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -27831,8 +27831,8 @@ fT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var pT = {};
-pT = {
+var fT = {};
+fT = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -27847,8 +27847,8 @@ pT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var mT = {};
-mT = {
+var pT = {};
+pT = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -27863,8 +27863,8 @@ mT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var hT = {};
-hT = {
+var mT = {};
+mT = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -27879,8 +27879,8 @@ hT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var gT = {};
-gT = {
+var hT = {};
+hT = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -27895,8 +27895,8 @@ gT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var _T = {};
-_T = {
+var gT = {};
+gT = {
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: "כווץ",
@@ -27911,8 +27911,8 @@ _T = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var vT = {};
-vT = {
+var _T = {};
+_T = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -27927,8 +27927,8 @@ vT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var yT = {};
-yT = {
+var vT = {};
+vT = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -27943,8 +27943,8 @@ yT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var bT = {};
-bT = {
+var yT = {};
+yT = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -27959,8 +27959,8 @@ bT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var xT = {};
-xT = {
+var bT = {};
+bT = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -27975,8 +27975,8 @@ xT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var ST = {};
-ST = {
+var xT = {};
+xT = {
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: "접기",
@@ -27991,8 +27991,8 @@ ST = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var CT = {};
-CT = {
+var ST = {};
+ST = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -28007,8 +28007,8 @@ CT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var wT = {};
-wT = {
+var CT = {};
+CT = {
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",
@@ -28023,8 +28023,8 @@ wT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var TT = {};
-TT = {
+var wT = {};
+wT = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -28039,8 +28039,8 @@ TT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var ET = {};
-ET = {
+var TT = {};
+TT = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -28055,8 +28055,8 @@ ET = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var DT = {};
-DT = {
+var ET = {};
+ET = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -28071,8 +28071,8 @@ DT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var OT = {};
-OT = {
+var DT = {};
+DT = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -28087,8 +28087,8 @@ OT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var kT = {};
-kT = {
+var OT = {};
+OT = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -28103,8 +28103,8 @@ kT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var AT = {};
-AT = {
+var kT = {};
+kT = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -28119,8 +28119,8 @@ AT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var jT = {};
-jT = {
+var AT = {};
+AT = {
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: "Свернуть",
@@ -28135,8 +28135,8 @@ jT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var MT = {};
-MT = {
+var jT = {};
+jT = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -28151,8 +28151,8 @@ MT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var NT = {};
-NT = {
+var MT = {};
+MT = {
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",
@@ -28167,8 +28167,8 @@ NT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var PT = {};
-PT = {
+var NT = {};
+NT = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -28183,8 +28183,8 @@ PT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var FT = {};
-FT = {
+var PT = {};
+PT = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -28199,8 +28199,8 @@ FT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var IT = {};
-IT = {
+var FT = {};
+FT = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -28215,8 +28215,8 @@ IT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var LT = {};
-LT = {
+var IT = {};
+IT = {
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: "Згорнути",
@@ -28231,8 +28231,8 @@ LT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var RT = {};
-RT = {
+var LT = {};
+LT = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -28247,8 +28247,8 @@ RT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var zT = {};
-zT = {
+var RT = {};
+RT = {
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: "收合",
@@ -28263,46 +28263,46 @@ zT = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var BT = {};
-BT = {
- "ar-AE": oT,
- "bg-BG": sT,
- "cs-CZ": cT,
- "da-DK": lT,
- "de-DE": uT,
- "el-GR": dT,
- "en-US": fT,
- "es-ES": pT,
- "et-EE": mT,
- "fi-FI": hT,
- "fr-FR": gT,
- "he-IL": _T,
- "hr-HR": vT,
- "hu-HU": yT,
- "it-IT": bT,
- "ja-JP": xT,
- "ko-KR": ST,
- "lt-LT": CT,
- "lv-LV": wT,
- "nb-NO": TT,
- "nl-NL": ET,
- "pl-PL": DT,
- "pt-BR": OT,
- "pt-PT": kT,
- "ro-RO": AT,
- "ru-RU": jT,
- "sk-SK": MT,
- "sl-SI": NT,
- "sr-SP": PT,
- "sv-SE": FT,
- "tr-TR": IT,
- "uk-UA": LT,
- "zh-CN": RT,
- "zh-TW": zT
+var zT = {};
+zT = {
+ "ar-AE": aT,
+ "bg-BG": oT,
+ "cs-CZ": sT,
+ "da-DK": cT,
+ "de-DE": lT,
+ "el-GR": uT,
+ "en-US": dT,
+ "es-ES": fT,
+ "et-EE": pT,
+ "fi-FI": mT,
+ "fr-FR": hT,
+ "he-IL": gT,
+ "hr-HR": _T,
+ "hu-HU": vT,
+ "it-IT": yT,
+ "ja-JP": bT,
+ "ko-KR": xT,
+ "lt-LT": ST,
+ "lv-LV": CT,
+ "nb-NO": wT,
+ "nl-NL": TT,
+ "pl-PL": ET,
+ "pt-BR": DT,
+ "pt-PT": OT,
+ "ro-RO": kT,
+ "ru-RU": AT,
+ "sk-SK": jT,
+ "sl-SI": MT,
+ "sr-SP": NT,
+ "sv-SE": PT,
+ "tr-TR": FT,
+ "uk-UA": IT,
+ "zh-CN": LT,
+ "zh-TW": RT
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var vce = class extends $w {
+var yce = class extends Qw {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -28310,7 +28310,7 @@ var vce = class extends $w {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = CS(SS(n, this.collection));
+ let e = SS(xS(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);
@@ -28331,13 +28331,13 @@ var vce = class extends $w {
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 SS(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of xS(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 = [...SS(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...xS(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -28366,7 +28366,7 @@ var vce = class extends $w {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of SS(o, this.collection)) {
+ for (let r of xS(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);
@@ -28380,14 +28380,14 @@ var vce = class extends $w {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function yce(e) {
+function bce(e) {
return e && e.__esModule ? e.default : e;
}
-function bce(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = jS({
+function xce(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = AS({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Wy(), l = t.selectionManager.disabledBehavior, u = (0, S.useMemo)(() => r || new vce({
+ }), { direction: c } = Uy(), l = t.selectionManager.disabledBehavior, u = (0, S.useMemo)(() => r || new yce({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -28406,32 +28406,32 @@ function bce(e, t, n) {
s,
a,
o
- ]), d = Jv(e.id);
- tT.set(t, d);
- let { gridProps: f } = _ce({
+ ]), d = qv(e.id);
+ eT.set(t, d);
+ let { gridProps: f } = vce({
...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 = Xy(yce(BT), "@react-aria/table"), g = (0, S.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Yy(bce(zT), "@react-aria/table"), g = (0, S.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
- ]), _ = qb(g);
- return Bb(() => {
- g && zb(g, "assertive", 500);
+ ]), _ = Kb(g);
+ return zb(() => {
+ g && Rb(g, "assertive", 500);
}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function VT(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Wy(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = eT.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = () => {
+function BT(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Uy(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = $w.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = () => {
if (n.current) {
- let e = Pb(n.current);
+ let e = Nb(n.current);
if (p === "child") {
let i = iv(X_(n.current));
if (ov(n.current) && n.current !== i) return;
@@ -28439,19 +28439,19 @@ function VT(e, t, n) {
if (!i || i === a.body || i === n.current) {
let e = h.current;
if (e && m.current === r.key && rv(n.current, e)) {
- Uv(e);
+ Hv(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? HT(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? VT(e) : e.firstChild();
if (o) {
- Uv(o);
+ Hv(o);
return;
}
}
- (m.current != null && r.key !== m.current || !ov(n.current)) && Uv(n.current);
+ (m.current != null && r.key !== m.current || !ov(n.current)) && Hv(n.current);
}
- }, { itemProps: _, isPressed: v } = MC({
+ }, { itemProps: _, isPressed: v } = jC({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -28465,29 +28465,29 @@ function VT(e, t, n) {
onKeyDownCapture: f !== "tab" || o ? (e) => {
let i = iv(X_(n.current));
if (!rv(e.currentTarget, av(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = Pb(n.current);
+ let a = Nb(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) Uv(t), Gb(t, { containingElement: Hb(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Hv(t), Wb(t, { containingElement: Vb(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" ? (Uv(n.current), Gb(n.current, { containingElement: Hb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : HT(a), t && (Uv(t), Gb(t, { containingElement: Hb(n.current) })));
+ p === "cell" && l === "rtl" ? (Hv(n.current), Wb(n.current, { containingElement: Vb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : VT(a), t && (Hv(t), Wb(t, { containingElement: Vb(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) Uv(t), Gb(t, { containingElement: Hb(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Hv(t), Wb(t, { containingElement: Vb(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" ? (Uv(n.current), Gb(n.current, { containingElement: Hb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? HT(a) : a.firstChild(), t && (Uv(t), Gb(t, { containingElement: Hb(n.current) })));
+ p === "cell" && l === "ltr" ? (Hv(n.current), Wb(n.current, { containingElement: Vb(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? VT(a) : a.firstChild(), t && (Hv(t), Wb(t, { containingElement: Vb(n.current) })));
}
break;
}
@@ -28500,7 +28500,7 @@ function VT(e, t, n) {
if (rv(e.currentTarget, av(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
if (f === "tab" && av(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = Pb(n.current, { tabbable: !0 });
+ let t = Nb(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -28528,7 +28528,7 @@ function VT(e, t, n) {
isPressed: v
};
}
-function HT(e) {
+function VT(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -28537,33 +28537,33 @@ function HT(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function xce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = VT(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = iT(t, e.node.parentKey, a)), {
+function Sce(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = BT(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = rT(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Sce(e) {
+function Cce(e) {
return e && e.__esModule ? e.default : e;
}
-function Cce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = VT({
+function wce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = BT({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = fb({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = db({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = cy({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ }), { focusableProps: l } = sy({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !bv() && (u = d ? f : "none");
- let p = Xy(Sce(BT), "@react-aria/table"), m;
+ let p = Yy(Cce(zT), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && bv() && (m = `${m}, ${p.format(f)}`));
- let h = qb(m), g = t.collection.size === 0;
+ let h = Kb(m), g = t.collection.size === 0;
return (0, S.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -28574,7 +28574,7 @@ function Cce(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: rT(t, r.key),
+ id: nT(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -28583,17 +28583,17 @@ function Cce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function wce(e) {
+function Tce(e) {
return e && e.__esModule ? e.default : e;
}
-function Tce(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Xy(wce(BT), "@react-aria/table"), d = Jv(), f = t.resizingColumn === r.key, p = (0, S.useRef)(f), m = (0, S.useRef)(null), h = (0, S.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, S.useState)(!1), { direction: y } = Wy(), b = (0, S.useCallback)((e) => {
+function Ece(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Yy(Tce(zT), "@react-aria/table"), d = qv(), f = t.resizingColumn === r.key, p = (0, S.useRef)(f), m = (0, S.useRef)(null), h = (0, S.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, S.useState)(!1), { direction: y } = Uy(), b = (0, S.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, S.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
s?.(r), m.current = r;
}, [t, s]), C = (0, S.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 && Uv(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 && Hv(i.current)), m.current = null;
}, [
t,
i,
@@ -28601,14 +28601,14 @@ function Tce(e, t, n) {
]), w = () => {
if (g) C(r);
else return !1;
- }, { keyboardProps: T } = iy({ shortcuts: {
+ }, { keyboardProps: T } = ry({ shortcuts: {
Escape: () => w(),
Enter: () => {
g ? C(r) : b(r);
},
" ": () => w(),
Tab: () => w()
- } }), E = (0, S.useRef)(0), { moveProps: D } = _x({
+ } }), E = (0, S.useRef)(0), { moveProps: D } = gx({
onMoveStart(e) {
E.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -28626,10 +28626,10 @@ function Tce(e, t, n) {
A === Infinity && (A = 2 ** 53 - 1);
let j = Math.floor(t.getColumnWidth(r.key)), M = wae();
M === "virtual" && typeof window < "u" && "ontouchstart" in window && (M = "touch");
- let N = qb(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {
+ let N = Kb(i?.current == null && (M === "keyboard" || M === "virtual") && !f ? u.format("resizerDescription") : void 0), P = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${rT(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${nT(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: j }),
type: "range",
min: k,
@@ -28637,8 +28637,8 @@ function Tce(e, t, n) {
value: j,
...N
}, F = (0, S.useCallback)(() => {
- n.current && Uv(n.current);
- }, [n]), I = t.resizingColumn, ee = (0, S.useRef)(null), L = Iy(b);
+ n.current && Hv(n.current);
+ }, [n]), I = t.resizingColumn, ee = (0, S.useRef)(null), L = Fy(b);
(0, S.useEffect)(() => {
if (ee.current !== I && I != null && I === r.key) {
h.current = iv() === n.current, L(r);
@@ -28657,7 +28657,7 @@ function Tce(e, t, n) {
let te = (e) => {
let n = t.getColumnWidth(r.key), i = parseFloat(av(e).value);
i = i > n ? n + 10 : n - 10, x(r, i);
- }, { pressProps: ne } = fb({
+ }, { pressProps: ne } = db({
preventFocusOnPress: !0,
onPressStart: (e) => {
e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? C(r) : (F(), e.pointerType !== "virtual" && b(r)));
@@ -28665,7 +28665,7 @@ function Tce(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && C(r);
}
- }), { visuallyHiddenProps: re } = yx();
+ }), { visuallyHiddenProps: re } = vx();
return {
resizerProps: K(T, {
...D,
@@ -28685,20 +28685,20 @@ function Tce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Ece(e, t, n) {
+function Dce(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 };
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Dce(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = eT.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = MC({
+function Oce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = $w.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = jC({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? Wv(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? Uv(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -28713,10 +28713,10 @@ function Dce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Oce(e) {
+function kce(e) {
return e && e.__esModule ? e.default : e;
}
-var UT = {
+var HT = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -28726,21 +28726,21 @@ var UT = {
rtl: "ArrowRight"
}
};
-function kce(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Dce(e, t, n), { direction: s } = Wy();
+function Ace(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Oce(e, t, n), { direction: s } = Uy();
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 = Xy(Oce(BT), "@react-aria/table"), u = Ry({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Yy(kce(zT), "@react-aria/table"), u = Ly({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": aT(t, r.key)
+ "aria-labelledby": iT(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = WT(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 = WT(t.collection, a);
+ let n = UT(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 = UT(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === UT.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === UT.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 === HT.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === HT.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,
@@ -28762,41 +28762,41 @@ function kce(e, t, n) {
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": aT(t, r.key)
+ "aria-labelledby": iT(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function WT(e, t) {
+function UT(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Ace() {
+function jce() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function GT() {
- return Ace();
+function WT() {
+ return jce();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function jce(e) {
+function Mce(e) {
return e && e.__esModule ? e.default : e;
}
-function Mce(e, t) {
- let { key: n } = e, { checkboxProps: r } = RC(e, t);
+function Nce(e, t) {
+ let { key: n } = e, { checkboxProps: r } = LC(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${aT(t, n)}`
+ "aria-labelledby": `${r.id} ${iT(t, n)}`
} };
}
-function Nce(e) {
+function Pce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Xy(jce(BT), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": Yy(Mce(zT), "@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,
@@ -28805,23 +28805,23 @@ function Nce(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var KT = /* @__PURE__ */ new WeakMap();
-function qT(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${KT.get(e)}-${n}-${t}`) : "";
+var GT = /* @__PURE__ */ new WeakMap();
+function KT(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${GT.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Pce(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 } = MC({
+function Fce(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 } = jC({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = qT(t, r, "tab"), m = qT(t, r, "tabpanel"), { tabIndex: h } = d, g = Qy(u?.props, { labelable: !0 });
+ }), p = KT(t, r, "tab"), m = KT(t, r, "tabpanel"), { tabIndex: h } = d, g = Zy(u?.props, { labelable: !0 });
delete g.id;
- let _ = Cv(u?.props), { focusableProps: v } = cy({
+ let _ = Cv(u?.props), { focusableProps: v } = sy({
...u?.props,
isDisabled: l
}, n);
@@ -28841,7 +28841,7 @@ function Pce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Fce = class {
+var Ice = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -28885,11 +28885,11 @@ var Fce = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Ice(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Wy(), { collectionProps: l } = xS({
+function Lce(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Uy(), { collectionProps: l } = bS({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, S.useMemo)(() => new Fce(a, c, r, s), [
+ keyboardDelegate: (0, S.useMemo)(() => new Ice(a, c, r, s), [
a,
s,
r,
@@ -28899,9 +28899,9 @@ function Ice(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = Jv();
- return KT.set(t, u), { tabListProps: {
- ...K(l, Ry({
+ }), u = qv();
+ return GT.set(t, u), { tabListProps: {
+ ...K(l, Ly({
...e,
id: u
})),
@@ -28912,12 +28912,12 @@ function Ice(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Lce(e, t, n) {
- let r = kC(n) ? void 0 : 0, i = qT(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(Ry({
+function Rce(e, t, n) {
+ let r = OC(n) ? void 0 : 0, i = KT(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(Ly({
...e,
id: i,
- "aria-labelledby": qT(t, t?.selectedKey, "tab")
+ "aria-labelledby": KT(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -28927,21 +28927,21 @@ function Lce(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tree/useTree.mjs
-function Rce(e, t, n) {
- let { gridProps: r } = kse(e, t, n);
+function zce(e, t, n) {
+ let { gridProps: r } = Ase(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var JT = {};
-JT = {
+var qT = {};
+qT = {
collapse: "طي",
expand: "تمديد"
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var zce = {};
-zce = {
+var JT = {};
+JT = {
collapse: "Свиване",
expand: "Разширяване"
};
@@ -29173,8 +29173,8 @@ _le = {
//#region node_modules/react-aria/dist/private/tree/intlStrings.mjs
var vle = {};
vle = {
- "ar-AE": JT,
- "bg-BG": zce,
+ "ar-AE": qT,
+ "bg-BG": JT,
"cs-CZ": Bce,
"da-DK": Vce,
"de-DE": Hce,
@@ -29214,14 +29214,14 @@ function yle(e) {
return e && e.__esModule ? e.default : e;
}
function ble(e, t, n) {
- let { node: r } = e, i = Ase(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Xy(yle(vle), "@react-aria/tree"), s = {
+ let { node: r } = e, i = jse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Yy(yle(vle), "@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,
- ...Ry({
+ ...Ly({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -34909,7 +34909,7 @@ var _ge = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|is
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
return t.find(yge) || t[0] || "";
};
-function xge(e, t = e?.name) {
+function xk(e, t = e?.name) {
let n = vge(e, t), r = String(e?.code || "").trim().toUpperCase();
if (!e?.is_jav || !r) return {
code: "",
@@ -34926,23 +34926,23 @@ function xge(e, t = e?.name) {
badges: f
};
}
-var xk = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = xge(e, t);
+var Sk = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = xk(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function Sk(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = xge(e, t);
+function Ck(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = xk(e, t);
if (!n) return B(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${B(e)}</small>`).join("");
return `<span class="ui-javidentity"><strong class="ui-javcode">${B(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle">${B(r)}</span>` : ""}`;
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+var xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34950,7 +34950,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34958,7 +34958,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Ck = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), wk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34966,7 +34966,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), wk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), Tk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34974,7 +34974,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Tk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Ek = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34982,7 +34982,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34990,7 +34990,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Ek = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Dk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -34998,7 +34998,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35006,7 +35006,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35014,7 +35014,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35022,7 +35022,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35030,7 +35030,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35038,7 +35038,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35046,7 +35046,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35054,7 +35054,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35062,7 +35062,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35070,7 +35070,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Dk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), Ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35078,7 +35078,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35086,7 +35086,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Ok = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), kk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35094,7 +35094,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), kk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Ak = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35102,7 +35102,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Ak = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), jk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35110,7 +35110,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35118,7 +35118,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), jk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), Mk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35126,7 +35126,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35134,7 +35134,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35142,7 +35142,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35150,7 +35150,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35158,7 +35158,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35166,7 +35166,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35174,7 +35174,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Mk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Nk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35182,7 +35182,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35190,7 +35190,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35198,7 +35198,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35206,7 +35206,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Nk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Pk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35214,7 +35214,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Pk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Fk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35222,7 +35222,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35230,7 +35230,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35238,7 +35238,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35246,7 +35246,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35254,7 +35254,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35262,7 +35262,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35270,7 +35270,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35278,7 +35278,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35286,7 +35286,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Fk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Ik = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35294,7 +35294,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Ik = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), Lk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35302,7 +35302,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Lk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Rk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35310,7 +35310,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), Qge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35318,7 +35318,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Rk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), zk = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35326,7 +35326,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), $ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35334,7 +35334,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), e_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35342,7 +35342,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), t_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35350,7 +35350,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), n_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35358,7 +35358,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), r_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35366,7 +35366,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), i_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35374,7 +35374,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), a_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35382,7 +35382,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), o_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35390,7 +35390,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), c_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
+}, S.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" })), s_e = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -35398,88 +35398,88 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
fill: e,
...r,
className: "remixicon " + (n || "")
-}, S.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" })), l_e = (e, t) => {
+}, S.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" })), c_e = (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;
-}, u_e = (e, t) => ({
+}, l_e = (e, t) => ({
classGroupId: e,
validator: t
-}), d_e = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), u_e = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), zk = "-", f_e = [], p_e = "arbitrary..", m_e = (e) => {
- let t = __e(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), Bk = "-", d_e = [], f_e = "arbitrary..", p_e = (e) => {
+ let t = g_e(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return g_e(e);
- let n = e.split(zk);
- return h_e(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return h_e(e);
+ let n = e.split(Bk);
+ return m_e(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? l_e(i, t) : t : i || f_e;
+ return t ? i ? c_e(i, t) : t : i || d_e;
}
- return n[e] || f_e;
+ return n[e] || d_e;
}
};
-}, h_e = (e, t, n) => {
+}, m_e = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = h_e(e, t + 1, i);
+ let n = m_e(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(zk) : e.slice(t).join(zk), s = a.length;
+ let o = t === 0 ? e.join(Bk) : e.slice(t).join(Bk), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, g_e = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, h_e = (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 ? p_e + r : void 0;
-})(), __e = (e) => {
+ return r ? f_e + r : void 0;
+})(), g_e = (e) => {
let { theme: t, classGroups: n } = e;
- return v_e(n, t);
-}, v_e = (e, t) => {
- let n = d_e();
+ return __e(n, t);
+}, __e = (e, t) => {
+ let n = u_e();
for (let r in e) {
let i = e[r];
- Bk(i, n, r, t);
+ Vk(i, n, r, t);
}
return n;
-}, Bk = (e, t, n, r) => {
+}, Vk = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- y_e(i, t, n, r);
+ v_e(i, t, n, r);
}
-}, y_e = (e, t, n, r) => {
- typeof e == "string" ? b_e(e, t, n) : typeof e == "function" ? x_e(e, t, n, r) : S_e(e, t, n, r);
-}, b_e = (e, t, n) => {
- let r = e === "" ? t : C_e(t, e);
+}, v_e = (e, t, n, r) => {
+ typeof e == "string" ? y_e(e, t, n) : typeof e == "function" ? b_e(e, t, n, r) : x_e(e, t, n, r);
+}, y_e = (e, t, n) => {
+ let r = e === "" ? t : S_e(t, e);
r.classGroupId = n;
+}, b_e = (e, t, n, r) => {
+ C_e(e) ? Vk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(l_e(n, e)));
}, x_e = (e, t, n, r) => {
- w_e(e) ? Bk(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(u_e(n, e)));
-}, S_e = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- Bk(o, C_e(t, a), n, r);
+ Vk(o, S_e(t, a), n, r);
}
-}, C_e = (e, t) => {
- let n = e, r = t.split(zk), i = r.length;
+}, S_e = (e, t) => {
+ let n = e, r = t.split(Bk), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = d_e(), n.nextPart.set(t, i)), n = i;
+ i || (i = u_e(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, w_e = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, T_e = (e) => {
+}, C_e = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, w_e = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -35497,19 +35497,19 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
e in n ? n[e] = t : i(e, t);
}
};
-}, Vk = "!", E_e = ":", D_e = [], O_e = (e, t, n, r, i) => ({
+}, Hk = "!", T_e = ":", E_e = [], D_e = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), k_e = (e) => {
+}), O_e = (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 === E_e) {
+ if (o === T_e) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -35521,13 +35521,13 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(Vk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Vk) && (c = s.slice(1), l = !0);
+ s.endsWith(Hk) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Hk) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return O_e(t, l, c, u);
+ return D_e(t, l, c, u);
};
if (t) {
- let e = t + E_e, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : O_e(D_e, !1, t, void 0, !0);
+ let e = t + T_e, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : D_e(E_e, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -35537,7 +35537,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
});
}
return r;
-}, A_e = (e) => {
+}, k_e = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -35549,18 +35549,18 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, j_e = (e) => ({
- cache: T_e(e.cacheSize),
- parseClassName: k_e(e),
- sortModifiers: A_e(e),
- postfixLookupClassGroupIds: M_e(e),
- ...m_e(e)
-}), M_e = (e) => {
+}, A_e = (e) => ({
+ cache: w_e(e.cacheSize),
+ parseClassName: O_e(e),
+ sortModifiers: k_e(e),
+ postfixLookupClassGroupIds: j_e(e),
+ ...p_e(e)
+}), j_e = (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;
-}, N_e = /\s+/, P_e = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(N_e), l = "";
+}, M_e = /\s+/, N_e = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(M_e), 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) {
@@ -35580,7 +35580,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Vk : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Hk : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -35591,34 +35591,34 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, F_e = (...e) => {
+}, P_e = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = I_e(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = F_e(n)) && (i && (i += " "), i += r);
return i;
-}, I_e = (e) => {
+}, F_e = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = I_e(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = F_e(e[r])) && (n && (n += " "), n += t);
return n;
-}, L_e = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = j_e(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, I_e = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = A_e(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 = P_e(e, n);
+ let a = N_e(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(F_e(...e));
-}, R_e = [], Hk = (e) => {
- let t = (t) => t[e] || R_e;
+ return a = o, (...e) => a(P_e(...e));
+}, L_e = [], Uk = (e) => {
+ let t = (t) => t[e] || L_e;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, z_e = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, B_e = /^\((?:(\w[\w-]*):)?(.+)\)$/i, V_e = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, H_e = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, U_e = /\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$/, W_e = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, G_e = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, K_e = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Uk = (e) => V_e.test(e), Wk = (e) => !!e && !Number.isNaN(Number(e)), Gk = (e) => !!e && Number.isInteger(Number(e)), Kk = (e) => e.endsWith("%") && Wk(e.slice(0, -1)), qk = (e) => H_e.test(e), q_e = () => !0, J_e = (e) => U_e.test(e) && !W_e.test(e), Jk = () => !1, Y_e = (e) => G_e.test(e), X_e = (e) => K_e.test(e), Z_e = (e) => !Yk(e) && !Qk(e), Q_e = (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)), $_e = (e) => tA(e, fve, Jk), Yk = (e) => z_e.test(e), Xk = (e) => tA(e, pve, J_e), eve = (e) => tA(e, mve, Wk), tve = (e) => tA(e, gve, q_e), nve = (e) => tA(e, hve, Jk), rve = (e) => tA(e, uve, Jk), ive = (e) => tA(e, dve, X_e), Zk = (e) => tA(e, _ve, Y_e), Qk = (e) => B_e.test(e), $k = (e) => nA(e, pve), ave = (e) => nA(e, hve), ove = (e) => nA(e, uve), sve = (e) => nA(e, fve), cve = (e) => nA(e, dve), eA = (e) => nA(e, _ve, !0), lve = (e) => nA(e, gve, !0), tA = (e, t, n) => {
- let r = z_e.exec(e);
+}, R_e = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, z_e = /^\((?:(\w[\w-]*):)?(.+)\)$/i, B_e = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, V_e = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, H_e = /\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$/, U_e = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, W_e = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, G_e = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Wk = (e) => B_e.test(e), Gk = (e) => !!e && !Number.isNaN(Number(e)), Kk = (e) => !!e && Number.isInteger(Number(e)), qk = (e) => e.endsWith("%") && Gk(e.slice(0, -1)), Jk = (e) => V_e.test(e), K_e = () => !0, q_e = (e) => H_e.test(e) && !U_e.test(e), Yk = () => !1, J_e = (e) => W_e.test(e), Y_e = (e) => G_e.test(e), X_e = (e) => !Xk(e) && !$k(e), Z_e = (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)), Q_e = (e) => nA(e, dve, Yk), Xk = (e) => R_e.test(e), Zk = (e) => nA(e, fve, q_e), $_e = (e) => nA(e, pve, Gk), eve = (e) => nA(e, hve, K_e), tve = (e) => nA(e, mve, Yk), nve = (e) => nA(e, lve, Yk), rve = (e) => nA(e, uve, Y_e), Qk = (e) => nA(e, gve, J_e), $k = (e) => z_e.test(e), eA = (e) => rA(e, fve), ive = (e) => rA(e, mve), ave = (e) => rA(e, lve), ove = (e) => rA(e, dve), sve = (e) => rA(e, uve), tA = (e) => rA(e, gve, !0), cve = (e) => rA(e, hve, !0), nA = (e, t, n) => {
+ let r = R_e.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, nA = (e, t, n = !1) => {
- let r = B_e.exec(e);
+}, rA = (e, t, n = !1) => {
+ let r = z_e.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, uve = (e) => e === "position" || e === "percentage", dve = (e) => e === "image" || e === "url", fve = (e) => e === "length" || e === "size" || e === "bg-size", pve = (e) => e === "length", mve = (e) => e === "number", hve = (e) => e === "family-name", gve = (e) => e === "number" || e === "weight", _ve = (e) => e === "shadow", vve = () => {
- let e = Hk("color"), t = Hk("font"), n = Hk("text"), r = Hk("font-weight"), i = Hk("tracking"), a = Hk("leading"), o = Hk("breakpoint"), s = Hk("container"), c = Hk("spacing"), l = Hk("radius"), u = Hk("shadow"), d = Hk("inset-shadow"), f = Hk("text-shadow"), p = Hk("drop-shadow"), m = Hk("blur"), h = Hk("perspective"), g = Hk("aspect"), _ = Hk("ease"), v = Hk("animate"), y = () => [
+}, lve = (e) => e === "position" || e === "percentage", uve = (e) => e === "image" || e === "url", dve = (e) => e === "length" || e === "size" || e === "bg-size", fve = (e) => e === "length", pve = (e) => e === "number", mve = (e) => e === "family-name", hve = (e) => e === "number" || e === "weight", gve = (e) => e === "shadow", _ve = () => {
+ let e = Uk("color"), t = Uk("font"), n = Uk("text"), r = Uk("font-weight"), i = Uk("tracking"), a = Uk("leading"), o = Uk("breakpoint"), s = Uk("container"), c = Uk("spacing"), l = Uk("radius"), u = Uk("shadow"), d = Uk("inset-shadow"), f = Uk("text-shadow"), p = Uk("drop-shadow"), m = Uk("blur"), h = Uk("perspective"), g = Uk("aspect"), _ = Uk("ease"), v = Uk("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -35643,8 +35643,8 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"left-bottom"
], x = () => [
...b(),
- Qk,
- Yk
+ $k,
+ Xk
], S = () => [
"auto",
"hidden",
@@ -35656,43 +35656,43 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"contain",
"none"
], w = () => [
- Qk,
- Yk,
+ $k,
+ Xk,
c
], T = () => [
- Uk,
+ Wk,
"full",
"auto",
...w()
], E = () => [
- Gk,
+ Kk,
"none",
"subgrid",
- Qk,
- Yk
+ $k,
+ Xk
], D = () => [
"auto",
{ span: [
"full",
- Gk,
- Qk,
- Yk
+ Kk,
+ $k,
+ Xk
] },
- Gk,
- Qk,
- Yk
+ Kk,
+ $k,
+ Xk
], O = () => [
- Gk,
+ Kk,
"auto",
- Qk,
- Yk
+ $k,
+ Xk
], k = () => [
"auto",
"min",
"max",
"fr",
- Qk,
- Yk
+ $k,
+ Xk
], A = () => [
"start",
"end",
@@ -35712,7 +35712,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- Uk,
+ Wk,
"auto",
"full",
"dvw",
@@ -35727,7 +35727,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
...w()
], P = () => [
s,
- Uk,
+ Wk,
"screen",
"full",
"dvw",
@@ -35738,7 +35738,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"fit",
...w()
], F = () => [
- Uk,
+ Wk,
"screen",
"full",
"lh",
@@ -35751,13 +35751,13 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
...w()
], I = () => [
e,
- Qk,
- Yk
+ $k,
+ Xk
], ee = () => [
...b(),
- ove,
- rve,
- { position: [Qk, Yk] }
+ ave,
+ nve,
+ { position: [$k, Xk] }
], L = () => ["no-repeat", { repeat: [
"",
"x",
@@ -35768,25 +35768,25 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"auto",
"cover",
"contain",
- sve,
- $_e,
- { size: [Qk, Yk] }
+ ove,
+ Q_e,
+ { size: [$k, Xk] }
], ne = () => [
- Kk,
- $k,
- Xk
+ qk,
+ eA,
+ Zk
], re = () => [
"",
"none",
"full",
l,
- Qk,
- Yk
- ], ie = () => [
- "",
- Wk,
$k,
Xk
+ ], ie = () => [
+ "",
+ Gk,
+ eA,
+ Zk
], ae = () => [
"solid",
"dashed",
@@ -35810,32 +35810,32 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"color",
"luminosity"
], se = () => [
- Wk,
- Kk,
- ove,
- rve
+ Gk,
+ qk,
+ ave,
+ nve
], ce = () => [
"",
"none",
m,
- Qk,
- Yk
+ $k,
+ Xk
], le = () => [
"none",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
], ue = () => [
"none",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
], de = () => [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
], fe = () => [
- Uk,
+ Wk,
"full",
...w()
];
@@ -35849,17 +35849,17 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"bounce"
],
aspect: ["video"],
- blur: [qk],
- breakpoint: [qk],
- color: [q_e],
- container: [qk],
- "drop-shadow": [qk],
+ blur: [Jk],
+ breakpoint: [Jk],
+ color: [K_e],
+ container: [Jk],
+ "drop-shadow": [Jk],
ease: [
"in",
"out",
"in-out"
],
- font: [Z_e],
+ font: [X_e],
"font-weight": [
"thin",
"extralight",
@@ -35871,7 +35871,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"extrabold",
"black"
],
- "inset-shadow": [qk],
+ "inset-shadow": [Jk],
leading: [
"none",
"tight",
@@ -35888,11 +35888,11 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"distant",
"none"
],
- radius: [qk],
- shadow: [qk],
- spacing: ["px", Wk],
- text: [qk],
- "text-shadow": [qk],
+ radius: [Jk],
+ shadow: [Jk],
+ spacing: ["px", Gk],
+ text: [Jk],
+ "text-shadow": [Jk],
tracking: [
"tighter",
"tight",
@@ -35906,9 +35906,9 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
aspect: [{ aspect: [
"auto",
"square",
- Uk,
- Yk,
- Qk,
+ Wk,
+ Xk,
+ $k,
g
] }],
container: ["container"],
@@ -35916,15 +35916,15 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"",
"normal",
"size",
- Qk,
- Yk
+ $k,
+ Xk
] }],
- "container-named": [Q_e],
+ "container-named": [Z_e],
columns: [{ columns: [
- Wk,
+ Gk,
"auto",
- Yk,
- Qk,
+ Xk,
+ $k,
s
] }],
"break-after": [{ "break-after": y() }],
@@ -36021,13 +36021,13 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"collapse"
],
z: [{ z: [
- Gk,
+ Kk,
"auto",
- Qk,
- Yk
+ $k,
+ Xk
] }],
basis: [{ basis: [
- Uk,
+ Wk,
"full",
"auto",
s,
@@ -36045,32 +36045,32 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"wrap-reverse"
] }],
flex: [{ flex: [
+ Gk,
Wk,
- Uk,
"auto",
"initial",
"none",
- Yk
+ Xk
] }],
grow: [{ grow: [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
shrink: [{ shrink: [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
order: [{ order: [
- Gk,
+ Kk,
"first",
"last",
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"grid-cols": [{ "grid-cols": E() }],
"col-start-end": [{ col: D() }],
@@ -36177,15 +36177,15 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"font-size": [{ text: [
"base",
n,
- $k,
- Xk
+ eA,
+ Zk
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- lve,
- tve
+ cve,
+ eve
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -36197,15 +36197,15 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"expanded",
"extra-expanded",
"ultra-expanded",
- Kk,
- Yk
+ qk,
+ Xk
] }],
"font-family": [{ font: [
- ave,
- nve,
+ ive,
+ tve,
t
] }],
- "font-features": [{ "font-features": [Yk] }],
+ "font-features": [{ "font-features": [Xk] }],
"fvn-normal": ["normal-nums"],
"fvn-ordinal": ["ordinal"],
"fvn-slashed-zero": ["slashed-zero"],
@@ -36214,14 +36214,14 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
tracking: [{ tracking: [
i,
- Qk,
- Yk
+ $k,
+ Xk
] }],
"line-clamp": [{ "line-clamp": [
- Wk,
+ Gk,
"none",
- Qk,
- eve
+ $k,
+ $_e
] }],
leading: [{ leading: [
"none",
@@ -36230,16 +36230,16 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
] }],
"list-image": [{ "list-image": [
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"list-style-position": [{ list: ["inside", "outside"] }],
"list-style-type": [{ list: [
"disc",
"decimal",
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"text-alignment": [{ text: [
"left",
@@ -36259,18 +36259,18 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
],
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- Wk,
+ Gk,
"from-font",
"auto",
- Qk,
- Xk
+ $k,
+ Zk
] }],
"text-decoration-color": [{ decoration: I() }],
"underline-offset": [{ "underline-offset": [
- Wk,
+ Gk,
"auto",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"text-transform": [
"uppercase",
@@ -36291,9 +36291,9 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- Gk,
- Qk,
- Yk
+ Kk,
+ $k,
+ Xk
] }],
"vertical-align": [{ align: [
"baseline",
@@ -36304,8 +36304,8 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"text-bottom",
"sub",
"super",
- Qk,
- Yk
+ $k,
+ Xk
] }],
whitespace: [{ whitespace: [
"normal",
@@ -36333,8 +36333,8 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
] }],
content: [{ content: [
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"bg-attachment": [{ bg: [
"fixed",
@@ -36369,24 +36369,24 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"l",
"tl"
] },
- Gk,
- Qk,
- Yk
+ Kk,
+ $k,
+ Xk
],
radial: [
"",
- Qk,
- Yk
+ $k,
+ Xk
],
conic: [
"",
- Gk,
- Qk,
- Yk
+ Kk,
+ $k,
+ Xk
]
},
- cve,
- ive
+ sve,
+ rve
] }],
"bg-color": [{ bg: I() }],
"gradient-from-pos": [{ from: ne() }],
@@ -36453,15 +36453,15 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"outline-w": [{ outline: [
"",
- Wk,
- $k,
- Xk
+ Gk,
+ eA,
+ Zk
] }],
"outline-color": [{ outline: I() }],
shadow: [{ shadow: [
@@ -36469,35 +36469,35 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"inner",
"none",
u,
- eA,
- Zk
+ tA,
+ Qk
] }],
"shadow-color": [{ shadow: I() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- eA,
- Zk
+ tA,
+ Qk
] }],
"inset-shadow-color": [{ "inset-shadow": I() }],
"ring-w": [{ ring: ie() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: I() }],
- "ring-offset-w": [{ "ring-offset": [Wk, Xk] }],
+ "ring-offset-w": [{ "ring-offset": [Gk, Zk] }],
"ring-offset-color": [{ "ring-offset": I() }],
"inset-ring-w": [{ "inset-ring": ie() }],
"inset-ring-color": [{ "inset-ring": I() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- eA,
- Zk
+ tA,
+ Qk
] }],
"text-shadow-color": [{ "text-shadow": I() }],
opacity: [{ opacity: [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"mix-blend": [{ "mix-blend": [
...oe(),
@@ -36519,7 +36519,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [Wk] }],
+ "mask-image-linear-pos": [{ "mask-linear": [Gk] }],
"mask-image-linear-from-pos": [{ "mask-linear-from": se() }],
"mask-image-linear-to-pos": [{ "mask-linear-to": se() }],
"mask-image-linear-from-color": [{ "mask-linear-from": I() }],
@@ -36548,7 +36548,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"mask-image-y-to-pos": [{ "mask-y-to": se() }],
"mask-image-y-from-color": [{ "mask-y-from": I() }],
"mask-image-y-to-color": [{ "mask-y-to": I() }],
- "mask-image-radial": [{ "mask-radial": [Qk, Yk] }],
+ "mask-image-radial": [{ "mask-radial": [$k, Xk] }],
"mask-image-radial-from-pos": [{ "mask-radial-from": se() }],
"mask-image-radial-to-pos": [{ "mask-radial-to": se() }],
"mask-image-radial-from-color": [{ "mask-radial-from": I() }],
@@ -36559,7 +36559,7 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [Wk] }],
+ "mask-image-conic-pos": [{ "mask-conic": [Gk] }],
"mask-image-conic-from-pos": [{ "mask-conic-from": se() }],
"mask-image-conic-to-pos": [{ "mask-conic-to": se() }],
"mask-image-conic-from-color": [{ "mask-conic-from": I() }],
@@ -36583,111 +36583,111 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
"mask-image": [{ mask: [
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
filter: [{ filter: [
"",
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
blur: [{ blur: ce() }],
brightness: [{ brightness: [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
contrast: [{ contrast: [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"drop-shadow": [{ "drop-shadow": [
"",
"none",
p,
- eA,
- Zk
+ tA,
+ Qk
] }],
"drop-shadow-color": [{ "drop-shadow": I() }],
grayscale: [{ grayscale: [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"hue-rotate": [{ "hue-rotate": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
invert: [{ invert: [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
saturate: [{ saturate: [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
sepia: [{ sepia: [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-filter": [{ "backdrop-filter": [
"",
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"backdrop-blur": [{ "backdrop-blur": ce() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
"border-collapse": [{ border: ["collapse", "separate"] }],
"border-spacing": [{ "border-spacing": w() }],
@@ -36703,39 +36703,39 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"shadow",
"transform",
"none",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- Wk,
+ Gk,
"initial",
- Qk,
- Yk
+ $k,
+ Xk
] }],
ease: [{ ease: [
"linear",
"initial",
_,
- Qk,
- Yk
+ $k,
+ Xk
] }],
delay: [{ delay: [
- Wk,
- Qk,
- Yk
+ Gk,
+ $k,
+ Xk
] }],
animate: [{ animate: [
"none",
v,
- Qk,
- Yk
+ $k,
+ Xk
] }],
backface: [{ backface: ["hidden", "visible"] }],
perspective: [{ perspective: [
h,
- Qk,
- Yk
+ $k,
+ Xk
] }],
"perspective-origin": [{ "perspective-origin": x() }],
rotate: [{ rotate: le() }],
@@ -36751,8 +36751,8 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"skew-x": [{ "skew-x": de() }],
"skew-y": [{ "skew-y": de() }],
transform: [{ transform: [
- Qk,
- Yk,
+ $k,
+ Xk,
"",
"none",
"gpu",
@@ -36766,9 +36766,9 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"translate-z": [{ "translate-z": fe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- Gk,
- Qk,
- Yk
+ Kk,
+ $k,
+ Xk
] }],
accent: [{ accent: I() }],
appearance: [{ appearance: ["none", "auto"] }],
@@ -36818,8 +36818,8 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"nwse-resize",
"zoom-in",
"zoom-out",
- Qk,
- Yk
+ $k,
+ Xk
] }],
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
@@ -36905,15 +36905,15 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"scroll",
"contents",
"transform",
- Qk,
- Yk
+ $k,
+ Xk
] }],
fill: [{ fill: ["none", ...I()] }],
"stroke-w": [{ stroke: [
- Wk,
- $k,
- Xk,
- eve
+ Gk,
+ eA,
+ Zk,
+ $_e
] }],
stroke: [{ stroke: ["none", ...I()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -37171,16 +37171,16 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"selection"
]
};
-}, yve = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (rA(e, "cacheSize", t), rA(e, "prefix", n), rA(e, "experimentalParseClassName", r), iA(e.theme, a.theme), iA(e.classGroups, a.classGroups), iA(e.conflictingClassGroups, a.conflictingClassGroups), iA(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), rA(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), rA(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), aA(e.theme, i.theme), aA(e.classGroups, i.classGroups), aA(e.conflictingClassGroups, i.conflictingClassGroups), aA(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), oA(e, i, "postfixLookupClassGroups"), oA(e, i, "orderSensitiveModifiers"), e), rA = (e, t, n) => {
+}, vve = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (iA(e, "cacheSize", t), iA(e, "prefix", n), iA(e, "experimentalParseClassName", r), aA(e.theme, a.theme), aA(e.classGroups, a.classGroups), aA(e.conflictingClassGroups, a.conflictingClassGroups), aA(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), iA(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), iA(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), oA(e.theme, i.theme), oA(e.classGroups, i.classGroups), oA(e.conflictingClassGroups, i.conflictingClassGroups), oA(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), sA(e, i, "postfixLookupClassGroups"), sA(e, i, "orderSensitiveModifiers"), e), iA = (e, t, n) => {
n !== void 0 && (e[t] = n);
-}, iA = (e, t) => {
- if (t) for (let n in t) rA(e, n, t[n]);
}, aA = (e, t) => {
- if (t) for (let n in t) oA(e, t, n);
-}, oA = (e, t, n) => {
+ if (t) for (let n in t) iA(e, n, t[n]);
+}, oA = (e, t) => {
+ if (t) for (let n in t) sA(e, t, n);
+}, sA = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, bve = (e, ...t) => typeof e == "function" ? L_e(vve, e, ...t) : L_e(() => yve(vve(), e), ...t), xve = [
+}, yve = (e, ...t) => typeof e == "function" ? I_e(_ve, e, ...t) : I_e(() => vve(_ve(), e), ...t), bve = [
"large-title",
"display-1",
"display-2",
@@ -37194,18 +37194,18 @@ var Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S
"body-2",
"caption-1",
"caption-2"
-], Sve = [
+], xve = [
"regular",
"medium",
"semibold",
"bold"
-], sA = bve({ extend: { classGroups: { "font-size": [{ text: xve.flatMap((e) => Sve.map((t) => `${e}-${t}`)) }] } } });
-function cA(e) {
+], cA = yve({ extend: { classGroups: { "font-size": [{ text: bve.flatMap((e) => xve.map((t) => `${e}-${t}`)) }] } } });
+function lA(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var lA = cA({
+var uA = lA({
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",
@@ -37224,16 +37224,16 @@ var lA = cA({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function uA({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function dA({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
ref: r,
- className: sA(lA.base, lA.variant[e], lA.color[t], n),
+ className: cA(uA.base, uA.variant[e], uA.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var dA = cA({
+var fA = lA({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -37292,40 +37292,40 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, C.jsxs)("button", {
ref: c,
type: s,
- className: sA(dA.base, dA.size[t], dA.variant[e], n && dA.iconOnlySize[t], o),
+ className: cA(fA.base, fA.size[t], fA.variant[e], n && fA.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, C.jsx)(r, {
- className: dA.icon[t],
+ className: fA.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, C.jsx)("span", {
- className: dA.label[t],
+ className: fA.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, C.jsx)(i, {
- className: dA.icon[t],
+ className: fA.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function fA({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function pA({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, C.jsxs)("a", {
ref: s,
- className: sA(dA.base, dA.size[t], dA.variant[e], n && dA.iconOnlySize[t], o),
+ className: cA(fA.base, fA.size[t], fA.variant[e], n && fA.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, C.jsx)(r, {
- className: dA.icon[t],
+ className: fA.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, C.jsx)("span", {
- className: dA.label[t],
+ className: fA.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, C.jsx)(i, {
- className: dA.icon[t],
+ className: fA.icon[t],
"aria-hidden": !0
}) : null
]
@@ -37333,47 +37333,47 @@ function fA({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var Cve = "min-w-0", wve = {
+var Sve = "min-w-0", Cve = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Tve = {
+}, wve = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Eve = {
+}, Tve = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, Dve = {
+}, Eve = {
none: "",
default: "p-5"
-}, Ove = "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", kve = "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 pA(e = {}) {
+}, Dve = "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", Ove = "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 mA(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 [
- Cve,
- wve[t],
- Tve[s],
- Dve[n],
- a ? Eve[a] : "",
- r ? Ove : "",
- i ? kve : "",
+ Sve,
+ Cve[t],
+ wve[s],
+ Eve[n],
+ a ? Tve[a] : "",
+ r ? Dve : "",
+ i ? Ove : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var Ave = {
+var kve = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function mA({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function hA({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${Ave[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${kve[i]}`,
children: [
a ? /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
@@ -37403,7 +37403,7 @@ function mA({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function hA({ label: e, inline: t = !1 }) {
+function gA({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, C.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex shrink-0 items-center gap-1",
@@ -37431,7 +37431,7 @@ function hA({ label: e, inline: t = !1 }) {
function J({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-note-layout": "",
- className: sA("flex flex-col items-start gap-3", a === "inline" && "@xl:flex-row @xl:items-center @xl:justify-between"),
+ className: cA("flex flex-col items-start gap-3", a === "inline" && "@xl:flex-row @xl:items-center @xl:justify-between"),
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col justify-center gap-0.5 self-stretch",
children: [t ? /* @__PURE__ */ (0, C.jsx)("p", {
@@ -37450,34 +37450,34 @@ function J({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
switch (e) {
case "info": return /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
- className: sA("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),
+ className: cA("@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, C.jsx)("div", {
role: "status",
- className: sA("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),
+ className: cA("@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, C.jsx)("div", {
role: "note",
- className: sA("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),
+ className: cA("@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, C.jsx)("div", {
role: "alert",
- className: sA("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),
+ className: cA("@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, C.jsx)("div", {
role: "note",
- className: sA("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
+ className: cA("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),
children: s
});
}
}
//#endregion
//#region src/react/components/page.tsx
-function gA({ children: e }) {
+function _A({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -37485,21 +37485,21 @@ function gA({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var _A = 100, jve = .4;
-function vA({ 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 * _A;
+var vA = 100, Ave = .4;
+function yA({ 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 * vA;
return /* @__PURE__ */ (0, C.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": i,
"aria-valuenow": a(t),
- viewBox: `0 0 ${_A} 1`,
+ viewBox: `0 0 ${vA} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, C.jsx)("rect", {
- width: _A,
+ width: vA,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -37510,7 +37510,7 @@ function vA({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, C.jsx)("rect", {
x: o(e),
- width: jve,
+ width: Ave,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -37527,7 +37527,7 @@ function Y(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function yA(e = "") {
+function bA(e = "") {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(""), [i, a] = (0, S.useState)(e);
(0, S.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -37553,21 +37553,21 @@ function yA(e = "") {
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function bA({ className: e, children: t }) {
+function xA({ className: e, children: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- className: sA("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: cA("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function xA({ className: e, children: t }) {
+function SA({ className: e, children: t }) {
return /* @__PURE__ */ (0, C.jsx)("p", {
- className: sA("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: cA("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function SA({ label: e, description: t, children: n }) {
+function CA({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: sA("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: cA("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, C.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, C.jsx)("p", {
@@ -37582,7 +37582,7 @@ function SA({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var CA = cA({
+var wA = lA({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -37606,15 +37606,15 @@ var CA = cA({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function wA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = sA(CA.base, CA.size[t], CA.variant[e], a), l = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
+function TA({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = cA(wA.base, wA.size[t], wA.variant[e], a), l = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
n ? /* @__PURE__ */ (0, C.jsx)(n, {
- className: CA.icon[t],
+ className: wA.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, C.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, C.jsx)(r, {
- className: CA.icon[t],
+ className: wA.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -37641,7 +37641,7 @@ function wA({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function TA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
+function EA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
let o = t ? /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [t, e]
@@ -37649,12 +37649,12 @@ function TA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(xA, { children: o })
+ children: /* @__PURE__ */ (0, C.jsx)(SA, { children: o })
}), /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: r
})]
- }) : /* @__PURE__ */ (0, C.jsx)(xA, { children: o }), /* @__PURE__ */ (0, C.jsx)(bA, { children: a })] });
+ }) : /* @__PURE__ */ (0, C.jsx)(SA, { children: o }), /* @__PURE__ */ (0, C.jsx)(xA, { children: a })] });
return i ? /* @__PURE__ */ (0, C.jsx)("form", {
id: n,
"aria-label": e,
@@ -37669,13 +37669,13 @@ function TA({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {
children: s
});
}
-function EA({ children: e }) {
+function DA({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function DA({ divided: e = !1, children: t }) {
+function OA({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -37684,7 +37684,7 @@ function DA({ divided: e = !1, children: t }) {
children: t
});
}
-function OA({ status: e, children: t }) {
+function kA({ status: e, children: t }) {
return /* @__PURE__ */ (0, C.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",
children: [e ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -37693,34 +37693,34 @@ function OA({ status: e, children: t }) {
}) : null, t]
});
}
-function kA({ role: e, children: t }) {
+function AA({ role: e, children: t }) {
return /* @__PURE__ */ (0, C.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function AA({ children: e }) {
+function jA({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function jA({ children: e }) {
+function MA({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function MA({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, C.jsx)(wA, {
+function NA({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, C.jsx)(TA, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: jk,
+ trailingIcon: Mk,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -37728,13 +37728,13 @@ function MA({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function NA({ children: e }) {
+function PA({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function PA({ term: e, children: t }) {
+function FA({ term: e, children: t }) {
return /* @__PURE__ */ (0, C.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, C.jsx)("dt", {
@@ -37746,7 +37746,7 @@ function PA({ term: e, children: t }) {
})]
});
}
-function FA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i, contentClassName: a }) {
+function IA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, onOpenChange: i, contentClassName: a }) {
let o = (0, S.useId)(), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(!1), [u, d] = (0, S.useState)(t);
return /* @__PURE__ */ (0, C.jsxs)("details", {
ref: (e) => {
@@ -37760,12 +37760,12 @@ function FA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
},
className: `${r ? "w-full" : "w-fit"} flex cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [
- r ? null : /* @__PURE__ */ (0, C.jsx)(Tk, {
+ r ? null : /* @__PURE__ */ (0, C.jsx)(Ek, {
"aria-hidden": !0,
className: u ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}),
e,
- r ? /* @__PURE__ */ (0, C.jsx)(Tk, {
+ r ? /* @__PURE__ */ (0, C.jsx)(Ek, {
"aria-hidden": !0,
className: u ? "ml-auto size-4 shrink-0 -rotate-90 transition-transform" : "ml-auto size-4 shrink-0 rotate-90 transition-transform"
}) : null
@@ -37775,13 +37775,13 @@ function FA({ summary: e, defaultOpen: t = !1, children: n, trailing: r = !1, on
id: o,
inert: !u,
children: /* @__PURE__ */ (0, C.jsx)("div", {
- className: sA("flex flex-col gap-2 pt-3", a),
+ className: cA("flex flex-col gap-2 pt-3", a),
children: n
})
})]
});
}
-function Mve({ name: e }) {
+function jve({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -37790,22 +37790,22 @@ function Mve({ name: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-function IA({ mark: e }) {
+function LA({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, C.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, C.jsx)(Mve, { name: e });
+ }) : /* @__PURE__ */ (0, C.jsx)(jve, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var LA = "/api/tasks", RA = ["tasks"], Nve = (e, t) => H(`${LA}?${new URLSearchParams({
+var RA = "/api/tasks", zA = ["tasks"], Mve = (e, t) => H(`${RA}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function zA(...e) {
+function BA(...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) => {
@@ -37813,26 +37813,26 @@ function zA(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var Pve = 2e3, Fve = 1e4, BA = (e) => e?.running?.length ? Pve : Fve, VA = (e) => H(LA, e);
-async function Ive(e) {
+var Nve = 2e3, Pve = 1e4, VA = (e) => e?.running?.length ? Nve : Pve, HA = (e) => H(RA, e);
+async function Fve(e) {
await W.fetchQuery({
- queryKey: RA,
- queryFn: () => VA(e)
+ queryKey: zA,
+ queryFn: () => HA(e)
});
}
-var HA = {
+var UA = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Lve = {
+}, Ive = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, Rve = (e) => Lve[e] || e, UA = {
+}, Lve = (e) => Ive[e] || e, WA = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37869,7 +37869,7 @@ var HA = {
performer_profile_conflicts: "女优资料待复核",
conflicts: "待复核冲突"
};
-function zve(e) {
+function Rve(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -37878,7 +37878,7 @@ function zve(e) {
}
return t;
}
-function Bve(e, t) {
+function zve(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -37900,12 +37900,12 @@ function Bve(e, t) {
}
return n;
}
-var Vve = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), WA = (e) => e.status === "pending" || e.status === "running";
-function Hve(e) {
+var Bve = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), GA = (e) => e.status === "pending" || e.status === "running";
+function Vve(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, qA(e.error) || Jve(o) || (WA(e) && i > 0 ? `${KA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, JA(e.error) || qve(o) || (GA(e) && i > 0 ? `${qA(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function GA(e) {
+function KA(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -37914,19 +37914,19 @@ function GA(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function KA(e, t) {
+function qA(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function Uve(e) {
+function Hve(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 qA(e) {
- let t = Uve(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function JA(e) {
+ let t = Hve(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? Pt(n[1]) : t;
}
-var Wve = {
+var Uve = {
没有新写法: "未发现新别名",
已装上: "已保存资料图片",
已装着认得准的小图: "已保留身份核对通过的小尺寸图片",
@@ -37940,11 +37940,11 @@ var Wve = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, JA = {
+}, YA = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, Gve = {
+}, Wve = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -37955,8 +37955,8 @@ var Wve = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, Kve = (e) => Wve[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${JA[t.toLowerCase()]} 资料页` : `已保存来自 ${JA[t.toLowerCase()]} 的资料`).replace(/^探针不可用:/, "无法读取媒体信息:");
-function YA(e) {
+}, Gve = (e) => Uve[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${YA[t.toLowerCase()]} 资料页` : `已保存来自 ${YA[t.toLowerCase()]} 的资料`).replace(/^探针不可用:/, "无法读取媒体信息:");
+function XA(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -37966,7 +37966,7 @@ function YA(e) {
minute: "2-digit"
});
}
-var qve = /* @__PURE__ */ new Set([
+var Kve = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -37975,33 +37975,33 @@ var qve = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function XA(e) {
- return Object.entries(e || {}).filter(([e, t]) => !qve.has(e) && (e in UA || 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" ? qA(String(t)) : e === "outcome" ? Kve(String(t)) : e === "operation" ? `操作:${Gve[String(t)] || "批量操作"}` : `${UA[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function ZA(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Kve.has(e) && (e in WA || 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" ? JA(String(t)) : e === "outcome" ? Gve(String(t)) : e === "operation" ? `操作:${Wve[String(t)] || "批量操作"}` : `${WA[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var Jve = (e) => XA(e).join(" · ");
+var qve = (e) => ZA(e).join(" · ");
//#endregion
//#region src/react/components/source-label.tsx
-function Yve({ className: e }) {
+function Jve({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, C.jsx)(IA, { mark: so[115] })
+ children: /* @__PURE__ */ (0, C.jsx)(LA, { mark: so[115] })
});
}
-function Xve({ className: e }) {
+function Yve({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, C.jsx)(IA, { mark: so.pikpak })
+ children: /* @__PURE__ */ (0, C.jsx)(LA, { mark: so.pikpak })
});
}
-var ZA = {
- 115: Yve,
- pikpak: Xve
+var QA = {
+ 115: Jve,
+ pikpak: Yve
};
-function Zve({ site: e, label: t }) {
+function Xve({ site: e, label: t }) {
let [n, r] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n ? /* @__PURE__ */ (0, C.jsx)(IA, { mark: "globe" }) : /* @__PURE__ */ (0, C.jsx)("img", {
+ children: [n ? /* @__PURE__ */ (0, C.jsx)(LA, { mark: "globe" }) : /* @__PURE__ */ (0, C.jsx)("img", {
src: e === "javdb" ? "/site-mark?source=javdb" : "/site-mark?domain=missav.com",
alt: "",
className: "size-4 shrink-0 object-contain",
@@ -38009,27 +38009,54 @@ function Zve({ site: e, label: t }) {
}), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]
});
}
-function QA({ source: e, label: t }) {
+function $A({ source: e, label: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: so[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: so[e] || (e === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]
+ });
+}
+//#endregion
+//#region src/react/components/art-slot.tsx
+function ej({ artwork: e, identity: t = e.html, relayout: n }) {
+ let [r, i] = (0, S.useState)({
+ identity: t,
+ artwork: e
+ });
+ r.identity !== t && i({
+ identity: t,
+ artwork: e
+ });
+ let a = r.identity === t ? r.artwork : e, o = (0, S.useRef)(null), s = (0, S.useRef)(n);
+ return s.current = n, (0, S.useLayoutEffect)(() => {
+ o.current && s.current?.(o.current);
+ }, [e.html]), /* @__PURE__ */ (0, C.jsx)("span", {
+ ref: o,
+ "data-media-art": a.kind,
+ dangerouslySetInnerHTML: { __html: a.html }
});
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var $A = "/api/downloads", ej = ["downloads"], Qve = "/api/downloads/cancel", $ve = "/api/downloads/postprocess", tj = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, eye = {
+var tj = "/api/downloads", nj = ["downloads"], Zve = "/api/downloads/cancel", Qve = "/api/downloads/postprocess", rj = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, $ve = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, nj = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, rj = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", tye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function nye() {
+}, ij = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = xk({
+ 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}`;
+}, aj = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", eye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function tye() {
let e = (0, S.useId)(), t = ht({
- queryKey: [...ej, "pages"],
+ queryKey: [...nj, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => H(`${$A}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => H(`${tj}?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) => tj(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => rj(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, C.jsxs)("section", {
"aria-labelledby": e,
@@ -38047,7 +38074,7 @@ function nye() {
r.length ? /* @__PURE__ */ (0, C.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, C.jsx)(rye, {
+ children: r.map((e) => /* @__PURE__ */ (0, C.jsx)(nye, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -38055,7 +38082,7 @@ function nye() {
t.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Ck,
+ leadingIcon: wk,
className: "self-start",
...Y(t.isFetchingNextPage),
onClick: () => {
@@ -38066,16 +38093,28 @@ function nye() {
]
});
}
-function rye({ task: e, writable: t }) {
- let n = T(), r = yA(), [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = (0, S.useId)(), l = rj(e), u = e.state === "failed" || e.postprocess_state === "failed", d = [
- e.display_code || e.code || "番号未识别",
+function nye({ task: e, writable: t }) {
+ let n = T(), r = bA(), [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = (0, S.useId)(), l = (0, S.useRef)(null);
+ (0, S.useLayoutEffect)(() => {
+ let e = l.current;
+ if (!e) return;
+ let t = () => {
+ let { width: t, height: n } = e.getBoundingClientRect();
+ t && n && (e.style.setProperty("--card-ratio", `${t} / ${n}`), e.querySelectorAll("img.cover").forEach((e) => {
+ e.complete && e.naturalWidth && nc(e);
+ }));
+ }, n = new ResizeObserver(t);
+ return n.observe(e), t(), () => n.disconnect();
+ }, []);
+ let u = aj(e), d = e.artwork, f = d?.performer_entities || [], p = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, m = e.state === "failed" || e.postprocess_state === "failed", h = [
+ e.display_code || e.code ? "" : "番号未识别",
e.target,
- YA(e.submitted_at)
- ].filter(Boolean).join(" · "), f = () => {
- n.invalidateQueries({ queryKey: ej });
- }, p = () => {
- r.run("cancel", (t) => U(Qve, { id: e.id }, "POST", t), f);
- }, m = () => {
+ XA(e.submitted_at)
+ ].filter(Boolean).join(" · "), g = () => {
+ n.invalidateQueries({ queryKey: nj });
+ }, _ = () => {
+ r.run("cancel", (t) => U(Zve, { id: e.id }, "POST", t), g);
+ }, v = () => {
let t = {
magnet: e.source_uri,
provider: e.provider,
@@ -38084,125 +38123,174 @@ function rye({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => U($A, t, "POST", e), f);
- }, h = () => {
+ r.run("resubmit", (e) => U(tj, t, "POST", e), g);
+ }, y = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
- }, g = () => {
- r.run("postprocess", (t) => U($ve, { id: e.id }, "POST", t), f);
+ }, b = () => {
+ r.run("postprocess", (t) => U(Qve, { id: e.id }, "POST", t), g);
};
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: pA({
+ className: mA({
padding: "none",
bordered: "line",
- className: u ? "flex flex-col border-border-error-default" : "flex flex-col"
+ className: m ? "flex flex-col border-border-error-default" : "flex flex-col"
}),
- children: [/* @__PURE__ */ (0, C.jsxs)("div", {
- className: "flex flex-col gap-1.5 px-5 pt-5 pb-4",
- children: [
- /* @__PURE__ */ (0, C.jsxs)("div", {
- className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)("strong", {
- className: "min-w-0 flex-1 truncate text-title-1-medium text-text-primary",
- title: nj(e),
- children: nj(e)
- }), /* @__PURE__ */ (0, C.jsxs)("div", {
- className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(uA, {
- color: eye[e.state] ?? "neutral",
- children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, C.jsx)(uA, {
- color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
- children: e.postprocess_label
- }) : null]
- })]
- }),
- /* @__PURE__ */ (0, C.jsxs)("div", {
- className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, C.jsx)("span", {
- className: "flex shrink-0",
- children: /* @__PURE__ */ (0, C.jsx)(QA, {
- source: e.provider,
- label: e.provider_label
- })
- }), /* @__PURE__ */ (0, C.jsx)("span", {
- className: "min-w-0 truncate",
- title: d,
- children: d
- })]
- }),
- o ? /* @__PURE__ */ (0, C.jsx)("p", {
- id: c,
- "data-download-title-full": !0,
- className: "wrap-anywhere text-body-2-regular text-text-secondary",
- children: nj(e)
- }) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, C.jsx)(vA, {
- label: "远端下载进度",
- value: Math.round(e.progress * 100),
- max: 100
- }) : null,
- e.ledger_path ? /* @__PURE__ */ (0, C.jsx)("p", {
- className: "min-w-0 truncate text-caption-1-regular text-text-secondary",
- title: e.ledger_path,
- children: e.ledger_path
- }) : null,
- r.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: r.error }) : null,
- /* @__PURE__ */ (0, C.jsxs)("div", {
- className: "flex flex-wrap items-center gap-2 pt-1",
+ children: [
+ /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex items-start gap-3 px-5 pt-5 pb-4",
+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {
+ ref: l,
+ "data-download-cover": "",
+ style: { "--card-ratio": "3 / 4" },
+ className: "relative flex aspect-3/4 w-20 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-regular text-text-secondary sm:aspect-auto sm:w-24 sm:self-stretch",
children: [
- /* @__PURE__ */ (0, C.jsx)(q, {
- variant: "ghost",
- size: "small",
- "aria-expanded": o,
- "aria-controls": o ? c : void 0,
- onClick: () => s(!o),
- children: o ? "收起标题" : "展开标题"
+ d?.has_cover ? null : /* @__PURE__ */ (0, C.jsx)("span", { children: "无封面" }),
+ d?.has_cover ? /* @__PURE__ */ (0, C.jsx)(ej, {
+ artwork: {
+ kind: "cover",
+ html: ba(d, "big")
+ },
+ relayout: (e) => gc(e, "big")
+ }) : null,
+ p ? /* @__PURE__ */ (0, C.jsx)("a", {
+ "data-download-cover-link": "",
+ href: p,
+ "aria-label": `打开作品详情:${ij(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
+ ]
+ }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex min-w-0 flex-1 flex-col gap-1.5",
+ children: [
+ /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",
+ children: [/* @__PURE__ */ (0, C.jsx)("strong", {
+ className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
+ title: ij(e),
+ children: p ? /* @__PURE__ */ (0, C.jsx)("a", {
+ "data-download-title-link": "",
+ href: p,
+ className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",
+ children: ij(e)
+ }) : ij(e)
+ }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex shrink-0 items-center gap-2",
+ children: [/* @__PURE__ */ (0, C.jsx)(dA, {
+ color: $ve[e.state] ?? "neutral",
+ children: e.state_label
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, C.jsx)(dA, {
+ color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : "yellow",
+ children: e.postprocess_label
+ }) : null]
+ })]
}),
- t && e.cancellable ? /* @__PURE__ */ (0, C.jsx)(q, {
- variant: "secondary",
- size: "small",
- ...Y(r.busy === "cancel"),
- onClick: p,
- children: "取消"
+ /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
+ children: [/* @__PURE__ */ (0, C.jsx)("span", {
+ className: "flex shrink-0",
+ children: /* @__PURE__ */ (0, C.jsx)($A, {
+ source: e.provider,
+ label: e.provider_label
+ })
+ }), /* @__PURE__ */ (0, C.jsx)("span", {
+ className: "min-w-0 truncate",
+ title: h,
+ children: h
+ })]
+ }),
+ f.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex min-w-0 items-center gap-2",
+ children: [/* @__PURE__ */ (0, C.jsx)("div", {
+ className: "flex shrink-0 items-center gap-1",
+ children: f.slice(0, 3).map((e) => /* @__PURE__ */ (0, C.jsx)("a", {
+ "data-media-avatar": "",
+ href: Kt("performer", e.name, e.id),
+ "aria-label": `打开女优页:${e.name}`,
+ title: e.name,
+ dangerouslySetInnerHTML: { __html: ha(e.name, e, null) }
+ }, e.id || e.name))
+ }), /* @__PURE__ */ (0, C.jsxs)("span", {
+ className: "min-w-0 truncate text-caption-1-regular text-text-secondary",
+ title: f.map((e) => e.name).join("、"),
+ children: [f.map((e) => e.name).join("、"), (d?.performer_total || 0) > f.length ? ` 等 ${d.performer_total} 人` : ""]
+ })]
}) : null,
- t && e.resubmittable ? /* @__PURE__ */ (0, C.jsx)(q, {
- variant: "secondary",
- size: "small",
- ...Y(r.busy === "resubmit"),
- onClick: m,
- children: "重新提交"
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, C.jsx)(yA, {
+ label: "远端下载进度",
+ value: Math.round(e.progress * 100),
+ max: 100
}) : null,
- t && e.postprocess_retryable ? /* @__PURE__ */ (0, C.jsx)(q, {
- variant: "secondary",
- size: "small",
- ...Y(r.busy === "postprocess"),
- onClick: g,
- children: "重试入库后整理"
+ e.ledger_path ? /* @__PURE__ */ (0, C.jsx)("p", {
+ className: "min-w-0 truncate text-caption-1-regular text-text-secondary",
+ title: e.ledger_path,
+ children: e.ledger_path
}) : null,
- /* @__PURE__ */ (0, C.jsx)(q, {
- variant: "ghost",
- size: "small",
- onClick: h,
- children: i ? "已复制磁力" : "复制磁力"
+ r.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: r.error }) : null,
+ /* @__PURE__ */ (0, C.jsxs)("div", {
+ className: "flex flex-wrap items-center gap-2 pt-1",
+ children: [
+ /* @__PURE__ */ (0, C.jsx)(q, {
+ variant: "ghost",
+ size: "small",
+ "aria-expanded": o,
+ "aria-controls": o ? c : void 0,
+ onClick: () => s(!o),
+ children: o ? "收起标题" : "展开标题"
+ }),
+ t && e.cancellable ? /* @__PURE__ */ (0, C.jsx)(q, {
+ variant: "secondary",
+ size: "small",
+ ...Y(r.busy === "cancel"),
+ onClick: _,
+ children: "取消"
+ }) : null,
+ t && e.resubmittable ? /* @__PURE__ */ (0, C.jsx)(q, {
+ variant: "secondary",
+ size: "small",
+ ...Y(r.busy === "resubmit"),
+ onClick: v,
+ children: "重新提交"
+ }) : null,
+ t && e.postprocess_retryable ? /* @__PURE__ */ (0, C.jsx)(q, {
+ variant: "secondary",
+ size: "small",
+ ...Y(r.busy === "postprocess"),
+ onClick: b,
+ children: "重试入库后整理"
+ }) : null,
+ /* @__PURE__ */ (0, C.jsx)(q, {
+ variant: "ghost",
+ size: "small",
+ onClick: y,
+ children: i ? "已复制磁力" : "复制磁力"
+ })
+ ]
})
]
+ })]
+ }),
+ o ? /* @__PURE__ */ (0, C.jsx)("p", {
+ id: c,
+ "data-download-title-full": !0,
+ className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",
+ children: ij(e)
+ }) : null,
+ u || e.postprocess_detail ? /* @__PURE__ */ (0, C.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, C.jsx)("p", {
+ className: "wrap-anywhere text-caption-1-regular text-text-secondary",
+ children: u || eye(e)
})
- ]
- }), l || e.postprocess_detail ? /* @__PURE__ */ (0, C.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, C.jsx)("p", {
- className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || tye(e)
- })
- }) : null]
+ }) : null
+ ]
});
}
//#endregion
//#region src/react/activity/error-excerpt.tsx
-function ij({ text: e, className: t = "" }) {
- let [n, r] = (0, S.useState)(!1), i = (0, S.useId)(), a = String(e || "").trim(), o = qA(a);
+function oj({ text: e, className: t = "" }) {
+ let [n, r] = (0, S.useState)(!1), i = (0, S.useId)(), a = String(e || "").trim(), o = JA(a);
if (!o) return null;
let s = o !== a;
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -38228,23 +38316,23 @@ function ij({ text: e, className: t = "" }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var iye = {
+var rye = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function aj({ status: e }) {
- return /* @__PURE__ */ (0, C.jsx)(uA, {
- color: iye[e] ?? "neutral",
- children: Rve(e)
+function sj({ status: e }) {
+ return /* @__PURE__ */ (0, C.jsx)(dA, {
+ color: rye[e] ?? "neutral",
+ children: Lve(e)
});
}
-function aye({ rows: e }) {
+function iye({ rows: e }) {
return /* @__PURE__ */ (0, C.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Hve(e);
+ let t = Vve(e);
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -38254,14 +38342,14 @@ function aye({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, C.jsx)(aj, { status: e.status }),
+ /* @__PURE__ */ (0, C.jsx)(sj, { status: e.status }),
t ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
}) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
className: "w-full min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)(FA, {
+ children: /* @__PURE__ */ (0, C.jsx)(IA, {
summary: "技术详情",
children: /* @__PURE__ */ (0, C.jsx)("pre", {
className: "max-h-60 overflow-y-auto whitespace-pre-wrap wrap-anywhere text-caption-1-regular text-text-secondary",
@@ -38274,12 +38362,12 @@ function aye({ rows: e }) {
})
});
}
-function oj({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function cj({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: pA({
+ className: mA({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -38293,7 +38381,7 @@ function oj({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, C.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, C.jsx)(aj, { status: e.status })]
+ }), /* @__PURE__ */ (0, C.jsx)(sj, { status: e.status })]
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -38304,15 +38392,15 @@ function oj({ run: e, meta: t, children: n, footer: r, followups: i }) {
}),
i?.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, C.jsx)(FA, {
+ children: /* @__PURE__ */ (0, C.jsx)(IA, {
summary: `任务明细 · ${i.length} 项`,
- defaultOpen: i.some((e) => WA(e) || e.status === "failed"),
- children: /* @__PURE__ */ (0, C.jsx)(aye, { rows: i })
+ defaultOpen: i.some((e) => GA(e) || e.status === "failed"),
+ children: /* @__PURE__ */ (0, C.jsx)(iye, { rows: i })
})
}) : null,
Object.keys(e.result_summary || {}).length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "border-t border-separator-border px-5 py-2.5",
- children: /* @__PURE__ */ (0, C.jsx)(FA, {
+ children: /* @__PURE__ */ (0, C.jsx)(IA, {
summary: "技术详情",
children: /* @__PURE__ */ (0, C.jsx)("pre", {
className: "max-h-80 overflow-y-auto whitespace-pre-wrap wrap-anywhere text-caption-1-regular text-text-secondary",
@@ -38322,7 +38410,7 @@ function oj({ run: e, meta: t, children: n, footer: r, followups: i }) {
}) : null,
r ? /* @__PURE__ */ (0, C.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, C.jsx)(ij, {
+ children: /* @__PURE__ */ (0, C.jsx)(oj, {
text: r,
className: "text-caption-1-regular text-text-secondary"
})
@@ -38330,15 +38418,15 @@ function oj({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function oye({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = GA(e.elapsed_seconds), o = [HA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, C.jsx)(oj, {
+function aye({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = KA(e.elapsed_seconds), o = [UA[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, C.jsx)(cj, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(vA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(yA, {
label: i,
value: Math.min(r, n),
max: n
@@ -38347,24 +38435,24 @@ function oye({ run: e, followups: t }) {
children: [
i,
" · ",
- KA(r, n),
+ qA(r, n),
" 项"
]
})]
- }) : /* @__PURE__ */ (0, C.jsx)(hA, { label: i })
+ }) : /* @__PURE__ */ (0, C.jsx)(gA, { label: i })
});
}
-function sj({ run: e, followups: t, runs: n }) {
- let r = XA(e.result_summary).filter((t) => t !== e.error), i = GA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- HA[e.trigger] || e.trigger,
+function lj({ run: e, followups: t, runs: n }) {
+ let r = ZA(e.result_summary).filter((t) => t !== e.error), i = KA(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ UA[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${YA(a.finished_at)} – ${YA(e.finished_at)}`
+ `${XA(a.finished_at)} – ${XA(e.finished_at)}`
] : [
- HA[e.trigger] || e.trigger,
- YA(e.finished_at),
+ UA[e.trigger] || e.trigger,
+ XA(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, C.jsx)(oj, {
+ return /* @__PURE__ */ (0, C.jsx)(cj, {
run: e,
meta: o,
footer: e.error,
@@ -38375,7 +38463,7 @@ function sj({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function cj({ title: e, children: t }) {
+function uj({ title: e, children: t }) {
let n = (0, S.useId)();
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-labelledby": n,
@@ -38387,41 +38475,41 @@ function cj({ title: e, children: t }) {
}), t]
});
}
-function lj({ live: e = !1, children: t }) {
+function dj({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, C.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function sye() {
+function oye() {
let e = pt({
- queryKey: RA,
- queryFn: ({ signal: e }) => VA(e),
- refetchInterval: (e) => BA(e.state.data)
+ queryKey: zA,
+ queryFn: ({ signal: e }) => HA(e),
+ refetchInterval: (e) => VA(e.state.data)
}), t = e.data, n = t?.finished, [r, i] = (0, S.useState)([]), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(n);
- n !== s && (c(n), r.length && s && i(zA(r, s)));
+ n !== s && (c(n), r.length && s && i(BA(r, s)));
let l = mt({
- mutationFn: ({ oldest: e }) => Nve(e),
+ mutationFn: ({ oldest: e }) => Mve(e),
onSuccess: (e, { shown: t }) => {
- i((n) => zA(n, t, e.finished || [])), o(!!e.finished_has_more);
+ i((n) => BA(n, t, e.finished || [])), o(!!e.finished_has_more);
}
}), u = e.error ? V(e.error) : "";
- if (!t) return /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
+ if (!t) return /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
children: u || "读取任务中心失败"
}) });
- let d = zA(t.finished || [], r), f = [
+ let d = BA(t.finished || [], r), f = [
...t.running || [],
...t.skipped || [],
...d
- ], p = zve(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {
+ ], p = Rve(f), m = new Set(f.map((e) => e.id)), h = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && m.has(e.parent_run_id))), g = h(d), _ = g[g.length - 1], v = !!_ && (r.length ? a : !!t.finished_has_more), y = () => {
!l.isPending && _ && l.mutate({
oldest: _,
shown: d
});
- }, b = g.filter((e) => p.get(e.id)?.some(WA)), x = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !b.includes(e) && !w.some((t) => t.id === e.id)), E = Bve(T, (e) => Vve(e) && !p.get(e.id)?.length), D = !x.length && !b.length && !w.length && !T.length;
- return /* @__PURE__ */ (0, C.jsxs)(gA, { children: [
+ }, b = g.filter((e) => p.get(e.id)?.some(GA)), x = h(t.running || []), w = h(t.skipped || []), T = g.filter((e) => !b.includes(e) && !w.some((t) => t.id === e.id)), E = zve(T, (e) => Bve(e) && !p.get(e.id)?.length), D = !x.length && !b.length && !w.length && !T.length;
+ return /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
u ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
children: u
@@ -38430,20 +38518,20 @@ function sye() {
tone: "warning",
children: t.message || "数据库尚未准备好任务记录表"
}) : null,
- D ? /* @__PURE__ */ (0, C.jsx)(mA, {
+ D ? /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Pk,
+ icon: Fk,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(cj, {
+ /* @__PURE__ */ (0, C.jsx)(uj, {
title: "正在进行",
- children: x.length || b.length ? /* @__PURE__ */ (0, C.jsxs)(lj, {
+ children: x.length || b.length ? /* @__PURE__ */ (0, C.jsxs)(dj, {
live: !0,
- children: [x.map((e) => /* @__PURE__ */ (0, C.jsx)(oye, {
+ children: [x.map((e) => /* @__PURE__ */ (0, C.jsx)(aye, {
run: e,
followups: p.get(e.id)
- }, e.id)), b.map((e) => /* @__PURE__ */ (0, C.jsx)(sj, {
+ }, e.id)), b.map((e) => /* @__PURE__ */ (0, C.jsx)(lj, {
run: e,
followups: p.get(e.id)
}, e.id))]
@@ -38452,17 +38540,17 @@ function sye() {
children: "没有任务在跑。"
})
}),
- w.length ? /* @__PURE__ */ (0, C.jsx)(cj, {
+ w.length ? /* @__PURE__ */ (0, C.jsx)(uj, {
title: "本次未执行",
- children: /* @__PURE__ */ (0, C.jsx)(lj, { children: w.map((e) => /* @__PURE__ */ (0, C.jsx)(sj, {
+ children: /* @__PURE__ */ (0, C.jsx)(dj, { children: w.map((e) => /* @__PURE__ */ (0, C.jsx)(lj, {
run: e,
followups: p.get(e.id)
}, e.id)) })
}) : null,
- T.length || v ? /* @__PURE__ */ (0, C.jsxs)(cj, {
+ T.length || v ? /* @__PURE__ */ (0, C.jsxs)(uj, {
title: "最近完成",
children: [
- T.length ? /* @__PURE__ */ (0, C.jsx)(lj, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, C.jsx)(sj, {
+ T.length ? /* @__PURE__ */ (0, C.jsx)(dj, { children: E.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, C.jsx)(lj, {
run: e,
runs: t,
followups: p.get(e.id)
@@ -38474,7 +38562,7 @@ function sye() {
v ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Ck,
+ leadingIcon: wk,
className: "self-start",
...Y(l.isPending),
onClick: y,
@@ -38483,12 +38571,12 @@ function sye() {
]
}) : null
] }),
- /* @__PURE__ */ (0, C.jsx)(nye, {})
+ /* @__PURE__ */ (0, C.jsx)(tye, {})
] });
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var uj = cA({
+var fj = lA({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -38509,21 +38597,21 @@ var uj = cA({
small: "size-4 shrink-0"
}
});
-function dj({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function pj({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
ref: i,
type: r,
- className: sA(uj.base, uj.size[t], n),
+ className: cA(fj.base, fj.size[t], n),
...a,
children: /* @__PURE__ */ (0, C.jsx)(e, {
- className: uj.icon[t],
+ className: fj.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/use-stuck.ts
-function fj(e) {
+function mj(e) {
(0, S.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -38541,7 +38629,7 @@ function fj(e) {
}
//#endregion
//#region src/react/components/use-horizontal-scroller.ts
-function pj(e, t = !0) {
+function hj(e, t = !0) {
let [n, r] = (0, S.useState)(null), i = (0, S.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -38556,17 +38644,17 @@ function pj(e, t = !0) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-var cye = ({ className: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var sye = ({ className: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: Ao("正在处理") }
});
-function mj({ label: e, icon: t, busy: n = !1, onPress: r, ...i }) {
- return /* @__PURE__ */ (0, C.jsx)(dj, {
+function gj({ label: e, icon: t, busy: n = !1, onPress: r, ...i }) {
+ return /* @__PURE__ */ (0, C.jsx)(pj, {
...i,
"data-filter-action": "",
size: "small",
- icon: n ? cye : t,
+ icon: n ? sye : t,
"aria-label": e,
title: i.title || e,
"aria-busy": n || void 0,
@@ -38576,9 +38664,9 @@ function mj({ label: e, icon: t, busy: n = !1, onPress: r, ...i }) {
}
});
}
-function lye({ title: e, children: t }) {
+function cye({ title: e, children: t }) {
let n = (0, S.useRef)(null);
- return fj(n), /* @__PURE__ */ (0, C.jsxs)("div", {
+ return mj(n), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -38591,16 +38679,16 @@ function lye({ title: e, children: t }) {
}), t]
});
}
-function hj({ 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, S.useRef)(null), f = pj(), p = pj(u);
- return fj(d), /* @__PURE__ */ (0, C.jsxs)("div", {
+function _j({ 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, S.useRef)(null), f = hj(), p = hj(u);
+ return mj(d), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: sA("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: cA("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
n === null ? null : /* @__PURE__ */ (0, C.jsx)("div", {
@@ -38608,36 +38696,36 @@ function hj({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: sA("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: cA("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, C.jsx)("div", {
ref: p,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: sA("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: cA("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var uye = "flex h-7.5 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 gj({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var lye = "flex h-7.5 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 vj({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: sA(uye, r),
+ className: cA(lye, r),
onClick: n,
children: e
});
}
-var dye = "h-7.5 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 _j({ children: e, onPress: t, busy: n = !1 }) {
+var uye = "h-7.5 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 yj({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: dye,
+ className: uye,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -38648,13 +38736,13 @@ function _j({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-var vj = (e, t) => [
+var bj = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function yj(e, t, n) {
+function xj(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -38678,17 +38766,17 @@ function yj(e, t, n) {
h: e.offsetHeight
};
}
-function bj(e, t, n, r, { axis: i = "x" } = {}) {
+function Sj(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, S.useRef)(null), o = (0, S.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? yj(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? xj(u, l, i) : null;
if (!d || !d.w || !d.h) {
s.getAnimations().forEach((e) => e.cancel()), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && vj(f, d)) && xs(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && bj(f, d)) && xs(s, o ? f : null, d, i);
}, [
e,
t,
@@ -38709,8 +38797,8 @@ function bj(e, t, n, r, { axis: i = "x" } = {}) {
passive: !0
}), addEventListener("resize", c, { passive: !0 });
let l = new ResizeObserver(() => {
- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? yj(o, r, i) : null, l = a.current;
- (!s || !l || !vj(s, l)) && c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? xj(o, r, i) : null, l = a.current;
+ (!s || !l || !bj(s, l)) && c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -38742,12 +38830,12 @@ function bj(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var xj = Symbol("default");
-function Sj({ values: e, children: t }) {
+var Cj = Symbol("default");
+function wj({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ S.createElement(n.Provider, { value: r }, t);
return t;
}
-function Cj(e) {
+function Tj(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, S.useMemo)(() => {
let e, l, u;
@@ -38781,11 +38869,11 @@ function Cj(e) {
c
]);
}
-function wj(e, t) {
+function Ej(e, t) {
let n = (0, S.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || xj;
+ let e = t || Cj;
if (!n.slots[e]) {
let e = new Intl.ListFormat().format(Object.keys(n.slots).map((e) => `"${e}"`)), r = t ? `Invalid slot "${t}".` : "A slot prop is required.";
throw Error(`${r} Valid slot names are ${e}.`);
@@ -38794,8 +38882,8 @@ function wj(e, t) {
}
return n;
}
-function Tj(e, t, n) {
- let { ref: r, ...i } = wj(n, e.slot) || {}, a = ay((0, S.useMemo)(() => Xv(t, r), [t, r])), o = K(i, e);
+function Dj(e, t, n) {
+ let { ref: r, ...i } = Ej(n, e.slot) || {}, a = iy((0, S.useMemo)(() => Yv(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,
@@ -38813,7 +38901,7 @@ function Tj(e, t, n) {
...e.style
}), [o, a];
}
-function Ej(e = !0) {
+function Oj(e = !0) {
let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -38821,13 +38909,13 @@ function Ej(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function Dj(e) {
+function kj(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function fye(e, t, n) {
- let { render: r, ...i } = t, a = (0, S.useRef)(null), o = (0, S.useMemo)(() => Xv(n, a), [n, a]);
+function dye(e, t, n) {
+ let { render: r, ...i } = t, a = (0, S.useRef)(null), o = (0, S.useMemo)(() => Yv(n, a), [n, a]);
dv(() => {}, [e, r]);
let s = {
...i,
@@ -38835,19 +38923,19 @@ function fye(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ S.createElement(e, s);
}
-var Oj = {}, kj = new Proxy({}, { get(e, t) {
+var Aj = {}, jj = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = Oj[t];
- return n || (n = /*#__PURE__*/ (0, S.forwardRef)(fye.bind(null, t)), Oj[t] = n), n;
-} }), Aj = /*#__PURE__*/ (0, S.createContext)(null), jj = /*#__PURE__*/ (0, S.createContext)(null), Mj = /*#__PURE__*/ (0, S.createContext)(null), Nj = {
+ let n = Aj[t];
+ return n || (n = /*#__PURE__*/ (0, S.forwardRef)(dye.bind(null, t)), Aj[t] = n), n;
+} }), Mj = /*#__PURE__*/ (0, S.createContext)(null), Nj = /*#__PURE__*/ (0, S.createContext)(null), Pj = /*#__PURE__*/ (0, S.createContext)(null), Fj = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return Pj(e, null, t);
+ return Ij(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return Pj(e, t, n);
+ return Ij(e, t, n);
}
};
-function Pj(e, t, n) {
+function Ij(e, t, n) {
return J_({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -38858,11 +38946,11 @@ function Pj(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, pye(e, t, n));
+ }), r, fye(e, t, n));
}
});
}
-function pye(e, t, n) {
+function fye(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);
@@ -38881,25 +38969,25 @@ function pye(e, t, n) {
}
return s;
}
-var Fj = /*#__PURE__*/ (0, S.createContext)(Nj);
-function Ij(e) {
+var Lj = /*#__PURE__*/ (0, S.createContext)(Fj);
+function Rj(e) {
return (0, S.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var Lj = /*#__PURE__*/ (0, S.createContext)({}), Rj = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, Lj);
- let { elementType: n = "label", ...r } = e, i = kj[n];
+var zj = /*#__PURE__*/ (0, S.createContext)({}), Bj = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, zj);
+ let { elementType: n = "label", ...r } = e, i = jj[n];
return /*#__PURE__*/ S.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), mye = /*#__PURE__*/ (0, S.createContext)(null), zj = /*#__PURE__*/ (0, S.createContext)({}), Bj = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, zj);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = joe(e, t);
- i = gye(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = RS(e), { hoverProps: l, isHovered: u } = HS({
+}), pye = /*#__PURE__*/ (0, S.createContext)(null), Vj = /*#__PURE__*/ (0, S.createContext)({}), Hj = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, Vj);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Moe(e, t);
+ i = hye(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = LS(e), { hoverProps: l, isHovered: u } = VS({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -38909,24 +38997,24 @@ var Lj = /*#__PURE__*/ (0, S.createContext)({}), Rj = /*#__PURE__*/ uy(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = Cj({
+ }, f = Tj({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = Jv(i.id), m = Jv(), h = i["aria-labelledby"];
+ }), p = qv(i.id), m = qv(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, S.useRef)(r);
(0, S.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && zb(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && Rb(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Qy(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ S.createElement(kj.button, {
+ let _ = Zy(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ S.createElement(jj.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -38940,62 +39028,62 @@ var Lj = /*#__PURE__*/ (0, S.createContext)({}), Rj = /*#__PURE__*/ uy(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ S.createElement(mye.Provider, { value: { id: m } }, f.children));
-}), hye = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function gye(e, t) {
+ }, /*#__PURE__*/ S.createElement(pye.Provider, { value: { id: m } }, f.children));
+}), mye = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function hye(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !hye.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !mye.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Heading.mjs
-var Vj = /*#__PURE__*/ (0, S.createContext)({}), Hj = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, Vj);
- let { children: n, level: r = 3, className: i, ...a } = e, o = kj[`h${r}`];
+var Uj = /*#__PURE__*/ (0, S.createContext)({}), Wj = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, Uj);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = jj[`h${r}`];
return /*#__PURE__*/ S.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), Uj = /*#__PURE__*/ (0, S.createContext)({}), _ye = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, Uj);
- let { elementType: n = "span", ...r } = e, i = kj[n];
+}), Gj = /*#__PURE__*/ (0, S.createContext)({}), gye = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, Gj);
+ let { elementType: n = "span", ...r } = e, i = jj[n];
return /*#__PURE__*/ S.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), Wj = /*#__PURE__*/ (0, S.createContext)(null), Gj = /*#__PURE__*/ (0, S.createContext)(null), Kj = /*#__PURE__*/ (0, S.createContext)(null), qj = /*#__PURE__*/ (0, S.createContext)(null), vye = /*#__PURE__*/ (0, S.createContext)(null), Jj = /*#__PURE__*/ (0, S.createContext)(null);
-function yye(e, t) {
- let { validationBehavior: n } = wj(Gj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)(vye), a = ay((0, S.useMemo)(() => Xv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...Dj(e),
+}), Kj = /*#__PURE__*/ (0, S.createContext)(null), qj = /*#__PURE__*/ (0, S.createContext)(null), Jj = /*#__PURE__*/ (0, S.createContext)(null), Yj = /*#__PURE__*/ (0, S.createContext)(null), _ye = /*#__PURE__*/ (0, S.createContext)(null), Xj = /*#__PURE__*/ (0, S.createContext)(null);
+function vye(e, t) {
+ let { validationBehavior: n } = Ej(qj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)(_ye), a = iy((0, S.useMemo)(() => Yv(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...kj(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? ese(o, i, a) : ox(o, dx(e), a), a];
+ return [i ? tse(o, i, a) : ax(o, ux(e), a), a];
}
-var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+var yye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Tj(r, t, Kj);
- let [i, a] = yye(e, n);
- return /*#__PURE__*/ S.createElement(Jj.Provider, { value: {
+ [e, t] = Dj(r, t, Jj);
+ let [i, a] = vye(e, n);
+ return /*#__PURE__*/ S.createElement(Xj.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ S.createElement(xye, {
+ } }, /*#__PURE__*/ S.createElement(bye, {
...e,
ref: t
}));
-}), xye = /*#__PURE__*/ (0, S.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, S.useContext)(Jj), { isFocused: p, isFocusVisible: m, focusProps: h } = RS(), g = a || o, { hoverProps: _, isHovered: v } = HS({
+}), bye = /*#__PURE__*/ (0, S.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, S.useContext)(Xj), { isFocused: p, isFocusVisible: m, focusProps: h } = LS(), g = a || o, { hoverProps: _, isHovered: v } = VS({
...e,
isDisabled: g
- }), y = Cj({
+ }), y = Tj({
...e,
defaultClassName: u,
values: {
@@ -39010,8 +39098,8 @@ var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = Qy(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(kj.label, {
+ }), b = Zy(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(jj.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -39025,20 +39113,20 @@ var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ S.createElement(bx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
+ }, /*#__PURE__*/ S.createElement(yx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
...K(r, h),
ref: l
})), y.children);
-}), Yj = /*#__PURE__*/ (0, S.createContext)({}), Sye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, Yj);
+}), Zj = /*#__PURE__*/ (0, S.createContext)({}), xye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, Zj);
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 } = HS({
+ let { hoverProps: l, isHovered: u } = VS({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = RS({ within: !0 }), m = Cj({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = LS({ within: !0 }), m = Tj({
...e,
values: {
isHovered: u,
@@ -39049,7 +39137,7 @@ var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ S.createElement(kj.div, {
+ return /*#__PURE__*/ S.createElement(jj.div, {
...K(c, p, l),
...m,
ref: t,
@@ -39062,18 +39150,18 @@ var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), Xj = /*#__PURE__*/ (0, S.createContext)({}), Cye = (e) => {
+}), Qj = /*#__PURE__*/ (0, S.createContext)({}), Sye = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, wye = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, Xj);
- let { hoverProps: n, isHovered: r } = HS({
+}, Cye = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, Qj);
+ let { hoverProps: n, isHovered: r } = VS({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = RS({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = LS({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Cj({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Tj({
...e,
values: {
isHovered: r,
@@ -39084,8 +39172,8 @@ var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ S.createElement(kj.input, {
- ...K(Cye(e), o, n),
+ return /*#__PURE__*/ S.createElement(jj.input, {
+ ...K(Sye(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -39094,24 +39182,24 @@ var bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Tye = 0, Eye = 100, Dye = 1;
-function Oye(e) {
- let { isDisabled: t = !1, minValue: n = Tye, maxValue: r = Eye, numberFormatter: i, step: a = Dye, orientation: o = "horizontal" } = e, s = (0, S.useMemo)(() => {
+}), wye = 0, Tye = 100, Eye = 1;
+function Dye(e) {
+ let { isDisabled: t = !1, minValue: n = wye, maxValue: r = Tye, numberFormatter: i, step: a = Eye, orientation: o = "horizontal" } = e, s = (0, S.useMemo)(() => {
let e = (r - n) / 10;
- return e = mx(e, 0, e + a, a), Math.max(e, a);
+ return e = px(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, S.useCallback)((e) => e?.map((t, i) => mx(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
+ ]), c = (0, S.useCallback)((e) => e?.map((t, i) => px(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
- ]), l = (0, S.useMemo)(() => c(Qj(e.value)), [e.value, c]), u = (0, S.useMemo)(() => c(Qj(e.defaultValue) ?? [n]), [
+ ]), l = (0, S.useMemo)(() => c(eM(e.value)), [e.value, c]), u = (0, S.useMemo)(() => c(eM(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = $j(e.value, e.defaultValue, e.onChange), f = $j(e.value, e.defaultValue, e.onChangeEnd), [p, m] = ux(l, u, d), [h] = (0, S.useState)(p), [g, _] = (0, S.useState)(Array(p.length).fill(!1)), v = (0, S.useRef)(Array(p.length).fill(!0)), [y, b] = (0, S.useState)(void 0), x = (0, S.useRef)(p), C = (0, S.useRef)(g), w = (e) => {
+ ]), d = tM(e.value, e.defaultValue, e.onChange), f = tM(e.value, e.defaultValue, e.onChangeEnd), [p, m] = lx(l, u, d), [h] = (0, S.useState)(p), [g, _] = (0, S.useState)(Array(p.length).fill(!1)), v = (0, S.useRef)(Array(p.length).fill(!0)), [y, b] = (0, S.useState)(void 0), x = (0, S.useRef)(p), C = (0, S.useRef)(g), w = (e) => {
x.current = e, m(e);
}, T = (e) => {
C.current = e, _(e);
@@ -39134,15 +39222,15 @@ function Oye(e) {
function j(e, n) {
if (t || !k(e)) return;
let r = D(e), i = O(e);
- n = mx(n, r, i, a);
- let o = Zj(x.current, e, n);
+ n = px(n, r, i, a);
+ let o = $j(x.current, e, n);
w(o);
}
function M(e, n) {
if (t || !k(e)) return;
n && (x.current = p);
let r = C.current[e];
- C.current = Zj(C.current, e, n), T(C.current), f && r && !C.current.some(Boolean) && f(x.current);
+ C.current = $j(C.current, e, n), T(C.current), f && r && !C.current.some(Boolean) && f(x.current);
}
let N = (0, S.useRef)(null);
function P(e = p) {
@@ -39163,15 +39251,15 @@ function Oye(e) {
return Math.round((e - n) / a) * a + n;
}
function ee(e) {
- return fx(I(e * (r - n) + n), n, r);
+ return dx(I(e * (r - n) + n), n, r);
}
function L(e, t = 1) {
let i = Math.max(t, a);
- j(e, mx(p[e] + i, n, r, a));
+ j(e, px(p[e] + i, n, r, a));
}
function te(e, t = 1) {
let i = Math.max(t, a);
- j(e, mx(p[e] - i, n, r, a));
+ j(e, px(p[e] - i, n, r, a));
}
return {
values: p,
@@ -39200,32 +39288,32 @@ function Oye(e) {
isDisabled: t
};
}
-function Zj(e, t, n) {
+function $j(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function Qj(e) {
+function eM(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function $j(e, t, n) {
+function tM(e, t, n) {
return (r) => {
typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Slider.mjs
-var kye = /*#__PURE__*/ (0, S.createContext)(null), eM = /*#__PURE__*/ (0, S.createContext)(null), tM = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ (0, S.createContext)(null), jye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, kye);
- let n = (0, S.useRef)(null), r = ase(e.formatOptions), i = Oye({
+var Oye = /*#__PURE__*/ (0, S.createContext)(null), nM = /*#__PURE__*/ (0, S.createContext)(null), rM = /*#__PURE__*/ (0, S.createContext)(null), kye = /*#__PURE__*/ (0, S.createContext)(null), Aye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, Oye);
+ let n = (0, S.useRef)(null), r = ose(e.formatOptions), i = Dye({
...e,
numberFormatter: r
- }), [a, o] = Ej(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = ose({
+ }), [a, o] = Oj(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = sse({
...e,
label: o
- }, i, n), d = Cj({
+ }, i, n), d = Tj({
...e,
values: {
orientation: i.orientation,
@@ -39233,32 +39321,32 @@ var kye = /*#__PURE__*/ (0, S.createContext)(null), eM = /*#__PURE__*/ (0, S.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = Qy(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ S.createElement(Sj, { values: [
- [eM, i],
- [tM, {
+ }), f = Zy(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ S.createElement(wj, { values: [
+ [nM, i],
+ [rM, {
...c,
ref: n
}],
- [Aye, u],
- [Lj, {
+ [kye, u],
+ [zj, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ S.createElement(kj.div, {
+ ] }, /*#__PURE__*/ S.createElement(jj.div, {
...K(f, d, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), Mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, tM);
- let n = (0, S.useContext)(eM), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = HS({
+}), jye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, rM);
+ let n = (0, S.useContext)(nM), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = VS({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = Cj({
+ }), l = Tj({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -39268,7 +39356,7 @@ var kye = /*#__PURE__*/ (0, S.createContext)(null), eM = /*#__PURE__*/ (0, S.cre
state: n
}
});
- return /*#__PURE__*/ S.createElement(kj.div, {
+ return /*#__PURE__*/ S.createElement(jj.div, {
...K(o, s),
...l,
ref: t,
@@ -39276,14 +39364,14 @@ var kye = /*#__PURE__*/ (0, S.createContext)(null), eM = /*#__PURE__*/ (0, S.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), Nye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, S.useContext)(eM), { ref: i } = wj(tM), { index: a = 0 } = e, o = (0, S.useRef)(null), s = n || o, [c, l] = Ej(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = sse({
+}), Mye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { inputRef: n = null } = e, r = (0, S.useContext)(nM), { ref: i } = Ej(rM), { index: a = 0 } = e, o = (0, S.useRef)(null), s = n || o, [c, l] = Oj(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = cse({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = RS(), { hoverProps: v, isHovered: y } = HS(e), b = Cj({
+ }, r), { focusProps: g, isFocusVisible: _ } = LS(), { hoverProps: v, isHovered: y } = VS(e), b = Tj({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -39294,8 +39382,8 @@ var kye = /*#__PURE__*/ (0, S.createContext)(null), eM = /*#__PURE__*/ (0, S.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = Qy(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ S.createElement(kj.div, {
+ }), x = Zy(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ S.createElement(jj.div, {
...K(x, u, v),
...b,
ref: t,
@@ -39308,15 +39396,15 @@ var kye = /*#__PURE__*/ (0, S.createContext)(null), eM = /*#__PURE__*/ (0, S.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ S.createElement(bx, null, /*#__PURE__*/ S.createElement("input", {
+ }, /*#__PURE__*/ S.createElement(yx, null, /*#__PURE__*/ S.createElement("input", {
ref: s,
...K(d, g)
- })), /*#__PURE__*/ S.createElement(Sj, { values: [[Lj, {
+ })), /*#__PURE__*/ S.createElement(wj, { values: [[zj, {
...f,
ref: c
}]] }, b.children));
-}), nM = {};
-nM = {
+}), iM = {};
+iM = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -39324,8 +39412,8 @@ nM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var rM = {};
-rM = {
+var aM = {};
+aM = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -39333,8 +39421,8 @@ rM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var iM = {};
-iM = {
+var oM = {};
+oM = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -39342,8 +39430,8 @@ iM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var aM = {};
-aM = {
+var sM = {};
+sM = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -39351,8 +39439,8 @@ aM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var oM = {};
-oM = {
+var cM = {};
+cM = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -39360,8 +39448,8 @@ oM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var sM = {};
-sM = {
+var lM = {};
+lM = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -39369,8 +39457,8 @@ sM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var cM = {};
-cM = {
+var uM = {};
+uM = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -39378,8 +39466,8 @@ cM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var lM = {};
-lM = {
+var dM = {};
+dM = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -39387,8 +39475,8 @@ lM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var uM = {};
-uM = {
+var fM = {};
+fM = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -39396,8 +39484,8 @@ uM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var dM = {};
-dM = {
+var pM = {};
+pM = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -39405,8 +39493,8 @@ dM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var fM = {};
-fM = {
+var mM = {};
+mM = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -39414,8 +39502,8 @@ fM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var pM = {};
-pM = {
+var hM = {};
+hM = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -39423,8 +39511,8 @@ pM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var mM = {};
-mM = {
+var gM = {};
+gM = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -39432,8 +39520,8 @@ mM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var hM = {};
-hM = {
+var _M = {};
+_M = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -39441,8 +39529,8 @@ hM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var gM = {};
-gM = {
+var vM = {};
+vM = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -39450,8 +39538,8 @@ gM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var _M = {};
-_M = {
+var yM = {};
+yM = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -39459,8 +39547,8 @@ _M = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var vM = {};
-vM = {
+var bM = {};
+bM = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -39468,8 +39556,8 @@ vM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var yM = {};
-yM = {
+var xM = {};
+xM = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -39477,8 +39565,8 @@ yM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var bM = {};
-bM = {
+var SM = {};
+SM = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -39486,8 +39574,8 @@ bM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var xM = {};
-xM = {
+var CM = {};
+CM = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -39495,8 +39583,8 @@ xM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var SM = {};
-SM = {
+var wM = {};
+wM = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -39504,8 +39592,8 @@ SM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var CM = {};
-CM = {
+var TM = {};
+TM = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -39513,8 +39601,8 @@ CM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var wM = {};
-wM = {
+var EM = {};
+EM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -39522,8 +39610,8 @@ wM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var TM = {};
-TM = {
+var DM = {};
+DM = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -39531,8 +39619,8 @@ TM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var EM = {};
-EM = {
+var OM = {};
+OM = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -39540,8 +39628,8 @@ EM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var DM = {};
-DM = {
+var kM = {};
+kM = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -39549,8 +39637,8 @@ DM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var OM = {};
-OM = {
+var AM = {};
+AM = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -39558,8 +39646,8 @@ OM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var kM = {};
-kM = {
+var jM = {};
+jM = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -39567,8 +39655,8 @@ kM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var AM = {};
-AM = {
+var MM = {};
+MM = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -39576,8 +39664,8 @@ AM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var jM = {};
-jM = {
+var NM = {};
+NM = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -39585,8 +39673,8 @@ jM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var MM = {};
-MM = {
+var PM = {};
+PM = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -39594,8 +39682,8 @@ MM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var NM = {};
-NM = {
+var FM = {};
+FM = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -39603,8 +39691,8 @@ NM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var PM = {};
-PM = {
+var IM = {};
+IM = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -39612,8 +39700,8 @@ PM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var FM = {};
-FM = {
+var LM = {};
+LM = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -39621,52 +39709,52 @@ FM = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var IM = {};
-IM = {
- "ar-AE": nM,
- "bg-BG": rM,
- "cs-CZ": iM,
- "da-DK": aM,
- "de-DE": oM,
- "el-GR": sM,
- "en-US": cM,
- "es-ES": lM,
- "et-EE": uM,
- "fi-FI": dM,
- "fr-FR": fM,
- "he-IL": pM,
- "hr-HR": mM,
- "hu-HU": hM,
- "it-IT": gM,
- "ja-JP": _M,
- "ko-KR": vM,
- "lt-LT": yM,
- "lv-LV": bM,
- "nb-NO": xM,
- "nl-NL": SM,
- "pl-PL": CM,
- "pt-BR": wM,
- "pt-PT": TM,
- "ro-RO": EM,
- "ru-RU": DM,
- "sk-SK": OM,
- "sl-SI": kM,
- "sr-SP": AM,
- "sv-SE": jM,
- "tr-TR": MM,
- "uk-UA": NM,
- "zh-CN": PM,
- "zh-TW": FM
+var RM = {};
+RM = {
+ "ar-AE": iM,
+ "bg-BG": aM,
+ "cs-CZ": oM,
+ "da-DK": sM,
+ "de-DE": cM,
+ "el-GR": lM,
+ "en-US": uM,
+ "es-ES": dM,
+ "et-EE": fM,
+ "fi-FI": pM,
+ "fr-FR": mM,
+ "he-IL": hM,
+ "hr-HR": gM,
+ "hu-HU": _M,
+ "it-IT": vM,
+ "ja-JP": yM,
+ "ko-KR": bM,
+ "lt-LT": xM,
+ "lv-LV": SM,
+ "nb-NO": CM,
+ "nl-NL": wM,
+ "pl-PL": TM,
+ "pt-BR": EM,
+ "pt-PT": DM,
+ "ro-RO": OM,
+ "ru-RU": kM,
+ "sk-SK": AM,
+ "sl-SI": jM,
+ "sr-SP": MM,
+ "sv-SE": NM,
+ "tr-TR": PM,
+ "uk-UA": FM,
+ "zh-CN": IM,
+ "zh-TW": LM
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var LM = /*#__PURE__*/ (0, S.createContext)({}), RM = /*#__PURE__*/ (0, S.createContext)(null), Pye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { render: n } = (0, S.useContext)(RM);
+var zM = /*#__PURE__*/ (0, S.createContext)({}), BM = /*#__PURE__*/ (0, S.createContext)(null), Nye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { render: n } = (0, S.useContext)(BM);
return /*#__PURE__*/ S.createElement(S.Fragment, null, n(e, t));
});
-function zM(e, t) {
+function VM(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, S.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ S.createElement(Pye, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ S.createElement(Nye, { target: e });
}, [
t?.target,
r,
@@ -39674,7 +39762,7 @@ function zM(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function BM(e, t, n) {
+function HM(e, t, n) {
let r = e.focusedKey, i = null;
if (t?.isVirtualDragging?.() && n?.target?.type === "item" && (i = n.target.key, n.target.dropPosition === "after")) {
let e = n.collection.getKeyAfter(i), t = null;
@@ -39696,14 +39784,14 @@ function BM(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var VM = /*#__PURE__*/ (0, S.createContext)({}), Fye = /*#__PURE__*/ (0, S.createContext)(null);
-function HM(e) {
+var UM = /*#__PURE__*/ (0, S.createContext)({}), Pye = /*#__PURE__*/ (0, S.createContext)(null);
+function WM(e) {
let t = (0, S.useRef)({});
- return /*#__PURE__*/ S.createElement(Fye.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ S.createElement(Pye.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var UM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), WM = /*#__PURE__*/ (0, S.createContext)({}), Iye = /*#__PURE__*/ vy(class extends U_ {
+var GM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), KM = /*#__PURE__*/ (0, S.createContext)({}), Fye = /*#__PURE__*/ _y(class extends U_ {
static {
this.type = "separator";
}
@@ -39716,14 +39804,14 @@ var UM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), WM = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = Tj(e, t, WM);
+ [e, t] = Dj(e, t, KM);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = kj[c], { separatorProps: u } = mce({
+ let l = jj[c], { separatorProps: u } = hce({
...s,
elementType: n,
orientation: r
- }), d = Qy(e, { global: !0 });
+ }), d = Zy(e, { global: !0 });
return /*#__PURE__*/ S.createElement(l, {
render: e.render,
...K(d, u),
@@ -39735,13 +39823,13 @@ var UM = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), WM = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function GM(e) {
+function qM(e) {
let t = S.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
//#endregion
//#region node_modules/react-stately/dist/private/list/ListCollection.mjs
-var KM = class {
+var JM = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -39785,20 +39873,20 @@ var KM = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, qM = class e extends Set {
+}, YM = class e extends Set {
constructor(t, n, r) {
super(t), t instanceof e ? (this.anchorKey = n ?? t.anchorKey, this.currentKey = r ?? t.currentKey) : (this.anchorKey = n ?? null, this.currentKey = r ?? null);
}
};
//#endregion
//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Lye(e, t) {
+function Iye(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function JM(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = ux((0, S.useMemo)(() => YM(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => YM(e.defaultSelectedKeys, new qM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);
+function XM(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = lx((0, S.useMemo)(() => ZM(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => ZM(e.defaultSelectedKeys, new YM()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, S.useRef)(i);
return (0, S.useEffect)(() => {
@@ -39825,18 +39913,18 @@ function JM(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Lye(e, d)) && f(e);
+ (r || !Iye(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function YM(e, t) {
- return e ? e === "all" ? "all" : new qM(e) : t;
+function ZM(e, t) {
+ return e ? e === "all" ? "all" : new YM(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var XM = class e {
+var QM = class e {
constructor(e, t, n) {
this.collection = e, this.state = t, this.allowsCellSelection = n?.allowsCellSelection ?? !1, this._isSelectAll = null, this.layoutDelegate = n?.layoutDelegate || null, this.fullCollection = n?.fullCollection || null;
}
@@ -39892,7 +39980,7 @@ var XM = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && ES(this.collection, n, e) < 0) && (e = n);
+ (!e || n && TS(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39900,7 +39988,7 @@ var XM = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && ES(this.collection, n, e) > 0) && (e = n);
+ (!e || n && TS(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39919,10 +40007,10 @@ var XM = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new qM([t], t, t);
+ if (this.state.selectedKeys === "all") n = new YM([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new qM(e, r, t);
+ n = new YM(e, r, t);
for (let i of this.getKeyRange(r, e.currentKey ?? t)) n.delete(i);
for (let e of this.getKeyRange(t, r)) this.canSelectItem(e) && n.add(e);
}
@@ -39930,7 +40018,7 @@ var XM = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? ES(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? TS(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);
@@ -39956,19 +40044,19 @@ var XM = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new qM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new YM(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
n.has(t) ? n.delete(t) : this.canSelectItem(t) && (n.add(t), n.anchorKey = t, n.currentKey = t), !(this.disallowEmptySelection && n.size === 0) && this.state.setSelectedKeys(n);
}
replaceSelection(e) {
if (this.selectionMode === "none") return;
let t = this.getKey(e);
if (t == null) return;
- let n = this.canSelectItem(t) ? new qM([t], t, t) : new qM();
+ let n = this.canSelectItem(t) ? new YM([t], t, t) : new YM();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new qM();
+ let t = new YM();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -39980,7 +40068,7 @@ var XM = 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(CS(SS(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(SS(xS(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -39991,7 +40079,7 @@ var XM = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new qM());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new YM());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -40032,9 +40120,9 @@ var XM = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Rye = class {
+}, Lye = class {
build(e, t) {
- return this.context = t, ZM(() => this.iterateCollection(e));
+ return this.context = t, $M(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -40116,10 +40204,10 @@ var XM = class e {
...a,
key: l,
index: s,
- wrapper: zye(e.wrapper, a.wrapper)
+ wrapper: Rye(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 <${QM(t.type)}> in <${QM(r?.type ?? "unknown parent type")}>. Only <${QM(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${eN(t.type)}> in <${eN(r?.type ?? "unknown parent type")}>. Only <${eN(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -40141,7 +40229,7 @@ var XM = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: ZM(function* () {
+ childNodes: $M(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -40160,7 +40248,7 @@ var XM = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function ZM(e) {
+function $M(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -40168,18 +40256,18 @@ function ZM(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function zye(e, t) {
+function Rye(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function QM(e) {
+function eN(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function $M(e, t, n) {
- let r = (0, S.useMemo)(() => new Rye(), []), { children: i, items: a, collection: o } = e;
+function tN(e, t, n) {
+ let r = (0, S.useMemo)(() => new Lye(), []), { children: i, items: a, collection: o } = e;
return (0, S.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -40194,27 +40282,27 @@ function $M(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function eN(e) {
- let { filter: t, layoutDelegate: n } = e, r = JM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = $M(e, (0, S.useCallback)((e) => t ? new KM(t(e)) : new KM(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new XM(a, r, { layoutDelegate: n }), [
+function nN(e) {
+ let { filter: t, layoutDelegate: n } = e, r = XM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = tN(e, (0, S.useCallback)((e) => t ? new JM(t(e)) : new JM(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new QM(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return tN(a, o), {
+ return rN(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function Bye(e, t) {
+function zye(e, t) {
let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return tN(n, r), {
+ return rN(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function tN(e, t) {
+function rN(e, t) {
let n = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -40242,15 +40330,15 @@ function tN(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function nN(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, S.useRef)(null), s = Iy((e) => {
+function iN(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, S.useRef)(null), s = Fy((e) => {
for (let t of e) t.isIntersecting && r && r();
});
dv(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: Hb(t?.current),
+ root: Vb(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -40266,42 +40354,42 @@ function nN(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var rN = /*#__PURE__*/ (0, S.createContext)(null), iN = /*#__PURE__*/ (0, S.createContext)(null), Vye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, rN);
- let n = (0, S.useContext)(iN);
- return n ? /*#__PURE__*/ S.createElement(aN, {
+var aN = /*#__PURE__*/ (0, S.createContext)(null), oN = /*#__PURE__*/ (0, S.createContext)(null), Bye = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, aN);
+ let n = (0, S.useContext)(oN);
+ return n ? /*#__PURE__*/ S.createElement(sN, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ S.createElement(hy, { content: /*#__PURE__*/ S.createElement(Sy, e) }, (n) => /*#__PURE__*/ S.createElement(Hye, {
+ }) : /*#__PURE__*/ S.createElement(my, { content: /*#__PURE__*/ S.createElement(xy, e) }, (n) => /*#__PURE__*/ S.createElement(Vye, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Hye({ props: e, listBoxRef: t, collection: n }) {
+function Vye({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, S.useContext)(Fj), i = eN({
+ let { layoutDelegate: r } = (0, S.useContext)(Lj), i = nN({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ S.createElement(aN, {
+ return /*#__PURE__*/ S.createElement(sN, {
state: i,
props: e,
listBoxRef: t
});
}
-function aN({ state: e, props: t, listBoxRef: n }) {
- [t, n] = Tj(t, n, Aj);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Bye(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Wy(), { disabledBehavior: p, disabledKeys: m } = l, h = jS({
+function sN({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = Dj(t, n, Mj);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zye(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Uy(), { disabledBehavior: p, disabledKeys: m } = l, h = AS({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(Fj), b = (0, S.useMemo)(() => t.keyboardDelegate || new Nx({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(Lj), b = (0, S.useMemo)(() => t.keyboardDelegate || new Mx({
collection: c,
collator: h,
ref: n,
@@ -40322,7 +40410,7 @@ function aN({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Pse({
+ ]), { listBoxProps: x } = Fse({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -40354,7 +40442,7 @@ function aN({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, w, n), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: k, isFocused: A, isFocusVisible: j } = RS(), M = s.collection.size === 0, N = {
+ let { focusProps: k, isFocused: A, isFocusVisible: j } = LS(), M = s.collection.size === 0, N = {
isDropTarget: E,
isEmpty: M,
isFocused: A,
@@ -40362,7 +40450,7 @@ function aN({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, P = Cj({
+ }, P = Tj({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -40372,8 +40460,8 @@ function aN({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(N)));
- let I = Qy(t, { global: !0 });
- return /*#__PURE__*/ S.createElement(Sb, null, /*#__PURE__*/ S.createElement(kj.div, {
+ let I = Zy(t, { global: !0 });
+ return /*#__PURE__*/ S.createElement(xb, null, /*#__PURE__*/ S.createElement(jj.div, {
...K(I, P, x, k, T?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -40384,60 +40472,60 @@ function aN({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": j || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [rN, t],
- [iN, s],
- [LM, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [aN, t],
+ [oN, s],
+ [zM, {
dragAndDropHooks: r,
dragState: C,
dropState: w
}],
- [WM, { elementType: "div" }],
- [RM, { render: Gye }],
- [Mj, {
+ [KM, { elementType: "div" }],
+ [BM, { render: Wye }],
+ [Pj, {
name: "ListBoxSection",
- render: Uye
+ render: Hye
}]
- ] }, /*#__PURE__*/ S.createElement(HM, null, /*#__PURE__*/ S.createElement(y, {
+ ] }, /*#__PURE__*/ S.createElement(WM, null, /*#__PURE__*/ S.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: BM(l, r, w),
- renderDropIndicator: zM(r, w)
+ persistedKeys: HM(l, r, w),
+ renderDropIndicator: VM(r, w)
}))), F, D));
}
-function Uye(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, S.useContext)(iN), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(LM), { CollectionBranch: s } = (0, S.useContext)(Fj), [c, l] = Ej(), { headingProps: u, groupProps: d } = Fse({
+function Hye(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, S.useContext)(oN), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(zM), { CollectionBranch: s } = (0, S.useContext)(Lj), [c, l] = Oj(), { headingProps: u, groupProps: d } = Ise({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = Cj({
+ }), f = Tj({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Qy(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ S.createElement(kj.section, {
+ }), p = Zy(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ S.createElement(jj.section, {
...K(p, f, d),
ref: t
- }, /*#__PURE__*/ S.createElement(VM.Provider, { value: {
+ }, /*#__PURE__*/ S.createElement(UM.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ S.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: zM(a, o)
+ renderDropIndicator: VM(a, o)
})));
}
-var Wye = /*#__PURE__*/ vy(kie, function(e, t, n) {
- let r = ay(t), i = (0, S.useContext)(iN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(LM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Ise({
+var Uye = /*#__PURE__*/ _y(kie, function(e, t, n) {
+ let r = iy(t), i = (0, S.useContext)(oN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(zM), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Lse({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = HS({
+ }, i, r), { hoverProps: p, isHovered: m } = VS({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = iy(e), { focusProps: g } = ey(e), _ = null;
+ }), { keyboardProps: h } = ry(e), { focusProps: g } = $v(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -40448,7 +40536,7 @@ var Wye = /*#__PURE__*/ vy(kie, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = Cj({
+ let y = o && o.isDragging(n.key), b = Tj({
...e,
id: void 0,
children: e.children,
@@ -40466,7 +40554,7 @@ var Wye = /*#__PURE__*/ vy(kie, function(e, t, n) {
(0, S.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? kj.a : kj.div, C = Qy(e, { global: !0 });
+ let x = e.href ? jj.a : jj.div, C = Zy(e, { global: !0 });
return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ S.createElement(x, {
...K(C, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -40480,29 +40568,29 @@ var Wye = /*#__PURE__*/ vy(kie, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ S.createElement(Sj, { values: [[Uj, { slots: {
- [xj]: u,
+ }, /*#__PURE__*/ S.createElement(wj, { values: [[Gj, { slots: {
+ [Cj]: u,
label: u,
description: d
- } }], [UM, { isSelected: f.isSelected }]] }, b.children));
+ } }], [GM, { isSelected: f.isSelected }]] }, b.children));
});
-function Gye(e, t) {
- t = ay(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(LM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ S.createElement(qye, {
+function Wye(e, t) {
+ t = iy(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(zM), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ S.createElement(Kye, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Kye(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Cj({
+function Gye(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Tj({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(kj.div, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(jj.div, {
...n,
...a,
role: "option",
@@ -40510,10 +40598,10 @@ function Kye(e, t) {
"data-drop-target": r || void 0
}));
}
-var qye = /*#__PURE__*/ (0, S.forwardRef)(Kye);
-vy(G_, function(e, t, n) {
- let r = (0, S.useContext)(iN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
- nN((0, S.useMemo)(() => ({
+var Kye = /*#__PURE__*/ (0, S.forwardRef)(Gye);
+_y(G_, function(e, t, n) {
+ let r = (0, S.useContext)(oN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
+ iN((0, S.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -40523,7 +40611,7 @@ vy(G_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Cj({
+ let l = Tj({
...s,
id: void 0,
children: n.rendered,
@@ -40536,7 +40624,7 @@ vy(G_, function(e, t, n) {
width: 0,
height: 0
},
- inert: GM(!0)
+ inert: qM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -40545,8 +40633,8 @@ vy(G_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(kj.div, {
- ...K(Qy(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(jj.div, {
+ ...K(Zy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
@@ -40554,11 +40642,11 @@ vy(G_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var Jye = /*#__PURE__*/ (0, S.createContext)({ placement: "bottom" });
+var qye = /*#__PURE__*/ (0, S.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function oN(e) {
- let [t, n] = ux(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, S.useState)(null);
+function cN(e) {
+ let [t, n] = lx(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, S.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -40577,15 +40665,15 @@ function oN(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function sN(e, t = !0, n) {
+function lN(e, t = !0, n) {
let [r, i] = (0, S.useState)(!0), a = r && t;
return dv(() => {
- if (!t && e.current) return Wv(tv(e.current, "opacity", "0"), tv(e.current, "clip", "rect(0 0 0 0)"), tv(e.current, "clip-path", "inset(50%)"), tv(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ if (!t && e.current) return Uv(tv(e.current, "opacity", "0"), tv(e.current, "clip", "rect(0 0 0 0)"), tv(e.current, "clip-path", "inset(50%)"), tv(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
}, [e, t]), dv(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), lN(e, a, n, (0, S.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), dN(e, a, n, (0, S.useCallback)(() => i(!1), [])), a;
}
-function cN(e, t, n) {
+function uN(e, t, n) {
let [r, i] = (0, S.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -40595,12 +40683,12 @@ function cN(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return lN(e, a, n, (0, S.useCallback)(() => {
+ return dN(e, a, n, (0, S.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function lN(e, t, n, r) {
- let i = (0, S.useRef)(null), a = Iy(n);
+function dN(e, t, n, r) {
+ let i = (0, S.useRef)(null), a = Fy(n);
dv(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
@@ -40627,9 +40715,9 @@ function lN(e, t, n, r) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var uN = /*#__PURE__*/ (0, S.createContext)(null), dN = /*#__PURE__*/ (0, S.createContext)(null), fN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, uN);
- let n = (0, S.useContext)(wN), r = oN(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = cN(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = dy(), { direction: c } = Wy();
+var fN = /*#__PURE__*/ (0, S.createContext)(null), pN = /*#__PURE__*/ (0, S.createContext)(null), mN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, fN);
+ let n = (0, S.useContext)(EN), r = cN(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = uN(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = uy(), { direction: c } = Uy();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -40640,7 +40728,7 @@ var uN = /*#__PURE__*/ (0, S.createContext)(null), dN = /*#__PURE__*/ (0, S.crea
defaultChildren: null
})), /*#__PURE__*/ S.createElement(S.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ S.createElement(Yye, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ S.createElement(Jye, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -40649,13 +40737,13 @@ var uN = /*#__PURE__*/ (0, S.createContext)(null), dN = /*#__PURE__*/ (0, S.crea
dir: c
});
});
-function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(dN), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, S.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = cce({
+function Jye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(pN), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, S.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = lce({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = sN(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Cj({
+ }, e), g = i.popoverRef, _ = lN(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = Tj({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -40668,7 +40756,7 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
dv(() => {
g.current && C(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, S.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Iv() !== "pointer") && g.current && !ov(g.current) && Uv(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Iv() !== "pointer") && g.current && !ov(g.current) && Hv(g.current);
}, [
x,
g,
@@ -40676,12 +40764,12 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let w = (0, S.useMemo)(() => {
let e = y.children;
- for (let t of [uN, ...r ?? []]) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);
+ for (let t of [fN, ...r ?? []]) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [T, E] = (0, S.useState)(null), D = (0, S.useCallback)(() => {
i.triggerRef.current && E(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- dv(D, [D]), BC({
+ dv(D, [D]), zC({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: D
});
@@ -40691,9 +40779,9 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || T
};
- dv(() => kw(() => u(!0)), []);
- let k = /*#__PURE__*/ S.createElement(kj.div, {
- ...K(Qy(i, { global: !0 }), d),
+ dv(() => Ow(() => u(!0)), []);
+ let k = /*#__PURE__*/ S.createElement(jj.div, {
+ ...K(Zy(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -40708,17 +40796,17 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ S.createElement(Sw, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(Jye.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ S.createElement(xw, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(qye.Provider, { value: {
...p,
placement: m,
ref: a
- } }, w), /*#__PURE__*/ S.createElement(Sw, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ S.createElement(IS, {
+ } }, w), /*#__PURE__*/ S.createElement(xw, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ S.createElement(FS, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, k) : /*#__PURE__*/ S.createElement(IS, {
+ }, k) : /*#__PURE__*/ S.createElement(FS, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -40733,15 +40821,15 @@ function Yye({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ S.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ S.createElement(dN.Provider, { value: o }, k)));
+ }, /*#__PURE__*/ S.createElement(pN.Provider, { value: o }, k)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Xye = /*#__PURE__*/ (0, S.createContext)({});
+var Yye = /*#__PURE__*/ (0, S.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function pN(e) {
- let t = oN(e), [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)([]), o = () => {
+function hN(e) {
+ let t = cN(e), [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -40767,7 +40855,7 @@ function pN(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Zye = class {
+var Xye = 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) => {
@@ -40811,8 +40899,8 @@ var Zye = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function mN(e) {
- let { onExpandedChange: t } = e, [n, r] = ux(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = JM(e), a = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = $M(e, (0, S.useCallback)((e) => new Zye(e, { expandedKeys: n }), [n]), null);
+function gN(e) {
+ let { onExpandedChange: t } = e, [n, r] = lx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = XM(e), a = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = tN(e, (0, S.useCallback)((e) => new Xye(e, { expandedKeys: n }), [n]), null);
return (0, S.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -40820,32 +40908,32 @@ function mN(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Qye(n, e));
+ r(Zye(n, e));
},
setExpandedKeys: r,
- selectionManager: new XM(o, i)
+ selectionManager: new QM(o, i)
};
}
-function Qye(e, t) {
+function Zye(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var hN = /*#__PURE__*/ (0, S.createContext)(null), gN = /*#__PURE__*/ (0, S.createContext)(null), _N = /*#__PURE__*/ (0, S.createContext)(null), vN = /*#__PURE__*/ (0, S.createContext)(null);
-function $ye(e) {
- let t = pN(e), n = (0, S.useRef)(null), { menuTriggerProps: r, menuProps: i } = _S({
+var _N = /*#__PURE__*/ (0, S.createContext)(null), vN = /*#__PURE__*/ (0, S.createContext)(null), yN = /*#__PURE__*/ (0, S.createContext)(null), bN = /*#__PURE__*/ (0, S.createContext)(null);
+function Qye(e) {
+ let t = hN(e), n = (0, S.useRef)(null), { menuTriggerProps: r, menuProps: i } = gS({
...e,
type: "menu"
}, t, n), a = (0, S.useRef)(null);
- return dy() ? null : /*#__PURE__*/ S.createElement(Sj, { values: [
- [hN, {
+ return uy() ? null : /*#__PURE__*/ S.createElement(wj, { values: [
+ [_N, {
...i,
ref: a
}],
- [wN, t],
- [_N, t],
- [uN, {
+ [EN, t],
+ [yN, t],
+ [fN, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -40853,13 +40941,13 @@ function $ye(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ S.createElement(yse, {
+ ] }, /*#__PURE__*/ S.createElement(bse, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var ebe = /*#__PURE__*/ (0, S.createContext)(null);
+var $ye = /*#__PURE__*/ (0, S.createContext)(null);
(class extends U_ {
static {
this.type = "submenutrigger";
@@ -40873,24 +40961,24 @@ var ebe = /*#__PURE__*/ (0, S.createContext)(null);
return null;
}
});
-var tbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return [e, t] = Tj(e, t, hN), /*#__PURE__*/ S.createElement(hy, { content: /*#__PURE__*/ S.createElement(Sy, e) }, (n) => /*#__PURE__*/ S.createElement(nbe, {
+var ebe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return [e, t] = Dj(e, t, _N), /*#__PURE__*/ S.createElement(my, { content: /*#__PURE__*/ S.createElement(xy, e) }, (n) => /*#__PURE__*/ S.createElement(tbe, {
props: e,
collection: n,
menuRef: t
}));
});
-function nbe({ props: e, collection: t, menuRef: n }) {
- [e, n] = Tj(e, n, Aj);
- let { filter: r, ...i } = e, a = (0, S.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = mN({
+function tbe({ props: e, collection: t, menuRef: n }) {
+ [e, n] = Dj(e, n, Mj);
+ let { filter: r, ...i } = e, a = (0, S.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = gN({
...e,
collection: a,
children: void 0
- }), s = (0, S.useContext)(_N), { isVirtualized: c, CollectionRoot: l } = (0, S.useContext)(Fj), { menuProps: u } = Lse({
+ }), s = (0, S.useContext)(yN), { isVirtualized: c, CollectionRoot: l } = (0, S.useContext)(Lj), { menuProps: u } = Rse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = Cj({
+ }, o, n), d = Tj({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -40900,36 +40988,36 @@ function nbe({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Sb, null, /*#__PURE__*/ S.createElement(kj.div, {
+ let p = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(xb, null, /*#__PURE__*/ S.createElement(jj.div, {
...K(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [gN, o],
- [WM, { elementType: "div" }],
- [Mj, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [vN, o],
+ [KM, { elementType: "div" }],
+ [Pj, {
name: "MenuSection",
- render: yN
+ render: xN
}],
- [ebe, {
+ [$ye, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [xN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
- [Aj, null],
- [jj, null],
- [vN, o.selectionManager],
- [_N, s ?? pN({})]
- ] }, /*#__PURE__*/ S.createElement(HM, null, /*#__PURE__*/ S.createElement(l, {
+ [CN, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Mj, null],
+ [Nj, null],
+ [bN, o.selectionManager],
+ [yN, s ?? hN({})]
+ ] }, /*#__PURE__*/ S.createElement(WM, null, /*#__PURE__*/ S.createElement(l, {
collection: o.collection,
- persistedKeys: Ij(o.selectionManager.focusedKey),
+ persistedKeys: Rj(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var rbe = class extends XM {
+var nbe = class extends QM {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40949,11 +41037,11 @@ var rbe = class extends XM {
return this.parent.childFocusStrategy;
}
};
-function yN(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, S.useContext)(gN), { CollectionBranch: a } = (0, S.useContext)(Fj), [o, s] = Ej(), { headingProps: c, groupProps: l } = zse({
+function xN(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, S.useContext)(vN), { CollectionBranch: a } = (0, S.useContext)(Lj), [o, s] = Oj(), { headingProps: c, groupProps: l } = Bse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = Cj({
+ }), u = Tj({
...e,
id: void 0,
children: void 0,
@@ -40961,31 +41049,31 @@ function yN(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, S.useContext)(vN), f = JM(e), p = e.selectionMode == null ? d : new rbe(d, f), m = wj(xN)?.shouldCloseOnSelect, h = Qy(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ S.createElement(kj.section, {
+ }), d = (0, S.useContext)(bN), f = XM(e), p = e.selectionMode == null ? d : new nbe(d, f), m = Ej(CN)?.shouldCloseOnSelect, h = Zy(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ S.createElement(jj.section, {
...K(h, u, l),
ref: t
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [VM, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [UM, {
...c,
ref: o
}],
- [vN, p],
- [xN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [bN, p],
+ [CN, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ S.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var bN = /*#__PURE__*/ yy(Aie, yN), xN = /*#__PURE__*/ (0, S.createContext)(null), SN = /*#__PURE__*/ vy(kie, function(e, t, n) {
- [e, t] = Tj(e, t, xN);
- let r = wj(xN)?.id, i = (0, S.useContext)(gN), a = ay(t), o = (0, S.useContext)(vN), { isVirtualized: s } = (0, S.useContext)(Fj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Rse({
+var SN = /*#__PURE__*/ vy(Aie, xN), CN = /*#__PURE__*/ (0, S.createContext)(null), wN = /*#__PURE__*/ _y(kie, function(e, t, n) {
+ [e, t] = Dj(e, t, CN);
+ let r = Ej(CN)?.id, i = (0, S.useContext)(vN), a = iy(t), o = (0, S.useContext)(bN), { isVirtualized: s } = (0, S.useContext)(Lj), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = zse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = HS({ isDisabled: f.isDisabled }), h = Cj({
+ }, i, a), { hoverProps: p, isHovered: m } = VS({ isDisabled: f.isDisabled }), h = Tj({
...e,
id: void 0,
children: n.rendered,
@@ -40999,7 +41087,7 @@ var bN = /*#__PURE__*/ yy(Aie, yN), xN = /*#__PURE__*/ (0, S.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? kj.a : kj.div, _ = Qy(e, { global: !0 });
+ }), g = e.href ? jj.a : jj.div, _ = Zy(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -41012,19 +41100,19 @@ var bN = /*#__PURE__*/ yy(Aie, yN), xN = /*#__PURE__*/ (0, S.createContext)(null
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [Uj, { slots: {
- [xj]: l,
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [Gj, { slots: {
+ [Cj]: l,
label: l,
description: u
} }],
- [Xye, d],
- [UM, { isSelected: f.isSelected }]
+ [Yye, d],
+ [GM, { isSelected: f.isSelected }]
] }, h.children));
});
-vy(G_, function(e, t, n) {
- let r = (0, S.useContext)(gN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
- nN((0, S.useMemo)(() => ({
+_y(G_, function(e, t, n) {
+ let r = (0, S.useContext)(vN), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);
+ iN((0, S.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -41034,7 +41122,7 @@ vy(G_, function(e, t, n) {
o,
r?.collection
]), c);
- let l = Cj({
+ let l = Tj({
...s,
id: void 0,
children: n.rendered,
@@ -41047,7 +41135,7 @@ vy(G_, function(e, t, n) {
width: 0,
height: 0
},
- inert: GM(!0)
+ inert: qM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -41056,8 +41144,8 @@ vy(G_, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(kj.div, {
- ...K(Qy(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(jj.div, {
+ ...K(Zy(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
@@ -41065,82 +41153,82 @@ vy(G_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var CN = /*#__PURE__*/ (0, S.createContext)(null), wN = /*#__PURE__*/ (0, S.createContext)(null), TN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+var TN = /*#__PURE__*/ (0, S.createContext)(null), EN = /*#__PURE__*/ (0, S.createContext)(null), DN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = Tj(e, t, CN);
- let { dialogProps: r, titleProps: i, contentProps: a } = xse({
+ [e, t] = Dj(e, t, TN);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Sse({
...e,
"aria-labelledby": n
- }, t), o = (0, S.useContext)(wN);
+ }, t), o = (0, S.useContext)(EN);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = Cj({
+ let s = Tj({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(kj.section, {
+ }), c = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(jj.section, {
...K(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [Vj, { slots: {
- [xj]: {},
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [Uj, { slots: {
+ [Cj]: {},
title: {
...i,
level: 2
}
} }],
- [Uj, { slots: {
- [xj]: {},
+ [Gj, { slots: {
+ [Cj]: {},
description: a
} }],
- [zj, { slots: {
- [xj]: {},
+ [Vj, { slots: {
+ [Cj]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), EN = typeof document < "u" && window.visualViewport;
-function ibe() {
+}), ON = typeof document < "u" && window.visualViewport;
+function rbe() {
let e = Tv(), t = (0, S.useRef)(null), [n, r] = (0, S.useState)(() => e ? {
width: 0,
height: 0
- } : DN());
+ } : kN());
return (0, S.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- EN && EN.scale > 1 || e(DN());
+ ON && ON.scale > 1 || e(kN());
}, i = (n) => {
- EN && EN.scale > 1 || Ny(av(n)) && (t.current = kw((t) => {
+ ON && ON.scale > 1 || My(av(n)) && (t.current = Ow((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(DN()), vv() && yv() && window.addEventListener("blur", i, !0), EN ? EN.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), vv() && yv() && window.removeEventListener("blur", i, !0), EN ? EN.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(kN()), vv() && yv() && window.addEventListener("blur", i, !0), ON ? ON.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), vv() && yv() && window.removeEventListener("blur", i, !0), ON ? ON.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function DN() {
+function kN() {
return {
- width: EN ? Math.min(EN.width * EN.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: EN ? EN.height * EN.scale : document.documentElement.clientHeight
+ width: ON ? Math.min(ON.width * ON.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: ON ? ON.height * ON.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var abe = /*#__PURE__*/ (0, S.createContext)(null), ON = /*#__PURE__*/ (0, S.createContext)(null), obe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- if ((0, S.useContext)(ON)) return /*#__PURE__*/ S.createElement(AN, {
+var ibe = /*#__PURE__*/ (0, S.createContext)(null), AN = /*#__PURE__*/ (0, S.createContext)(null), abe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ if ((0, S.useContext)(AN)) return /*#__PURE__*/ S.createElement(MN, {
...e,
modalRef: t
}, e.children);
let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;
- return /*#__PURE__*/ S.createElement(kN, {
+ return /*#__PURE__*/ S.createElement(jN, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -41150,15 +41238,15 @@ var abe = /*#__PURE__*/ (0, S.createContext)(null), ON = /*#__PURE__*/ (0, S.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ S.createElement(AN, {
+ }, /*#__PURE__*/ S.createElement(MN, {
...f,
modalRef: t
}, s));
});
-function sbe(e, t) {
- [e, t] = Tj(e, t, abe);
- let n = (0, S.useContext)(wN), r = oN(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ay(t), o = (0, S.useRef)(null), s = cN(a, i.isOpen, e.onExit), c = (0, S.useRef)(null), l = cN(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Tv();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ S.createElement(cbe, {
+function obe(e, t) {
+ [e, t] = Dj(e, t, ibe);
+ let n = (0, S.useContext)(EN), r = cN(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = iy(t), o = (0, S.useRef)(null), s = uN(a, i.isOpen, e.onExit), c = (0, S.useRef)(null), l = uN(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = Tv();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ S.createElement(sbe, {
...e,
state: i,
isExiting: u,
@@ -41167,12 +41255,12 @@ function sbe(e, t) {
onExitRef: c
});
}
-var kN = /*#__PURE__*/ (0, S.forwardRef)(sbe);
-function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, S.useState)(!1), s = sN(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Xse({
+var jN = /*#__PURE__*/ (0, S.forwardRef)(obe);
+function sbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, S.useState)(!1), s = lN(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = Zse({
...n,
isEntering: c
- }, i, r), d = (0, S.useContext)(CN), f = t ? lbe(d, { isEntering: c }) : d, p = Cj({
+ }, i, r), d = (0, S.useContext)(TN), f = t ? cbe(d, { isEntering: c }) : d, p = Tj({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -41180,9 +41268,9 @@ function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = ibe(), h, g;
+ }), m = rbe(), h, g;
if (typeof document < "u") {
- let e = Vb(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = Bb(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 _ = {
@@ -41192,18 +41280,18 @@ function cbe({ 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 dv(() => kw(() => o(!0)), []), /*#__PURE__*/ S.createElement(IS, {
+ return dv(() => Ow(() => o(!0)), []), /*#__PURE__*/ S.createElement(FS, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ S.createElement(kj.div, {
- ...K(Qy(n, { global: !0 }), u),
+ }, /*#__PURE__*/ S.createElement(jj.div, {
+ ...K(Zy(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [ON, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [AN, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -41211,11 +41299,11 @@ function cbe({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [wN, i],
- [CN, f]
+ [EN, i],
+ [TN, f]
] }, p.children)));
}
-function lbe(e, t) {
+function cbe(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -41232,8 +41320,8 @@ function lbe(e, t) {
...t
};
}
-function AN(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, S.useContext)(ON), s = (0, S.useContext)(wN), c = ay((0, S.useMemo)(() => Xv(e.modalRef, n), [e.modalRef, n])), l = sN(c, o, e.onEnter), u = Cj({
+function MN(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, S.useContext)(AN), s = (0, S.useContext)(EN), c = iy((0, S.useMemo)(() => Yv(e.modalRef, n), [e.modalRef, n])), l = lN(c, o, e.onEnter), u = Tj({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -41244,19 +41332,19 @@ function AN(e) {
});
return dv(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ S.createElement(kj.div, {
- ...K(Qy(e, { global: !0 }), t),
+ }), /*#__PURE__*/ S.createElement(jj.div, {
+ ...K(Zy(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ S.createElement(Sw, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ S.createElement(xw, { onDismiss: s.close }), u.children);
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var ube = Math.round(Math.random() * 1e10), dbe = 0;
-function fbe(e) {
- let t = (0, S.useMemo)(() => e.name || `radio-group-${ube}-${++dbe}`, [e.name]), [n, r] = ux(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = tx({
+var lbe = Math.round(Math.random() * 1e10), ube = 0;
+function dbe(e) {
+ let t = (0, S.useMemo)(() => e.name || `radio-group-${lbe}-${++ube}`, [e.name]), [n, r] = lx(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = ex({
...e,
value: n
}), c = (t) => {
@@ -41279,16 +41367,16 @@ function fbe(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var pbe = /*#__PURE__*/ (0, S.createContext)(null), mbe = /*#__PURE__*/ (0, S.createContext)(null), jN = /*#__PURE__*/ (0, S.createContext)(null), MN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, pbe);
- let { validationBehavior: n } = wj(Gj) || {}, r = e.validationBehavior ?? n ?? "native", i = fbe({
+var fbe = /*#__PURE__*/ (0, S.createContext)(null), pbe = /*#__PURE__*/ (0, S.createContext)(null), NN = /*#__PURE__*/ (0, S.createContext)(null), PN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, fbe);
+ let { validationBehavior: n } = Ej(qj) || {}, r = e.validationBehavior ?? n ?? "native", i = dbe({
...e,
validationBehavior: r
- }), [a, o] = Ej(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = uce({
+ }), [a, o] = Oj(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = dce({
...e,
label: o,
validationBehavior: r
- }, i), f = Cj({
+ }, i), f = Tj({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -41299,8 +41387,8 @@ var pbe = /*#__PURE__*/ (0, S.createContext)(null), mbe = /*#__PURE__*/ (0, S.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(kj.div, {
+ }), p = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(jj.div, {
...K(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -41309,39 +41397,39 @@ var pbe = /*#__PURE__*/ (0, S.createContext)(null), mbe = /*#__PURE__*/ (0, S.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [jN, i],
- [Lj, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [NN, i],
+ [zj, {
...c,
ref: a,
elementType: "span"
}],
- [Uj, { slots: {
+ [Gj, { slots: {
description: l,
errorMessage: u
} }],
- [Wj, d]
- ] }, /*#__PURE__*/ S.createElement(HM, null, f.children)));
-}), NN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [Kj, d]
+ ] }, /*#__PURE__*/ S.createElement(WM, null, f.children)));
+}), FN = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Tj(r, t, mbe);
- let i = S.useContext(jN), a = ay((0, S.useMemo)(() => Xv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = lce({
- ...Dj(e),
+ [e, t] = Dj(r, t, pbe);
+ let i = S.useContext(NN), a = iy((0, S.useMemo)(() => Yv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = uce({
+ ...kj(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ S.createElement(PN.Provider, { value: {
+ return /*#__PURE__*/ S.createElement(IN.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ S.createElement(hbe, {
+ } }, /*#__PURE__*/ S.createElement(mbe, {
...e,
ref: t
}));
-}), PN = /*#__PURE__*/ (0, S.createContext)(null), hbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(PN), l = S.useContext(jN), { isFocused: u, isFocusVisible: d, focusProps: f } = RS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = HS({
+}), IN = /*#__PURE__*/ (0, S.createContext)(null), mbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(IN), l = S.useContext(NN), { isFocused: u, isFocusVisible: d, focusProps: f } = LS(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = VS({
...e,
isDisabled: p
- }), g = Cj({
+ }), g = Tj({
...e,
defaultClassName: s,
values: {
@@ -41355,8 +41443,8 @@ var pbe = /*#__PURE__*/ (0, S.createContext)(null), mbe = /*#__PURE__*/ (0, S.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Qy(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(kj.label, {
+ }), _ = Zy(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(jj.label, {
...K(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -41368,19 +41456,19 @@ var pbe = /*#__PURE__*/ (0, S.createContext)(null), mbe = /*#__PURE__*/ (0, S.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(bx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
+ }, /*#__PURE__*/ S.createElement(yx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
...K(r, f),
ref: c
})), g.children);
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function gbe(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = oN(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function hbe(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = cN(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = ux((0, S.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = lx((0, S.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -41392,12 +41480,12 @@ function gbe(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = eN({
+ }, d = nN({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, S.useMemo)(() => _be(l), [l]),
+ selectedKeys: (0, S.useMemo)(() => gbe(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -41407,7 +41495,7 @@ function gbe(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, S.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = tx({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, S.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = ex({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, S.useState)(!1), [_] = (0, S.useState)(l);
@@ -41434,16 +41522,16 @@ function gbe(e) {
setFocused: g
};
}
-function _be(e) {
+function gbe(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function vbe(e) {
+function _be(e) {
return e && e.__esModule ? e.default : e;
}
-var FN = /*#__PURE__*/ (0, S.createContext)(null), IN = /*#__PURE__*/ (0, S.createContext)(null), ybe = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, FN);
+var LN = /*#__PURE__*/ (0, S.createContext)(null), RN = /*#__PURE__*/ (0, S.createContext)(null), vbe = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, LN);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, S.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -41458,24 +41546,24 @@ var FN = /*#__PURE__*/ (0, S.createContext)(null), IN = /*#__PURE__*/ (0, S.crea
i,
a
]);
- return /*#__PURE__*/ S.createElement(hy, { content: o }, (n) => /*#__PURE__*/ S.createElement(xbe, {
+ return /*#__PURE__*/ S.createElement(my, { content: o }, (n) => /*#__PURE__*/ S.createElement(bbe, {
props: e,
collection: n,
selectRef: t
}));
-}), bbe = [
- Lj,
+}), ybe = [
zj,
- Uj
+ Vj,
+ Gj
];
-function xbe({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = wj(Gj) || {}, i = e.validationBehavior ?? r ?? "native", a = gbe({
+function bbe({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = Ej(qj) || {}, i = e.validationBehavior ?? r ?? "native", a = hbe({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = RS({ within: !0 }), c = (0, S.useRef)(null), [l, u] = Ej(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = dce({
- ...Dj(e),
+ }), { isFocusVisible: o, focusProps: s } = LS({ within: !0 }), c = (0, S.useRef)(null), [l, u] = Oj(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = fce({
+ ...kj(e),
label: u,
validationBehavior: i
}, a, c), y = (0, S.useMemo)(() => ({
@@ -41492,48 +41580,48 @@ function xbe({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = Cj({
+ ]), b = Tj({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = Qy(e, { global: !0 });
+ }), x = Zy(e, { global: !0 });
delete x.id;
let C = (0, S.useRef)(null);
- return /*#__PURE__*/ S.createElement(Sj, { values: [
- [FN, e],
- [IN, a],
- [LN, p],
- [Lj, {
+ return /*#__PURE__*/ S.createElement(wj, { values: [
+ [LN, e],
+ [RN, a],
+ [zN, p],
+ [zj, {
...d,
ref: l,
elementType: "span"
}],
- [zj, {
+ [Vj, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [wN, a],
- [uN, {
+ [EN, a],
+ [fN, {
trigger: "Select",
triggerRef: c,
scrollRef: C,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: bbe
+ clearContexts: ybe
}],
- [rN, {
+ [aN, {
...m,
ref: C
}],
- [iN, a],
- [Uj, { slots: {
+ [oN, a],
+ [Gj, { slots: {
description: h,
errorMessage: g
} }],
- [Wj, v]
- ] }, /*#__PURE__*/ S.createElement(kj.div, {
+ [Kj, v]
+ ] }, /*#__PURE__*/ S.createElement(jj.div, {
...K(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -41543,14 +41631,14 @@ function xbe({ 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__*/ S.createElement(pce, {
+ }, b.children, /*#__PURE__*/ S.createElement(mce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, LN);
- let n = (0, S.useContext)(IN), { placeholder: r } = wj(FN), i = n.selectedItems.map((e) => {
+for (var zN = /*#__PURE__*/ (0, S.createContext)(null), xbe = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, zN);
+ let n = (0, S.useContext)(RN), { placeholder: r } = Ej(LN), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -41562,7 +41650,7 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Sse(), o = (0, S.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, S.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Cse(), o = (0, S.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, S.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -41577,7 +41665,7 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
a,
o,
i
- ]), u = Xy(vbe(IM), "react-aria-components"), d = Cj({
+ ]), u = Yy(_be(RM), "react-aria-components"), d = Tj({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -41588,33 +41676,33 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(kj.span, {
+ }), f = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(jj.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ S.createElement(Uj.Provider, { value: void 0 }, d.children));
-}), Cbe = /*#__PURE__*/ (0, S.createContext)(null), RN = /*#__PURE__*/ (0, S.createContext)(null), wbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ S.createElement(Gj.Provider, { value: void 0 }, d.children));
+}), Sbe = /*#__PURE__*/ (0, S.createContext)(null), BN = /*#__PURE__*/ (0, S.createContext)(null), Cbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = Tj(r, t, Cbe);
- let i = ay((0, S.useMemo)(() => Xv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = dx(e), o = hce({
- ...Dj(e),
+ [e, t] = Dj(r, t, Sbe);
+ let i = iy((0, S.useMemo)(() => Yv(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = ux(e), o = gce({
+ ...kj(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ S.createElement(Sj, { values: [[RN, a], [zN, {
+ return /*#__PURE__*/ S.createElement(wj, { values: [[BN, a], [VN, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ S.createElement(Tbe, {
+ }]] }, /*#__PURE__*/ S.createElement(wbe, {
...e,
ref: t
}));
-}), zN = /*#__PURE__*/ (0, S.createContext)(null), Tbe = /*#__PURE__*/ (0, S.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, S.useContext)(zN), { isFocused: f, isFocusVisible: p, focusProps: m } = RS(), h = a || o, g = (0, S.useContext)(RN), { hoverProps: _, isHovered: v } = HS({
+}), VN = /*#__PURE__*/ (0, S.createContext)(null), wbe = /*#__PURE__*/ (0, S.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, S.useContext)(VN), { isFocused: f, isFocusVisible: p, focusProps: m } = LS(), h = a || o, g = (0, S.useContext)(BN), { hoverProps: _, isHovered: v } = VS({
...e,
isDisabled: h
- }), y = Cj({
+ }), y = Tj({
...e,
defaultClassName: u,
values: {
@@ -41629,8 +41717,8 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
isRequired: d || !1,
state: g
}
- }), b = Qy(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(kj.label, {
+ }), b = Zy(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(jj.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -41643,11 +41731,11 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ S.createElement(bx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
+ }, /*#__PURE__*/ S.createElement(yx, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {
...K(r, m),
ref: l
})), y.children);
-}), BN = 10, VN = 5, HN = class {
+}), HN = 10, UN = 5, WN = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -41657,7 +41745,7 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > VN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > BN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > UN && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > HN && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
let t = this.state.collection.getKeyBefore(e.key);
for (; t != null;) {
let e = this.state.collection.getItem(t);
@@ -41736,11 +41824,11 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > VN && i) {
+ if (Math.abs(r - c.lastSwitchY) > UN && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > BN && a) {
+ if (l > HN && a) {
let t = c.preferredTargetIndex || 0;
a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;
}
@@ -41755,7 +41843,7 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
boundaryContext: null
};
}
-}, Ebe = class {
+}, Tbe = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -41825,8 +41913,8 @@ for (var LN = /*#__PURE__*/ (0, S.createContext)(null), Sbe = /*#__PURE__*/ uy(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, UN = "row-header-column-" + Math.random().toString(36).slice(2), WN = "row-header-column-" + Math.random().toString(36).slice(2); UN === WN;) WN = "row-header-column-" + Math.random().toString(36).slice(2);
-function GN(e, t) {
+}, GN = "row-header-column-" + Math.random().toString(36).slice(2), KN = "row-header-column-" + Math.random().toString(36).slice(2); GN === KN;) KN = "row-header-column-" + Math.random().toString(36).slice(2);
+function qN(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -41910,13 +41998,13 @@ function GN(e, t) {
textValue: ""
}));
}
-var Dbe = class extends Ebe {
+var Ebe = class extends Tbe {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: UN,
+ key: GN,
value: null,
textValue: "",
level: 0,
@@ -41931,7 +42019,7 @@ var Dbe = class extends Ebe {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: WN,
+ key: KN,
value: null,
textValue: "",
level: 0,
@@ -41958,7 +42046,7 @@ var Dbe = class extends Ebe {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = GN(s, a);
+ let l = qN(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -41984,10 +42072,10 @@ var Dbe = class extends Ebe {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return CS(this.body.childNodes)?.key ?? null;
+ return SS(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return TS(this.body.childNodes)?.key ?? null;
+ return wS(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -42019,15 +42107,15 @@ var Dbe = class extends Ebe {
};
//#endregion
//#region node_modules/react-stately/dist/private/table/TableUtils.mjs
-function Obe(e) {
+function Dbe(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function kbe(e) {
+function Obe(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function KN(e, t) {
+function JN(e, t) {
if (typeof e == "string") {
let n = e.match(/^(\d+)(?=%$)/);
if (!n) throw Error("Only percentages or numbers are supported for static column widths");
@@ -42035,19 +42123,19 @@ function KN(e, t) {
}
return e;
}
-function qN(e, t) {
- return e == null ? 2 ** 53 - 1 : KN(e, t);
+function YN(e, t) {
+ return e == null ? 2 ** 53 - 1 : JN(e, t);
}
-function JN(e, t) {
- return e == null ? 0 : KN(e, t);
+function XN(e, t) {
+ return e == null ? 0 : JN(e, t);
}
-function Abe(e, t, n, r, i) {
+function kbe(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;
- Obe(o) ? (l = KN(o, e), s = !0) : (u = kbe(o), u <= 0 && (s = !0));
- let f = JN(t.minWidth ?? i?.(a) ?? 0, e), p = qN(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ Dbe(o) ? (l = JN(o, e), s = !0) : (u = Obe(o), u <= 0 && (s = !0));
+ let f = XN(t.minWidth ?? i?.(a) ?? 0, e), p = YN(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {
frozen: s,
baseSize: l,
@@ -42081,14 +42169,14 @@ function Abe(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = jbe(l);
+ let u = Abe(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 jbe(e) {
+function Abe(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -42097,7 +42185,7 @@ function jbe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var Mbe = class {
+var jbe = 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);
}
@@ -42126,19 +42214,19 @@ var Mbe = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Abe(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), kbe(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) => {
let i = t.columns[r].key, a = t.columns[r];
- this.columnWidths.set(i, n), this.columnMinWidths.set(i, JN(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, qN(a.props.maxWidth, e));
+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, XN(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, YN(a.props.maxWidth, e));
}), this.columnWidths;
}
};
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function Nbe(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, S.useState)(null), s = (0, S.useMemo)(() => new Mbe({
+function Mbe(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, S.useState)(null), s = (0, S.useMemo)(() => new jbe({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, S.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, S.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, S.useState)(t.collection.columns);
@@ -42190,19 +42278,19 @@ function Nbe(e, t) {
}
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Pbe(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || JM(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Nbe(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || XM(e), i = (0, S.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 = SS(n, t);
- e = r === "last" ? TS(i)?.key ?? null : CS(i)?.key ?? null;
+ let i = xS(n, t);
+ e = r === "last" ? wS(i)?.key ?? null : SS(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, S.useMemo)(() => new XM(t, r), [t, r]), s = (0, S.useRef)(null);
+ let o = (0, S.useMemo)(() => new QM(t, r), [t, r]), s = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {
let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;
@@ -42222,7 +42310,7 @@ function Pbe(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...SS(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...xS(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);
}
@@ -42241,11 +42329,11 @@ function Pbe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Fbe = {
+var Pbe = {
ascending: "descending",
descending: "ascending"
};
-function Ibe(e) {
+function Fbe(e) {
let [t, n] = (0, S.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, S.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -42256,11 +42344,11 @@ function Ibe(e) {
i,
r,
a
- ]), c = $M(e, (0, S.useCallback)((e) => new Dbe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Pbe({
+ ]), c = tN(e, (0, S.useCallback)((e) => new Ebe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Nbe({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = ux(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = lx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -42272,7 +42360,7 @@ function Ibe(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Fbe[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? Pbe[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -42285,7 +42373,7 @@ function Ibe(e) {
treeColumn: o
};
}
-function Lbe(e, t) {
+function Ibe(e, t) {
let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -42295,10 +42383,10 @@ function Lbe(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-function Rbe(e) {
+function Lbe(e) {
return e && e.__esModule ? e.default : e;
}
-var zbe = class extends K_ {
+var Rbe = class extends K_ {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -42313,7 +42401,7 @@ var zbe = class extends K_ {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new rP(-2);
+ return new aP(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -42339,7 +42427,7 @@ var zbe = class extends K_ {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = GN(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = qN(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -42420,15 +42508,15 @@ var zbe = class extends K_ {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new $N(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new tP(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, YN = /*#__PURE__*/ (0, S.createContext)(null), Bbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let n = ay(t), r = (0, S.useRef)(null), i = (0, S.useRef)(null), [a, o] = (0, S.useState)(0);
+}, ZN = /*#__PURE__*/ (0, S.createContext)(null), zbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let n = iy(t), r = (0, S.useRef)(null), i = (0, S.useRef)(null), [a, o] = (0, S.useState)(0);
dv(() => {
let e = r.current;
- for (; e && e !== n.current && !Vb(e);) e = e.parentElement;
+ for (; e && e !== n.current && !Bb(e);) e = e.parentElement;
i.current = e;
- }, [n]), BC({
+ }, [n]), zC({
ref: i,
box: "border-box",
onResize() {
@@ -42441,7 +42529,7 @@ var zbe = class extends K_ {
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: Nbe,
+ useTableColumnResizeState: Mbe,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -42452,17 +42540,17 @@ var zbe = class extends K_ {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ S.createElement(kj.div, {
+ return /*#__PURE__*/ S.createElement(jj.div, {
render: e.render,
- ...Qy(e, { global: !0 }),
+ ...Zy(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ S.createElement(YN.Provider, { value: s }, e.children));
-}), Vbe = /*#__PURE__*/ (0, S.createContext)(null), XN = /*#__PURE__*/ (0, S.createContext)(null), ZN = /*#__PURE__*/ (0, S.createContext)(null), Hbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, Vbe);
- let n = JM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({
+ }, /*#__PURE__*/ S.createElement(ZN.Provider, { value: s }, e.children));
+}), Bbe = /*#__PURE__*/ (0, S.createContext)(null), QN = /*#__PURE__*/ (0, S.createContext)(null), $N = /*#__PURE__*/ (0, S.createContext)(null), Vbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, Bbe);
+ let n = XM(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -42472,26 +42560,26 @@ var zbe = class extends K_ {
i,
a,
o
- ]), c = /*#__PURE__*/ S.createElement(Gbe.Provider, { value: s }, /*#__PURE__*/ S.createElement(Sy, e));
- return /*#__PURE__*/ S.createElement(hy, {
+ ]), c = /*#__PURE__*/ S.createElement(Wbe.Provider, { value: s }, /*#__PURE__*/ S.createElement(xy, e));
+ return /*#__PURE__*/ S.createElement(my, {
content: c,
- createCollection: () => new zbe()
- }, (r) => /*#__PURE__*/ S.createElement(Wbe, {
+ createCollection: () => new Rbe()
+ }, (r) => /*#__PURE__*/ S.createElement(Ube, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Ube = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}), Hbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.table, {
+ }) : /*#__PURE__*/ S.createElement(jj.table, {
...e,
ref: t
});
-}), QN = {
+}), eP = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -42501,26 +42589,26 @@ var zbe = class extends K_ {
rtl: "ArrowRight"
}
};
-function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = Tj(e, t, Aj);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, S.useContext)(YN);
- t = ay((0, S.useMemo)(() => Xv(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = ux(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function Ube({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = Dj(e, t, Mj);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, S.useContext)(ZN);
+ t = iy((0, S.useMemo)(() => Yv(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = lx(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, S.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Ibe({
+ let d = Fbe({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Lbe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(Fj), { dragAndDropHooks: _ } = e, { gridProps: v } = bce({
+ }), f = Ibe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(Lj), { dragAndDropHooks: _ } = e, { gridProps: v } = xce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, S.useRef)(b), (0, S.useRef)(x), (0, S.useEffect)(() => {}, [b, x]);
- let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = Wy(), [A] = (0, S.useState)(() => new HN());
+ let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = Uy(), [A] = (0, S.useState)(() => new WN());
if (b && _) {
C = _.useDraggableCollectionState({
collection: f.collection,
@@ -42535,7 +42623,7 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new Nx({
+ let e = new Mx({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -42555,12 +42643,12 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = w?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === QN.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === QN.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === eP.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === eP.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, w, t), E = w.isDropTarget({ type: "root" });
}
- let { focusProps: j, isFocused: M, isFocusVisible: N } = RS(), P = Cj({
+ let { focusProps: j, isFocused: M, isFocusVisible: N } = LS(), P = Tj({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -42576,19 +42664,19 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let L = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Sj, { values: [
- [XN, f],
- [ZN, ee],
- [LM, {
+ let L = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(wj, { values: [
+ [QN, f],
+ [$N, ee],
+ [zM, {
dragAndDropHooks: _,
dragState: C,
dropState: w
}],
- [RM, { render: txe }],
- [Aj, null],
- [jj, null]
- ] }, /*#__PURE__*/ S.createElement(Sb, null, /*#__PURE__*/ S.createElement(Ube, {
+ [BM, { render: exe }],
+ [Mj, null],
+ [Nj, null]
+ ] }, /*#__PURE__*/ S.createElement(xb, null, /*#__PURE__*/ S.createElement(Hbe, {
...K(L, P, v, j, T?.collectionProps),
style: I,
ref: t,
@@ -42598,55 +42686,55 @@ function Wbe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": E || void 0,
"data-focused": M || void 0,
"data-focus-visible": N || void 0
- }, /*#__PURE__*/ S.createElement(HM, null, /*#__PURE__*/ S.createElement(g, {
+ }, /*#__PURE__*/ S.createElement(WM, null, /*#__PURE__*/ S.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: BM(y, _, w)
+ persistedKeys: HM(y, _, w)
})))), D);
}
-var Gbe = /*#__PURE__*/ (0, S.createContext)(null), $N = class extends U_ {
+var Wbe = /*#__PURE__*/ (0, S.createContext)(null), tP = class extends U_ {
static {
this.type = "tableheader";
}
-}, Kbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}, Gbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.thead, {
+ }) : /*#__PURE__*/ S.createElement(jj.thead, {
...e,
ref: t
});
-}), eP = /*#__PURE__*/ yy($N, (e, t) => {
- let n = (0, S.useContext)(XN).collection, r = J_({
+}), nP = /*#__PURE__*/ vy(tP, (e, t) => {
+ let n = (0, S.useContext)(QN).collection, r = J_({
items: n.headerRows,
children: (0, S.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ S.createElement(Jbe, { item: e });
+ case "headerrow": return /*#__PURE__*/ S.createElement(qbe, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = GT(), { hoverProps: a, isHovered: o } = HS({
+ }), { rowGroupProps: i } = WT(), { hoverProps: a, isHovered: o } = VS({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = Cj({
+ }), s = Tj({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ S.createElement(Kbe, {
- ...K(Qy(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ S.createElement(Gbe, {
+ ...K(Zy(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ S.createElement(Sy, {
+}, (e) => /*#__PURE__*/ S.createElement(xy, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), qbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
+}, e.children)), Kbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
return n ? /*#__PURE__*/ S.createElement("div", {
...e,
ref: t
@@ -42655,41 +42743,41 @@ var Gbe = /*#__PURE__*/ (0, S.createContext)(null), $N = class extends U_ {
ref: t
});
});
-function Jbe({ item: e }) {
- let t = (0, S.useRef)(null), n = (0, S.useContext)(XN), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(Fj), { rowProps: a } = Ece({
+function qbe({ item: e }) {
+ let t = (0, S.useRef)(null), n = (0, S.useContext)(QN), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(Lj), { rowProps: a } = Dce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Nce(n);
- return /*#__PURE__*/ S.createElement(qbe, {
+ }, n, t), { checkboxProps: o } = Pce(n);
+ return /*#__PURE__*/ S.createElement(Kbe, {
...a,
ref: t
- }, /*#__PURE__*/ S.createElement(Sj, { values: [[Kj, { slots: { selection: o } }], [qj, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [[Jj, { slots: { selection: o } }], [Yj, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Ybe = class extends U_ {
+var Jbe = class extends U_ {
static {
this.type = "column";
}
-}, Xbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}, Ybe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.th, {
+ }) : /*#__PURE__*/ S.createElement(jj.th, {
...e,
ref: t
});
-}), tP = /*#__PURE__*/ vy(Ybe, (e, t, n) => {
- let r = ay(t), i = (0, S.useContext)(XN), { isVirtualized: a } = (0, S.useContext)(Fj), { columnHeaderProps: o, isPressed: s } = Cce({
+}), rP = /*#__PURE__*/ _y(Jbe, (e, t, n) => {
+ let r = iy(t), i = (0, S.useContext)(QN), { isVirtualized: a } = (0, S.useContext)(Lj), { columnHeaderProps: o, isPressed: s } = wce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = RS(), d = (0, S.useContext)(ZN), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = LS(), d = (0, S.useContext)($N), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = HS({ isDisabled: !e.allowsSorting }), h = Cj({
+ let { hoverProps: p, isHovered: m } = VS({ isDisabled: !e.allowsSorting }), h = Tj({
...e,
id: void 0,
children: n.rendered,
@@ -42715,8 +42803,8 @@ var Ybe = class extends U_ {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Qy(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ S.createElement(Xbe, {
+ let _ = Zy(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ S.createElement(Ybe, {
...K(_, o, u, p),
...h,
style: g,
@@ -42728,29 +42816,29 @@ var Ybe = class extends U_ {
"data-resizing": f || void 0,
"data-allows-sorting": n.props.allowsSorting || void 0,
"data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [[nP, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [[iP, {
column: n,
triggerRef: r
- }], [Fj, Nj]] }, h.children));
-}), nP = /*#__PURE__*/ (0, S.createContext)(null), Zbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let n = (0, S.useContext)(ZN);
+ }], [Lj, Fj]] }, h.children));
+}), iP = /*#__PURE__*/ (0, S.createContext)(null), Xbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let n = (0, S.useContext)($N);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = Xy(Rbe(IM), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, S.useContext)(YN), { column: s, triggerRef: c } = (0, S.useContext)(nP), l = (0, S.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Tce({
+ let r = Yy(Lbe(RM), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, S.useContext)(ZN), { column: s, triggerRef: c } = (0, S.useContext)(iP), l = (0, S.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Ece({
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 } = RS(), { hoverProps: _, isHovered: v } = HS(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Wy(), C = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = LS(), { hoverProps: _, isHovered: v } = VS(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Uy(), C = "both";
C = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let w = ay(t), [T, E] = (0, S.useState)("");
+ let w = iy(t), [T, E] = (0, S.useState)("");
(0, S.useEffect)(() => {
if (!w.current) return;
let e = window.getComputedStyle(w.current);
E(e.cursor);
}, [w, C]);
- let D = Cj({
+ let D = Tj({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -42760,8 +42848,8 @@ var Ybe = class extends U_ {
isHovered: v,
resizableDirection: C
}
- }), O = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(kj.div, {
+ }), O = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(jj.div, {
ref: w,
role: "presentation",
...K(O, D, u, _),
@@ -42784,24 +42872,24 @@ var Ybe = class extends U_ {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), rP = class extends W_ {
+}), aP = class extends W_ {
static {
this.type = "tablebody";
}
-}, Qbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}, Zbe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.tbody, {
+ }) : /*#__PURE__*/ S.createElement(jj.tbody, {
...e,
ref: t
});
-}), iP = /*#__PURE__*/ yy(rP, (e, t, n) => {
- let r = (0, S.useContext)(XN), { isVirtualized: i } = (0, S.useContext)(Fj), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(Fj), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(LM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), oP = /*#__PURE__*/ vy(aP, (e, t, n) => {
+ let r = (0, S.useContext)(QN), { isVirtualized: i } = (0, S.useContext)(Lj), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(Lj), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(zM), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = Cj({
+ }, p = Tj({
...e,
id: void 0,
children: void 0,
@@ -42810,25 +42898,25 @@ var Ybe = class extends U_ {
}), m, h = a.columnCount;
if (d && e.renderEmptyState && r) {
let t = {}, n = {}, r = {};
- i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ S.createElement(oP, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ S.createElement(cP, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ S.createElement(cP, {
+ }, /*#__PURE__*/ S.createElement(uP, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = GT(), _ = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(Qbe, {
+ let { rowGroupProps: g } = WT(), _ = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(Zbe, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ S.createElement(oxe, null), /*#__PURE__*/ S.createElement(o, {
+ }, l && /*#__PURE__*/ S.createElement(axe, null), /*#__PURE__*/ S.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: zM(s, c)
+ renderDropIndicator: VM(s, c)
}), m);
});
(class extends W_ {
@@ -42836,7 +42924,7 @@ var Ybe = class extends U_ {
this.type = "tablefooter";
}
});
-var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $be = class extends U_ {
+var sP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), Qbe = class extends U_ {
static {
this.type = "item";
}
@@ -42848,31 +42936,31 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
}
return null;
}
-}, oP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}, cP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.tr, {
+ }) : /*#__PURE__*/ S.createElement(jj.tr, {
...e,
ref: t
});
-}), sP = /*#__PURE__*/ yy($be, (e, t, n) => {
- let r = ay(t), i = (0, S.useContext)(XN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(LM), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(Fj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = kce({
+}), lP = /*#__PURE__*/ vy(Qbe, (e, t, n) => {
+ let r = iy(t), i = (0, S.useContext)(QN), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(zM), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(Lj), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Ace({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = RS(), { isFocusVisible: _, focusProps: v } = RS({ within: !0 }), { hoverProps: y, isHovered: b } = HS({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = LS(), { isFocusVisible: _, focusProps: v } = LS({ within: !0 }), { hoverProps: y, isHovered: b } = VS({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Mce({ key: n.key }, i), C;
+ }), { checkboxProps: x } = Nce({ key: n.key }, i), C;
o && a && (C = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let w, T = (0, S.useRef)(null), { visuallyHiddenProps: E } = yx();
+ let w, T = (0, S.useRef)(null), { visuallyHiddenProps: E } = vx();
s && a && (w = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -42882,7 +42970,7 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
(0, S.useEffect)(() => {
o && D.current;
}, []);
- let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Cj({
+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Tj({
...A,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -42903,11 +42991,11 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
isExpanded: M,
level: n.level + 1
}
- }), P = Qy(e, { global: !0 });
- return delete P.id, delete P.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(oP, {
+ }), P = Zy(e, { global: !0 });
+ return delete P.id, delete P.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(cP, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ S.createElement(cP, {
+ }, /*#__PURE__*/ S.createElement(uP, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -42916,7 +43004,7 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
...E,
...w.dropIndicatorProps,
ref: T
- }))), /*#__PURE__*/ S.createElement(oP, {
+ }))), /*#__PURE__*/ S.createElement(cP, {
...K(P, N, d, g, y, C?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -42932,17 +43020,17 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
"data-expanded": M || void 0,
"data-has-child-items": j || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [Kj, { slots: {
- [xj]: {},
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [Jj, { slots: {
+ [Cj]: {},
selection: x
} }],
- [qj, { slots: {
- [xj]: {},
+ [Yj, { slots: {
+ [Cj]: {},
selection: x
} }],
- [zj, { slots: {
- [xj]: {},
+ [Vj, { slots: {
+ [Cj]: {},
chevron: f,
drag: {
...C?.dragButtonProps,
@@ -42950,8 +43038,8 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
style: { pointerEvents: "none" }
}
} }],
- [UM, { isSelected: p.isSelected }],
- [aP, { isFocusVisibleWithinRow: _ }]
+ [GM, { isSelected: p.isSelected }],
+ [sP, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ S.createElement(l, {
collection: i.collection,
parent: n
@@ -42959,34 +43047,34 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
}, (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__*/ S.createElement(Sy, {
+ return /*#__PURE__*/ S.createElement(xy, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), exe = class extends U_ {
+}), $be = class extends U_ {
static {
this.type = "cell";
}
-}, cP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}, uP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.td, {
+ }) : /*#__PURE__*/ S.createElement(jj.td, {
...e,
ref: t
});
-}), lP = /*#__PURE__*/ vy(exe, (e, t, n) => {
- let r = ay(t), i = (0, S.useContext)(XN), { dragState: a } = (0, S.useContext)(LM), { isVirtualized: o } = (0, S.useContext)(Fj);
+}), dP = /*#__PURE__*/ _y($be, (e, t, n) => {
+ let r = iy(t), i = (0, S.useContext)(QN), { dragState: a } = (0, S.useContext)(zM), { isVirtualized: o } = (0, S.useContext)(Lj);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = xce({
+ let { gridCellProps: s, isPressed: c } = Sce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = RS(), { hoverProps: f, isHovered: p } = HS({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)(aP), 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 = Cj({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = LS(), { hoverProps: f, isHovered: p } = VS({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)(sP), 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 = Tj({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -43005,8 +43093,8 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), C = Qy(e, { global: !0 });
- return delete C.id, /*#__PURE__*/ S.createElement(cP, {
+ }), C = Zy(e, { global: !0 });
+ return delete C.id, /*#__PURE__*/ S.createElement(uP, {
...K(C, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -43020,14 +43108,14 @@ var aP = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), $b
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ S.createElement(Fj.Provider, { value: Nj }, x.children));
+ }, /*#__PURE__*/ S.createElement(Lj.Provider, { value: Fj }, x.children));
});
-function txe(e, t) {
- t = ay(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(LM), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function exe(e, t) {
+ t = iy(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(zM), i = (0, S.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__*/ S.createElement(axe, {
+ return /*#__PURE__*/ S.createElement(ixe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -43036,40 +43124,40 @@ function txe(e, t) {
ref: t
});
}
-var nxe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+var txe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.tr, {
+ }) : /*#__PURE__*/ S.createElement(jj.tr, {
...e,
ref: t
});
-}), rxe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, S.useContext)(Fj);
- return n ? /*#__PURE__*/ S.createElement(kj.div, {
+}), nxe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, S.useContext)(Lj);
+ return n ? /*#__PURE__*/ S.createElement(jj.div, {
...e,
ref: t
- }) : /*#__PURE__*/ S.createElement(kj.td, {
+ }) : /*#__PURE__*/ S.createElement(jj.td, {
...e,
ref: t
});
});
-function ixe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(XN), { visuallyHiddenProps: c } = yx(), l = Cj({
+function rxe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(QN), { visuallyHiddenProps: c } = vx(), l = Tj({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(nxe, {
- ...Qy(e, { global: !0 }),
+ return /*#__PURE__*/ S.createElement(txe, {
+ ...Zy(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ S.createElement(rxe, {
+ }, /*#__PURE__*/ S.createElement(nxe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -43080,14 +43168,14 @@ function ixe(e, t) {
ref: i
}), l.children));
}
-var axe = /*#__PURE__*/ (0, S.forwardRef)(ixe);
-function oxe() {
- let e = (0, S.useContext)(XN), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(LM), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = yx();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(oP, {
+var ixe = /*#__PURE__*/ (0, S.forwardRef)(rxe);
+function axe() {
+ let e = (0, S.useContext)(QN), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(zM), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = vx();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(cP, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ S.createElement(cP, {
+ }, /*#__PURE__*/ S.createElement(uP, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -43098,9 +43186,9 @@ function oxe() {
ref: r
})));
}
-vy(G_, function(e, t, n) {
- let r = (0, S.useContext)(XN), { isVirtualized: i } = (0, S.useContext)(Fj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);
- nN((0, S.useMemo)(() => ({
+_y(G_, function(e, t, n) {
+ let r = (0, S.useContext)(QN), { isVirtualized: i } = (0, S.useContext)(Lj), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);
+ iN((0, S.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -43110,7 +43198,7 @@ vy(G_, function(e, t, n) {
s,
r?.collection
]), u);
- let d = Cj({
+ let d = Tj({
...c,
id: void 0,
children: n.rendered,
@@ -43118,10 +43206,10 @@ vy(G_, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(oP, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(cP, {
style: { height: 0 },
- inert: GM(!0)
- }, /*#__PURE__*/ S.createElement(cP, { style: {
+ inert: qM(!0)
+ }, /*#__PURE__*/ S.createElement(uP, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ S.createElement("div", {
@@ -43132,14 +43220,14 @@ vy(G_, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ S.createElement(oP, {
- ...K(Qy(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ S.createElement(cP, {
+ ...K(Zy(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ S.createElement(cP, {
+ }, /*#__PURE__*/ S.createElement(uP, {
role: "rowheader",
...p,
style: m
@@ -43147,8 +43235,8 @@ vy(G_, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function sxe(e) {
- let [t, n] = ux(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = eN({
+function oxe(e) {
+ let [t, n] = lx(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = nN({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -43171,24 +43259,24 @@ function sxe(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function cxe(e) {
- let t = sxe({
+function sxe(e) {
+ let t = oxe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? uP(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? fP(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, S.useRef)(i);
return (0, S.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = uP(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = fP(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
}), {
...t,
isDisabled: e.isDisabled || !1
};
}
-function uP(e, t) {
+function fP(e, t) {
let n = null;
if (e) {
for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);
@@ -43198,24 +43286,24 @@ function uP(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var dP = /*#__PURE__*/ (0, S.createContext)(null), fP = /*#__PURE__*/ (0, S.createContext)(null), pP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- [e, t] = Tj(e, t, dP);
+var pP = /*#__PURE__*/ (0, S.createContext)(null), mP = /*#__PURE__*/ (0, S.createContext)(null), hP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ [e, t] = Dj(e, t, pP);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, S.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ S.createElement(hy, { content: n }, (n) => /*#__PURE__*/ S.createElement(lxe, {
+ }) : n, [n, r]), /*#__PURE__*/ S.createElement(my, { content: n }, (n) => /*#__PURE__*/ S.createElement(cxe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function lxe({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = cxe({
+function cxe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = sxe({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = RS({ within: !0 }), c = (0, S.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = LS({ within: !0 }), c = (0, S.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -43223,12 +43311,12 @@ function lxe({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = Cj({
+ ]), l = Tj({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(kj.div, {
+ }), u = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(jj.div, {
...K(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -43236,20 +43324,20 @@ function lxe({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [[dP, e], [fP, i]] }, l.children));
+ }, /*#__PURE__*/ S.createElement(wj, { values: [[pP, e], [mP, i]] }, l.children));
}
-var mP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return (0, S.useContext)(fP) ? /*#__PURE__*/ S.createElement(uxe, {
+var gP = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return (0, S.useContext)(mP) ? /*#__PURE__*/ S.createElement(lxe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ S.createElement(Sy, e);
+ }) : /*#__PURE__*/ S.createElement(xy, e);
});
-function uxe({ props: e, forwardedRef: t }) {
- let n = (0, S.useContext)(fP), { CollectionRoot: r } = (0, S.useContext)(Fj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = wj(dP), o = ay(t), { tabListProps: s } = Ice({
+function lxe({ props: e, forwardedRef: t }) {
+ let n = (0, S.useContext)(mP), { CollectionRoot: r } = (0, S.useContext)(Lj), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = Ej(pP), o = iy(t), { tabListProps: s } = Lce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = Cj({
+ }, n, o), c = Tj({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -43257,30 +43345,30 @@ function uxe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Qy(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ S.createElement(kj.div, {
+ }), l = Zy(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ S.createElement(jj.div, {
...K(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ S.createElement(HM, null, /*#__PURE__*/ S.createElement(r, {
+ }, /*#__PURE__*/ S.createElement(WM, null, /*#__PURE__*/ S.createElement(r, {
collection: n.collection,
- persistedKeys: Ij(n.selectionManager.focusedKey)
+ persistedKeys: Rj(n.selectionManager.focusedKey)
})));
}
-var hP = /*#__PURE__*/ vy(class extends U_ {
+var _P = /*#__PURE__*/ _y(class extends U_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, S.useContext)(fP), i = ay(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Pce({
+ let r = (0, S.useContext)(mP), i = iy(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Fce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = RS(), { hoverProps: f, isHovered: p } = HS({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = LS(), { hoverProps: f, isHovered: p } = VS({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = Cj({
+ }), m = Tj({
...e,
id: void 0,
children: n.rendered,
@@ -43293,7 +43381,7 @@ var hP = /*#__PURE__*/ vy(class extends U_ {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? kj.a : kj.div, g = Qy(e, { global: !0 });
+ }), h = n.props.href ? jj.a : jj.div, g = Zy(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ S.createElement(h, {
...K(g, m, a, l, f),
ref: i,
@@ -43303,58 +43391,58 @@ var hP = /*#__PURE__*/ vy(class extends U_ {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ S.createElement(UM.Provider, { value: { isSelected: o } }, m.children));
-}), gP = /*#__PURE__*/ uy(function(e, t) {
- let n = (0, S.useContext)(fP), r = ay(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ S.createElement(GM.Provider, { value: { isSelected: o } }, m.children));
+}), vP = /*#__PURE__*/ ly(function(e, t) {
+ let n = (0, S.useContext)(mP), r = iy(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = cN(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ S.createElement(dxe, {
+ let s = uN(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ S.createElement(uxe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function dxe(e) {
- let t = (0, S.useContext)(fP), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Lce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = RS(), d = t.selectedKey === e.id, f = sN(r) && !i, p = Cj({
+function uxe(e) {
+ let t = (0, S.useContext)(mP), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Rce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = LS(), d = t.selectedKey === e.id, f = lN(r) && !i, p = Tj({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: GM(!d),
+ isInert: qM(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Qy(o, { global: !0 });
+ }), m = Zy(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
- return /*#__PURE__*/ S.createElement(kj.div, {
+ return /*#__PURE__*/ S.createElement(jj.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: GM(!d || e.inert),
+ inert: qM(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [[dP, null], [fP, null]] }, /*#__PURE__*/ S.createElement(Fj.Provider, { value: Nj }, p.children)));
+ }, /*#__PURE__*/ S.createElement(wj, { values: [[pP, null], [mP, null]] }, /*#__PURE__*/ S.createElement(Lj.Provider, { value: Fj }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var fxe = /*#__PURE__*/ (0, S.createContext)({}), pxe = /*#__PURE__*/ (0, S.createContext)(null), mxe = /*#__PURE__*/ uy(function(e, t) {
- [e, t] = Tj(e, t, pxe);
- let { validationBehavior: n } = wj(Gj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);
- [e, i] = Tj(e, i, jj);
- let [a, o] = Ej(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ise({
- ...Dj(e),
+var dxe = /*#__PURE__*/ (0, S.createContext)({}), fxe = /*#__PURE__*/ (0, S.createContext)(null), pxe = /*#__PURE__*/ ly(function(e, t) {
+ [e, t] = Dj(e, t, fxe);
+ let { validationBehavior: n } = Ej(qj) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);
+ [e, i] = Dj(e, i, Nj);
+ let [a, o] = Oj(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = ase({
+ ...kj(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, S.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = Cj({
+ }, [i]), h = Tj({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -43363,8 +43451,8 @@ var fxe = /*#__PURE__*/ (0, S.createContext)({}), pxe = /*#__PURE__*/ (0, S.crea
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Qy(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ S.createElement(kj.div, {
+ }), g = Zy(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ S.createElement(jj.div, {
...g,
...h,
ref: t,
@@ -43373,31 +43461,31 @@ var fxe = /*#__PURE__*/ (0, S.createContext)({}), pxe = /*#__PURE__*/ (0, S.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [Lj, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [zj, {
...l,
ref: a
}],
- [Xj, {
+ [Qj, {
...u,
ref: m
}],
- [fxe, {
+ [dxe, {
...u,
ref: m
}],
- [Yj, {
+ [Zj, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [Uj, { slots: {
+ [Gj, { slots: {
description: d,
errorMessage: f
} }],
- [Wj, p]
+ [Kj, p]
] }, h.children));
-}), hxe = class e extends K_ {
+}), mxe = class e extends K_ {
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;
@@ -43469,16 +43557,16 @@ var fxe = /*#__PURE__*/ (0, S.createContext)({}), pxe = /*#__PURE__*/ (0, S.crea
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, gxe = /*#__PURE__*/ (0, S.createContext)(null), _P = /*#__PURE__*/ (0, S.createContext)(null), _xe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
- return [e, t] = Tj(e, t, gxe), /*#__PURE__*/ S.createElement(hy, {
- content: /*#__PURE__*/ S.createElement(Sy, e),
- createCollection: () => new hxe()
- }, (n) => /*#__PURE__*/ S.createElement(vxe, {
+}, hxe = /*#__PURE__*/ (0, S.createContext)(null), yP = /*#__PURE__*/ (0, S.createContext)(null), gxe = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {
+ return [e, t] = Dj(e, t, hxe), /*#__PURE__*/ S.createElement(my, {
+ content: /*#__PURE__*/ S.createElement(xy, e),
+ createCollection: () => new mxe()
+ }, (n) => /*#__PURE__*/ S.createElement(_xe, {
props: e,
collection: n,
treeRef: t
}));
-}), vP = {
+}), bP = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -43488,17 +43576,17 @@ var fxe = /*#__PURE__*/ (0, S.createContext)({}), pxe = /*#__PURE__*/ (0, S.crea
rtl: "ArrowRight"
}
};
-function vxe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = Wy(), a = jS({
+function _xe({ props: e, collection: t, treeRef: n }) {
+ let { dragAndDropHooks: r } = e, { direction: i } = Uy(), a = AS({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, S.useRef)(o), l = (0, S.useRef)(s);
(0, S.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, S.useContext)(Fj), [y, b] = ux(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, C] = (0, S.useState)(t), [w, T] = (0, S.useState)(y), [E, D] = (0, S.useState)(() => t.withExpandedKeys(w, y));
- (!Txe(w, y) || t !== x) && (D(t.withExpandedKeys(w, y)), C(t), T(y));
- let O = mN({
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, S.useContext)(Lj), [y, b] = lx(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, C] = (0, S.useState)(t), [w, T] = (0, S.useState)(y), [E, D] = (0, S.useState)(() => t.withExpandedKeys(w, y));
+ (!wxe(w, y) || t !== x) && (D(t.withExpandedKeys(w, y)), C(t), T(y));
+ let O = gN({
...e,
selectionMode: u,
expandedKeys: y,
@@ -43506,7 +43594,7 @@ function vxe({ props: e, collection: t, treeRef: n }) {
collection: E,
children: void 0,
disabledBehavior: m
- }), { gridProps: k } = Rce({
+ }), { gridProps: k } = zce({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -43520,7 +43608,7 @@ function vxe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
P = r.renderDragPreview ? /*#__PURE__*/ S.createElement(e, { ref: F }, r.renderDragPreview) : null;
}
- let [I] = (0, S.useState)(() => new HN());
+ let [I] = (0, S.useState)(() => new WN());
if (s && r) {
j = r.useDroppableCollectionState({
collection: O.collection,
@@ -43528,7 +43616,7 @@ function vxe({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(O.collection, n, { direction: i });
I.setup(e, O, i);
- let t = new Nx({
+ let t = new Mx({
collection: O.collection,
collator: a,
ref: n,
@@ -43550,12 +43638,12 @@ function vxe({ props: e, collection: t, treeRef: n }) {
let t = j?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = O.collection.getItem(t.key);
- (e.key === vP.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === vP.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
+ (e.key === bP.expand[i] && n?.hasChildNodes && !O.expandedKeys.has(t.key) || e.key === bP.collapse[i] && n?.hasChildNodes && O.expandedKeys.has(t.key)) && O.toggleKey(t.key);
}
}
}, j, n), N = j.isDropTarget({ type: "root" });
}
- let ee = !(!o || A?.isDisabled), { focusProps: L, isFocused: te, isFocusVisible: ne } = RS(), re = {
+ let ee = !(!o || A?.isDisabled), { focusProps: L, isFocused: te, isFocusVisible: ne } = LS(), re = {
isEmpty: O.collection.size === 0,
isFocused: te,
isFocusVisible: ne,
@@ -43563,7 +43651,7 @@ function vxe({ props: e, collection: t, treeRef: n }) {
selectionMode: O.selectionManager.selectionMode,
allowsDragging: !!ee,
state: O
- }, ie = Cj({
+ }, ie = Tj({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -43580,8 +43668,8 @@ function vxe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let oe = Qy(e, { global: !0 });
- return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Sb, null, /*#__PURE__*/ S.createElement(kj.div, {
+ let oe = Zy(e, { global: !0 });
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(xb, null, /*#__PURE__*/ S.createElement(jj.div, {
...K(oe, ie, k, L, M?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -43591,54 +43679,54 @@ function vxe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": ne || void 0,
"data-selection-mode": O.selectionManager.selectionMode === "none" ? void 0 : O.selectionManager.selectionMode,
"data-allows-dragging": !!ee || void 0
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [_P, O],
- [LM, {
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [yP, O],
+ [zM, {
dragAndDropHooks: r,
dragState: A,
dropState: j
}],
- [RM, { render: xxe }]
- ] }, s && /*#__PURE__*/ S.createElement(wxe, null), /*#__PURE__*/ S.createElement(HM, null, /*#__PURE__*/ S.createElement(h, {
+ [BM, { render: bxe }]
+ ] }, s && /*#__PURE__*/ S.createElement(Cxe, null), /*#__PURE__*/ S.createElement(WM, null, /*#__PURE__*/ S.createElement(h, {
collection: O.collection,
- persistedKeys: BM(O.selectionManager, r, j),
+ persistedKeys: HM(O.selectionManager, r, j),
scrollRef: n,
- renderDropIndicator: zM(r, j)
+ renderDropIndicator: VM(r, j)
}))), ae)), P);
}
-var yxe = /*#__PURE__*/ vy(class extends U_ {
+var vxe = /*#__PURE__*/ _y(class extends U_ {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, S.useContext)(yP), n = Cj({
+ let t = (0, S.useContext)(xP), n = Tj({
children: e.children,
values: t
});
- return /*#__PURE__*/ S.createElement(Fj.Provider, { value: Nj }, n.children);
-}), yP = /*#__PURE__*/ (0, S.createContext)(null), bxe = /*#__PURE__*/ yy(class extends U_ {
+ return /*#__PURE__*/ S.createElement(Lj.Provider, { value: Fj }, n.children);
+}), xP = /*#__PURE__*/ (0, S.createContext)(null), yxe = /*#__PURE__*/ vy(class extends U_ {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, S.useContext)(_P);
- t = ay(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, S.useContext)(LM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = ble({
+ let r = (0, S.useContext)(yP);
+ t = iy(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, S.useContext)(zM), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = ble({
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: _ } = HS({
+ }, 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: _ } = VS({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = RS(), { isFocusVisible: b, focusProps: x } = RS({ within: !0 }), { checkboxProps: C } = Nse({ key: n.key }, r), w = null;
+ }), { isFocusVisible: v, focusProps: y } = LS(), { isFocusVisible: b, focusProps: x } = LS({ within: !0 }), { checkboxProps: C } = Pse({ key: n.key }, r), w = null;
a && i && (w = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let T = null, E = (0, S.useRef)(null), D = (0, S.useRef)(null), O = (0, S.useRef)(null), { visuallyHiddenProps: k } = yx();
+ let T = null, E = (0, S.useRef)(null), D = (0, S.useRef)(null), O = (0, S.useRef)(null), { visuallyHiddenProps: k } = vx();
o && i && (T = i.useDropIndicator({
target: {
type: "item",
@@ -43677,7 +43765,7 @@ var yxe = /*#__PURE__*/ vy(class extends U_ {
j,
N,
M
- ]), F = Cj({
+ ]), F = Tj({
...e,
id: void 0,
children: n.rendered,
@@ -43704,7 +43792,7 @@ var yxe = /*#__PURE__*/ vy(class extends U_ {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), L = Jv(), te = Qy(e, { global: !0 });
+ }), L = qv(), te = Zy(e, { global: !0 });
return delete te.id, delete te.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, T && !T.isHidden && /*#__PURE__*/ S.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -43727,7 +43815,7 @@ var yxe = /*#__PURE__*/ vy(class extends U_ {
"aria-labelledby": `${L} ${c.id}`,
tabIndex: -1,
ref: O
- }))), /*#__PURE__*/ S.createElement(kj.div, {
+ }))), /*#__PURE__*/ S.createElement(jj.div, {
...K(te, c, y, g, x, w?.dragProps),
...F,
ref: t,
@@ -43747,17 +43835,17 @@ var yxe = /*#__PURE__*/ vy(class extends U_ {
}, /*#__PURE__*/ S.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ S.createElement(Sj, { values: [
- [Kj, { slots: {
- [xj]: {},
+ }, /*#__PURE__*/ S.createElement(wj, { values: [
+ [Jj, { slots: {
+ [Cj]: {},
selection: C
} }],
- [qj, { slots: {
- [xj]: {},
+ [Yj, { slots: {
+ [Cj]: {},
selection: C
} }],
- [zj, { slots: {
- [xj]: {},
+ [Vj, { slots: {
+ [Cj]: {},
chevron: {
...u,
ref: E
@@ -43768,13 +43856,13 @@ var yxe = /*#__PURE__*/ vy(class extends U_ {
style: { pointerEvents: "none" }
}
} }],
- [yP, { ...P }],
- [UM, { isSelected: f.isSelected }]
+ [xP, { ...P }],
+ [GM, { isSelected: f.isSelected }]
] }, ee))));
});
-vy(G_, function(e, t, n) {
- let { isVirtualized: r } = (0, S.useContext)(Fj), i = (0, S.useContext)(_P), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, S.useRef)(null);
- nN((0, S.useMemo)(() => ({
+_y(G_, function(e, t, n) {
+ let { isVirtualized: r } = (0, S.useContext)(Lj), i = (0, S.useContext)(yP), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, S.useRef)(null);
+ iN((0, S.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -43783,11 +43871,11 @@ vy(G_, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = ay(t);
+ ]), l), t = iy(t);
let { rowProps: u, gridCellProps: d } = ble({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = Cj({
+ }, m = Tj({
...c,
id: void 0,
children: n.rendered,
@@ -43800,7 +43888,7 @@ vy(G_, function(e, t, n) {
width: 0,
height: 0
},
- inert: GM(!0)
+ inert: qM(!0)
}, /*#__PURE__*/ S.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -43809,9 +43897,9 @@ vy(G_, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ S.createElement(kj.div, {
+ })), a && m.children && /*#__PURE__*/ S.createElement(jj.div, {
ref: t,
- ...K(Qy(e), p),
+ ...K(Zy(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ S.createElement("div", {
@@ -43819,12 +43907,12 @@ vy(G_, function(e, t, n) {
style: h
}, m.children)));
});
-function xxe(e, t) {
- t = ay(t);
- let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(LM), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function bxe(e, t) {
+ t = iy(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(zM), i = (0, S.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__*/ S.createElement(Cxe, {
+ return /*#__PURE__*/ S.createElement(Sxe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -43833,8 +43921,8 @@ function xxe(e, t) {
level: c
});
}
-function Sxe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = yx(), c = Cj({
+function xxe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = vx(), c = Tj({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -43843,7 +43931,7 @@ function Sxe(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ S.createElement(kj.div, {
+ return /*#__PURE__*/ S.createElement(jj.div, {
...c,
role: "row",
"aria-level": a,
@@ -43856,9 +43944,9 @@ function Sxe(e, t) {
ref: i
}), c.children));
}
-var Cxe = /*#__PURE__*/ (0, S.forwardRef)(Sxe);
-function wxe() {
- let { dragAndDropHooks: e, dropState: t } = (0, S.useContext)(LM), n = (0, S.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = yx();
+var Sxe = /*#__PURE__*/ (0, S.forwardRef)(xxe);
+function Cxe() {
+ let { dragAndDropHooks: e, dropState: t } = (0, S.useContext)(zM), n = (0, S.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = vx();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ S.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -43870,18 +43958,18 @@ function wxe() {
ref: n
})));
}
-function Txe(e, t) {
+function wxe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function bP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsxs)(Rj, {
+function SP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsxs)(Bj, {
"data-label": "true",
...a,
- className: sA("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: cA("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, C.jsx)("span", {
@@ -43889,7 +43977,7 @@ function bP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, C.jsx)(Kge, {
+ n && /* @__PURE__ */ (0, C.jsx)(Gge, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -43898,33 +43986,33 @@ function bP({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function Exe({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, C.jsx)(_ye, {
+function Txe({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, C.jsx)(gye, {
slot: e ? "errorMessage" : "description",
...n,
- className: sA("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: cA("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var xP = (0, S.createContext)({});
-function SP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsx)(xP.Provider, {
+var CP = (0, S.createContext)({});
+function wP({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsx)(CP.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, C.jsx)(mxe, {
+ children: /* @__PURE__ */ (0, C.jsx)(pxe, {
...a,
"data-input-size": e,
- className: sA("group flex h-max w-full flex-col items-start gap-1", r),
+ className: cA("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-SP.displayName = "TextField";
-var CP = cA({
+wP.displayName = "TextField";
+var TP = lA({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -43953,44 +44041,44 @@ var CP = cA({
].join(" "),
icon: "size-5 shrink-0"
});
-function wP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, S.useContext)(xP), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, C.jsx)(Sye, {
+function EP({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, S.useContext)(CP), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, C.jsx)(xye, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => sA(CP.field, d ? CP.fieldWithAddonSize[u] : CP.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 }) => cA(TP.field, d ? TP.fieldWithAddonSize[u] : TP.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, C.jsxs)("div", {
- className: CP.content,
+ className: TP.content,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
- className: CP.leftSection,
+ className: TP.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, C.jsx)(t, {
- className: CP.icon,
+ className: TP.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, C.jsx)(wye, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(Cye, {
ref: o,
...c,
- className: sA(CP.input, l.inputClassName, a)
+ className: cA(TP.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, C.jsx)(n, {
- className: CP.icon,
+ className: TP.icon,
"aria-hidden": !0
}) : null]
})
});
}
-wP.displayName = "InputBase";
-function TP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
- return /* @__PURE__ */ (0, C.jsx)(SP, {
+EP.displayName = "InputBase";
+function DP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {
+ return /* @__PURE__ */ (0, C.jsx)(wP, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- e && /* @__PURE__ */ (0, C.jsx)(bP, {
+ e && /* @__PURE__ */ (0, C.jsx)(SP, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, C.jsx)(wP, {
+ /* @__PURE__ */ (0, C.jsx)(EP, {
ref: c,
groupRef: l,
placeholder: r,
@@ -43999,25 +44087,25 @@ function TP({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, C.jsx)(Exe, {
+ t && /* @__PURE__ */ (0, C.jsx)(Txe, {
isInvalid: d,
children: t
})
] })
});
}
-TP.displayName = "Input";
+DP.displayName = "Input";
//#endregion
//#region src/react/components/modal-frame.tsx
-var Dxe = {
+var Exe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl"
};
-function EP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function OP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = Dae();
- return /* @__PURE__ */ (0, C.jsx)(kN, {
+ return /* @__PURE__ */ (0, C.jsx)(jN, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -44025,11 +44113,11 @@ function EP({ 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, C.jsx)(obe, {
+ children: /* @__PURE__ */ (0, C.jsx)(abe, {
"data-modal-surface": "",
"data-modal-width": n,
- className: `flex max-h-full w-full ${Dxe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, C.jsx)(TN, {
+ className: `flex max-h-full w-full ${Exe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, C.jsx)(DN, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -44037,7 +44125,7 @@ function EP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function DP({ children: e }) {
+function kP({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",
@@ -44046,9 +44134,9 @@ function DP({ children: e }) {
}
//#endregion
//#region src/react/components/sprite-glyph.tsx
-var OP = /* @__PURE__ */ new Map();
-function kP(e) {
- let t = OP.get(e);
+var AP = /* @__PURE__ */ new Map();
+function jP(e) {
+ let t = AP.get(e);
if (t) return t;
let { wide: n, viewBox: r } = It(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
@@ -44064,11 +44152,11 @@ function kP(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
- return i.displayName = `SpriteGlyph(${e})`, OP.set(e, i), i;
+ return i.displayName = `SpriteGlyph(${e})`, AP.set(e, i), i;
}
//#endregion
//#region src/react/components/settings-dialog-close.tsx
-function AP({ label: e, id: t, onPress: n }) {
+function MP({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
id: t,
@@ -44084,58 +44172,58 @@ function AP({ label: e, id: t, onPress: n }) {
}
//#endregion
//#region src/react/library-shortcuts/library-shortcuts.ts
-var jP = ["library-shortcuts"], MP = "/api/library-shortcuts";
-function NP(e = !0) {
+var NP = ["library-shortcuts"], PP = "/api/library-shortcuts";
+function FP(e = !0) {
return pt({
- queryKey: jP,
- queryFn: ({ signal: e }) => H(MP, e),
+ queryKey: NP,
+ queryFn: ({ signal: e }) => H(PP, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function PP() {
+function IP() {
return mt({
- mutationKey: jP,
- mutationFn: (e) => U(MP, e),
+ mutationKey: NP,
+ mutationFn: (e) => U(PP, e),
onSuccess: (e) => {
- W.setQueryData(jP, e);
+ W.setQueryData(NP, e);
}
});
}
-function FP(e, t) {
+function LP(e, t) {
return e.some((e) => t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name);
}
-function Oxe(e) {
+function Dxe(e) {
return Kt(e.kind, e.name, e.entity_id);
}
//#endregion
//#region src/react/library-shortcuts/shortcut-controls.tsx
-var IP = kP("star"), kxe = kP("bookmark-plus"), LP = kP("chevron-right"), RP = {
+var RP = jP("star"), Oxe = jP("bookmark-plus"), zP = jP("chevron-right"), BP = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, zP = {
- all: kP("star"),
- performer: kP("user-round"),
- creator: kP("user-round"),
- studio: kP("clapperboard"),
- series: kP("film"),
- agency: kP("briefcase"),
- tag: kP("tags"),
- filters: kP("list-filter")
-}, BP = [
+}, VP = {
+ all: jP("star"),
+ performer: jP("user-round"),
+ creator: jP("user-round"),
+ studio: jP("clapperboard"),
+ series: jP("film"),
+ agency: jP("briefcase"),
+ tag: jP("tags"),
+ filters: jP("list-filter")
+}, HP = [
["all", "全部"],
- ...Object.entries(RP),
+ ...Object.entries(BP),
["filters", "保存的筛选"]
];
-function VP({ item: e }) {
- return /* @__PURE__ */ (0, C.jsx)(Axe, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
+function UP({ item: e }) {
+ return /* @__PURE__ */ (0, C.jsx)(kxe, { item: e }, `${e.kind}:${e.entity_id}:${e.name}`);
}
-function Axe({ item: e }) {
- let t = NP(!1), n = (0, S.useRef)(t.data), r = PP(), i = t.data && t.data !== n.current ? FP(t.data.favorites || [], e) : e.favorite ?? (t.data ? FP(t.data.favorites || [], e) : !1);
+function kxe({ item: e }) {
+ let t = FP(!1), n = (0, S.useRef)(t.data), r = IP(), i = t.data && t.data !== n.current ? LP(t.data.favorites || [], e) : e.favorite ?? (t.data ? LP(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
@@ -44156,7 +44244,7 @@ function Axe({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Ao("") }
- }) : /* @__PURE__ */ (0, C.jsx)(IP, {})
+ }) : /* @__PURE__ */ (0, C.jsx)(RP, {})
}),
r.isError ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
@@ -44171,37 +44259,37 @@ function Axe({ item: e }) {
]
});
}
-function HP({ currentHref: e, kind: t }) {
+function WP({ currentHref: e, kind: t }) {
let [n, r] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, C.jsx)(mj, {
+ children: /* @__PURE__ */ (0, C.jsx)(gj, {
"data-shortcuts-trigger": "",
label: "我的收藏",
- icon: IP,
+ icon: RP,
"aria-haspopup": "dialog",
"aria-expanded": n,
onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, C.jsx)(EP, {
+ }), /* @__PURE__ */ (0, C.jsx)(OP, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, C.jsx)(jxe, {
+ children: n ? /* @__PURE__ */ (0, C.jsx)(Axe, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function jxe({ currentHref: e, kind: t, close: n }) {
- let r = NP(), i = PP(), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(t || "all"), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = (0, S.useId)(), [m, h] = (0, S.useState)(() => matchMedia("(max-width: 760px)").matches);
+function Axe({ currentHref: e, kind: t, close: n }) {
+ let r = FP(), i = IP(), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(t || "all"), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = (0, S.useId)(), [m, h] = (0, S.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, S.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(s), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = bj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(s), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = Sj(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, S.useLayoutEffect)(() => {
b.current && (x.current = Aa(b.current) || null);
}, []), (0, S.useLayoutEffect)(() => {
@@ -44214,7 +44302,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, S.useLayoutEffect)(() => {
x.current?.();
});
- let T = BP.find(([e]) => e === s)?.[1] || "全部", E = (e) => {
+ let T = HP.find(([e]) => e === s)?.[1] || "全部", E = (e) => {
let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);
if (n < 0) return;
let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;
@@ -44237,7 +44325,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: T
- }), /* @__PURE__ */ (0, C.jsx)(AP, {
+ }), /* @__PURE__ */ (0, C.jsx)(MP, {
label: "关闭我的收藏",
onPress: n
})]
@@ -44267,8 +44355,8 @@ function jxe({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- BP.map(([e, t]) => {
- let n = zP[e] || IP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ HP.map(([e, t]) => {
+ let n = VP[e] || RP, r = e === "filters" ? O?.filters.length || 0 : (O?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
@@ -44300,17 +44388,17 @@ function jxe({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, C.jsx)(IP, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, C.jsx)(RP, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, C.jsx)(LP, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, C.jsx)(zP, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, C.jsxs)("a", {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, C.jsx)(kxe, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, C.jsx)(Oxe, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, C.jsx)(LP, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, C.jsx)(zP, { "aria-hidden": !0 })
]
})]
})]
@@ -44343,9 +44431,9 @@ function jxe({ currentHref: e, kind: t, close: n }) {
children: V(i.error)
}) : null,
O ? s === "filters" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- O.filters.length ? null : /* @__PURE__ */ (0, C.jsx)(mA, {
+ O.filters.length ? null : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: kP("list-filter"),
+ icon: jP("list-filter"),
title: "还没有保存的筛选",
children: "在馆藏页保存当前条件,随时打开。"
}),
@@ -44375,7 +44463,7 @@ function jxe({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "筛选名称",
value: a,
onChange: o,
@@ -44395,16 +44483,16 @@ function jxe({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: kP("search"),
+ leadingIcon: jP("search"),
value: l,
onChange: u
}),
- k.length ? null : /* @__PURE__ */ (0, C.jsx)(mA, {
+ k.length ? null : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: IP,
+ icon: RP,
title: l ? "没有匹配的收藏" : O.favorites.length ? "还没有此类收藏" : "还没有收藏",
children: l ? "试试其他名称。" : "在资料页或标签页收藏常用内容。"
}),
@@ -44414,18 +44502,18 @@ function jxe({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, C.jsxs)("a", {
- href: Oxe(e),
+ href: Dxe(e),
"aria-label": e.name,
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, C.jsx)(Mxe, { item: e }, e.image_url), /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(jxe, { item: e }, e.image_url), /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "truncate",
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: RP[e.kind]
+ children: BP[e.kind]
})]
})]
}), /* @__PURE__ */ (0, C.jsx)(q, {
@@ -44450,8 +44538,8 @@ function jxe({ currentHref: e, kind: t, close: n }) {
]
});
}
-function Mxe({ item: e }) {
- let t = zP[e.kind] || IP;
+function jxe({ item: e }) {
+ let t = VP[e.kind] || RP;
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -44470,12 +44558,12 @@ function Mxe({ item: e }) {
}
//#endregion
//#region src/react/components/board-navigation-link.tsx
-function Nxe(e) {
+function Mxe(e) {
return /* @__PURE__ */ (0, C.jsx)("a", { ...e });
}
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function Pxe(e) {
+function Nxe(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44489,7 +44577,7 @@ function Pxe(e) {
})
});
}
-function Fxe(e) {
+function Pxe(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -44503,7 +44591,7 @@ function Fxe(e) {
})
});
}
-function UP(e) {
+function GP(e) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -44517,54 +44605,54 @@ function UP(e) {
}
//#endregion
//#region src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function Ixe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function Fxe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = S.Children.toArray(e).filter(S.isValidElement);
return /* @__PURE__ */ (0, C.jsx)("nav", {
ref: r,
"aria-label": t,
- className: sA("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
+ className: cA("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, C.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, C.jsx)(Fxe, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, C.jsx)(Pxe, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
})
});
}
-function WP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function KP({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t && /* @__PURE__ */ (0, C.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
}), e] });
if (i) return /* @__PURE__ */ (0, C.jsx)("li", {
"aria-current": "page",
- className: sA("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
+ className: cA("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),
children: o
});
- let s = sA("-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 = cA("-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, C.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, C.jsx)(Nxe, {
+ children: n ? /* @__PURE__ */ (0, C.jsx)(Mxe, {
href: n,
className: s,
children: o
}) : /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: r,
- className: sA("cursor-pointer", s),
+ className: cA("cursor-pointer", s),
children: o
})
});
}
//#endregion
//#region src/react/boardui/components/foundations/direction/direction.tsx
-function GP() {
- return Wy().direction;
+function qP() {
+ return Uy().direction;
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var KP = [
+var JP = [
"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",
@@ -44572,11 +44660,11 @@ var KP = [
"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"
-].join(" "), Lxe = "w-[266px]", Rxe = "flex w-full flex-col gap-1 outline-none", qP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), JP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), Ixe = "w-[266px]", Lxe = "flex w-full flex-col gap-1 outline-none", YP = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), XP = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/base/tree-view/tree-view.tsx
-function zxe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = GP(), l = (0, S.useContext)(Fj), u = l === Nj && !s.dragAndDropHooks ? XP : l;
+function Rxe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+ let c = qP(), l = (0, S.useContext)(Lj), u = l === Fj && !s.dragAndDropHooks ? QP : l;
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -44593,23 +44681,23 @@ function zxe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, C.jsx)(Fj.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(Lj.Provider, {
value: u,
- children: /* @__PURE__ */ (0, C.jsx)(_xe, {
+ children: /* @__PURE__ */ (0, C.jsx)(gxe, {
...s,
ref: o,
selectionMode: n,
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => sA("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 === XP ? "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) => cA("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 === QP ? "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 YP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = GP();
- return /* @__PURE__ */ (0, C.jsxs)(bxe, {
+function ZP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
+ let d = qP();
+ return /* @__PURE__ */ (0, C.jsxs)(yxe, {
...u,
ref: l,
textValue: t,
@@ -44617,11 +44705,11 @@ function YP({ 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) => sA("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, C.jsx)(yxe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? Hge : Mk : Rge);
+ className: (e) => cA("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, C.jsx)(vxe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? Vge : Nk : Lge);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(Vxe, {
+ /* @__PURE__ */ (0, C.jsx)(Bxe, {
state: l,
id: u,
level: c,
@@ -44631,20 +44719,20 @@ function YP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, C.jsx)(Bj, {
+ children: [t ? /* @__PURE__ */ (0, C.jsx)(Hj, {
slot: "chevron",
isDisabled: s,
className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, C.jsx)(Tk, {
+ children: /* @__PURE__ */ (0, C.jsx)(Ek, {
"aria-hidden": !0,
- className: sA("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
+ className: cA("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
- className: sA("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
+ className: cA("h-5 shrink-0", c > 1 ? "w-2" : "w-5")
}), f && /* @__PURE__ */ (0, C.jsx)(f, {
"aria-hidden": !0,
- className: sA("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
+ className: cA("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)
})]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -44659,24 +44747,24 @@ function YP({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var XP = {
- ...Nj,
- CollectionRoot: Bxe
+var QP = {
+ ...Fj,
+ CollectionRoot: zxe
};
-function Bxe({ collection: e, ...t }) {
- let n = (0, S.useContext)(_P);
+function zxe({ collection: e, ...t }) {
+ let n = (0, S.useContext)(yP);
return n ? /* @__PURE__ */ (0, C.jsx)(__, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, C.jsx)(Hxe, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, C.jsx)(Vxe, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, C.jsx)(Nj.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, C.jsx)(Fj.CollectionRoot, {
collection: e,
...t
});
}
-function Vxe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function Bxe({ 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;
@@ -44709,7 +44797,7 @@ function Vxe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
height: "7",
viewBox: `0 0 ${i} 7`,
fill: "none",
- className: sA("absolute start-0", a === "rtl" && "-scale-x-100"),
+ className: cA("absolute start-0", a === "rtl" && "-scale-x-100"),
style: { top: "calc(50% - 6px)" },
children: /* @__PURE__ */ (0, C.jsx)("path", {
d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,
@@ -44735,7 +44823,7 @@ function Vxe({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function Hxe({ state: e, children: t }) {
+function Vxe({ state: e, children: t }) {
let n = m_(), r = B_(), [i, a] = (0, S.useState)(e);
return n && i !== e && a(e), /* @__PURE__ */ (0, C.jsx)(H_.div, {
role: "presentation",
@@ -44776,7 +44864,7 @@ function Hxe({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, C.jsx)(_P.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(yP.Provider, {
value: n ? e : i,
children: t
})
@@ -44784,7 +44872,7 @@ function Hxe({ state: e, children: t }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var ZP = {
+var $P = {
md: {
box: "size-4",
glyph: "size-4",
@@ -44798,11 +44886,11 @@ var ZP = {
gap: "gap-1.5"
}
};
-function QP({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = ZP[t], c = n || r, l = o && !a;
+function eF({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = $P[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
- className: sA("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? sA("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : sA("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: cA("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? cA("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : cA("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, C.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44826,24 +44914,24 @@ function QP({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function $P({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = ZP[n];
- return /* @__PURE__ */ (0, C.jsx)(bye, {
+function tF({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = $P[n];
+ return /* @__PURE__ */ (0, C.jsx)(yye, {
ref: r,
...i,
- className: (t) => sA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(QP, {
+ className: (t) => cA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(eF, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, C.jsx)("span", {
- className: sA(a.label, "text-text-primary"),
+ className: cA(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function eF() {
+function nF() {
let e = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
Aa(e.current);
@@ -44851,17 +44939,17 @@ function eF() {
}
//#endregion
//#region src/react/providers.tsx
-var tF = null;
-function Uxe() {
- return tF?.isConnected || (tF = document.createElement("div"), tF.className = "peach-react", tF.dataset.reactOverlays = "", document.body.append(tF)), tF;
+var rF = null;
+function Hxe() {
+ return rF?.isConnected || (rF = document.createElement("div"), rF.className = "peach-react", rF.dataset.reactOverlays = "", document.body.append(rF)), rF;
}
-function nF({ children: e }) {
+function iF({ children: e }) {
return /* @__PURE__ */ (0, C.jsx)(E, {
client: W,
children: /* @__PURE__ */ (0, C.jsx)(Dne, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, C.jsx)(NS, {
- getContainer: Uxe,
+ children: /* @__PURE__ */ (0, C.jsx)(MS, {
+ getContainer: Hxe,
children: e
})
})
@@ -44869,26 +44957,26 @@ function nF({ children: e }) {
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function Wxe(e) {
+function Uxe(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 Gxe = (e) => {
+var Wxe = (e) => {
switch (e) {
- case "success": return Jxe;
- case "info": return Xxe;
- case "warning": return Yxe;
- case "error": return Zxe;
+ case "success": return qxe;
+ case "info": return Yxe;
+ case "warning": return Jxe;
+ case "error": return Xxe;
default: return null;
}
-}, Kxe = Array(12).fill(0), qxe = ({ visible: e, className: t }) => /*#__PURE__*/ S.createElement("div", {
+}, Gxe = Array(12).fill(0), Kxe = ({ visible: e, className: t }) => /*#__PURE__*/ S.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ S.createElement("div", { className: "sonner-spinner" }, Kxe.map((e, t) => /*#__PURE__*/ S.createElement("div", {
+}, /*#__PURE__*/ S.createElement("div", { className: "sonner-spinner" }, Gxe.map((e, t) => /*#__PURE__*/ S.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), Jxe = /*#__PURE__*/ S.createElement("svg", {
+})))), qxe = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44899,7 +44987,7 @@ var Gxe = (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"
-})), Yxe = /*#__PURE__*/ S.createElement("svg", {
+})), Jxe = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -44910,7 +44998,7 @@ var Gxe = (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"
-})), Xxe = /*#__PURE__*/ S.createElement("svg", {
+})), Yxe = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44921,7 +45009,7 @@ var Gxe = (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"
-})), Zxe = /*#__PURE__*/ S.createElement("svg", {
+})), Xxe = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44932,7 +45020,7 @@ var Gxe = (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"
-})), Qxe = /*#__PURE__*/ S.createElement("svg", {
+})), Zxe = /*#__PURE__*/ S.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -44953,7 +45041,7 @@ var Gxe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), $xe = () => {
+})), Qxe = () => {
let [e, t] = S.useState(document.hidden);
return S.useEffect(() => {
let e = () => {
@@ -44961,7 +45049,7 @@ var Gxe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, eSe = 1, tSe = 100, rF = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : eSe++, iF = new class {
+}, $xe = 1, eSe = 100, aF = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : $xe++, oF = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -44971,10 +45059,10 @@ var Gxe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - tSe;
+ let e = this.toasts.length - eSe;
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 = rF(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = aF(e), i = this.pendingDismissals.get(r);
i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));
let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;
return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({
@@ -45049,7 +45137,7 @@ var Gxe = (e) => {
type: "default",
message: e
});
- else if (rSe(e) && !e.ok) {
+ else if (nSe(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" && !S.isValidElement(r) ? r : { message: r };
this.create({
@@ -45093,7 +45181,7 @@ var Gxe = (e) => {
}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));
return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });
}, this.custom = (e, t) => {
- let n = rF(t);
+ let n = aF(t);
return this.create({
...t,
jsx: e(n),
@@ -45102,34 +45190,34 @@ var Gxe = (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();
}
-}(), nSe = (e, t) => iF.message(e, t), rSe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", aF = Object.assign(nSe, {
- success: iF.success,
- info: iF.info,
- warning: iF.warning,
- error: iF.error,
- custom: iF.custom,
- message: iF.message,
- promise: iF.promise,
- dismiss: iF.dismiss,
- loading: iF.loading
+}(), tSe = (e, t) => oF.message(e, t), nSe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", sF = Object.assign(tSe, {
+ success: oF.success,
+ info: oF.info,
+ warning: oF.warning,
+ error: oF.error,
+ custom: oF.custom,
+ message: oF.message,
+ promise: oF.promise,
+ dismiss: oF.dismiss,
+ loading: oF.loading
}, {
- getHistory: () => iF.toasts,
- getToasts: () => iF.getActiveToasts()
+ getHistory: () => oF.toasts,
+ getToasts: () => oF.getActiveToasts()
});
-Wxe("[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 oF(e) {
+Uxe("[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 cF(e) {
return e.label !== void 0;
}
-var iSe = 3, aSe = "24px", oSe = "16px", sF = 4e3, sSe = 356, cSe = 14, lSe = 45, uSe = 200;
-function cF(...e) {
+var rSe = 3, iSe = "24px", aSe = "16px", lF = 4e3, oSe = 356, sSe = 14, cSe = 45, lSe = 200;
+function uF(...e) {
return e.filter(Boolean).join(" ");
}
-function dSe(e) {
+function uSe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var fSe = (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: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = S.useState(null), [k, A] = S.useState(null), [j, M] = S.useState(!1), [N, P] = S.useState(!1), [F, I] = S.useState(!1), [ee, L] = S.useState(!1), [te, ne] = S.useState(!1), [re, ie] = S.useState(0), [ae, oe] = S.useState(0), se = S.useRef(n.duration || y || sF), ce = S.useRef(null), le = S.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = S.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = S.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = S.useMemo(() => n.duration || y || sF, [n.duration, y]), be = S.useRef(0), xe = S.useRef(0), Se = S.useRef(0), Ce = S.useRef(null), [we, Te] = b.split("-"), Ee = S.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = $xe(), Oe = S.useMemo(() => e.swipeDirections ?? dSe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
+var dSe = (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: C, classNames: w, icons: T, closeButtonAriaLabel: E = "Close toast" } = e, [D, O] = S.useState(null), [k, A] = S.useState(null), [j, M] = S.useState(!1), [N, P] = S.useState(!1), [F, I] = S.useState(!1), [ee, L] = S.useState(!1), [te, ne] = S.useState(!1), [re, ie] = S.useState(0), [ae, oe] = S.useState(0), se = S.useRef(n.duration || y || lF), ce = S.useRef(null), le = S.useRef(null), ue = c === 0, de = c + 1 <= o, fe = n.type, pe = fe ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = S.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = S.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = S.useMemo(() => n.duration || y || lF, [n.duration, y]), be = S.useRef(0), xe = S.useRef(0), Se = S.useRef(0), Ce = S.useRef(null), [we, Te] = b.split("-"), Ee = S.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), De = Qxe(), Oe = S.useMemo(() => e.swipeDirections ?? uSe(b), [e.swipeDirections, b]), ke = n.invert || t, Ae = fe === "loading";
xe.current = S.useMemo(() => _e * x + Ee, [_e, Ee]), S.useEffect(() => {
se.current = ye;
}, [ye]), S.useEffect(() => {
@@ -45170,7 +45258,7 @@ var fSe = (e) => {
let je = S.useCallback(() => {
P(!0), ie(xe.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, uSe);
+ }, lSe);
}, [
n,
d,
@@ -45201,18 +45289,18 @@ var fSe = (e) => {
}, [je, n.delete]);
function Me() {
return T?.loading ? /*#__PURE__*/ S.createElement("div", {
- className: cF(w?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: uF(w?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": fe === "loading"
- }, T.loading) : /*#__PURE__*/ S.createElement(qxe, {
- className: cF(w?.loader, n?.classNames?.loader),
+ }, T.loading) : /*#__PURE__*/ S.createElement(Kxe, {
+ className: uF(w?.loader, n?.classNames?.loader),
visible: fe === "loading"
});
}
- let Ne = n.icon || T?.[fe] || Gxe(fe);
+ let Ne = n.icon || T?.[fe] || Wxe(fe);
return /*#__PURE__*/ S.createElement("li", {
tabIndex: 0,
ref: le,
- className: cF(_, he, w?.toast, n?.classNames?.toast, w?.[pe], n?.classNames?.[pe]),
+ className: uF(_, he, w?.toast, n?.classNames?.toast, w?.[pe], n?.classNames?.[pe]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -45255,7 +45343,7 @@ var fSe = (e) => {
if (ee || !me) return;
Ce.current = null;
let e = Number(le.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(le.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ce.current?.getTime(), i = D === "x" ? e : t, a = Math.abs(i) / r;
- if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= lSe || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);
+ if ((D === "x" ? Oe.includes(e > 0 ? "right" : "left") : Oe.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= cSe || a > .11)) ie(xe.current), n.onDismiss == null || n.onDismiss.call(n, n), A(D === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), je(), L(!0);
else {
var o, s;
(o = le.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = le.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), ne(!1), I(!1), O(null);
@@ -45294,46 +45382,46 @@ var fSe = (e) => {
onClick: Ae || !me ? () => {} : () => {
je(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: cF(w?.closeButton, n?.classNames?.closeButton)
- }, T?.close ?? Qxe) : null, (fe || n.icon || n.promise) && n.icon !== null && (T?.[fe] !== null || n.icon) ? /*#__PURE__*/ S.createElement("div", {
+ className: uF(w?.closeButton, n?.classNames?.closeButton)
+ }, T?.close ?? Zxe) : null, (fe || n.icon || n.promise) && n.icon !== null && (T?.[fe] !== null || n.icon) ? /*#__PURE__*/ S.createElement("div", {
"data-icon": "",
- className: cF(w?.icon, n?.classNames?.icon)
+ className: uF(w?.icon, n?.classNames?.icon)
}, fe === "loading" ? n.icon || Me() : n.promise ? Me() : null, fe === "loading" ? null : Ne) : null, /*#__PURE__*/ S.createElement("div", {
"data-content": "",
- className: cF(w?.content, n?.classNames?.content)
+ className: uF(w?.content, n?.classNames?.content)
}, /*#__PURE__*/ S.createElement("div", {
"data-title": "",
- className: cF(w?.title, n?.classNames?.title)
+ className: uF(w?.title, n?.classNames?.title)
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ S.createElement("div", {
"data-description": "",
- className: cF(v, ge, w?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ S.isValidElement(n.cancel) ? n.cancel : n.cancel && oF(n.cancel) ? /*#__PURE__*/ S.createElement("button", {
+ className: uF(v, ge, w?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ S.isValidElement(n.cancel) ? n.cancel : n.cancel && cF(n.cancel) ? /*#__PURE__*/ S.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- oF(n.cancel) && me && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());
+ cF(n.cancel) && me && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), je());
},
- className: cF(w?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ S.isValidElement(n.action) ? n.action : n.action && oF(n.action) ? /*#__PURE__*/ S.createElement("button", {
+ className: uF(w?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ S.isValidElement(n.action) ? n.action : n.action && cF(n.action) ? /*#__PURE__*/ S.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- oF(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());
+ cF(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && je());
},
- className: cF(w?.actionButton, n?.classNames?.actionButton)
+ className: uF(w?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function lF() {
+function dF() {
if (typeof window > "u" || typeof document > "u") return "ltr";
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function pSe(e, t) {
+function fSe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? oSe : aSe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? aSe : iSe;
function o(e) {
[
"top",
@@ -45354,11 +45442,11 @@ function pSe(e, t) {
}) : o(a);
}), n;
}
-var uF = /*#__PURE__*/ S.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 = iSe, toastOptions: g, dir: _ = lF(), gap: v = cSe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = S.useState([]), T = S.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = S.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = S.useState([]), [k, A] = S.useState(!1), [j, M] = S.useState(!1), [N, P] = S.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = S.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = S.useRef(null), L = S.useRef(!1), te = S.useCallback((e) => {
- w((t) => (t.find((t) => t.id === e.id)?.delete || iF.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var fF = /*#__PURE__*/ S.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 = rSe, toastOptions: g, dir: _ = dF(), gap: v = sSe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [C, w] = S.useState([]), T = S.useMemo(() => n ? C.filter((e) => e.toasterId === n) : C.filter((e) => !e.toasterId), [C, n]), E = S.useMemo(() => Array.from(new Set([i].concat(T.filter((e) => e.position).map((e) => e.position)))), [T, i]), [D, O] = S.useState([]), [k, A] = S.useState(!1), [j, M] = S.useState(!1), [N, P] = S.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), F = S.useRef(null), I = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), ee = S.useRef(null), L = S.useRef(!1), te = S.useCallback((e) => {
+ w((t) => (t.find((t) => t.id === e.id)?.delete || oF.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return S.useEffect(() => iF.subscribe((e) => {
+ return S.useEffect(() => oF.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
w((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -45427,7 +45515,7 @@ var uF = /*#__PURE__*/ S.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return T.length ? /*#__PURE__*/ S.createElement("ol", {
key: t,
- dir: _ === "auto" ? lF() : _,
+ dir: _ === "auto" ? dF() : _,
tabIndex: -1,
ref: F,
className: c,
@@ -45437,10 +45525,10 @@ var uF = /*#__PURE__*/ S.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${D[0]?.height || 0}px`,
- "--width": `${sSe}px`,
+ "--width": `${oSe}px`,
"--gap": `${v}px`,
...m,
- ...pSe(l, u)
+ ...fSe(l, u)
},
onBlur: (e) => {
L.current && !e.currentTarget.contains(e.relatedTarget) && (L.current = !1, ee.current &&= (ee.current.focus({ preventScroll: !0 }), null));
@@ -45458,7 +45546,7 @@ var uF = /*#__PURE__*/ S.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || M(!0);
},
onPointerUp: () => M(!1)
- }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ S.createElement(fSe, {
+ }, T.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ S.createElement(dSe, {
key: n.id,
icons: y,
index: i,
@@ -45488,13 +45576,13 @@ var uF = /*#__PURE__*/ S.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), dF = "/api/library-processing", fF = ["library-processing"], pF = (e) => !!e && [
+}), pF = "/api/library-processing", mF = ["library-processing"], hF = (e) => !!e && [
"running",
"pausing",
"paused"
].includes(e.status);
-function mF(e) {
- if (!pF(e)) return "";
+function gF(e) {
+ if (!hF(e)) return "";
if (e.status === "paused") return "已暂停,继续后更新预估";
if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";
if (e.stalled) return "等待当前文件响应,剩余时间待更新";
@@ -45504,18 +45592,18 @@ function mF(e) {
let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);
return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;
}
-var hF = (e) => H(dF, e);
-async function gF(e) {
+var _F = (e) => H(pF, e);
+async function vF(e) {
await W.fetchQuery({
- queryKey: fF,
- queryFn: () => hF(e)
+ queryKey: mF,
+ queryFn: () => _F(e)
});
}
-var mSe = 2e3, hSe = 1e4, _F = "连接中断,正在重新读取处理进度";
-function vF(e, t) {
- return pF(e) ? mSe : t ? hSe : !1;
+var pSe = 2e3, mSe = 1e4, yF = "连接中断,正在重新读取处理进度";
+function bF(e, t) {
+ return hF(e) ? pSe : t ? mSe : !1;
}
-var gSe = {
+var hSe = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -45523,25 +45611,25 @@ var gSe = {
fetching_cover: "采集缺失封面",
generating_preview: "生成视频预览",
writing_candidates: "保存待确认资料"
-}, yF = {
+}, xF = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function _Se(e) {
- let t = Object.entries(e).filter(([e, t]) => yF[e] && t > 0).map(([e, t]) => `${yF[e]} ${t.toLocaleString()} 部`);
+function gSe(e) {
+ let t = Object.entries(e).filter(([e, t]) => xF[e] && t > 0).map(([e, t]) => `${xF[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function vSe(e) {
+function _Se(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = gSe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${GA(e.waited_seconds)}` : "";
+ let t = hSe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${KA(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function ySe(e) {
- let t = e.total ? `${KA(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return vSe(e) + (t ? ` · ${t}` : "");
+function vSe(e) {
+ let t = e.total ? `${qA(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ return _Se(e) + (t ? ` · ${t}` : "");
}
-function bSe(e) {
+function ySe(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45555,23 +45643,23 @@ function bSe(e) {
log: e.issues_log || ""
} : null;
}
-var bF = "peach.library-processing.announced", xSe = 120;
-function xF(e) {
+var SF = "peach.library-processing.announced", bSe = 120;
+function CF(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < xSe;
+ return !!e.job_id && t >= 0 && t < bSe;
}
-function SSe(e, t, n) {
- if (e.status === "complete" && (n || xF(e))) {
+function xSe(e, t, n) {
+ if (e.status === "complete" && (n || CF(e))) {
try {
- if (e.job_id && localStorage.getItem(bF) === e.job_id) return;
- e.job_id && localStorage.setItem(bF, e.job_id);
+ if (e.job_id && localStorage.getItem(SF) === e.job_id) return;
+ e.job_id && localStorage.setItem(SF, e.job_id);
} catch {}
e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));
}
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var CSe = {
+var SSe = {
selection: {
type: Hd,
duration: .16,
@@ -45583,7 +45671,7 @@ var CSe = {
bounce: 0
}
};
-function SF(e) {
+function wF(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!t) return;
@@ -45604,7 +45692,7 @@ function SF(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 = Oie(n, { transform: [r, E] }, CSe[e]);
+ l = Oie(n, { transform: [r, E] }, SSe[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45641,25 +45729,25 @@ function SF(e) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function CF(e) {
- let t = SF("hover");
- return /* @__PURE__ */ (0, C.jsx)(TN, {
+function TF(e) {
+ let t = wF("hover");
+ return /* @__PURE__ */ (0, C.jsx)(DN, {
...e,
ref: t
});
}
//#endregion
//#region src/react/library-processing/processing-effort.tsx
-var wF = [
+var EF = [
"low",
"standard",
"high"
-], TF = [
+], DF = [
"低占用",
"标准",
"全速"
-], EF = kP("snail"), DF = kP("zap");
-function OF({ className: e }) {
+], OF = jP("snail"), kF = jP("zap");
+function AF({ className: e }) {
return /* @__PURE__ */ (0, C.jsxs)("svg", {
className: `processing-effort-double ${e ?? ""}`,
"aria-hidden": "true",
@@ -45679,12 +45767,12 @@ function OF({ className: e }) {
})]
});
}
-var wSe = [
- EF,
- DF,
- OF
+var CSe = [
+ OF,
+ kF,
+ AF
];
-function TSe({ animate: e }) {
+function wSe({ animate: e }) {
let [t, n] = (0, S.useState)(document.hidden);
return (0, S.useEffect)(() => {
let e = () => n(document.hidden);
@@ -45716,8 +45804,8 @@ function TSe({ animate: e }) {
} }, t))]
});
}
-function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), s = Math.max(0, wF.indexOf(e)), [c, l] = (0, S.useState)(s);
+function TSe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), s = Math.max(0, EF.indexOf(e)), [c, l] = (0, S.useState)(s);
return (0, S.useEffect)(() => {
t || l(s);
}, [s, t]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
@@ -45727,25 +45815,25 @@ function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
ref: i,
size: "small",
variant: "secondary",
- "aria-label": `处理速度:${TF[s]}`,
+ "aria-label": `处理速度:${DF[s]}`,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: wSe[s],
- trailingIcon: Ck,
+ leadingIcon: CSe[s],
+ trailingIcon: wk,
onClick: () => {
t || o(!a);
},
- children: TF[s]
+ children: DF[s]
})
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "top start",
offset: 8,
- className: KP,
- children: /* @__PURE__ */ (0, C.jsxs)(CF, {
+ className: JP,
+ children: /* @__PURE__ */ (0, C.jsxs)(TF, {
"aria-label": "处理速度",
className: "processing-effort-panel flex flex-col gap-3 p-2 outline-none",
children: [
@@ -45754,7 +45842,7 @@ function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "text-text-tertiary",
children: "处理强度 "
- }), TF[c]]
+ }), DF[c]]
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "processing-effort-scale text-caption-1-regular text-text-tertiary",
@@ -45762,19 +45850,19 @@ function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-selected": c === 0 || void 0,
- children: [/* @__PURE__ */ (0, C.jsx)(EF, {}), "最慢"]
+ children: [/* @__PURE__ */ (0, C.jsx)(OF, {}), "最慢"]
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-selected": c === 1 || void 0,
- children: [/* @__PURE__ */ (0, C.jsx)(DF, {}), "标准"]
+ children: [/* @__PURE__ */ (0, C.jsx)(kF, {}), "标准"]
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-selected": c === 2 || void 0,
- children: [/* @__PURE__ */ (0, C.jsx)(OF, {}), "最快"]
+ children: [/* @__PURE__ */ (0, C.jsx)(AF, {}), "最快"]
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(jye, {
+ /* @__PURE__ */ (0, C.jsxs)(Aye, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45783,10 +45871,10 @@ function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
isDisabled: t,
onChange: l,
onChangeEnd: (e) => {
- e !== s && n(wF[e]);
+ e !== s && n(EF[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, C.jsx)(Rj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Bj, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -45806,11 +45894,11 @@ function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, C.jsx)("i", {})
]
}),
- c === 2 ? /* @__PURE__ */ (0, C.jsx)(TSe, { animate: r }) : null,
- /* @__PURE__ */ (0, C.jsx)(Mye, {
+ c === 2 ? /* @__PURE__ */ (0, C.jsx)(wSe, { animate: r }) : null,
+ /* @__PURE__ */ (0, C.jsx)(jye, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, C.jsx)(Nye, {
- "aria-label": TF[c],
+ children: /* @__PURE__ */ (0, C.jsx)(Mye, {
+ "aria-label": DF[c],
className: "processing-effort-thumb"
})
})
@@ -45827,10 +45915,10 @@ function ESe({ value: e, busy: t, onChange: n, animate: r = !0 }) {
}
//#endregion
//#region src/react/library-processing/processing-controls.tsx
-function kF({ state: e, disabled: t = !1 }) {
- let n = yA(), r = pF(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {
- t || n.busy || n.run(e.action, (t) => U(dF, e, "POST", t), (e) => {
- W.setQueryData(fF, e), W.invalidateQueries({ queryKey: fF });
+function jF({ state: e, disabled: t = !1 }) {
+ let n = bA(), r = hF(e), i = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", a = (e) => {
+ t || n.busy || n.run(e.action, (t) => U(pF, e, "POST", t), (e) => {
+ W.setQueryData(mF, e), W.invalidateQueries({ queryKey: mF });
});
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -45838,7 +45926,7 @@ function kF({ state: e, disabled: t = !1 }) {
"data-processing-controls": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(ESe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(TSe, {
value: e.speed_mode || "standard",
busy: t || !!n.busy,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -45851,7 +45939,7 @@ function kF({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: e.status === "paused" ? Fk : Qge,
+ leadingIcon: e.status === "paused" ? Ik : Zge,
"aria-label": i,
title: i,
disabled: t || !e.job_id || e.status === "pausing",
@@ -45872,11 +45960,11 @@ function kF({ state: e, disabled: t = !1 }) {
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function AF({ toast: e, mode: t, monitor: n }) {
+function MF({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = pt({
- queryKey: fF,
- queryFn: ({ signal: e }) => hF(e),
- refetchInterval: (e) => vF(e.state.data, r)
+ queryKey: mF,
+ queryFn: ({ signal: e }) => _F(e),
+ refetchInterval: (e) => bF(e.state.data, r)
}), [a, o] = (0, S.useState)(null), s = (0, S.useRef)(void 0), c = i.data;
return (0, S.useEffect)(() => {
if (!c) return;
@@ -45886,8 +45974,8 @@ function AF({ toast: e, mode: t, monitor: n }) {
"running",
"pausing",
"paused"
- ].includes(n) && !pF(c);
- r && o(c), (r || t === "notice") && SSe(c, e, r);
+ ].includes(n) && !hF(c);
+ r && o(c), (r || t === "notice") && xSe(c, e, r);
}, [
c,
t,
@@ -45900,27 +45988,27 @@ function AF({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function jF({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function NF({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : pA({
+ className: r ? "flex flex-col gap-1.5" : mA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(vA, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(yA, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, C.jsx)(hA, { label: e })
+ })] }) : /* @__PURE__ */ (0, C.jsx)(gA, { label: e })
});
}
//#endregion
//#region src/react/library-processing/processing-line.tsx
-function MF(e) {
+function PF(e) {
let [t, n] = (0, S.useState)({
snapshot: e,
seconds: 0
@@ -45936,17 +46024,17 @@ function MF(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return ySe(a ? {
+ return vSe(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function DSe({ state: e }) {
- return MF(e);
+function ESe({ state: e }) {
+ return PF(e);
}
-function OSe({ state: e }) {
- let t = MF(e);
- return /* @__PURE__ */ (0, C.jsx)(jF, {
+function DSe({ state: e }) {
+ let t = PF(e);
+ return /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -45955,15 +46043,15 @@ function OSe({ state: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var NF = "peach.library-processing.collapsed";
-function PF(e) {
+var FF = "peach.library-processing.collapsed";
+function IF(e) {
try {
- return !e || sessionStorage.getItem(NF) !== e;
+ return !e || sessionStorage.getItem(FF) !== e;
} catch {
return !0;
}
}
-function kSe({ value: e, max: t }) {
+function OSe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, C.jsxs)("svg", {
role: "progressbar",
@@ -45993,14 +46081,14 @@ function kSe({ value: e, max: t }) {
})]
});
}
-function FF({ state: e, problem: t = "", measure: n = !1 }) {
- let [r, i] = (0, S.useState)(() => PF(e?.job_id)), a = (0, S.useRef)(null), o = e?.status === "failed", s = pF(e);
+function LF({ state: e, problem: t = "", measure: n = !1 }) {
+ let [r, i] = (0, S.useState)(() => IF(e?.job_id)), a = (0, S.useRef)(null), o = e?.status === "failed", s = hF(e);
(0, S.useEffect)(() => {
- i(PF(e?.job_id));
+ i(IF(e?.job_id));
}, [e?.job_id]);
let c = () => {
try {
- r && e?.job_id ? sessionStorage.setItem(NF, e.job_id) : sessionStorage.removeItem(NF);
+ r && e?.job_id ? sessionStorage.setItem(FF, e.job_id) : sessionStorage.removeItem(FF);
} catch {}
i(!r);
};
@@ -46022,18 +46110,18 @@ function FF({ state: e, problem: t = "", measure: n = !1 }) {
"data-processing-tone": o ? "error" : l ? "warning" : "neutral",
"aria-label": "扫描任务",
role: o ? "alert" : "status",
- className: sA("flex min-w-0 flex-col gap-3 border bg-background-primary-default p-4", o ? "border-current/35 text-text-error-primary" : l ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
+ className: cA("flex min-w-0 flex-col gap-3 border bg-background-primary-default p-4", o ? "border-current/35 text-text-error-primary" : l ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- s && e?.total ? /* @__PURE__ */ (0, C.jsx)(kSe, {
+ s && e?.total ? /* @__PURE__ */ (0, C.jsx)(OSe, {
value: e.checked || 0,
max: e.total
- }) : o || l ? /* @__PURE__ */ (0, C.jsx)(Fge, {
+ }) : o || l ? /* @__PURE__ */ (0, C.jsx)(Pge, {
"aria-hidden": !0,
className: "size-5 shrink-0"
- }) : /* @__PURE__ */ (0, C.jsx)(qge, {
+ }) : /* @__PURE__ */ (0, C.jsx)(Kge, {
"aria-hidden": !0,
className: "size-5 shrink-0"
}),
@@ -46045,14 +46133,14 @@ function FF({ state: e, problem: t = "", measure: n = !1 }) {
}), s ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-processing-eta": "",
className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",
- children: mF(e)
+ children: gF(e)
}) : null]
}),
/* @__PURE__ */ (0, C.jsx)(q, {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: r ? Ck : Ek,
+ leadingIcon: r ? wk : Dk,
"aria-label": r ? "收起任务详情" : "展开任务详情",
"aria-expanded": r,
onClick: c
@@ -46060,7 +46148,7 @@ function FF({ state: e, problem: t = "", measure: n = !1 }) {
]
}),
r ? /* @__PURE__ */ (0, C.jsxs)("div", {
- className: sA("flex min-w-0 flex-col gap-2 border-t pt-3", o ? "border-border-error-default/20" : l ? "border-current/20" : "border-separator-border"),
+ className: cA("flex min-w-0 flex-col gap-2 border-t pt-3", o ? "border-border-error-default/20" : l ? "border-current/20" : "border-separator-border"),
children: [
e?.steps?.length ? /* @__PURE__ */ (0, C.jsx)("ol", {
"aria-label": "处理步骤",
@@ -46068,16 +46156,16 @@ function FF({ state: e, problem: t = "", measure: n = !1 }) {
children: e.steps.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
"data-processing-step": e.status,
"aria-current": e.status === "current" ? "step" : void 0,
- className: sA("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),
+ className: cA("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, C.jsx)(Age, {
+ e.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(kge, {
"aria-hidden": !0,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, C.jsx)(Mge, {
+ }) : /* @__PURE__ */ (0, C.jsx)(jge, {
"aria-hidden": !0,
- className: sA("size-4 shrink-0", e.status === "current" && "text-border-focus-ring")
+ className: cA("size-4 shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, C.jsx)(bx, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, C.jsx)(yx, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, C.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46090,7 +46178,7 @@ function FF({ state: e, problem: t = "", measure: n = !1 }) {
}) : null,
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (o ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, C.jsx)(DSe, { state: e }))
+ children: t || (o ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, C.jsx)(ESe, { state: e }))
}),
s && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, C.jsxs)("p", {
className: "text-caption-1-regular text-text-tertiary",
@@ -46104,46 +46192,46 @@ function FF({ state: e, problem: t = "", measure: n = !1 }) {
}) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
- children: [s ? /* @__PURE__ */ (0, C.jsx)(kF, {
+ children: [s ? /* @__PURE__ */ (0, C.jsx)(jF, {
state: e,
disabled: !!t
- }) : null, /* @__PURE__ */ (0, C.jsx)(wA, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(TA, {
href: "/data-cleanup#libraryProcessing",
variant: "secondary",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Tk,
children: t || o ? "查看并处理" : "任务详情"
})]
})
]
});
}
-function ASe(e) {
- let { job: t } = AF(e);
- return /* @__PURE__ */ (0, C.jsx)(FF, {
+function kSe(e) {
+ let { job: t } = MF(e);
+ return /* @__PURE__ */ (0, C.jsx)(LF, {
state: t.data,
- problem: t.isError ? t.data ? _F : V(t.error) : ""
+ problem: t.isError ? t.data ? yF : V(t.error) : ""
});
}
//#endregion
//#region src/react/library-processing/library-processing-dock.tsx
-var IF = "peach-library-processing";
-function jSe({ toast: e }) {
- let { job: t, settled: n } = AF({
+var RF = "peach-library-processing";
+function ASe({ toast: e }) {
+ let { job: t, settled: n } = MF({
toast: e,
mode: "notice"
- }), r = (0, S.useRef)(""), i = t.data, a = t.isError ? i ? _F : V(t.error) : "";
+ }), r = (0, S.useRef)(""), i = t.data, a = t.isError ? i ? yF : V(t.error) : "";
return (0, S.useEffect)(() => {
- let e = pF(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || xF(i));
- !e && (!a && !o || r.current === t) ? aF.dismiss(IF) : aF.custom(() => /* @__PURE__ */ (0, C.jsx)("div", {
+ let e = hF(i), t = i?.job_id || "unavailable", o = i?.status === "failed" && (n?.job_id === i.job_id || CF(i));
+ !e && (!a && !o || r.current === t) ? sF.dismiss(RF) : sF.custom(() => /* @__PURE__ */ (0, C.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, C.jsx)(FF, {
+ children: /* @__PURE__ */ (0, C.jsx)(LF, {
state: i,
problem: a,
measure: !0
})
}), {
- id: IF,
+ id: RF,
toasterId: "processing",
duration: Infinity,
dismissible: !e,
@@ -46158,13 +46246,13 @@ function jSe({ toast: e }) {
a,
n
]), (0, S.useEffect)(() => () => {
- aF.dismiss(IF);
+ sF.dismiss(RF);
}, []), null;
}
//#endregion
//#region src/react/router/pages/settings.tsx
-function MSe() {
- let e = (0, S.useContext)(VF), { pathname: t } = jO();
+function jSe() {
+ let e = (0, S.useContext)(UF), { pathname: t } = jO();
return (0, S.useEffect)(() => {
e?.openSettings?.(nge(t));
}, [e, t]), (0, S.useEffect)(() => () => {
@@ -46175,9 +46263,9 @@ function MSe() {
}
//#endregion
//#region src/react/router/pages/overlay.tsx
-var LF = () => il, NSe = () => al;
-function PSe() {
- let e = (0, S.useContext)(VF), t = (0, S.useSyncExternalStore)(hl, NSe), n = (0, S.useSyncExternalStore)(hl, LF);
+var zF = () => il, MSe = () => al;
+function NSe() {
+ let e = (0, S.useContext)(UF), t = (0, S.useSyncExternalStore)(hl, MSe), n = (0, S.useSyncExternalStore)(hl, zF);
return (0, S.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -46192,8 +46280,8 @@ function PSe() {
e
]), null;
}
-function RF(e, t = !1) {
- let n = (0, S.useSyncExternalStore)(hl, LF), r = (0, S.useRef)(void 0);
+function BF(e, t = !1) {
+ let n = (0, S.useSyncExternalStore)(hl, zF), r = (0, S.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = _k.navigation;
r.current = il === 0 || yk() ? "boot" : e && !t ? null : "history";
@@ -46212,11 +46300,11 @@ function RF(e, t = !1) {
}));
}, [n]);
}
-function FSe() {
- let e = (0, S.useContext)(VF), t = (0, S.useRef)(e);
+function PSe() {
+ let e = (0, S.useContext)(UF), t = (0, S.useRef)(e);
return (0, S.useLayoutEffect)(() => {
t.current = e;
- }, [e]), RF((t) => {
+ }, [e]), BF((t) => {
let n = _k.navigation.location, { pathname: r, search: i } = zO(n.pathname) && VO(n.state) || n, a = age(r, i);
e && a && (JO(), t || oge(_k.navigation.location.state), e.openOverlay(a));
}, !0), (0, S.useEffect)(() => () => {
@@ -46225,8 +46313,8 @@ function FSe() {
});
}, []), null;
}
-function ISe({ path: e }) {
- BF();
+function FSe({ path: e }) {
+ HF();
let { location: t, seq: n, action: r } = _k.navigation, i = zO(t.pathname) ? VO(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, S.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -46238,25 +46326,25 @@ function ISe({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, C.jsx)(FSe, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, C.jsx)(PSe, {}, `${e} ${o.current.seq}`);
}
-function LSe() {
- let e = (0, S.useContext)(VF);
- return RF(() => {
+function ISe() {
+ let e = (0, S.useContext)(UF);
+ return BF(() => {
e?.follow?.ground();
}), null;
}
-function RSe() {
- return /* @__PURE__ */ (0, C.jsx)(LSe, {}, BF());
+function LSe() {
+ return /* @__PURE__ */ (0, C.jsx)(ISe, {}, HF());
}
//#endregion
//#region src/react/router/router.tsx
-var zF = (0, S.createContext)(0), BF = () => (0, S.useContext)(zF), VF = (0, S.createContext)(null);
-function zSe({ children: e }) {
+var VF = (0, S.createContext)(0), HF = () => (0, S.useContext)(VF), UF = (0, S.createContext)(null);
+function RSe({ children: e }) {
let [t, n] = (0, S.useState)(() => _k.navigation);
return (0, S.useLayoutEffect)(() => (n(_k.navigation), _k.listen((e) => {
(0, gt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, C.jsx)(zF.Provider, {
+ })), []), /* @__PURE__ */ (0, C.jsx)(VF.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, C.jsx)(ege, {
location: t.location,
@@ -46266,34 +46354,34 @@ function zSe({ children: e }) {
})
});
}
-function BSe({ target: e }) {
+function zSe({ target: e }) {
let t = Fhe();
return (0, S.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function VSe(e, t, n) {
+function BSe(e, t, n) {
let r = new URL(e, window.location.href);
g5(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function HSe() {
- let e = (0, S.useContext)(VF), [t, n] = (0, S.useState)(ak), r = (0, S.useRef)(null);
+function VSe() {
+ let e = (0, S.useContext)(UF), [t, n] = (0, S.useState)(ak), r = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => (n(ak()), fge((e, t) => {
t ? (0, gt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, S.useMemo)(() => (t) => {
- e && r.current && VSe(t, e, r.current);
+ e && r.current && BSe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(BSe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, C.jsx)(USe, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(zSe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, C.jsx)(HSe, {
entry: t,
- children: /* @__PURE__ */ (0, C.jsx)(WSe, {
+ children: /* @__PURE__ */ (0, C.jsx)(USe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var USe = class extends S.Component {
+var HSe = class extends S.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -46304,12 +46392,12 @@ var USe = class extends S.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, WSe = (0, S.memo)(function({ entry: e, actions: t, go: n }) {
+}, USe = (0, S.memo)(function({ entry: e, actions: t, go: n }) {
return lmt(e.path) ? (0, gt.createPortal)(fmt(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function GSe({ children: e }) {
+function WSe({ children: e }) {
let t = jO();
- BF();
+ HF();
let n = bk(), r = zO(t.pathname) && !yk() ? VO(t.state) : null;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)(PO, {
@@ -46345,7 +46433,7 @@ function GSe({ children: e }) {
}, e)),
HO.map((e) => /* @__PURE__ */ (0, C.jsx)(NO, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, C.jsx)(RSe, {}) : S5["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, C.jsx)(LSe, {}) : S5["/"].element
}, e)),
RO.map((e) => /* @__PURE__ */ (0, C.jsx)(NO, {
path: e,
@@ -46361,7 +46449,7 @@ function GSe({ children: e }) {
location: r ?? t,
children: [HO.map((e) => /* @__PURE__ */ (0, C.jsx)(NO, {
path: e,
- element: /* @__PURE__ */ (0, C.jsx)(ISe, { path: e })
+ element: /* @__PURE__ */ (0, C.jsx)(FSe, { path: e })
}, e)), /* @__PURE__ */ (0, C.jsx)(NO, {
path: "*",
element: null
@@ -46369,30 +46457,30 @@ function GSe({ children: e }) {
}),
/* @__PURE__ */ (0, C.jsxs)(PO, { children: [RO.map((e) => /* @__PURE__ */ (0, C.jsx)(NO, {
path: e,
- element: /* @__PURE__ */ (0, C.jsx)(MSe, {})
+ element: /* @__PURE__ */ (0, C.jsx)(jSe, {})
}, e)), /* @__PURE__ */ (0, C.jsx)(NO, {
path: "*",
element: null
})] })
] });
}
-function KSe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, C.jsxs)(nF, { children: [n, /* @__PURE__ */ (0, C.jsx)(VF.Provider, {
+function GSe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, C.jsxs)(iF, { children: [n, /* @__PURE__ */ (0, C.jsx)(UF.Provider, {
value: t,
- children: /* @__PURE__ */ (0, C.jsxs)(zSe, { children: [
- /* @__PURE__ */ (0, C.jsx)(HSe, {}),
- /* @__PURE__ */ (0, C.jsx)(PSe, {}),
- r && t ? /* @__PURE__ */ (0, C.jsx)(jSe, { toast: t.toast }) : null,
- /* @__PURE__ */ (0, C.jsx)(GSe, { children: e })
+ children: /* @__PURE__ */ (0, C.jsxs)(RSe, { children: [
+ /* @__PURE__ */ (0, C.jsx)(VSe, {}),
+ /* @__PURE__ */ (0, C.jsx)(NSe, {}),
+ r && t ? /* @__PURE__ */ (0, C.jsx)(ASe, { toast: t.toast }) : null,
+ /* @__PURE__ */ (0, C.jsx)(WSe, { children: e })
] })
})] });
}
-var qSe = { onCaughtError: (e) => {
+var KSe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
} };
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function JSe(e, t, n) {
+function qSe(e, t, n) {
(0, S.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -46406,7 +46494,7 @@ function JSe(e, t, n) {
n
]);
}
-function YSe(e, t) {
+function JSe(e, t) {
let n = (0, S.useRef)(!1);
return (0, S.useEffect)(() => {
if (!e) return;
@@ -46420,33 +46508,33 @@ function YSe(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var HF = (0, S.createContext)("md");
-function UF({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var WF = (0, S.createContext)("md");
+function GF({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, S.useRef)(null), u = (0, S.useRef)(null), [d, f] = (0, S.useState)(!1);
- JSe(d, () => f(!1), [l, u]);
- let p = YSe(d, l);
- return /* @__PURE__ */ (0, C.jsx)(ybe, {
+ qSe(d, () => f(!1), [l, u]);
+ let p = JSe(d, l);
+ return /* @__PURE__ */ (0, C.jsx)(vbe, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: sA("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(Bj, {
+ className: cA("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(Hj, {
ref: l,
- className: sA("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, C.jsx)(Sbe, {
- className: sA("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: cA("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, C.jsx)(xbe, {
+ className: cA("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, C.jsx)(Pxe, { className: sA("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(Nxe, { className: cA("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
ref: u,
isNonModal: !0,
offset: 4,
- className: sA(Lxe, KP, "p-2", n),
- children: /* @__PURE__ */ (0, C.jsx)(Vye, {
+ className: cA(Ixe, JP, "p-2", n),
+ children: /* @__PURE__ */ (0, C.jsx)(Bye, {
items: a,
- className: sA(Rxe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, C.jsx)(HF.Provider, {
+ className: cA(Lxe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, C.jsx)(WF.Provider, {
value: r,
children: i
})
@@ -46454,24 +46542,24 @@ function UF({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function WF({ className: e, children: t, ...n }) {
- let r = (0, S.useContext)(HF);
- return /* @__PURE__ */ (0, C.jsx)(Wye, {
+function KF({ className: e, children: t, ...n }) {
+ let r = (0, S.useContext)(WF);
+ return /* @__PURE__ */ (0, C.jsx)(Uye, {
...n,
- className: (t) => sA(qP, 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) => cA(YP, 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
});
}
//#endregion
//#region src/react/catalog-folders/catalog-folders.ts
-var GF = {
+var qF = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function KF(e, t = "", n = "") {
+function JF(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -46483,15 +46571,15 @@ function KF(e, t = "", n = "") {
queryFn: ({ signal: e }) => H(`/api/folders?${r}`, e)
};
}
-function qF(e, t) {
+function YF(e, t) {
let n = new URLSearchParams(e.search);
for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);
return e.pathname + (n.size ? `?${n}` : "");
}
//#endregion
//#region src/react/catalog-folders/folder-rule-dialog.tsx
-function XSe({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, S.useContext)(VF), a = yA(), [o, s] = (0, S.useState)(t?.purpose || "category"), [c, l] = (0, S.useState)(t?.name || ""), [u, d] = (0, S.useState)(t?.recursive ?? !0), [f, p] = (0, S.useState)(t?.future ?? !1), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(!1), v = {
+function YSe({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, S.useContext)(UF), a = bA(), [o, s] = (0, S.useState)(t?.purpose || "category"), [c, l] = (0, S.useState)(t?.name || ""), [u, d] = (0, S.useState)(t?.recursive ?? !0), [f, p] = (0, S.useState)(t?.future ?? !1), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -46520,7 +46608,7 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, E = !!a.busy, D = (e, t) => a.busy === e ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: Ao(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, C.jsx)(EP, {
+ return g ? null : /* @__PURE__ */ (0, C.jsx)(OP, {
isOpen: !0,
onOpenChange: (e) => {
!e && !E && r();
@@ -46534,7 +46622,7 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, C.jsx)(Hj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Wj, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -46542,7 +46630,7 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",
children: e.path
})]
- }), /* @__PURE__ */ (0, C.jsx)(AP, {
+ }), /* @__PURE__ */ (0, C.jsx)(MP, {
label: "关闭目录用途",
onPress: () => {
E || r();
@@ -46554,20 +46642,20 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(bP, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(SP, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: E,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(GF).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: Object.entries(qF).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, C.jsx)(TP, {
+ o === "category" ? null : /* @__PURE__ */ (0, C.jsx)(DP, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -46578,7 +46666,7 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: E,
isRequired: !0
}),
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: u,
isDisabled: E,
onChange: (e) => {
@@ -46586,7 +46674,7 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: f,
isDisabled: E,
onChange: (e) => {
@@ -46690,7 +46778,7 @@ function XSe({ folder: e, rule: t, revision: n, close: r }) {
}
//#endregion
//#region src/react/catalog-folders/use-folder-sticky-offset.ts
-function ZSe(e) {
+function XSe(e) {
(0, S.useLayoutEffect)(() => {
if (!e) return;
let t = document.getElementById("catalogFilter"), n = null, r = 0, i = new ResizeObserver(() => o()), a = () => {
@@ -46712,35 +46800,35 @@ function ZSe(e) {
}
//#endregion
//#region src/react/catalog-folders/catalog-folders-page.tsx
-function QSe() {
- return AO() ? /* @__PURE__ */ (0, C.jsx)($Se, {}) : null;
+function ZSe() {
+ return AO() ? /* @__PURE__ */ (0, C.jsx)(QSe, {}) : null;
}
-function $Se() {
- let e = jO(), t = (0, S.useContext)(VF);
+function QSe() {
+ let e = jO(), t = (0, S.useContext)(UF);
if (!Ut(e.pathname)) return null;
let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");
- return /* @__PURE__ */ (0, C.jsx)(dj, {
+ return /* @__PURE__ */ (0, C.jsx)(pj, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
- icon: Mk,
- onClick: () => t?.navigate(qF(e, r ? {
+ icon: Nk,
+ onClick: () => t?.navigate(YF(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function eCe() {
- let e = jO(), t = (0, S.useContext)(VF), n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder"), i = {
+function $Se() {
+ let e = jO(), t = (0, S.useContext)(UF), n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder"), i = {
loc: n.get("loc") ?? "",
library: n.get("library") ?? ""
};
- ZSe(r);
+ XSe(r);
let a = n.get("folder") || "", o = pt({
- ...KF(i, a),
+ ...JF(i, a),
enabled: r
}), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(!1), d = document.getElementById("catalogFoldersTree"), f = document.getElementById("catalogFolderHeader");
if ((0, S.useLayoutEffect)(() => (d && (d.hidden = !r), f && (f.hidden = !r), document.body.toggleAttribute("data-folder-browse", r), () => {
@@ -46753,11 +46841,11 @@ function eCe() {
c(!1), u(!1);
}, [a, r]), !r || !d || !f || !t) return null;
let p = (n) => {
- c(!1), t.navigate(qF(e, {
+ c(!1), t.navigate(YF(e, {
browse: "folders",
folder: n
}));
- }, m = o.data, h = /* @__PURE__ */ (0, C.jsx)(tCe, {
+ }, m = o.data, h = /* @__PURE__ */ (0, C.jsx)(eCe, {
scope: i,
selected: a,
current: m,
@@ -46776,21 +46864,21 @@ function eCe() {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, C.jsx)(dj, {
+ children: /* @__PURE__ */ (0, C.jsx)(pj, {
"aria-label": "打开文件夹目录",
- icon: e_e,
+ icon: $ge,
size: "small",
onClick: () => c(!0)
})
}),
- /* @__PURE__ */ (0, C.jsxs)(Ixe, {
+ /* @__PURE__ */ (0, C.jsxs)(Fxe, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, C.jsx)(WP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(KP, {
current: !a,
onClick: () => p(""),
- icon: Mk,
+ icon: Nk,
children: "全部文件夹"
- }), m?.ancestors.map((e, t) => /* @__PURE__ */ (0, C.jsx)(WP, {
+ }), m?.ancestors.map((e, t) => /* @__PURE__ */ (0, C.jsx)(KP, {
current: t === m.ancestors.length - 1,
onClick: () => p(e.id),
children: /* @__PURE__ */ (0, C.jsx)("span", {
@@ -46800,9 +46888,9 @@ function eCe() {
})
}, e.id))]
}),
- m?.selected ? /* @__PURE__ */ (0, C.jsx)(dj, {
+ m?.selected ? /* @__PURE__ */ (0, C.jsx)(pj, {
"aria-label": "设置目录用途",
- icon: Uge,
+ icon: Hge,
size: "small",
onClick: () => u(!0)
}) : null
@@ -46832,14 +46920,14 @@ function eCe() {
}) : null,
m?.selected ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, C.jsx)($P, {
+ children: [/* @__PURE__ */ (0, C.jsx)(tF, {
size: "sm",
isSelected: n.get("folder_recursive") !== "0",
- onChange: (n) => t.navigate(qF(e, { folder_recursive: n ? null : "0" })),
+ onChange: (n) => t.navigate(YF(e, { folder_recursive: n ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: m.rule ? `${GF[m.rule.purpose]}${m.rule.name ? ` · ${m.rule.name}` : ""}` : "个人分类"
+ children: m.rule ? `${qF[m.rule.purpose]}${m.rule.name ? ` · ${m.rule.name}` : ""}` : "个人分类"
})]
}) : null,
o.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -46854,7 +46942,7 @@ function eCe() {
children: m.children.map((e) => /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Mk,
+ leadingIcon: Nk,
onClick: () => p(e.id),
children: /* @__PURE__ */ (0, C.jsx)("span", {
className: "truncate",
@@ -46864,7 +46952,7 @@ function eCe() {
}) : null
]
}), f),
- /* @__PURE__ */ (0, C.jsxs)(EP, {
+ /* @__PURE__ */ (0, C.jsxs)(OP, {
isOpen: s,
onOpenChange: c,
width: "form",
@@ -46874,7 +46962,7 @@ function eCe() {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, C.jsx)(AP, {
+ }), /* @__PURE__ */ (0, C.jsx)(MP, {
label: "关闭文件夹目录",
onPress: () => c(!1)
})]
@@ -46883,7 +46971,7 @@ function eCe() {
children: s ? h : null
})]
}),
- l && m?.selected ? /* @__PURE__ */ (0, C.jsx)(XSe, {
+ l && m?.selected ? /* @__PURE__ */ (0, C.jsx)(YSe, {
folder: m.selected,
rule: m.rule,
revision: m.rules_revision,
@@ -46891,27 +46979,27 @@ function eCe() {
}, m.selected.id) : null
] });
}
-function tCe({ scope: e, selected: t, current: n, go: r }) {
- let i = pt(KF(e)), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (0, S.useDeferredValue)(s), u = pt({
- ...KF(e, "", l),
+function eCe({ scope: e, selected: t, current: n, go: r }) {
+ let i = pt(JF(e)), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (0, S.useDeferredValue)(s), u = pt({
+ ...JF(e, "", l),
enabled: !!l.trim()
- }), d = eF();
+ }), d = nF();
(0, S.useEffect)(() => {
n?.ancestors.length && o((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));
}, [n?.ancestors]);
- let f = [...a].map(String), p = dt({ queries: f.map((t) => KF(e, t)) }), m = /* @__PURE__ */ new Map();
+ let f = [...a].map(String), p = dt({ queries: f.map((t) => JF(e, t)) }), m = /* @__PURE__ */ new Map();
p.forEach((e, t) => {
e.data && m.set(f[t], e.data.children);
}), n?.selected && m.set(n.selected.id, n.children);
let h = (e) => {
let t = m.get(e.id);
- return /* @__PURE__ */ (0, C.jsx)(YP, {
+ return /* @__PURE__ */ (0, C.jsx)(ZP, {
id: e.id,
label: e.name,
- icon: Mk,
- expandedIcon: Hge,
+ icon: Nk,
+ expandedIcon: Vge,
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(h) : /* @__PURE__ */ (0, C.jsx)(YP, {
+ children: e.has_children ? t ? t.map(h) : /* @__PURE__ */ (0, C.jsx)(ZP, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -46927,10 +47015,10 @@ function tCe({ scope: e, selected: t, current: n, go: r }) {
"aria-label": "文件夹导航",
className: "flex min-w-0 flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
- leadingIcon: Rk,
+ leadingIcon: zk,
value: s,
onChange: c,
size: "small"
@@ -46972,27 +47060,27 @@ function tCe({ scope: e, selected: t, current: n, go: r }) {
}) : u.data?.matches.length ? u.data.matches.map((e) => /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Mk,
+ leadingIcon: Nk,
onClick: () => {
c(""), r(e.id);
},
children: e.name
- }, e.id)) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }, e.id)) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Rk,
+ icon: zk,
title: "没有匹配的文件夹",
children: "换个目录名称试试。"
})
- }) : /* @__PURE__ */ (0, C.jsx)(zxe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(Rxe, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: a,
onExpandedChange: o,
selectedKeys: new Set(t ? [t] : []),
onSelectionChange: g,
- renderEmptyState: () => /* @__PURE__ */ (0, C.jsx)(mA, {
+ renderEmptyState: () => /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Mk,
+ icon: Nk,
title: "尚未添加媒体目录",
children: "在媒体库设置中添加目录并扫描。"
}),
@@ -47005,54 +47093,54 @@ function tCe({ scope: e, selected: t, current: n, go: r }) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function JF(e) {
- let t = pj(SF("selection"));
- return /* @__PURE__ */ (0, C.jsx)(mP, {
+function XF(e) {
+ let t = hj(wF("selection"));
+ return /* @__PURE__ */ (0, C.jsx)(gP, {
...e,
ref: t
});
}
-function YF(e) {
- let t = pj(SF("selection"));
- return /* @__PURE__ */ (0, C.jsx)(MN, {
+function ZF(e) {
+ let t = hj(wF("selection"));
+ return /* @__PURE__ */ (0, C.jsx)(PN, {
...e,
ref: t
});
}
-var XF = "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", ZF = "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", nCe = "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", QF = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", $F = "relative flex size-7.5 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 QF = "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", $F = "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", tCe = "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", eI = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", tI = "relative flex size-7.5 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)";
//#endregion
//#region src/react/catalog-grid/catalog-view-toggle.tsx
-function eI() {
+function nI() {
let e = pD();
- return /* @__PURE__ */ (0, C.jsxs)(MN, {
+ return /* @__PURE__ */ (0, C.jsxs)(PN, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
onChange: ufe,
"data-entity-layout": "",
- className: QF,
- children: [/* @__PURE__ */ (0, C.jsx)(NN, {
+ className: eI,
+ children: [/* @__PURE__ */ (0, C.jsx)(FN, {
value: "cards",
"aria-label": "卡片",
- className: $F,
+ className: tI,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: "卡片",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, C.jsx)(Yge, {
+ children: /* @__PURE__ */ (0, C.jsx)(Jge, {
"aria-hidden": "true",
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, C.jsx)(NN, {
+ }), /* @__PURE__ */ (0, C.jsx)(FN, {
value: "list",
"aria-label": "列表",
- className: $F,
+ className: tI,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: "列表",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, C.jsx)(Zge, {
+ children: /* @__PURE__ */ (0, C.jsx)(Xge, {
"aria-hidden": "true",
className: "size-4"
})
@@ -47062,106 +47150,106 @@ function eI() {
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var tI = (e) => typeof e == "string" ? e : "", nI = (e) => e.aliases;
-function rI(e, t = "") {
+var rI = (e) => typeof e == "string" ? e : "", iI = (e) => e.aliases;
+function aI(e, t = "") {
let n = Yr(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${B(t)}"${t ? ` title="${B(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function iI(e, t = "") {
+function oI(e, t = "") {
let n = B(ur(t || e)), r = Yr(e);
return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;
}
-var aI = (e) => tI(e.title).trim() || "未命名内容", oI = (e, t) => lr(e, nI(t));
-function sI(e) {
+var sI = (e) => rI(e.title).trim() || "未命名内容", cI = (e, t) => lr(e, iI(t));
+function lI(e) {
let t = e.filter((e) => e.entity_id && e.entity_name);
if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";
- let n = t[0], r = tI(n.entity_name);
+ let n = t[0], r = rI(n.entity_name);
return St("creator", r, n.entity_id), r;
}
-function cI(e, t) {
+function uI(e, t) {
let { src: n, fallback: r } = dr(e), i = ur(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${B(i)}</span>`;
let a = r ? ` data-fallbacks="${B(r)}"` : "";
return `<img class="favatar" src="${B(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${B(i)}" data-drop-class="favatar none">`;
}
-function lI(e, t, n) {
- let r = nI(n), i = e.credit, a = i?.poster;
+function dI(e, t, n) {
+ let r = iI(n), i = e.credit, a = i?.poster;
if (!a) {
let n = lr(t, r);
return {
- author: n || tI(e.author) || tI(e.source_label) || "创作者未取得",
- avatar: cI(t, n),
+ author: n || rI(e.author) || rI(e.source_label) || "创作者未取得",
+ avatar: uI(t, n),
credited: "",
- entityName: sI(t)
+ entityName: lI(t)
};
}
let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && lr(c, r) || a;
return {
author: l,
- avatar: cI(c, l),
+ avatar: uI(c, l),
credited: i.credited || "",
- entityName: sI(c)
+ entityName: lI(c)
};
}
-function uI(e, t = e.primary) {
+function fI(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = tI(e.primary.version);
+ let i = rI(e.primary.version);
i && n.push(r("version", B(i)));
- let a = tI(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = rI(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function dI(e, t = e.primary) {
+function pI(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => rI(e, t) || `<span>${B(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => aI(e, t) || `<span>${B(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${B([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function fI(e, t) {
- let n = tI(e.media_error);
+function mI(e, t) {
+ let n = rI(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var rCe = 864e5, iCe = (e, t) => {
+var nCe = 864e5, rCe = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > rCe;
+ return Number.isFinite(n) && n - t > nCe;
};
-function pI(e, t) {
- let n = tI(e.published_at);
+function hI(e, t) {
+ let n = rI(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Mn(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: iCe(n, t) ? " · 晚于现在" : ""
+ suffix: rCe(n, t) ? " · 晚于现在" : ""
};
}
-function mI(e, t = Date.now()) {
- let n = pI(e, t);
+function gI(e, t = Date.now()) {
+ let n = hI(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function aCe(e, t = Date.now()) {
- let n = pI(e, t);
+function iCe(e, t = Date.now()) {
+ let n = hI(e, t);
if (!n) return "时间未取得";
if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;
let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);
return `${n.prefix}${r}${n.suffix}`;
}
-var hI = /* @__PURE__ */ new Set(), gI = [], _I = null;
-function vI() {
- if (_I = null, !gI.length) return;
- let e = gI.splice(0, 200);
+var _I = /* @__PURE__ */ new Set(), vI = [], yI = null;
+function bI() {
+ if (yI = null, !vI.length) return;
+ let e = vI.splice(0, 200);
Lt("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), gI.length && (_I = setTimeout(vI, 800));
+ }).catch(() => {}), vI.length && (yI = setTimeout(bI, 800));
}
-function oCe(e, t, n, r) {
+function aCe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- hI.has(i) || (hI.add(i), gI.push(t === null ? {
+ _I.has(i) || (_I.add(i), vI.push(t === null ? {
item: e,
width: n,
height: r
@@ -47170,26 +47258,26 @@ function oCe(e, t, n, r) {
width: n,
height: r,
media: t
- }), _I ||= setTimeout(vI, 800));
+ }), yI ||= setTimeout(bI, 800));
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var sCe = (e) => e === "videos", yI = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var oCe = (e) => e === "videos", xI = () => /* @__PURE__ */ (0, C.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function cCe(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = sCe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+function sCe(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = oCe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
k: e,
label: t
- })) : i, m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = bj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = bj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, S.useRef)(null), E = (0, S.useRef)(null), D = u?.mediaCounts ? u : null, O = bj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
+ })) : i, m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = (0, S.useRef)(null), v = (0, S.useRef)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = Sj(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), w = Sj(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), T = (0, S.useRef)(null), E = (0, S.useRef)(null), D = u?.mediaCounts ? u : null, O = Sj(T, E, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!D}`);
return (0, S.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(bI, {
+ }, [c]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(SI, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, C.jsx)(hj, {
+ }), /* @__PURE__ */ (0, C.jsx)(_j, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -47218,19 +47306,19 @@ function cCe(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- n ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(fCe, {
+ n ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(dCe, {
keys: n,
view: t,
row: _,
glide: w,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, C.jsx)(yI, {}) : null] }) : null,
- D ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(uCe, {
+ }), d ? /* @__PURE__ */ (0, C.jsx)(xI, {}) : null] }) : null,
+ D ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(lCe, {
head: D,
row: E,
glide: O,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, C.jsx)(yI, {})] }) : null,
+ }), /* @__PURE__ */ (0, C.jsx)(xI, {})] }) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -47251,11 +47339,11 @@ function cCe(e) {
f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));
},
children: e.label
- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, C.jsx)(yI, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, C.jsx)(xI, {}) : null]
}), /* @__PURE__ */ (0, C.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, C.jsxs)(gj, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, C.jsxs)(vj, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -47264,17 +47352,17 @@ function cCe(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, C.jsx)(dCe, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, C.jsx)(uCe, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, C.jsx)(pCe, { ...e })
+ bottom: /* @__PURE__ */ (0, C.jsx)(fCe, { ...e })
})] });
}
-var lCe = [[
+var cCe = [[
"videos",
"视频",
"play",
@@ -47285,7 +47373,7 @@ var lCe = [[
"pics",
"image"
]];
-function uCe({ head: e, row: t, glide: n, onMedia: r }) {
+function lCe({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
ref: t,
role: "group",
@@ -47293,7 +47381,7 @@ function uCe({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: lCe.map(([t, i, a, o]) => {
+ children: cCe.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -47311,7 +47399,7 @@ function uCe({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function dCe({ head: e, actions: t }) {
+function uCe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -47321,10 +47409,10 @@ function dCe({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: rI(n) }
+ dangerouslySetInnerHTML: { __html: aI(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, C.jsx)(yI, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, C.jsxs)(gj, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, C.jsx)(xI, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, C.jsxs)(vj, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -47337,7 +47425,7 @@ function dCe({ head: e, actions: t }) {
}, e.k))
] });
}
-function fCe({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function dCe({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -47385,7 +47473,7 @@ function fCe({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function bI({ items: e, hidden: t, actions: n }) {
+function SI({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -47405,7 +47493,7 @@ function bI({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function pCe(e) {
+function fCe(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, C.jsxs)("button", {
@@ -47417,27 +47505,27 @@ function pCe(e) {
dangerouslySetInnerHTML: { __html: z("chevron-left") }
}), /* @__PURE__ */ (0, C.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(mCe, {
+ /* @__PURE__ */ (0, C.jsx)(pCe, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, C.jsx)(HP, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, C.jsx)(hCe, {
+ /* @__PURE__ */ (0, C.jsx)(WP, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, C.jsx)(mCe, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, C.jsx)(_Ce, {
+ t === "photos" && a ? /* @__PURE__ */ (0, C.jsx)(gCe, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, C.jsx)(gCe, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, C.jsx)(hCe, {
head: e.online,
actions: o
}) : null
] });
}
-function mCe({ text: e, busy: t }) {
+function pCe({ text: e, busy: t }) {
return /* @__PURE__ */ (0, C.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, C.jsx)("span", {
@@ -47447,22 +47535,22 @@ function mCe({ text: e, busy: t }) {
}) : e
});
}
-function xI({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, C.jsx)(MN, {
+function CI({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, C.jsx)(PN, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: QF,
+ className: eI,
children: r.map(([e, t, n]) => {
- let r = kP(n);
- return /* @__PURE__ */ (0, C.jsx)(NN, {
+ let r = jP(n);
+ return /* @__PURE__ */ (0, C.jsx)(FN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: $F,
+ className: tI,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -47472,38 +47560,38 @@ function xI({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function SI({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, C.jsx)(mj, {
+function wI({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, C.jsx)(gj, {
"data-entity-batch": "",
label: "换一批",
busy: t,
- icon: kP("shuffle"),
+ icon: jP("shuffle"),
onPress: e
});
}
-function hCe({ head: e, actions: t }) {
+function mCe({ head: e, actions: t }) {
let n = pD();
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(SI, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, C.jsx)(xI, {
+ /* @__PURE__ */ (0, C.jsx)(wI, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, C.jsx)(CI, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, C.jsx)(eI, {}),
- n === "cards" ? /* @__PURE__ */ (0, C.jsx)(CI, {
+ /* @__PURE__ */ (0, C.jsx)(nI, {}),
+ n === "cards" ? /* @__PURE__ */ (0, C.jsx)(TI, {
sorts: e.sorts,
onSort: t.setSort
}) : null
]
});
}
-function CI({ sorts: e, onSort: t }) {
+function TI({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: e.map((e) => {
- let n = kP(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = jP(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -47515,12 +47603,12 @@ function CI({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function gCe({ head: e, actions: t }) {
+function hCe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(SI, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(xI, {
+ /* @__PURE__ */ (0, C.jsx)(wI, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(CI, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -47540,27 +47628,27 @@ function gCe({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: z("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, C.jsx)(CI, {
+ /* @__PURE__ */ (0, C.jsx)(TI, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function _Ce({ head: e, actions: t, helpers: n }) {
+function gCe({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, S.useState)(!1), a = (0, S.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, S.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, C.jsx)(SI, {
+ e.shuffle ? /* @__PURE__ */ (0, C.jsx)(wI, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, C.jsx)(xI, {
+ /* @__PURE__ */ (0, C.jsx)(CI, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -47576,31 +47664,31 @@ function _Ce({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var wI = "";
-function vCe(e) {
- let t = !e.tiers, n = TCe(e.comboHost);
+var EI = "";
+function _Ce(e) {
+ let t = !e.tiers, n = wCe(e.comboHost);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(bI, {
+ n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(SI, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, C.jsx)(xCe, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, C.jsx)(yCe, { ...e })
+ /* @__PURE__ */ (0, C.jsx)(bCe, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, C.jsx)(vCe, { ...e })
]
});
}
-function yCe(e) {
- let { actions: t, helpers: n } = e, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(!1), u = bj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function vCe(e) {
+ let { actions: t, helpers: n } = e, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(!1), u = Sj(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, S.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = EI(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = OI(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, S.useLayoutEffect)(() => {
let e = a.current?.closest("[data-catalog-frame]");
if (!e) return;
@@ -47617,7 +47705,7 @@ function yCe(e) {
e.sorts
]), (0, S.useLayoutEffect)(() => {
Vo(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, C.jsx)(hj, {
+ }, [f]), /* @__PURE__ */ (0, C.jsx)(_j, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -47661,17 +47749,17 @@ function yCe(e) {
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, C.jsx)(TI, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, C.jsx)(bCe, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, C.jsx)(DI, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, C.jsx)(yCe, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, C.jsx)(CCe, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, C.jsx)(SCe, { ...e })
});
}
-function bCe({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, C.jsxs)(gj, {
+function yCe({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, C.jsxs)(vj, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -47682,12 +47770,12 @@ function bCe({ tag: e, onPress: t }) {
})]
});
}
-function xCe(e) {
+function bCe(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useCallback)((e) => () => t.moreTops(e), [t]), c = EI(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = EI(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useCallback)((e) => () => t.moreTops(e), [t]), c = OI(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = OI(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, S.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -47700,7 +47788,7 @@ function xCe(e) {
children: [u ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, C.jsx)(TI, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, C.jsx)(DI, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -47717,18 +47805,18 @@ function xCe(e) {
}) : null, d ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, C.jsx)(TI, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, C.jsx)(DI, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, C.jsx)(SCe, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, C.jsx)(xCe, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function SCe({ studio: e }) {
+function xCe({ studio: e }) {
let [t, n] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-tier-mark": "",
@@ -47742,7 +47830,7 @@ function SCe({ studio: e }) {
}) : e.fallback
});
}
-function TI({ kind: e }) {
+function DI({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -47758,37 +47846,37 @@ function TI({ kind: e }) {
children: [/* @__PURE__ */ (0, C.jsx)("span", {}), /* @__PURE__ */ (0, C.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function CCe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function SCe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let a = pD(), [o, s] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, C.jsx)(wCe, { count: e }), /* @__PURE__ */ (0, C.jsx)(HP, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, C.jsx)(CCe, { count: e }), /* @__PURE__ */ (0, C.jsx)(WP, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(SI, {
+ /* @__PURE__ */ (0, C.jsx)(wI, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, C.jsx)(xI, {
+ n && a === "cards" ? /* @__PURE__ */ (0, C.jsx)(CI, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, C.jsx)(eI, {}),
- /* @__PURE__ */ (0, C.jsx)(QSe, {}),
- a === "cards" ? /* @__PURE__ */ (0, C.jsx)(CI, {
+ /* @__PURE__ */ (0, C.jsx)(nI, {}),
+ /* @__PURE__ */ (0, C.jsx)(ZSe, {}),
+ a === "cards" ? /* @__PURE__ */ (0, C.jsx)(TI, {
sorts: r,
onSort: i.setSort
}) : null
]
})] });
}
-function wCe({ count: e }) {
+function CCe({ count: e }) {
let t = (0, S.useRef)(null), n = (0, S.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";
return (0, S.useLayoutEffect)(() => {
if (e === !1) return;
@@ -47797,7 +47885,7 @@ function wCe({ count: e }) {
return;
}
let i = t.current;
- i && (wI && i.dataset.popCount === void 0 && (i.dataset.popCount = wI), wI = r, Ro(i, r));
+ i && (EI && i.dataset.popCount === void 0 && (i.dataset.popCount = EI), EI = r, Ro(i, r));
}, [e, r]), e === !1 ? /* @__PURE__ */ (0, C.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, C.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -47813,7 +47901,7 @@ function wCe({ count: e }) {
})
}, "skeleton");
}
-function TCe(e) {
+function wCe(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!e) return;
@@ -47823,7 +47911,7 @@ function TCe(e) {
};
}, [e]), t;
}
-function EI(e, t, n, r, i) {
+function OI(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -47863,7 +47951,7 @@ function EI(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function DI(e, t) {
+function kI(e, t) {
let [n, r] = (0, S.useState)(e ? "skeleton" : "none"), [i] = (0, S.useState)(() => e ? t() : ""), a = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
a.current && $o(a.current);
@@ -47889,7 +47977,7 @@ function DI(e, t) {
fading: n === "fade"
};
}
-function OI({ message: e, onRetry: t }) {
+function AI({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -47902,28 +47990,8 @@ function OI({ message: e, onRetry: t }) {
});
}
//#endregion
-//#region src/react/components/art-slot.tsx
-function kI({ artwork: e, identity: t = e.html, relayout: n }) {
- let [r, i] = (0, S.useState)({
- identity: t,
- artwork: e
- });
- r.identity !== t && i({
- identity: t,
- artwork: e
- });
- let a = r.identity === t ? r.artwork : e, o = (0, S.useRef)(null), s = (0, S.useRef)(n);
- return s.current = n, (0, S.useLayoutEffect)(() => {
- o.current && s.current?.(o.current);
- }, [e.html]), /* @__PURE__ */ (0, C.jsx)("span", {
- ref: o,
- "data-media-art": a.kind,
- dangerouslySetInnerHTML: { __html: a.html }
- });
-}
-//#endregion
//#region src/react/components/row-click.ts
-var ECe = [
+var TCe = [
"a",
"button",
"input",
@@ -47936,46 +48004,46 @@ var ECe = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function AI(e, t) {
+function jI(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(ECe);
+ let r = n.closest(TCe);
return !r || !t.contains(r) || r === t;
}
-function jI(e) {
+function MI(e) {
e.shiftKey && e.preventDefault();
}
//#endregion
//#region src/react/components/media-card.tsx
-var DCe = 9 / 16, MI = "未命名视频";
-function NI({ name: e }) {
+var ECe = 9 / 16, NI = "未命名视频";
+function PI({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-var OCe = {
+var DCe = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, kCe = {
+}, OCe = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function PI({ item: e }) {
+function FI({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && kCe[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && OCe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function FI({ item: e, actions: t }) {
+function II({ item: e, actions: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -47994,10 +48062,10 @@ function FI({ item: e, actions: t }) {
children: i
}) : null] });
}
-function II(e, t, n) {
- return t === "short" ? DCe : TE(n);
+function LI(e, t, n) {
+ return t === "short" ? ECe : TE(n);
}
-function ACe(e) {
+function kCe(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Da(e), s = i[0] || "", c = pa(e);
return {
avatar: r ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -48026,7 +48094,7 @@ function ACe(e) {
"data-media-who": "",
"data-entity-kind": "performer",
"data-entity-name": s,
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: s })]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: s })]
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -48035,16 +48103,16 @@ function ACe(e) {
"data-media-who": "",
"data-entity-kind": t,
"data-entity-name": n,
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
}) : /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
})
};
}
-function jCe() {
+function ACe() {
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -48063,7 +48131,7 @@ function jCe() {
})]
});
}
-function MCe({ item: e, actions: t }) {
+function jCe({ item: e, actions: t }) {
let [n, r] = (0, S.useState)(null), [i, a] = (0, S.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-media-later": "",
@@ -48081,21 +48149,21 @@ function MCe({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function LI(e, t) {
+function RI(e, t) {
let n = e?.querySelector("video.hv");
n && Number.isFinite(n.duration) && (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function MCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, S.useRef)(null), u = (0, S.useRef)(e);
u.current = e;
let d = (0, S.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && wc(l.current), l.current = e, e && (!t.medium || t.medium === "video") && Ec(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = Ca(e, h, !1, n.javImage), _ = h === "small" ? g.html : Ca(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || MI, b = o.titleHtml(e, v).trim() || B(MI), x = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = ACe(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = Ca(e, h, !1, n.javImage), _ = h === "small" ? g.html : Ca(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v).trim() || NI, b = o.titleHtml(e, v).trim() || B(NI), x = f?.total_size ?? e.size, w = f?.total_duration ?? e.duration, T = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: E, who: D } = kCe(e), O = (e.follow_tags || e.tags || []).slice(0, 3), k = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.watch_later && "later"
@@ -48124,9 +48192,9 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
u && r.contains(u) ? s.toggleTag(u.dataset.tag || "") : c(e, r);
}, j = /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(II(e, t, n)) },
+ style: { "--card-ratio": String(LI(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, C.jsx)(kI, {
+ g.html ? /* @__PURE__ */ (0, C.jsx)(ej, {
artwork: g,
identity: _,
relayout: (e) => gc(e, h)
@@ -48140,11 +48208,11 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: "check" })
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
}),
f && !p ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-group": "",
@@ -48159,7 +48227,7 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-duration": "",
children: on(w)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)(FI, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)(II, {
item: e,
actions: s
}) : null,
@@ -48175,8 +48243,8 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, C.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, C.jsx)(jCe, {}),
- i ? null : /* @__PURE__ */ (0, C.jsx)(MCe, {
+ /* @__PURE__ */ (0, C.jsx)(ACe, {}),
+ i ? null : /* @__PURE__ */ (0, C.jsx)(jCe, {
item: e,
actions: s
}),
@@ -48186,27 +48254,27 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), LI(l.current, -a);
+ e.stopPropagation(), RI(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), LI(l.current, a);
+ e.stopPropagation(), RI(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: "expand" })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: "expand" })
})
]
})
@@ -48223,7 +48291,7 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-pending-delete": e.disposal === "trash" ? "" : void 0,
"data-selected": r ? "" : void 0,
onClick: A,
- onMouseDown: jI,
+ onMouseDown: MI,
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -48261,11 +48329,11 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
e.is_jav && e.release_date ? /* @__PURE__ */ (0, C.jsxs)("time", {
"data-media-release": "",
dateTime: e.release_date,
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "calendar" }), e.release_date]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "calendar" }), e.release_date]
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "hard-drive" }), Number(x) > 0 ? cn(Number(x)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "hard-drive" }), Number(x) > 0 ? cn(Number(x)) : "大小未知"]
}),
e.play_count ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-watch-count": "",
@@ -48287,15 +48355,15 @@ function NCe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
children: o.tagLabel(t)
}, t))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(PI, { item: e })
+ /* @__PURE__ */ (0, C.jsx)(FI, { item: e })
]
})]
})
]
});
}
-function PCe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, S.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : OCe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function NCe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, S.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : DCe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, C.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -48307,14 +48375,14 @@ function PCe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: jI,
+ onMouseDown: MI,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: u }), /* @__PURE__ */ (0, C.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: u }), /* @__PURE__ */ (0, C.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-art": "thumb",
@@ -48326,13 +48394,13 @@ function PCe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: "check" })
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, C.jsx)(NI, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(PI, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, C.jsx)(FI, {
+ n ? null : /* @__PURE__ */ (0, C.jsx)(II, {
item: e,
actions: i
})
@@ -48343,7 +48411,7 @@ function PCe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(NI, { name: u })
+ children: /* @__PURE__ */ (0, C.jsx)(PI, { name: u })
}), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-text": "",
children: [
@@ -48371,29 +48439,29 @@ function PCe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, C.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, C.jsx)(PI, { item: e })
+ /* @__PURE__ */ (0, C.jsx)(FI, { item: e })
]
})]
})]
});
}
-function FCe(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, C.jsx)(PCe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(NCe, { ...e });
+function PCe(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, C.jsx)(NCe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(MCe, { ...e });
}
-var RI = (0, S.memo)(FCe), ICe = 1100, LCe = 340, RCe = 5e3;
-function zCe(e, t, n) {
+var zI = (0, S.memo)(PCe), FCe = 1100, ICe = 340, LCe = 5e3;
+function RCe(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, RCe);
+ }, s = () => o(!1), c = setTimeout(s, LCe);
t.cancels.add(s), i.onerror = s, i.onload = () => {
i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);
}, i.src = e;
});
}
-function zI({ load: e, canFlip: t, referrerPolicy: n }) {
+function BI({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, S.useState)([]), [a, o] = (0, S.useState)(0), [s, c] = (0, S.useState)(null), l = (0, S.useRef)({
live: !1,
generation: 0,
@@ -48435,11 +48503,11 @@ function zI({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => zCe(t, e, n)));
+ let s = await Promise.all(a.map((t) => RCe(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, ICe);
+ p(), e.cycle = setInterval(p, FCe);
}));
};
return (0, S.useEffect)(() => d, [d]), {
@@ -48448,7 +48516,7 @@ function zI({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(LCe, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(ICe, () => {
e.armed = null, m();
});
},
@@ -48459,8 +48527,8 @@ function zI({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var BI = kP("play");
-function BCe({ src: e }) {
+var VI = jP("play");
+function zCe({ src: e }) {
let [t, n] = (0, S.useState)(!1);
return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {
"data-mix-poster": "",
@@ -48473,8 +48541,8 @@ function BCe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var VI = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function VCe({ faces: e, fallback: t, onOpenEntity: n }) {
+var HI = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function BCe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, C.jsx)("button", {
@@ -48482,18 +48550,18 @@ function VCe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${VI} cursor-pointer outline-none`,
+ className: `${HI} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ha(e.name, e, Qi(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${VI} mt-0.5`,
+ className: `${HI} mt-0.5`,
children: t
});
}
-function HI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = zI({
+function UI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = BI({
load: i,
canFlip: a
}), x = (0, S.useRef)(b.onPointerLeave);
@@ -48520,11 +48588,11 @@ function HI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, C.jsx)(kI, {
+ f?.html ? /* @__PURE__ */ (0, C.jsx)(ej, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, C.jsx)(BCe, { src: r }, r) : /* @__PURE__ */ (0, C.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, C.jsx)(zCe, { src: r }, r) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -48554,7 +48622,7 @@ function HI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, C.jsx)(BI, {
+ children: [/* @__PURE__ */ (0, C.jsx)(VI, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -48567,8 +48635,8 @@ function HI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, C.jsx)(BI, {})
- }) : /* @__PURE__ */ (0, C.jsx)(VCe, {
+ children: /* @__PURE__ */ (0, C.jsx)(VI, {})
+ }) : /* @__PURE__ */ (0, C.jsx)(BCe, {
faces: o,
fallback: dn(e),
onOpenEntity: s
@@ -48592,7 +48660,7 @@ function HI({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/video-wall/folia/blockReflows.ts
-var HCe = [
+var VCe = [
[
[
{
@@ -52153,7 +52221,7 @@ var HCe = [
}
]
]
-], UI = [
+], WI = [
[
{
x: 0,
@@ -52450,89 +52518,89 @@ var HCe = [
rows: 2
}
]
-], WI = (e) => e.map((e) => ({
+], GI = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), GI = (e) => e.map((e) => ({
+})), KI = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), KI = [
+})), qI = [
(e) => e,
- WI,
GI,
- (e) => WI(GI(e))
-], qI = UI.flatMap((e) => KI.map((t) => t(e))), UCe = HCe.flatMap((e) => KI.map((t) => e.map(t)));
-qI.length;
-var WCe = (e, t) => {
+ KI,
+ (e) => GI(KI(e))
+], JI = WI.flatMap((e) => qI.map((t) => t(e))), HCe = VCe.flatMap((e) => qI.map((t) => e.map(t)));
+JI.length;
+var UCe = (e, t) => {
let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);
return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;
-}, JI = (e, t) => {
- let n = UI.length;
- return ((e + t * 2) % n + n) % n * KI.length + WCe(e, t) % KI.length;
-}, GCe = (e, t) => qI[JI(e, t)], KCe = (e, t, n) => n < 0 || n >= 12 ? null : UCe[JI(e, t)][n], YI = 103.36, XI = 6.08, ZI = 12 * YI, QI = 8 * YI, $I = 12, eL = (e, t) => (e % t + t) % t, qCe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
-function tL(e, t) {
- let n = Math.max(1, Math.ceil(e / $I)), r = t ? 3 : Math.min(3, n);
+}, YI = (e, t) => {
+ let n = WI.length;
+ return ((e + t * 2) % n + n) % n * qI.length + UCe(e, t) % qI.length;
+}, WCe = (e, t) => JI[YI(e, t)], GCe = (e, t, n) => n < 0 || n >= 12 ? null : HCe[YI(e, t)][n], XI = 103.36, ZI = 6.08, QI = 12 * XI, $I = 8 * XI, eL = 12, tL = (e, t) => (e % t + t) % t, KCe = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;
+function nL(e, t) {
+ let n = Math.max(1, Math.ceil(e / eL)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * ZI,
- height: Math.ceil(n / r) * QI
+ width: r * QI,
+ height: Math.ceil(n / r) * $I
};
}
-function nL(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = GCe(e, t)[n];
+function rL(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = WCe(e, t)[n];
return {
- x: e * ZI + r * YI,
- y: t * QI + i * YI,
- width: a * YI - XI,
- height: o * YI - XI
+ x: e * QI + r * XI,
+ y: t * $I + i * XI,
+ width: a * XI - ZI,
+ height: o * XI - ZI
};
}
-function JCe(e) {
+function qCe(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function rL(e, t, n) {
+function iL(e, t, n) {
if (!e) return null;
let [r, i, a] = n.split(":").map(Number);
if (![
r,
i,
a
- ].every(Number.isInteger) || a < 0 || a >= $I) return null;
- let o = tL(e, t), s = o.height / QI;
+ ].every(Number.isInteger) || a < 0 || a >= eL) return null;
+ let o = nL(e, t), s = o.height / $I;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : eL(r, o.columns), l = ((t ? i : eL(i, s)) * o.columns + c) * $I + a;
+ let c = t ? r : tL(r, o.columns), l = ((t ? i : tL(i, s)) * o.columns + c) * eL + a;
return t && l >= e ? null : {
- ...nL(r, i, a),
+ ...rL(r, i, a),
index: l % e,
key: n
};
}
-function YCe(e, t) {
+function JCe(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / $I);
- return rL(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % $I}`);
+ let n = Math.floor(t / eL);
+ return iL(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % eL}`);
}
-function iL(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = KCe(r, i, a);
+function aL(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = GCe(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * ZI + e.x * YI,
- y: i * QI + e.y * YI,
- width: e.cols * YI - XI,
- height: e.rows * YI - XI
+ x: r * QI + e.x * XI,
+ y: i * $I + e.y * XI,
+ width: e.cols * XI - ZI,
+ height: e.rows * XI - ZI
}]));
}
-function XCe(e) {
+function YCe(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / $I), i = nL(e % 3, Math.floor(e / 3), r % $I);
+ let e = Math.floor(r / eL), i = rL(e % 3, Math.floor(e / 3), r % eL);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * ZI - XI : t,
+ width: e >= 36 ? 3 * QI - ZI : t,
height: n
};
}
-function ZCe(e, t, n, r) {
+function XCe(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 {
@@ -52541,22 +52609,22 @@ function ZCe(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function QCe(e, t, n, r) {
+function ZCe(e, t, n, r) {
if (!e || !r.width || !r.height) return [];
let i = 180 / n.scale, a = {
x: -n.x / n.scale - i,
y: -n.y / n.scale - i,
width: r.width / n.scale + i * 2,
height: r.height / n.scale + i * 2
- }, o = tL(e, t), s = o.height / QI, c = [];
- for (let n = Math.floor(a.y / QI); n <= Math.floor((a.y + a.height) / QI); n += 1) for (let r = Math.floor(a.x / ZI); r <= Math.floor((a.x + a.width) / ZI); r += 1) {
+ }, o = nL(e, t), s = o.height / $I, c = [];
+ for (let n = Math.floor(a.y / $I); n <= Math.floor((a.y + a.height) / $I); n += 1) for (let r = Math.floor(a.x / QI); r <= Math.floor((a.x + a.width) / QI); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : eL(r, o.columns), l = t ? n : eL(n, s);
- for (let s = 0; s < $I; s += 1) {
- let u = (l * o.columns + i) * $I + s;
+ let i = t ? r : tL(r, o.columns), l = t ? n : tL(n, s);
+ for (let s = 0; s < eL; s += 1) {
+ let u = (l * o.columns + i) * eL + s;
if (t && u >= e) continue;
- let d = nL(r, n, s);
- qCe(d, a) && c.push({
+ let d = rL(r, n, s);
+ KCe(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -52565,7 +52633,7 @@ function QCe(e, t, n, r) {
}
return c;
}
-var $Ce = class {
+var QCe = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -52577,7 +52645,7 @@ var $Ce = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : rL(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : iL(t, !1, e);
return r ? {
...r,
index: n
@@ -52607,7 +52675,7 @@ var $Ce = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * ZI,
+ x: (e + 2) * QI,
y: 0
};
}
@@ -52620,10 +52688,10 @@ var $Ce = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / ZI)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / QI)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, aL = [
+}, oL = [
"q",
"performer",
"series",
@@ -52638,17 +52706,17 @@ var $Ce = class {
"dur_max",
"region"
];
-function ewe(e = {}) {
- return aL.some((t) => !!e[t]);
+function $Ce(e = {}) {
+ return oL.some((t) => !!e[t]);
}
//#endregion
//#region src/react/video-wall/use-wall-camera.ts
-var oL = {
+var sL = {
x: 16,
y: 16,
scale: 1
};
-function twe(e, t, n = oL, r = !1) {
+function ewe(e, t, n = sL, r = !1) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)({
width: 0,
height: 0
@@ -52668,7 +52736,7 @@ function twe(e, t, n = oL, r = !1) {
let f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(!1), h = (0, S.useRef)(null), g = (0, S.useCallback)(() => {
p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;
}, []), _ = (0, S.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = ZCe(e, o.current, XCe(r), c && !f && !n);
+ let { count: r, finite: c, focused: f } = d.current, p = XCe(e, o.current, YCe(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));
@@ -52768,7 +52836,7 @@ function twe(e, t, n = oL, r = !1) {
},
snapshot: () => ({ ...s.current }),
reset: () => {
- g(), _({ ...oL }, !0);
+ g(), _({ ...sL }, !0);
},
pan: (e, t) => {
g(), _({
@@ -52830,17 +52898,17 @@ function twe(e, t, n = oL, r = !1) {
}
//#endregion
//#region src/react/video-wall/wall-motion.ts
-var nwe = {
+var twe = {
type: "spring",
stiffness: 300,
damping: 34
-}, rwe = {
+}, nwe = {
delay: .14,
duration: .24
};
//#endregion
//#region src/react/video-wall/use-wall-playback.ts
-function iwe(e, t, n) {
+function rwe(e, t, n) {
let [r, i] = (0, S.useState)({
paused: !0,
time: 0,
@@ -52882,8 +52950,8 @@ function iwe(e, t, n) {
}
//#endregion
//#region src/react/video-wall/wall-controls.tsx
-function awe({ 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 = B_(), x = iwe(t, n, v), S = x.duration || Number(e.duration) || 0, w = r || i, T = !t || x.paused, E = async () => {
+function iwe({ 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 = B_(), x = rwe(t, n, v), S = x.duration || Number(e.duration) || 0, w = r || i, T = !t || x.paused, E = async () => {
if (!(w || a && !s)) try {
t === e.id ? await x.toggle() : await f();
} catch (e) {
@@ -52900,7 +52968,7 @@ function awe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : rwe,
+ transition: b ? { duration: 0 } : nwe,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -53005,7 +53073,7 @@ function awe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}
//#endregion
//#region src/react/components/mix-queue.tsx
-function sL({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function cL({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, S.useRef)(null), l = (0, S.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -53041,7 +53109,7 @@ function sL({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function cL({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function lL({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, C.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -53064,7 +53132,7 @@ function cL({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var owe = ({ label: e, count: t }) => /* @__PURE__ */ (0, C.jsxs)("h3", {
+var awe = ({ label: e, count: t }) => /* @__PURE__ */ (0, C.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -53074,16 +53142,16 @@ var owe = ({ label: e, count: t }) => /* @__PURE__ */ (0, C.jsxs)("h3", {
});
//#endregion
//#region src/react/video-wall/wall-queue.tsx
-function swe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function owe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, C.jsx)(sL, {
+ children: /* @__PURE__ */ (0, C.jsx)(cL, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(cL, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(lL, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
@@ -53092,7 +53160,7 @@ function swe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, C.jsx)(kI, { artwork: Ca(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, C.jsx)(ej, { artwork: Ca(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, C.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, C.jsx)("span", { children: [
e.edition_label,
e.part_label ? DD(e.part_label) : "",
@@ -53104,7 +53172,7 @@ function swe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
}
//#endregion
//#region src/react/video-wall/wall-route.ts
-function cwe(e = `${location.pathname}${location.search}`, t = {}) {
+function swe(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",
@@ -53119,18 +53187,18 @@ function cwe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function lwe(e = `${location.pathname}${location.search}`) {
+function cwe(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of aL) t.delete(e);
+ for (let e of oL) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function lL() {
+function uL() {
let e = new URLSearchParams(_k.navigation.location.search).get("returnTo") || "/";
_k.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
//#endregion
//#region src/react/video-wall/video-wall.tsx
-var uL = /* @__PURE__ */ new Map(), dL = (0, S.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var dL = /* @__PURE__ */ new Map(), fL = (0, S.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = Ca(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -53143,7 +53211,7 @@ var uL = /* @__PURE__ */ new Map(), dL = (0, S.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, C.jsx)(kI, {
+ children: /* @__PURE__ */ (0, C.jsx)(ej, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && nc(e);
@@ -53151,11 +53219,11 @@ var uL = /* @__PURE__ */ new Map(), dL = (0, S.memo)(function({ item: e, image:
})
});
});
-function uwe({ 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 lwe({ 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, S.useState)(() => {
- let e = uL.get(f);
+ let e = dL.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, S.useState)(() => m?.exploration || new $Ce()), g = (0, S.useRef)(!1), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = (0, S.useRef)(null), T = (0, S.useRef)(null), [E, D] = (0, S.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, S.useState)(m?.selectedKey || ""), [A, j] = (0, S.useState)(m?.sourceId || null), [M, N] = (0, S.useState)(!1), P = E?.edition_group ? {
+ }), [h] = (0, S.useState)(() => m?.exploration || new QCe()), g = (0, S.useRef)(!1), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(null), b = (0, S.useRef)(null), x = (0, S.useRef)(null), w = (0, S.useRef)(null), T = (0, S.useRef)(null), [E, D] = (0, S.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [O, k] = (0, S.useState)(m?.selectedKey || ""), [A, j] = (0, S.useState)(m?.sourceId || null), [M, N] = (0, S.useState)(!1), P = E?.edition_group ? {
kind: "editions",
seedId: E.edition_group.seed_id
} : E?.part_group ? {
@@ -53171,7 +53239,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === wD(I, A || E?.id || null)) || E, L = twe(e.length, t && !!e.length, m?.camera || {
+ }), I = P ? F.data : void 0, ee = I?.items.find((e) => e.id === wD(I, A || E?.id || null)) || E, L = ewe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
@@ -53209,17 +53277,17 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Ae = () => {
- Oe.current && (uL.delete(f), uL.set(f, {
+ Oe.current && (dL.delete(f), dL.set(f, {
...ke.current,
camera: L.snapshot(),
exploration: h
- }), uL.size > 8 && uL.delete(uL.keys().next().value));
+ }), dL.size > 8 && dL.delete(dL.keys().next().value));
};
(0, S.useLayoutEffect)(Ae);
- let je = QCe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({
+ let je = ZCe(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, L.view.camera, L.view.size), Me = i ? je.map((e) => ({
...e,
index: -1
- })) : t ? je : h.assign(je, e.length, n), Ne = E && (t ? rL(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? iL(e.length, t, Ne) : /* @__PURE__ */ new Map();
+ })) : t ? je : h.assign(je, e.length, n), Ne = E && (t ? iL(e.length, !0, O) : h.tile(O, e.length)), Pe = Ne ? aL(e.length, t, Ne) : /* @__PURE__ */ new Map();
Ne && !Me.some((e) => e.key === Ne.key) && Me.push(Ne);
let Fe = (e = !1) => {
T.current?.abort(), T.current = null, w.current?.(e), w.current = null, oe(null), ue(!1);
@@ -53258,7 +53326,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
E?.id !== n.id && Fe(!1), Ee.current = {
key: r.key,
id: n.id
- }, fe(""), ce(null), D(n), k(r.key), j(null), N(!1), be(!1), L.reveal(iL(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, fe(""), ce(null), D(n), k(r.key), j(null), N(!1), be(!1), L.reveal(aL(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Re = () => {
ee && y.current && (Ae(), Fe(!0), l.wallDetails?.(ee, y.current.querySelector("[data-wall-focus]") || y.current));
}, ze = async (e = ee) => {
@@ -53302,7 +53370,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = L.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (L.view.size.width / 2 - r.x) / r.scale,
y: (L.view.size.height / 2 - r.y) / r.scale
- }, o = t ? YCe(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? JCe(e.length, i) : h.nearest(e.length, i, a);
o && (Le(n, o), ce(n.id));
}, We = async () => {
if (!(r || g.current)) {
@@ -53394,7 +53462,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(dL, {
+ children: /* @__PURE__ */ (0, C.jsx)(fL, {
item: E,
image: we,
big: !0
@@ -53402,7 +53470,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, C.jsx)(dL, {
+ children: /* @__PURE__ */ (0, C.jsx)(fL, {
item: E,
image: we,
big: !0
@@ -53458,7 +53526,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(awe, {
+ /* @__PURE__ */ (0, C.jsx)(iwe, {
item: Ye,
playing: ae,
frame: b,
@@ -53480,7 +53548,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Be,
error: fe
}),
- M ? /* @__PURE__ */ (0, C.jsx)(swe, {
+ M ? /* @__PURE__ */ (0, C.jsx)(owe, {
items: Ve,
activeId: Ye.id,
kind: I?.kind || "wall",
@@ -53496,7 +53564,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: Se,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Ie() : ye ? be(!1) : lL());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), M ? N(!1) : E ? Ie() : ye ? be(!1) : uL());
},
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -53504,7 +53572,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: lL,
+ onClick: uL,
children: /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -53522,7 +53590,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, C.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, C.jsx)(q, {
size: "small",
variant: "ghost",
- onClick: () => _k.push(lwe()),
+ onClick: () => _k.push(cwe()),
children: "清除筛选"
})]
}) : null,
@@ -53548,18 +53616,18 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
defaultValue: new URLSearchParams(location.search).get("q") || ""
})]
}),
- /* @__PURE__ */ (0, C.jsxs)(YF, {
+ /* @__PURE__ */ (0, C.jsxs)(ZF, {
"aria-label": "播放墙图片",
value: we,
onChange: Te,
- className: XF,
- children: [/* @__PURE__ */ (0, C.jsx)(NN, {
+ className: QF,
+ children: [/* @__PURE__ */ (0, C.jsx)(FN, {
value: "cover",
- className: ZF,
+ className: $F,
children: "封面"
- }), /* @__PURE__ */ (0, C.jsx)(NN, {
+ }), /* @__PURE__ */ (0, C.jsx)(FN, {
value: "thumbnail",
- className: ZF,
+ className: $F,
children: "缩略图"
})]
}),
@@ -53651,7 +53719,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ie && !te && !r && ne ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: te ? { duration: 0 } : {
- layout: nwe,
+ layout: twe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -53684,7 +53752,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Le(n, t, !1));
},
children: r ? Xe : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(dL, {
+ /* @__PURE__ */ (0, C.jsx)(fL, {
item: n,
image: we,
ratio: i.width / i.height
@@ -53738,7 +53806,7 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}) : null,
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, C.jsx)(SI, {
+ children: /* @__PURE__ */ (0, C.jsx)(wI, {
busy: r,
onPress: () => void Ke()
})
@@ -53785,34 +53853,34 @@ function uwe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
//#endregion
//#region src/react/library-processing/processing-actions.tsx
-var fL = "peach.library-processing.resource-notice.v1";
-function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {
+var pL = "peach.library-processing.resource-notice.v1";
+function mL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", onRun: i }) {
let a = (0, S.useRef)(null), o = (0, S.useRef)(null);
(0, S.useEffect)(() => () => o.current?.close(), []);
let [s, c] = (0, S.useState)(!1), l = {
label: t ? "同步媒体库" : "同步这些影片",
- icon: kk,
+ icon: Ak,
command: t ? {} : { stage: "collect" }
}, u = [
l,
...t ? [{
label: "仅扫描文件",
- icon: Nk,
+ icon: Pk,
command: { stage: "scan" }
}] : [],
...t ? [{
label: "仅同步已入库影片",
- icon: kk,
+ icon: Ak,
command: { stage: "collect" }
}] : [],
{
label: "仅生成视频预览",
- icon: Nk,
+ icon: Pk,
command: { stage: "previews" }
},
{
label: "仅补全资料",
- icon: Wge,
+ icon: Uge,
command: { stage: "metadata" }
}
], d = (a) => {
@@ -53820,7 +53888,7 @@ function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
c(!1);
let s = !1;
try {
- s = localStorage.getItem(fL) === "seen";
+ s = localStorage.getItem(pL) === "seen";
} catch {}
if (!t || s || a.stage === "metadata") {
Promise.resolve(i(a)).catch(() => {});
@@ -53843,7 +53911,7 @@ function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
speed_mode: e === "low" ? "low" : e === "high" ? "high" : "standard"
});
try {
- localStorage.setItem(fL, "seen");
+ localStorage.setItem(pL, "seen");
} catch {}
}
});
@@ -53863,7 +53931,7 @@ function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
}), /* @__PURE__ */ (0, C.jsx)(q, {
ref: a,
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: wk,
"aria-label": "更多同步方式",
"aria-haspopup": "dialog",
"aria-expanded": s,
@@ -53872,14 +53940,14 @@ function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
e || c(!s);
}
})]
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: a,
isOpen: s,
onOpenChange: c,
placement: "bottom end",
offset: 4,
- className: KP,
- children: /* @__PURE__ */ (0, C.jsx)(CF, {
+ className: JP,
+ children: /* @__PURE__ */ (0, C.jsx)(TF, {
"aria-label": "同步方式",
className: "flex w-56 flex-col gap-1 outline-none",
children: u.map(({ label: e, icon: t, command: r }) => {
@@ -53888,7 +53956,7 @@ function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
type: "button",
disabled: i,
title: i ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: sA(qP, JP, "text-body-2-medium"),
+ className: cA(YP, XP, "text-body-2-medium"),
onClick: () => d(r),
children: [/* @__PURE__ */ (0, C.jsx)(t, {
"aria-hidden": !0,
@@ -53901,37 +53969,37 @@ function pL({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand
}
//#endregion
//#region src/react/library-processing/library-completion.tsx
-function mL(e, t) {
+function hL(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) && !Ca(e, "small", !1, t).html).map((e) => e.id))];
}
-function hL({ assetIds: e, onComplete: t }) {
- return e.length ? /* @__PURE__ */ (0, C.jsx)(dwe, {
+function gL({ assetIds: e, onComplete: t }) {
+ return e.length ? /* @__PURE__ */ (0, C.jsx)(uwe, {
assetIds: e,
onComplete: t
}) : null;
}
-function dwe({ assetIds: e, onComplete: t }) {
+function uwe({ assetIds: e, onComplete: t }) {
let n = pt({
- queryKey: fF,
- queryFn: ({ signal: e }) => hF(e),
- refetchInterval: (e) => vF(e.state.data, !0)
+ queryKey: mF,
+ queryFn: ({ signal: e }) => _F(e),
+ refetchInterval: (e) => bF(e.state.data, !0)
}), [r, i] = (0, S.useState)(null), [a, o] = (0, S.useState)(""), s = (0, S.useRef)(null), c = mt({
- mutationFn: (t) => U(dF, {
+ mutationFn: (t) => U(pF, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- i(e.job_id || null), W.setQueryData(fF, e), W.invalidateQueries({ queryKey: fF });
+ i(e.job_id || null), W.setQueryData(mF, e), W.invalidateQueries({ queryKey: mF });
}
}), l = n.data;
if ((0, S.useEffect)(() => {
- l && r && l.job_id === r && !pF(l) && s.current !== r && (s.current = r, l.status === "complete" && o(`补全完成:取得 ${l.covers || 0} 张封面,生成 ${l.previews || 0} 部视频预览。`), W.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
+ l && r && l.job_id === r && !hF(l) && s.current !== r && (s.current = r, l.status === "complete" && o(`补全完成:取得 ${l.covers || 0} 张封面,生成 ${l.previews || 0} 部视频预览。`), W.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
}, [
l,
r,
t
- ]), pF(l)) return null;
- let u = c.isPending || pF(l), d = c.error ? V(c.error) : n.error ? _F : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (c.isPending ? "正在启动补全…" : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
+ ]), hF(l)) return null;
+ let u = c.isPending || hF(l), d = c.error ? V(c.error) : n.error ? yF : r && l?.job_id === r && l.status === "failed" ? l.error || "补全未完成" : "", f = d || (c.isPending ? "正在启动补全…" : a || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,可补全资料与图片。`);
return /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
@@ -53941,7 +54009,7 @@ function dwe({ assetIds: e, onComplete: t }) {
tone: d ? "warning" : "neutral",
action: /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, C.jsx)(pL, {
+ children: /* @__PURE__ */ (0, C.jsx)(mL, {
busy: u,
metadataOnly: l?.metadata_only,
onRun: (e) => {
@@ -53952,10 +54020,10 @@ function dwe({ assetIds: e, onComplete: t }) {
children: [
f,
" ",
- /* @__PURE__ */ (0, C.jsx)(wA, {
+ /* @__PURE__ */ (0, C.jsx)(TA, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Tk,
children: d ? "查看并处理" : "查看处理详情"
})
]
@@ -53964,32 +54032,32 @@ function dwe({ assetIds: e, onComplete: t }) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/FlexRender.js
-function fwe(e) {
- return pwe(e) || typeof e == "function" || mwe(e);
+function dwe(e) {
+ return fwe(e) || typeof e == "function" || pwe(e);
}
-function pwe(e) {
+function fwe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function mwe(e) {
+function pwe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function gL(e, t) {
- return e == null ? null : fwe(e) ? /* @__PURE__ */ S.createElement(e, t) : e;
+function _L(e, t) {
+ return e == null ? null : dwe(e) ? /* @__PURE__ */ S.createElement(e, t) : e;
}
-function hwe(e) {
+function mwe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? gL(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : gL(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? _L(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : _L(n.cell, t.getContext());
}
- return "header" in e && e.header ? gL(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? gL(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? _L(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? _L(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
//#endregion
//#region node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function gwe({ update: e, notify: t, unwatched: n }) {
+function hwe({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -54107,7 +54175,7 @@ function gwe({ update: e, notify: t, unwatched: n }) {
}
//#endregion
//#region node_modules/@tanstack/store/dist/atom.js
-function _we(e, t, n) {
+function gwe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -54115,38 +54183,38 @@ function _we(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var _L = [], vL = 0, { link: yL, unlink: vwe, propagate: ywe, checkDirty: bL, shallowPropagate: xL } = /* @__PURE__ */ gwe({
+var vL = [], yL = 0, { link: bL, unlink: _we, propagate: vwe, checkDirty: xL, shallowPropagate: SL } = /* @__PURE__ */ hwe({
update(e) {
return e._update();
},
notify(e) {
- _L[CL++] = e, e.flags &= -3;
+ vL[wL++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, EL(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, DL(e));
}
-}), SL = 0, CL = 0, wL, TL = 0;
-function bwe(e) {
+}), CL = 0, wL = 0, TL, EL = 0;
+function ywe(e) {
try {
- ++TL, e();
+ ++EL, e();
} finally {
- --TL || DL();
+ --EL || OL();
}
}
-function EL(e) {
+function DL(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = vwe(n, e);
+ for (; n !== void 0;) n = _we(n, e);
}
-function DL() {
- if (!(TL > 0)) {
- for (; SL < CL;) {
- let e = _L[SL];
- _L[SL++] = void 0, e.notify();
+function OL() {
+ if (!(EL > 0)) {
+ for (; CL < wL;) {
+ let e = vL[CL];
+ vL[CL++] = void 0, e.notify();
}
- SL = 0, CL = 0;
+ CL = 0, wL = 0;
}
}
-function xwe(e, t) {
+function bwe(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -54155,53 +54223,53 @@ function xwe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return wL !== void 0 && yL(i, wL, vL), i._snapshot;
+ return TL !== void 0 && bL(i, TL, yL), i._snapshot;
},
subscribe(e) {
- let t = _we(e), n = { current: !1 }, r = Swe(() => {
- i.get(), n.current ? (wL = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = gwe(e), n = { current: !1 }, r = xwe(() => {
+ i.get(), n.current ? (TL = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = wL, o = t?.compare ?? Object.is;
- if (n) wL = i, ++vL, i.depsTail = void 0;
+ let a = TL, o = t?.compare ?? Object.is;
+ if (n) TL = i, ++yL, 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 {
- wL = a, n && (i.flags &= -5), EL(i);
+ TL = a, n && (i.flags &= -5), DL(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && bL(i.deps, i)) {
+ if (e & 16 || e & 32 && xL(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && xL(e);
+ e !== void 0 && SL(e);
}
} else e & 32 && (i.flags = e & -33);
- return wL !== void 0 && yL(i, wL, vL), i._snapshot;
+ return TL !== void 0 && bL(i, TL, yL), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (ywe(e), xL(e), DL());
+ e !== void 0 && (vwe(e), SL(e), OL());
}
}, i;
}
-function Swe(e) {
+function xwe(e) {
let t = () => {
- let t = wL;
- wL = n, ++vL, n.depsTail = void 0, n.flags = 6;
+ let t = TL;
+ TL = n, ++yL, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- wL = t, n.flags &= -5, EL(n);
+ TL = t, n.flags &= -5, DL(n);
}
}, n = {
deps: void 0,
@@ -54211,17 +54279,17 @@ function Swe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && bL(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && xL(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, EL(this);
+ this.flags = 0, this.depsTail = void 0, DL(this);
}
};
return t(), n;
}
//#endregion
//#region node_modules/@tanstack/store/dist/shallow.js
-function OL(e, t) {
+function kL(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) {
@@ -54235,18 +54303,18 @@ function OL(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = kL(e);
- if (n.length !== kL(t).length) return !1;
+ let n = AL(e);
+ if (n.length !== AL(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 kL(e) {
+function AL(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Cwe = /* @__PURE__ */ o(((e) => {
- var t = p(), n = fy();
+var Swe = /* @__PURE__ */ o(((e) => {
+ var t = p(), n = dy();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -54290,28 +54358,28 @@ var Cwe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), AL = (/* @__PURE__ */ o(((e, t) => {
- t.exports = Cwe();
+})), jL = (/* @__PURE__ */ o(((e, t) => {
+ t.exports = Swe();
})))();
-function wwe(e, t) {
+function Cwe(e, t) {
return e === t;
}
-function jL(e, t = (e) => e, n) {
- let r = n?.compare ?? wwe, i = (0, S.useCallback)((t) => {
+function ML(e, t = (e) => e, n) {
+ let r = n?.compare ?? Cwe, i = (0, S.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, S.useCallback)(() => e.get(), [e]);
- return (0, AL.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, jL.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/Subscribe.js
-function Twe(e) {
- let t = jL(e.source, e.selector, { compare: OL });
+function wwe(e) {
+ let t = ML(e.source, e.selector, { compare: kL });
return typeof e.children == "function" ? e.children(t) : e.children;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function Ewe(e) {
+function Twe(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
@@ -54319,7 +54387,7 @@ function Ewe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function Dwe(e) {
+function Ewe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -54349,7 +54417,7 @@ function Dwe(e) {
}
};
}
-function Owe(e, t = Object.is) {
+function Dwe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -54363,29 +54431,29 @@ function Owe(e, t = Object.is) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/reactivity.js
-function kwe() {
- return Dwe({
- createAtom: xwe,
- batch: bwe
+function Owe() {
+ return Ewe({
+ createAtom: bwe,
+ batch: ywe
});
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/utils.js
-function ML(e, t) {
+function NL(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function NL(e) {
- if (Array.isArray(e)) return e.map(NL);
+function PL(e) {
+ if (Array.isArray(e)) return e.map(PL);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? FL() : {}, r = Object.keys(e);
+ let n = t === null ? IL() : {}, 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: NL(e[i]),
+ value: PL(e[i]),
writable: !0
});
}
@@ -54393,7 +54461,7 @@ function NL(e) {
}
return e;
}
-function PL(e, t) {
+function FL(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -54401,53 +54469,53 @@ function PL(e, t) {
}
return e;
}
-function FL() {
+function IL() {
return Object.create(null);
}
-function IL(e, t) {
+function LL(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function LL(e, t) {
+function RL(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => ML(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => NL(n, e));
};
}
-function RL(e) {
+function zL(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 zL(e) {
+function BL(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var Awe = 3;
-function jwe(e, t) {
- return BL(e, t, Awe);
+var kwe = 3;
+function Awe(e, t) {
+ return VL(e, t, kwe);
}
-function BL(e, t, n) {
+function VL(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !RL(e) || !RL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = zL(e), i = zL(t);
+ if (n <= 0 || !zL(e) || !zL(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = BL(e), i = BL(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) || !BL(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !VL(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function VL(e, t, n, r = jwe) {
+function HL(e, t, n, r = Awe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = ML(n, e);
+ let t = NL(n, e);
return r(e, t) ? e : t;
});
}
-function Mwe(e) {
+function jwe(e) {
return e instanceof Function;
}
-function Nwe(e, t) {
+function Mwe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -54457,7 +54525,7 @@ function Nwe(e, t) {
};
return r(e), n;
}
-var Pwe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var Nwe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -54471,23 +54539,23 @@ var Pwe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function HL(e) {
+function UL(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function UL({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function WL({ 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 Pwe({
+ return Nwe({
...a,
...o
});
}
-function WL(e, t = "_") {
+function GL(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -54495,10 +54563,10 @@ function WL(e, t = "_") {
parentName: n
};
}
-function GL(e, t, n) {
+function KL(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = WL(r);
- t[n] = a ? UL({
+ let { fnKey: n, fnName: o } = GL(r);
+ t[n] = a ? WL({
memoDeps: a,
fn: i,
fnName: o,
@@ -54507,15 +54575,15 @@ function GL(e, t, n) {
}) : i;
}
}
-function KL(e, t, n, r) {
+function qL(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = WL(i);
+ let { fnKey: r, fnName: s } = GL(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = UL({
+ this[i] = WL({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -54531,18 +54599,18 @@ function KL(e, t, n, r) {
};
}
}
-function qL(e, t, n, ...r) {
+function JL(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function Fwe(e) {
+function Pwe(e) {
return e.row.getValue(e.column.id);
}
-function Iwe(e) {
+function Fwe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function Lwe(e) {
+function Iwe(e) {
return {
table: e.table,
column: e.column,
@@ -54554,19 +54622,19 @@ function Lwe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var Rwe = { assignCellPrototype: (e, t) => {
- KL("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => Fwe(e) },
- cell_renderValue: { fn: (e) => Iwe(e) },
+var Lwe = { assignCellPrototype: (e, t) => {
+ qL("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => Pwe(e) },
+ cell_renderValue: { fn: (e) => Fwe(e) },
cell_getContext: {
- fn: (e) => Lwe(e),
+ fn: (e) => Iwe(e),
memoDeps: (e) => [e]
}
});
} };
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function zwe(e) {
+function Rwe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -54574,7 +54642,7 @@ function zwe(e) {
}
return e._columnPrototype;
}
-function Bwe(e, t, n, r) {
+function zwe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -54594,7 +54662,7 @@ function Bwe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = zwe(e), u = Object.create(l);
+ let l = Rwe(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);
@@ -54602,47 +54670,47 @@ function Bwe(e, t, n, r) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function JL(e) {
+function YL(e) {
return e.getIsVisible?.() ?? !0;
}
-function Vwe(e) {
+function Bwe(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function YL(e, t) {
+function XL(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function XL(e, t, n, r) {
+function ZL(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function ZL(e, t) {
+function QL(e, t) {
return e._expandRows?.(t) ?? t;
}
-function Hwe(e) {
+function Vwe(e) {
e.autoResetExpanded?.();
}
-function QL(e) {
+function $L(e) {
e.autoResetPageIndex?.();
}
-function Uwe(e) {
+function Hwe(e) {
e.autoResetSorting?.();
}
-function Wwe(e) {
+function Uwe(e) {
e.autoResetCellSelection?.();
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function Gwe(e) {
+function Wwe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function Kwe(e) {
+function Gwe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return YL(e.table, t);
+ return XL(e.table, t);
}
return [e];
}
-function qwe(e) {
+function Kwe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -54653,54 +54721,54 @@ function qwe(e) {
...e.options.defaultColumn
};
}
-function $L(e, t, n, r = 0) {
+function eR(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 = Bwe(e, o, r, n), c = o;
- s.columns = c.columns ? $L(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = zwe(e, o, r, n), c = o;
+ s.columns = c.columns ? eR(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function Jwe(e) {
- return $L(e, e.options.columns);
+function qwe(e) {
+ return eR(e, e.options.columns);
}
-function Ywe(e) {
+function Jwe(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
-function Xwe(e) {
- let t = FL(), n = e.getAllFlatColumns();
+function Ywe(e) {
+ let t = IL(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function Zwe(e) {
- return YL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+function Xwe(e) {
+ return XL(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
-function Qwe(e) {
- let t = FL(), n = e.getAllLeafColumns();
+function Zwe(e) {
+ let t = IL(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function $we(e, t) {
+function Qwe(e, t) {
return e.getAllFlatColumnsById()[t];
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var eTe = {
+var $we = {
assignColumnPrototype: (e, t) => {
- KL("coreColumnsFeature", e, t, {
+ qL("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => Gwe(e),
+ fn: (e) => Wwe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => Kwe(e),
+ fn: (e) => Gwe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -54711,25 +54779,25 @@ var eTe = {
});
},
constructTableAPIs: (e) => {
- GL("coreColumnsFeature", e, {
+ KL("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => qwe(e),
+ fn: () => Kwe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => Jwe(e),
+ fn: () => qwe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => Ywe(e),
+ fn: () => Jwe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => Xwe(e),
+ fn: () => Ywe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => Zwe(e),
+ fn: () => Xwe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -54738,16 +54806,16 @@ var eTe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => Qwe(e),
+ fn: () => Zwe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => $we(e, t) }
+ table_getColumn: { fn: (t) => Qwe(e, t) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function tTe(e) {
+function eTe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -54755,8 +54823,8 @@ function tTe(e) {
}
return e._headerPrototype;
}
-function eR(e, t, n) {
- let r = tTe(e), i = Object.create(r);
+function tR(e, t, n) {
+ let r = eTe(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);
@@ -54764,30 +54832,30 @@ function eR(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function tR(e, t = 1) {
+function nR(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- JL(i) && i.columns.length && (n = Math.max(n, tR(i.columns, t + 1)));
+ YL(i) && i.columns.length && (n = Math.max(n, nR(i.columns, t + 1)));
}
return n;
}
-function nTe(e, t) {
+function tTe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function rTe(e, t, n, r) {
+function nTe(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 iTe(e, t) {
+function rTe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function nR(e, t, n, r, i, a) {
+function rR(e, t, n, r, i, a) {
let o = {
depth: t,
- id: nTe(r, t),
+ id: tTe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -54795,10 +54863,10 @@ function nR(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 = eR(n, u, {
- id: rTe(r, t, u.id, a.id),
+ let e = tR(n, u, {
+ id: nTe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(iTe(s, u)) : void 0,
+ placeholderId: d ? String(rTe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -54807,18 +54875,18 @@ function nR(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 && nR(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && rR(s, t - 1, n, r, i, a);
}
-function rR(e) {
+function iR(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!JL(n.column)) continue;
+ if (!YL(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- rR(n.subHeaders);
+ iR(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- JL(t.column) && (r += t.colSpan);
+ YL(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -54828,38 +54896,38 @@ function rR(e) {
} else n.rowSpan = 1;
}
}
-function aTe(e, t, n, r) {
- let i = tR(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = eR(n, t[e], {
+function iTe(e, t, n, r) {
+ let i = nR(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = tR(n, t[e], {
depth: i,
index: e
}));
- return nR(s, i - 1, n, r, a, o), a.reverse(), rR(a[0]?.headers ?? []), a;
+ return rR(s, i - 1, n, r, a, o), a.reverse(), iR(a[0]?.headers ?? []), a;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function iR(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) iR(e.subHeaders[n], t);
+function aR(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) aR(e.subHeaders[n], t);
t.push(e);
}
-function oTe(e) {
+function aTe(e) {
let t = [];
- return iR(e, t), t;
+ return aR(e, t), t;
}
-function sTe(e) {
+function oTe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function cTe(e) {
- return aTe(e.getAllColumns(), XL(e, Vwe(e), (e) => e.id), e);
+function sTe(e) {
+ return iTe(e.getAllColumns(), ZL(e, Bwe(e), (e) => e.id), e);
}
-function lTe(e) {
+function cTe(e) {
return [...e.getHeaderGroups()].reverse();
}
-function uTe(e) {
+function lTe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -54867,7 +54935,7 @@ function uTe(e) {
}
return n;
}
-function dTe(e) {
+function uTe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -54877,23 +54945,23 @@ function dTe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var fTe = {
+var dTe = {
assignHeaderPrototype: (e, t) => {
- KL("coreHeadersFeature", e, t, {
+ qL("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => oTe(e),
+ fn: (e) => aTe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => sTe(e),
+ fn: (e) => oTe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- GL("coreHeadersFeature", e, {
+ KL("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => cTe(e),
+ fn: () => sTe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -54904,15 +54972,15 @@ var fTe = {
]
},
table_getFooterGroups: {
- fn: () => lTe(e),
+ fn: () => cTe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => uTe(e),
+ fn: () => lTe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => dTe(e),
+ fn: () => uTe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
@@ -54920,7 +54988,7 @@ var fTe = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function pTe(e) {
+function fTe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -54928,102 +54996,102 @@ function pTe(e) {
}
return e._rowPrototype;
}
-var mTe = (e, t, n, r, i, a, o) => {
- let s = pTe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = FL(), c._valuesCache = FL(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var pTe = (e, t, n, r, i, a, o) => {
+ let s = fTe(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = IL(), c._valuesCache = IL(), 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;
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function hTe() {
- return (e) => UL({
+function mTe() {
+ return (e) => WL({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => gTe(e, e.options.data),
- onAfterUpdate: HL(() => {
- Hwe(e), QL(e), Uwe(e), Wwe(e);
+ fn: () => hTe(e, e.options.data),
+ onAfterUpdate: UL(() => {
+ Vwe(e), $L(e), Hwe(e), Uwe(e);
})
});
}
-function aR(e, t, n, r = 0, i) {
+function oR(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = mTe(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 = aR(e, t, c.originalSubRows, r + 1, c)));
+ let s = n[o], c = pTe(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 = oR(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function gTe(e, t) {
+function hTe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: FL()
+ rowsById: IL()
};
- return n.rows = aR(e, n, t), n;
+ return n.rows = oR(e, n, t), n;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function _Te(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? hTe()(e)), e._rowModels.coreRowModel();
+function gTe(e) {
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? mTe()(e)), e._rowModels.coreRowModel();
}
-function vTe(e) {
+function _Te(e) {
return e.getCoreRowModel();
}
-function yTe(e) {
+function vTe(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 bTe(e) {
+function yTe(e) {
return e.getFilteredRowModel();
}
-function xTe(e) {
+function bTe(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 STe(e) {
+function xTe(e) {
return e.getGroupedRowModel();
}
-function CTe(e) {
+function STe(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 wTe(e) {
+function CTe(e) {
return e.getSortedRowModel();
}
-function TTe(e) {
+function wTe(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 ETe(e) {
+function TTe(e) {
return e.getExpandedRowModel();
}
-function DTe(e) {
+function ETe(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 OTe(e) {
+function DTe(e) {
return e.getPaginatedRowModel();
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var kTe = { constructTableAPIs: (e) => {
- GL("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => _Te(e) },
- table_getPreFilteredRowModel: { fn: () => vTe(e) },
- table_getFilteredRowModel: { fn: () => yTe(e) },
- table_getPreGroupedRowModel: { fn: () => bTe(e) },
- table_getGroupedRowModel: { fn: () => xTe(e) },
- table_getPreSortedRowModel: { fn: () => STe(e) },
- table_getSortedRowModel: { fn: () => CTe(e) },
- table_getPreExpandedRowModel: { fn: () => wTe(e) },
- table_getExpandedRowModel: { fn: () => TTe(e) },
- table_getPrePaginatedRowModel: { fn: () => ETe(e) },
- table_getPaginatedRowModel: { fn: () => DTe(e) },
- table_getRowModel: { fn: () => OTe(e) }
+var OTe = { constructTableAPIs: (e) => {
+ KL("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => gTe(e) },
+ table_getPreFilteredRowModel: { fn: () => _Te(e) },
+ table_getFilteredRowModel: { fn: () => vTe(e) },
+ table_getPreGroupedRowModel: { fn: () => yTe(e) },
+ table_getGroupedRowModel: { fn: () => bTe(e) },
+ table_getPreSortedRowModel: { fn: () => xTe(e) },
+ table_getSortedRowModel: { fn: () => STe(e) },
+ table_getPreExpandedRowModel: { fn: () => CTe(e) },
+ table_getExpandedRowModel: { fn: () => wTe(e) },
+ table_getPrePaginatedRowModel: { fn: () => TTe(e) },
+ table_getPaginatedRowModel: { fn: () => ETe(e) },
+ table_getRowModel: { fn: () => DTe(e) }
});
} };
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function ATe(e) {
+function kTe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -55031,8 +55099,8 @@ function ATe(e) {
}
return e._cellPrototype;
}
-function jTe(e, t, n) {
- let r = ATe(n), i = Object.create(r);
+function ATe(e, t, n) {
+ let r = kTe(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);
@@ -55040,40 +55108,40 @@ function jTe(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function MTe(e) {
+function jTe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function NTe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? ZL(e, t).rows : t.rows;
+function MTe(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? QL(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function PTe(e, t) {
- if (IL(e._valuesCache, t)) return e._valuesCache[t];
+function NTe(e, t) {
+ if (LL(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 FTe(e, t) {
- if (IL(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function PTe(e, t) {
+ if (LL(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 ITe(e, t) {
+function FTe(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function LTe(e) {
- return Nwe(e.subRows, (e) => e.subRows);
+function ITe(e) {
+ return Mwe(e.subRows, (e) => e.subRows);
}
-function RTe(e) {
+function LTe(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 zTe(e) {
+function RTe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function BTe(e) {
+function zTe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -55082,71 +55150,71 @@ function BTe(e) {
}
return t.reverse();
}
-function VTe(e) {
+function BTe(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 = jTe(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = ATe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function HTe(e) {
- let t = FL(), n = e.getAllCells();
+function VTe(e) {
+ let t = IL(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function UTe(e, t, n, r) {
+function HTe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function WTe(e, t, n) {
+function UTe(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var GTe = {
+var WTe = {
assignRowPrototype: (e, t) => {
- KL("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => MTe(e) },
+ qL("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => jTe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => HTe(e),
+ fn: (e) => VTe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => VTe(e),
+ fn: (e) => BTe(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => LTe(e),
+ fn: (e) => ITe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => zTe(e) },
- row_getParentRows: { fn: (e) => BTe(e) },
- row_getUniqueValues: { fn: (e, t) => FTe(e, t) },
- row_getValue: { fn: (e, t) => PTe(e, t) },
- row_renderValue: { fn: (e, t) => ITe(e, t) }
+ row_getParentRow: { fn: (e) => RTe(e) },
+ row_getParentRows: { fn: (e) => zTe(e) },
+ row_getUniqueValues: { fn: (e, t) => PTe(e, t) },
+ row_getValue: { fn: (e, t) => NTe(e, t) },
+ row_renderValue: { fn: (e, t) => FTe(e, t) }
});
},
constructTableAPIs: (e) => {
- GL("coreRowsFeature", e, {
+ KL("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => NTe(e),
+ fn: () => MTe(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => UTe(t, e, n, r) },
- table_getRow: { fn: (t, n) => WTe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => HTe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => UTe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => RTe(e),
+ fn: () => LTe(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
@@ -55154,7 +55222,7 @@ var GTe = {
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function oR(e, t, n = (e, t) => e === t) {
+function sR(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) {
@@ -55165,13 +55233,13 @@ function oR(e, t, n = (e, t) => e === t) {
}
});
}
-function sR(e, t, n = (e, t) => e === t) {
+function cR(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- oR(e, t, n), e._reactivity.commit?.();
+ sR(e, t, n), e._reactivity.commit?.();
});
}
-function KTe(e) {
- let t = NL(e.initialState);
+function GTe(e) {
+ let t = PL(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -55182,7 +55250,7 @@ function KTe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function qTe(e, t) {
+function KTe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -55214,28 +55282,28 @@ function qTe(e, t) {
}
});
}
-function cR(e, t, n) {
- let r = qTe(e, ML(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && sR(e, r.state ?? null);
+function lR(e, t, n) {
+ let r = KTe(e, NL(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && cR(e, r.state ?? null);
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var JTe = {
- coreCellsFeature: Rwe,
- coreColumnsFeature: eTe,
- coreHeadersFeature: fTe,
- coreRowModelsFeature: kTe,
- coreRowsFeature: GTe,
+var qTe = {
+ coreCellsFeature: Lwe,
+ coreColumnsFeature: $we,
+ coreHeadersFeature: dTe,
+ coreRowModelsFeature: OTe,
+ coreRowsFeature: WTe,
coreTablesFeature: { constructTableAPIs: (e) => {
- GL("coreTablesFeature", e, {
- table_reset: { fn: () => KTe(e) },
- table_setOptions: { fn: (t) => cR(e, t) }
+ KL("coreTablesFeature", e, {
+ table_reset: { fn: () => GTe(e) },
+ table_setOptions: { fn: (t) => lR(e, t) }
});
} }
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function lR() {
+function uR() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -55251,22 +55319,22 @@ function lR() {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function uR(e) {
+function dR(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function YTe(e, t = {}) {
+function JTe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), NL(t);
+ }), PL(t);
}
-function XTe(e) {
+function YTe(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: {
- ...JTe,
+ ...qTe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -55304,7 +55372,7 @@ function XTe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = YTe(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = JTe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -55312,14 +55380,14 @@ function XTe(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 && IL(i, n)) {
+ if (i && LL(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- oR(v), v.store = Ewe(t.createReadonlyAtom(() => {
+ sR(v), v.store = Twe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -55327,7 +55395,7 @@ function XTe(e) {
}
return e;
}, {
- compare: OL,
+ compare: kL,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -55338,108 +55406,108 @@ function XTe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function ZTe() {
- return FL();
+function XTe() {
+ return IL();
}
-function dR(e, t) {
- pR(e) && hR(e.table, (n) => {
- let r = Object.assign(FL(), n), i = t ?? !qL(e, "getIsVisible", fR), a = e.getLeafColumns();
+function fR(e, t) {
+ mR(e) && gR(e.table, (n) => {
+ let r = Object.assign(IL(), n), i = t ?? !JL(e, "getIsVisible", pR), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- pR(t) && (r[t.id] = i);
+ mR(t) && (r[t.id] = i);
}
return r;
});
}
-function fR(e) {
+function pR(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => qL(e, "getIsVisible", fR)) : (IL(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => JL(e, "getIsVisible", pR)) : (LL(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function pR(e) {
+function mR(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function QTe(e) {
+function ZTe(e) {
return (t) => {
- dR(e, t.target.checked);
+ fR(e, t.target.checked);
};
}
-function $Te(e) {
+function QTe(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- qL(r.column, "getIsVisible", fR) && n.push(r);
+ JL(r.column, "getIsVisible", pR) && n.push(r);
}
- return XL(e.table, n, (e) => e.column.id, () => qL(e, "getVisibleCellsByColumnId", mR));
+ return ZL(e.table, n, (e) => e.column.id, () => JL(e, "getVisibleCellsByColumnId", hR));
}
-function mR(e) {
- let t = FL(), n = e.getAllCells();
+function hR(e) {
+ let t = IL(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- qL(r.column, "getIsVisible", fR) && (t[r.column.id] = r);
+ JL(r.column, "getIsVisible", pR) && (t[r.column.id] = r);
}
return t;
}
-function eEe(e) {
- return e.getAllFlatColumns().filter((e) => qL(e, "getIsVisible", fR));
+function $Te(e) {
+ return e.getAllFlatColumns().filter((e) => JL(e, "getIsVisible", pR));
}
-function tEe(e) {
- return e.getAllLeafColumns().filter((e) => qL(e, "getIsVisible", fR));
+function eEe(e) {
+ return e.getAllLeafColumns().filter((e) => JL(e, "getIsVisible", pR));
}
-function hR(e, t) {
- VL(e, "columnVisibility", t);
+function gR(e, t) {
+ HL(e, "columnVisibility", t);
}
-function nEe(e, t) {
- hR(e, t ? FL() : Object.assign(FL(), NL(e.initialState.columnVisibility ?? {})));
+function tEe(e, t) {
+ gR(e, t ? IL() : Object.assign(IL(), PL(e.initialState.columnVisibility ?? {})));
}
-function gR(e, t) {
- t ??= !_R(e);
- let n = FL(), r = e.getAllLeafColumns();
+function _R(e, t) {
+ t ??= !vR(e);
+ let n = IL(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !pR(i);
+ n[i.id] = t || !mR(i);
}
- hR(e, n);
+ gR(e, n);
}
-function _R(e) {
- return !e.getAllLeafColumns().some((e) => !qL(e, "getIsVisible", fR));
+function vR(e) {
+ return !e.getAllLeafColumns().some((e) => !JL(e, "getIsVisible", pR));
}
-function rEe(e) {
- return e.getAllLeafColumns().some((e) => qL(e, "getIsVisible", fR));
+function nEe(e) {
+ return e.getAllLeafColumns().some((e) => JL(e, "getIsVisible", pR));
}
-function iEe(e) {
+function rEe(e) {
return (t) => {
- gR(e, t.target.checked);
+ _R(e, t.target.checked);
};
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var aEe = {
+var iEe = {
getInitialState: (e) => ({
- columnVisibility: ZTe(),
+ columnVisibility: XTe(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: LL("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: RL("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- KL("columnVisibilityFeature", e, t, {
+ qL("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => fR(e),
+ fn: (e) => pR(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => pR(e) },
- column_getToggleVisibilityHandler: { fn: (e) => QTe(e) },
- column_toggleVisibility: { fn: (e, t) => dR(e, t) }
+ column_getCanHide: { fn: (e) => mR(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => ZTe(e) },
+ column_toggleVisibility: { fn: (e, t) => fR(e, t) }
});
},
assignRowPrototype: (e, t) => {
- KL("columnVisibilityFeature", e, t, {
+ qL("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => $Te(e),
+ fn: (e) => QTe(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -55447,15 +55515,15 @@ var aEe = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => mR(e),
+ fn: (e) => hR(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- GL("columnVisibilityFeature", e, {
+ KL("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => eEe(e),
+ fn: () => $Te(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -55465,7 +55533,7 @@ var aEe = {
]
},
table_getVisibleLeafColumns: {
- fn: () => tEe(e),
+ fn: () => eEe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -55474,51 +55542,51 @@ var aEe = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => hR(e, t) },
- table_resetColumnVisibility: { fn: (t) => nEe(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => gR(e, t) },
- table_getIsAllColumnsVisible: { fn: () => _R(e) },
- table_getIsSomeColumnsVisible: { fn: () => rEe(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => iEe(e) }
+ table_setColumnVisibility: { fn: (t) => gR(e, t) },
+ table_resetColumnVisibility: { fn: (t) => tEe(e, t) },
+ table_toggleAllColumnsVisible: { fn: (t) => _R(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => vR(e) },
+ table_getIsSomeColumnsVisible: { fn: () => nEe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => rEe(e) }
});
}
-}, vR = 0, yR = 10;
-function bR() {
+}, yR = 0, bR = 10;
+function xR() {
return {
- pageIndex: vR,
- pageSize: yR
+ pageIndex: yR,
+ pageSize: bR
};
}
-function oEe(e) {
+function aEe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? vR) === vR) return;
- CR(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? yR) === yR) return;
+ wR(e, !0);
}
}
-function xR(e, t) {
- VL(e, "pagination", t);
+function SR(e, t) {
+ HL(e, "pagination", t);
}
-function sEe(e, t) {
- xR(e, t ? bR() : NL(e.initialState.pagination ?? bR()));
+function oEe(e, t) {
+ SR(e, t ? xR() : PL(e.initialState.pagination ?? xR()));
}
-function SR(e, t) {
- xR(e, (n) => {
- let r = ML(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function CR(e, t) {
+ SR(e, (n) => {
+ let r = NL(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 CR(e, t) {
- SR(e, t ? vR : e.initialState.pagination?.pageIndex ?? vR);
+function wR(e, t) {
+ CR(e, t ? yR : e.initialState.pagination?.pageIndex ?? yR);
}
-function cEe(e, t) {
- wR(e, t ? yR : e.initialState.pagination?.pageSize ?? yR);
+function sEe(e, t) {
+ TR(e, t ? bR : e.initialState.pagination?.pageSize ?? bR);
}
-function wR(e, t) {
- xR(e, (e) => {
- let n = Math.max(1, ML(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function TR(e, t) {
+ SR(e, (e) => {
+ let n = Math.max(1, NL(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -55526,233 +55594,233 @@ function wR(e, t) {
};
});
}
-function lEe(e) {
- let t = TR(e), n = [];
+function cEe(e) {
+ let t = ER(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
-function uEe(e) {
+function lEe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
-function dEe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? vR, n = TR(e);
+function uEe(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? yR, n = ER(e);
return n === -1 || n !== 0 && t < n - 1;
}
-function fEe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? vR, n = TR(e);
+function dEe(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? yR, n = ER(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
+function fEe(e) {
+ return CR(e, (e) => e - 1);
+}
function pEe(e) {
- return SR(e, (e) => e - 1);
+ return CR(e, (e) => e + 1);
}
function mEe(e) {
- return SR(e, (e) => e + 1);
+ return CR(e, 0);
}
function hEe(e) {
- return SR(e, 0);
-}
-function gEe(e) {
- let t = TR(e);
- if (!(!Number.isFinite(t) || t <= 0)) return SR(e, t - 1);
+ let t = ER(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return CR(e, t - 1);
}
-function TR(e) {
+function ER(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = ER(e), r = e.atoms.pagination?.get()?.pageSize ?? yR;
+ let n = DR(e), r = e.atoms.pagination?.get()?.pageSize ?? bR;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function ER(e) {
+function DR(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var DR = {
+var OR = {
getInitialState: (e) => ({
...e,
pagination: {
- ...bR(),
+ ...xR(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: LL("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: RL("pagination", e) }),
constructTableAPIs: (e) => {
- GL("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => oEe(e) },
- table_setPagination: { fn: (t) => xR(e, t) },
- table_resetPagination: { fn: (t) => sEe(e, t) },
- table_setPageIndex: { fn: (t) => SR(e, t) },
- table_resetPageIndex: { fn: (t) => CR(e, t) },
- table_setPageSize: { fn: (t) => wR(e, t) },
- table_getPageCount: { fn: () => TR(e) },
- table_resetPageSize: { fn: (t) => cEe(e, t) },
- table_getPageOptions: { fn: () => lEe(e) },
- table_getCanPreviousPage: { fn: () => uEe(e) },
- table_getCanNextPage: { fn: () => dEe(e) },
- table_getCanLastPage: { fn: () => fEe(e) },
- table_previousPage: { fn: () => pEe(e) },
- table_nextPage: { fn: () => mEe(e) },
- table_firstPage: { fn: () => hEe(e) },
- table_lastPage: { fn: () => gEe(e) },
- table_getRowCount: { fn: () => ER(e) }
+ KL("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => aEe(e) },
+ table_setPagination: { fn: (t) => SR(e, t) },
+ table_resetPagination: { fn: (t) => oEe(e, t) },
+ table_setPageIndex: { fn: (t) => CR(e, t) },
+ table_resetPageIndex: { fn: (t) => wR(e, t) },
+ table_setPageSize: { fn: (t) => TR(e, t) },
+ table_getPageCount: { fn: () => ER(e) },
+ table_resetPageSize: { fn: (t) => sEe(e, t) },
+ table_getPageOptions: { fn: () => cEe(e) },
+ table_getCanPreviousPage: { fn: () => lEe(e) },
+ table_getCanNextPage: { fn: () => uEe(e) },
+ table_getCanLastPage: { fn: () => dEe(e) },
+ table_previousPage: { fn: () => fEe(e) },
+ table_nextPage: { fn: () => pEe(e) },
+ table_firstPage: { fn: () => mEe(e) },
+ table_lastPage: { fn: () => hEe(e) },
+ table_getRowCount: { fn: () => DR(e) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function _Ee() {
- return FL();
+function gEe() {
+ return IL();
}
-function OR(e, t) {
+function kR(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function vEe(e, t) {
- e._lastSelectedRowId = null, OR(e, t ? FL() : Object.assign(FL(), NL(e.initialState.rowSelection ?? {})));
+function _Ee(e, t) {
+ e._lastSelectedRowId = null, kR(e, t ? IL() : Object.assign(IL(), PL(e.initialState.rowSelection ?? {})));
}
-function kR(e, t, n) {
- e._lastSelectedRowId = null, OR(e, (r) => {
- if (t = t === void 0 ? !qL(e, "getIsAllRowsSelected", MR) : t, n?.deselectAll && !t) return FL();
- let i = Object.assign(FL(), r), a = e.getPreGroupedRowModel().flatRows;
+function AR(e, t, n) {
+ e._lastSelectedRowId = null, kR(e, (r) => {
+ if (t = t === void 0 ? !JL(e, "getIsAllRowsSelected", NR) : t, n?.deselectAll && !t) return IL();
+ let i = Object.assign(IL(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- HR(t, e) && (i[t.id] = !0);
+ UR(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- RR(e) && delete i[e.id];
+ zR(e) && delete i[e.id];
});
return i;
});
}
-function AR(e, t, n) {
- e._lastSelectedRowId = null, OR(e, (r) => {
- let i = t === void 0 ? !qL(e, "getIsAllPageRowsSelected", NR) : t;
- if (n?.deselectAll && !i) return FL();
- let a = Object.assign(FL(), r);
+function jR(e, t, n) {
+ e._lastSelectedRowId = null, kR(e, (r) => {
+ let i = t === void 0 ? !JL(e, "getIsAllPageRowsSelected", PR) : t;
+ if (n?.deselectAll && !i) return IL();
+ let a = Object.assign(IL(), r);
return e.getRowModel().rows.forEach((t) => {
- VR(a, t.id, i, !0, e, !0);
+ HR(a, t.id, i, !0, e, !0);
}), a;
});
}
-function yEe(e) {
+function vEe(e) {
return e.getCoreRowModel();
}
-function bEe(e) {
+function yEe(e) {
let t = e.getCoreRowModel();
- return qL(e, "getIsSomeRowsSelected", PR) ? GR(t, e) : {
+ return JL(e, "getIsSomeRowsSelected", FR) ? KR(t, e) : {
rows: [],
flatRows: [],
- rowsById: FL()
+ rowsById: IL()
};
}
-function xEe(e) {
+function bEe(e) {
let t = e.getFilteredRowModel();
- return qL(e, "getIsSomeRowsSelected", PR) ? GR(t, e) : {
+ return JL(e, "getIsSomeRowsSelected", FR) ? KR(t, e) : {
rows: [],
flatRows: [],
- rowsById: FL()
+ rowsById: IL()
};
}
-function SEe(e) {
+function xEe(e) {
let t = e.getSortedRowModel();
- return qL(e, "getIsSomeRowsSelected", PR) ? GR(t, e) : {
+ return JL(e, "getIsSomeRowsSelected", FR) ? KR(t, e) : {
rows: [],
flatRows: [],
- rowsById: FL()
+ rowsById: IL()
};
}
-function jR(e) {
+function MR(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function MR(e) {
+function NR(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) => !KR(t, n) && HR(t, e)) && (r = !1);
+ t.some((t) => !qR(t, n) && UR(t, e)) && (r = !1);
}
return r;
}
-function NR(e) {
+function PR(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 (KR(a, n)) !i && HR(a, r) && (i = !0);
- else if (HR(a, r)) return !1;
+ if (qR(a, n)) !i && UR(a, r) && (i = !0);
+ else if (UR(a, r)) return !1;
}
return i;
}
-function PR(e) {
- return qL(e, "getSelectedRowIds", jR).length > 0;
+function FR(e) {
+ return JL(e, "getSelectedRowIds", MR).length > 0;
}
-function CEe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => RR(e)).some((e) => IR(e) || qL(e, "getIsSomeSelected", LR));
+function SEe(e) {
+ return e.getPaginatedRowModel().flatRows.filter((e) => zR(e)).some((e) => LR(e) || JL(e, "getIsSomeSelected", RR));
}
-function wEe(e) {
+function CEe(e) {
return (t) => {
- kR(e, t.target.checked);
+ AR(e, t.target.checked);
};
}
-function TEe(e) {
+function wEe(e) {
return (t) => {
- AR(e, t.target.checked);
+ jR(e, t.target.checked);
};
}
-function FR(e, t, n) {
- let r = IR(e);
- OR(e.table, (i) => {
+function IR(e, t, n) {
+ let r = LR(e);
+ kR(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(FL(), i);
- return VR(a, e.id, t, (n?.selectChildren ?? !0) && BR(e), e.table), !t && n?.deselectParents && UR(a, e), a;
+ let a = Object.assign(IL(), i);
+ return HR(a, e.id, t, (n?.selectChildren ?? !0) && VR(e), e.table), !t && n?.deselectParents && WR(a, e), a;
});
}
-function IR(e) {
- return KR(e, e.table.atoms.rowSelection?.get() ?? {});
-}
function LR(e) {
- return qR(e) === "some";
-}
-function EEe(e) {
- return qR(e) === "all";
+ return qR(e, e.table.atoms.rowSelection?.get() ?? {});
}
function RR(e) {
+ return JR(e) === "some";
+}
+function TEe(e) {
+ return JR(e) === "all";
+}
+function zR(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function zR(e) {
+function BR(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function BR(e) {
+function VR(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function DEe(e, t) {
- let n = RR(e);
+function EEe(e, t) {
+ let n = zR(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 && BR(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !OEe(e, s, o, t)) && FR(e, o, t), a._lastSelectedRowId = e.id;
+ (!(a.options.enableRowRangeSelection !== !1 && s !== null && VR(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1)) || !DEe(e, s, o, t)) && IR(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function OEe(e, t, n, r) {
+function DEe(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 || !BR(s) || !BR(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !VR(s) || !VR(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return OR(a, (e) => {
- let t = Object.assign(FL(), e);
+ return kR(a, (e) => {
+ let t = Object.assign(IL(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- RR(s) && BR(s) && (VR(t, s.id, n, i, a), !n && r?.deselectParents && UR(t, s));
+ zR(s) && VR(s) && (HR(t, s.id, n, i, a), !n && r?.deselectParents && WR(t, s));
}
return t;
}), !0;
}
-function VR(e, t, n, r, i, a) {
+function HR(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (BR(o) || Object.keys(e).forEach((t) => delete e[t]), RR(o) && (e[t] = !0)) : (!a || RR(o)) && delete e[t], r && o.subRows.length && zR(o) && o.subRows.forEach((t) => VR(e, t.id, n, r, i, a));
+ n ? (VR(o) || Object.keys(e).forEach((t) => delete e[t]), zR(o) && (e[t] = !0)) : (!a || zR(o)) && delete e[t], r && o.subRows.length && BR(o) && o.subRows.forEach((t) => HR(e, t.id, n, r, i, a));
}
-function HR(e, t) {
- if (!RR(e)) return !1;
+function UR(e, t) {
+ if (!zR(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -55768,7 +55836,7 @@ function HR(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!zR(r)) {
+ if (!BR(r)) {
s = !1;
break;
}
@@ -55776,43 +55844,43 @@ function HR(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function UR(e, t) {
+function WR(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 WR(e, t, n, r) {
+function GR(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = KR(o, t);
+ let o = e[a], s = qR(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = WR(o.subRows, t, n, r);
+ let e = GR(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- PL(t, o), t.subRows = e, i.push(t);
+ FL(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function GR(e, t) {
- let n = [], r = FL(), i = t.atoms.rowSelection?.get() ?? {};
+function KR(e, t) {
+ let n = [], r = IL(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: WR(e.rows, i, n, r),
+ rows: GR(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function KR(e, t) {
- return !!(IL(t, e.id) && t[e.id]);
+function qR(e, t) {
+ return !!(LL(t, e.id) && t[e.id]);
}
-function qR(e) {
+function JR(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 (RR(o) && (i = !0, KR(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = qR(o);
+ if (zR(o) && (i = !0, qR(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = JR(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
@@ -55820,7 +55888,7 @@ function qR(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var JR = {
+var YR = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -55828,11 +55896,11 @@ var JR = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: _Ee(),
+ rowSelection: gEe(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: LL("rowSelection", e),
+ onRowSelectionChange: RL("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -55843,11 +55911,11 @@ var JR = {
}
}),
assignRowPrototype: (e, t) => {
- KL("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => FR(e, t, n) },
- row_getIsSelected: { fn: (e) => IR(e) },
+ qL("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => IR(e, t, n) },
+ row_getIsSelected: { fn: (e) => LR(e) },
row_getIsSomeSelected: {
- fn: (e) => LR(e),
+ fn: (e) => RR(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -55855,44 +55923,44 @@ var JR = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => EEe(e),
+ fn: (e) => TEe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => RR(e) },
- row_getCanSelectSubRows: { fn: (e) => zR(e) },
- row_getCanMultiSelect: { fn: (e) => BR(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => DEe(e, t) }
+ row_getCanSelect: { fn: (e) => zR(e) },
+ row_getCanSelectSubRows: { fn: (e) => BR(e) },
+ row_getCanMultiSelect: { fn: (e) => VR(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => EEe(e, t) }
});
},
constructTableAPIs: (e) => {
- GL("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => OR(e, t) },
- table_resetRowSelection: { fn: (t) => vEe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => kR(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => AR(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => yEe(e) },
+ KL("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => kR(e, t) },
+ table_resetRowSelection: { fn: (t) => _Ee(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => AR(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => jR(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => vEe(e) },
table_getSelectedRowModel: {
- fn: () => bEe(e),
+ fn: () => yEe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => xEe(e),
+ fn: () => bEe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => SEe(e),
+ fn: () => xEe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => jR(e),
+ fn: () => MR(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => MR(e),
+ fn: () => NR(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -55901,7 +55969,7 @@ var JR = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => NR(e),
+ fn: () => PR(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -55910,49 +55978,49 @@ var JR = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => PR(e),
+ fn: () => FR(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => CEe(e),
+ fn: () => SEe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => wEe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => TEe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => CEe(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => wEe(e) }
});
}
-}, kEe = /([0-9]+)/gm;
+}, OEe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function AEe(e) {
+function kEe(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 YR = /* @__PURE__ */ AEe({ sort: (e, t) => jEe(e, t) });
-function jEe(e, t) {
+var XR = /* @__PURE__ */ kEe({ sort: (e, t) => AEe(e, t) });
+function AEe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function MEe() {
+function jEe() {
return [];
}
-function XR(e, t) {
- VL(e, "sorting", t);
-}
function ZR(e, t) {
- XR(e, t ? [] : NL(e.initialState.sorting ?? []));
+ HL(e, "sorting", t);
}
-function NEe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && ZR(e);
+function QR(e, t) {
+ ZR(e, t ? [] : PL(e.initialState.sorting ?? []));
}
-function QR(e) {
+function MEe(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && QR(e);
+}
+function $R(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);
@@ -55960,7 +56028,7 @@ function QR(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(kEe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(OEe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -55969,9 +56037,9 @@ function QR(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return YR;
+ return XR;
}
-function $R(e) {
+function ez(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);
@@ -55979,14 +56047,14 @@ function $R(e) {
}
return "desc";
}
-function ez(e) {
+function tz(e) {
let t = e.table._rowModelFns.sortFns;
- return Mwe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? QR(e) : t?.[e.columnDef.sortFn] ?? YR;
+ return jwe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? $R(e) : t?.[e.columnDef.sortFn] ?? XR;
}
-function tz(e, t, n) {
- let r = rz(e, n && az(e)), i = t !== void 0;
- XR(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 && az(e) && n);
+function nz(e, t, n) {
+ let r = iz(e, n && oz(e)), i = t !== void 0;
+ ZR(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 && oz(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
@@ -56002,41 +56070,41 @@ function tz(e, t, n) {
}], c;
});
}
-function nz(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? $R(e) === "desc" ? "desc" : "asc";
+function rz(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? ez(e) === "desc" ? "desc" : "asc";
}
-function rz(e, t) {
- let n = nz(e), r = oz(e);
+function iz(e, t) {
+ let n = rz(e), r = sz(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function iz(e) {
+function az(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function az(e) {
+function oz(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function oz(e) {
+function sz(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function PEe(e) {
+function NEe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
-function FEe(e) {
- XR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+function PEe(e) {
+ ZR(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
-function IEe(e) {
- let t = iz(e);
+function FEe(e) {
+ let t = az(e);
return (n) => {
- t && tz(e, void 0, az(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && nz(e, void 0, oz(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var sz = {
+var cz = {
getInitialState(e) {
return {
- sorting: MEe(),
+ sorting: jEe(),
...e
};
},
@@ -56049,40 +56117,40 @@ var sz = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: LL("sorting", e),
+ onSortingChange: RL("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- KL("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => QR(e) },
- column_getAutoSortDir: { fn: (e) => $R(e) },
- column_getSortFn: { fn: (e) => ez(e) },
- column_toggleSorting: { fn: (e, t, n) => tz(e, t, n) },
- column_getFirstSortDir: { fn: (e) => nz(e) },
- column_getNextSortingOrder: { fn: (e, t) => rz(e, t) },
- column_getCanSort: { fn: (e) => iz(e) },
- column_getCanMultiSort: { fn: (e) => az(e) },
- column_getIsSorted: { fn: (e) => oz(e) },
- column_getSortIndex: { fn: (e) => PEe(e) },
- column_clearSorting: { fn: (e) => FEe(e) },
- column_getToggleSortingHandler: { fn: (e) => IEe(e) }
+ qL("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => $R(e) },
+ column_getAutoSortDir: { fn: (e) => ez(e) },
+ column_getSortFn: { fn: (e) => tz(e) },
+ column_toggleSorting: { fn: (e, t, n) => nz(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => rz(e) },
+ column_getNextSortingOrder: { fn: (e, t) => iz(e, t) },
+ column_getCanSort: { fn: (e) => az(e) },
+ column_getCanMultiSort: { fn: (e) => oz(e) },
+ column_getIsSorted: { fn: (e) => sz(e) },
+ column_getSortIndex: { fn: (e) => NEe(e) },
+ column_clearSorting: { fn: (e) => PEe(e) },
+ column_getToggleSortingHandler: { fn: (e) => FEe(e) }
});
},
constructTableAPIs(e) {
- GL("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => NEe(e) },
- table_setSorting: { fn: (t) => XR(e, t) },
- table_resetSorting: { fn: (t) => ZR(e, t) }
+ KL("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => MEe(e) },
+ table_setSorting: { fn: (t) => ZR(e, t) },
+ table_resetSorting: { fn: (t) => QR(e, t) }
});
}
};
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-pagination/createPaginatedRowModel.js
-function cz() {
+function lz() {
return (e) => {
let t = e;
- return UL({
+ return WL({
feature: "rowPaginationFeature",
table: t,
fnName: "table.getPaginatedRowModel",
@@ -56091,14 +56159,14 @@ function cz() {
t.atoms.pagination?.get(),
t.options.paginateExpandedRows ? void 0 : t.atoms.expanded?.get()
],
- fn: () => LEe(t)
+ fn: () => IEe(t)
});
};
}
-function LEe(e) {
+function IEe(e) {
let t = e.getPrePaginatedRowModel(), n = e.atoms.pagination?.get();
if (!t.rows.length) return t;
- let { pageSize: r, pageIndex: i } = n ?? bR(), { rows: a, flatRows: o, rowsById: s } = t, c = a;
+ let { pageSize: r, pageIndex: i } = n ?? xR(), { rows: a, flatRows: o, rowsById: s } = t, c = a;
if (r !== Infinity || i !== 0) {
let e = r * i, t = e + r;
c = a.slice(e, t);
@@ -56108,7 +56176,7 @@ function LEe(e) {
rows: c,
flatRows: o,
rowsById: s
- } : ZL(e, {
+ } : QL(e, {
rows: c,
flatRows: o,
rowsById: s
@@ -56120,25 +56188,25 @@ function LEe(e) {
}
//#endregion
//#region node_modules/@tanstack/table-core/dist/features/row-sorting/createSortedRowModel.js
-function lz() {
+function uz() {
return (e) => {
let t = e;
- return UL({
+ return WL({
feature: "rowSortingFeature",
table: t,
fnName: "table.getSortedRowModel",
memoDeps: () => [t.atoms.sorting?.get(), t.getPreSortedRowModel()],
- fn: () => REe(t),
- onAfterUpdate: HL(() => QL(t))
+ fn: () => LEe(t),
+ onAfterUpdate: UL(() => $L(t))
});
};
}
-function REe(e) {
+function LEe(e) {
let t = e.getPreSortedRowModel(), n = e.atoms.sorting?.get();
if (!t.rows.length || !n?.length) return t;
let r = [], i = n.filter((t) => {
let n = e.getColumn(t.id);
- return n ? iz(n) : !1;
+ return n ? az(n) : !1;
});
if (!i.length) return t;
let a = [];
@@ -56149,7 +56217,7 @@ function REe(e) {
desc: n.desc,
sortUndefined: r.columnDef.sortUndefined,
invertSorting: r.columnDef.invertSorting,
- sortFn: ez(r)
+ sortFn: tz(r)
});
}
let o = (e, t) => {
@@ -56179,7 +56247,7 @@ function REe(e) {
let e = s(a.subRows);
if (e.changed) {
let s = Object.create(Object.getPrototypeOf(a));
- PL(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;
+ FL(s, a), s.subRows = e.rows, t[i] = s, r[o] = s, n = !0;
}
}
}
@@ -56196,31 +56264,31 @@ function REe(e) {
}
//#endregion
//#region node_modules/@tanstack/react-table/dist/useTable.js
-var zEe = typeof window > "u" ? S.useEffect : S.useLayoutEffect;
-function uz(e, t) {
+var REe = typeof window > "u" ? S.useEffect : S.useLayoutEffect;
+function dz(e, t) {
let [{ table: n, rootSource: r }] = (0, S.useState)(() => {
- let t = XTe({
+ let t = YTe({
...e,
features: {
- coreReactivityFeature: kwe(),
+ coreReactivityFeature: Owe(),
...e.features
}
});
- return t.Subscribe = ((e) => Twe({
+ return t.Subscribe = ((e) => wwe({
...e,
source: e.source ?? t.store
- })), t.FlexRender = hwe, {
+ })), t.FlexRender = mwe, {
table: t,
- rootSource: Owe(t.store, OL)
+ rootSource: Dwe(t.store, kL)
};
}), i = n;
- cR(i, (t) => ({
+ lR(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = jL(r, t, { compare: OL });
- return zEe(() => {
- r.markCommitted(o), sR(i, a ?? null, OL);
+ let a = i.options.state, o = r.get(), s = ML(r, t, { compare: kL });
+ return REe(() => {
+ r.markCommitted(o), cR(i, a ?? null, kL);
}), (0, S.useMemo)(() => ({
...n,
options: e,
@@ -56233,19 +56301,19 @@ function uz(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function dz({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function fz({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- className: sA("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, C.jsx)(Hbe, {
+ className: cA("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, C.jsx)(Vbe, {
ref: r,
...i,
- className: sA("bui-table", e === "sm" && "bui-table-sm", t)
+ className: cA("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function fz({ children: e, follow: t = !1, onRowClick: n }) {
+function pz({ children: e, follow: t = !1, onRowClick: n }) {
let r = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
Aa(r.current?.querySelector(":scope > .overflow-x-auto") ?? null);
@@ -56257,14 +56325,14 @@ function fz({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && AI(e, r) && n(r.dataset.key);
+ r && jI(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/components/table-pagination.tsx
-function pz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function mz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, C.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -56303,11 +56371,11 @@ function pz({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}
//#endregion
//#region src/react/components/table-controls.tsx
-function mz({ label: e, options: t, sorting: n, onChange: r }) {
+function hz({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsxs)(UF, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(GF, {
"aria-label": `${e}排序`,
selectedKey: i?.id ?? "default",
onSelectionChange: (e) => {
@@ -56316,10 +56384,10 @@ function mz({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, C.jsx)(WF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(KF, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e.id,
children: e.label
}, e.id))]
@@ -56327,7 +56395,7 @@ function mz({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: i?.desc ? Cge : wge,
+ leadingIcon: i?.desc ? Sge : Cge,
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
i && r([{
@@ -56338,7 +56406,7 @@ function mz({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function hz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
+function gz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条" }) {
let o = Math.max(1, Math.ceil(t / n.pageSize)), s = Math.min(n.pageIndex, o - 1), c = t ? s * n.pageSize + 1 : 0, l = Math.min((s + 1) * n.pageSize, t);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-table-pagination": !0,
@@ -56348,7 +56416,7 @@ function hz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${c.toLocaleString()}–${l.toLocaleString()} / ${t.toLocaleString()} ${i}`
}),
- /* @__PURE__ */ (0, C.jsx)(UF, {
+ /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -56363,12 +56431,12 @@ function hz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
20,
50,
100
- ].map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ ].map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(pz, {
+ /* @__PURE__ */ (0, C.jsx)(mz, {
label: `${e}分页`,
page: s + 1,
pages: o,
@@ -56382,7 +56450,7 @@ function hz({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
}
//#endregion
//#region src/react/catalog-grid/catalog-column-widths.ts
-var gz = "peach.catalog-column-widths.v1", _z = {
+var _z = "peach.catalog-column-widths.v1", vz = {
select: {
width: 48,
min: 48,
@@ -56444,84 +56512,84 @@ var gz = "peach.catalog-column-widths.v1", _z = {
max: 400
}
};
-function vz(e) {
- return Object.fromEntries(Object.entries(_z).map(([t, n]) => {
+function yz(e) {
+ return Object.fromEntries(Object.entries(vz).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.width];
}));
}
-function BEe() {
+function zEe() {
let [e, t] = (0, S.useState)(() => {
try {
- let e = JSON.parse(localStorage.getItem(gz) || "{}");
- return vz(e && typeof e == "object" && !Array.isArray(e) ? e : {});
+ let e = JSON.parse(localStorage.getItem(_z) || "{}");
+ return yz(e && typeof e == "object" && !Array.isArray(e) ? e : {});
} catch {
- return vz({});
+ return yz({});
}
});
return {
widths: e,
resize: (e) => {
- t((t) => vz({
+ t((t) => yz({
...t,
...Object.fromEntries(e)
}));
},
save: (n) => {
- let r = vz({
+ let r = yz({
...e,
...Object.fromEntries(n)
});
t(r);
try {
- localStorage.setItem(gz, JSON.stringify(r));
+ localStorage.setItem(_z, JSON.stringify(r));
} catch {}
},
reset: () => {
- t(vz({}));
+ t(yz({}));
try {
- localStorage.removeItem(gz);
+ localStorage.removeItem(_z);
} catch {}
}
};
}
-var yz = "peach.catalog-column-visibility.v1", VEe = {
+var bz = "peach.catalog-column-visibility.v1", BEe = {
code: !1,
o: !1,
new: !1,
played: !1,
release: !1
};
-function bz(e) {
+function xz(e) {
let t = e && typeof e == "object" && !Array.isArray(e) ? e : {};
return {
- ...VEe,
- ...Object.fromEntries(Object.keys(_z).filter((e) => e !== "select" && e !== "name" && typeof t[e] == "boolean").map((e) => [e, t[e] === !0]))
+ ...BEe,
+ ...Object.fromEntries(Object.keys(vz).filter((e) => e !== "select" && e !== "name" && typeof t[e] == "boolean").map((e) => [e, t[e] === !0]))
};
}
-function HEe() {
+function VEe() {
let [e, t] = (0, S.useState)(() => {
try {
- return bz(JSON.parse(localStorage.getItem(yz) || "{}"));
+ return xz(JSON.parse(localStorage.getItem(bz) || "{}"));
} catch {
- return bz({});
+ return xz({});
}
});
return {
visibility: e,
change: (n) => {
- let r = bz(typeof n == "function" ? n(e) : n);
+ let r = xz(typeof n == "function" ? n(e) : n);
t(r);
try {
- localStorage.setItem(yz, JSON.stringify(r));
+ localStorage.setItem(bz, JSON.stringify(r));
} catch {}
}
};
}
//#endregion
//#region src/react/catalog-grid/catalog-table-controls.tsx
-var xz = kP("star");
-function UEe({ rating: e }) {
+var Sz = jP("star");
+function HEe({ rating: e }) {
let t = Math.max(0, Math.min(5, Number(e || 0) / 20)), n = e == null ? "未评分" : `评分 ${t} / 5`;
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-catalog-rating": "",
@@ -56537,15 +56605,15 @@ function UEe({ rating: e }) {
].map((e) => /* @__PURE__ */ (0, C.jsxs)("span", {
"data-catalog-star": "",
"aria-hidden": "true",
- children: [/* @__PURE__ */ (0, C.jsx)(xz, {}), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(Sz, {}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-catalog-star-fill": "",
style: { width: `${Math.max(0, Math.min(1, t - e)) * 100}%` },
- children: /* @__PURE__ */ (0, C.jsx)(xz, {})
+ children: /* @__PURE__ */ (0, C.jsx)(Sz, {})
})]
}, e))
});
}
-function WEe({ columns: e, onChange: t, onReset: n, onDefaults: r }) {
+function UEe({ columns: e, onChange: t, onReset: n, onDefaults: r }) {
let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
ref: i,
@@ -56555,18 +56623,18 @@ function WEe({ columns: e, onChange: t, onReset: n, onDefaults: r }) {
"aria-expanded": a,
onClick: () => o(!0),
children: "显示列"
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: `${KP} overscroll-contain`,
- children: /* @__PURE__ */ (0, C.jsxs)(CF, {
+ className: `${JP} overscroll-contain`,
+ children: /* @__PURE__ */ (0, C.jsxs)(TF, {
"aria-label": "表格显示列",
className: "flex w-48 flex-col gap-2 outline-none",
children: [
- e.map((e) => /* @__PURE__ */ (0, C.jsx)($P, {
+ e.map((e) => /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: e.visible,
onChange: (n) => t(e.id, n),
children: e.label
@@ -56587,7 +56655,7 @@ function WEe({ columns: e, onChange: t, onReset: n, onDefaults: r }) {
})
})] });
}
-function Sz(e) {
+function Cz(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -56603,12 +56671,12 @@ function Sz(e) {
}
//#endregion
//#region src/react/catalog-grid/catalog-list-page.tsx
-var GEe = uR({
- rowSortingFeature: sz,
- rowSelectionFeature: JR,
- rowPaginationFeature: DR,
- columnVisibilityFeature: aEe
-}), KEe = [
+var WEe = dR({
+ rowSortingFeature: cz,
+ rowSelectionFeature: YR,
+ rowPaginationFeature: OR,
+ columnVisibilityFeature: iEe
+}), GEe = [
{
id: "name",
label: "名称"
@@ -56645,12 +56713,12 @@ var GEe = uR({
id: "played",
label: "观看时间"
}
-], Cz = /* @__PURE__ */ new Map();
-function qEe(e) {
- let t = BEe(), n = HEe(), r = mD(e.filters || {}, !1), [i] = (0, S.useState)(() => {
+], wz = /* @__PURE__ */ new Map();
+function KEe(e) {
+ let t = zEe(), n = VEe(), r = mD(e.filters || {}, !1), [i] = (0, S.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, S.useState)(() => Cz.get(i) || {
+ }), [a, o] = (0, S.useState)(() => wz.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -56658,7 +56726,7 @@ function qEe(e) {
}
}), { sorting: s, pagination: c } = a;
(0, S.useEffect)(() => {
- Cz.set(i, a);
+ wz.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = pt({
queryKey: [
@@ -56712,14 +56780,14 @@ function qEe(e) {
p,
c.pageIndex
]);
- let m = Object.fromEntries([...e.selected].map((e) => [String(e), !0])), h = uz({
- features: GEe,
+ let m = Object.fromEntries([...e.selected].map((e) => [String(e), !0])), h = dz({
+ features: WEe,
columns: (0, S.useMemo)(() => {
- let t = lR();
+ let t = uR();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)($P, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
"aria-label": "全选本页作品",
isDisabled: d.isPlaceholderData,
@@ -56727,7 +56795,7 @@ function qEe(e) {
isIndeterminate: e.getIsSomeRowsSelected(),
onChange: (t) => e.toggleAllRowsSelected(t)
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)($P, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: d.isPlaceholderData,
@@ -56739,7 +56807,7 @@ function qEe(e) {
id: "name",
header: "名称",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(JEe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, C.jsx)(qEe, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -56774,7 +56842,7 @@ function qEe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(UEe, { rating: e.original.rating })
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(HEe, { rating: e.original.rating })
}),
t.accessor((e) => e.play_count, {
id: "plays",
@@ -56792,13 +56860,13 @@ function qEe(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => Sz(e.original.last_played)
+ cell: ({ row: e }) => Cz(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => Sz(e.original.first_seen)
+ cell: ({ row: e }) => Cz(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -56854,7 +56922,7 @@ function qEe(e) {
role: "toolbar",
"aria-label": "作品列表工具栏",
children: [
- /* @__PURE__ */ (0, C.jsx)(WEe, {
+ /* @__PURE__ */ (0, C.jsx)(UEe, {
columns: h.getAllLeafColumns().filter((e) => e.id !== "select" && e.id !== "name").map((e) => ({
id: e.id,
label: String(e.columnDef.header),
@@ -56870,29 +56938,29 @@ function qEe(e) {
onClick: t.reset,
children: "重置列宽"
}),
- /* @__PURE__ */ (0, C.jsx)(mz, {
+ /* @__PURE__ */ (0, C.jsx)(hz, {
label: "作品列表",
- options: KEe,
+ options: GEe,
sorting: s,
onChange: (e) => h.setSorting(e)
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(hL, { assetIds: e.filters?.state === "trash" ? [] : mL(f, e.layout.javImage) }),
- d.isError ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ /* @__PURE__ */ (0, C.jsx)(gL, { assetIds: e.filters?.state === "trash" ? [] : hL(f, e.layout.javImage) }),
+ d.isError ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, C.jsx)(Bbe, {
+ /* @__PURE__ */ (0, C.jsx)(zbe, {
className: "min-w-0",
onResize: t.resize,
onResizeEnd: t.save,
- children: /* @__PURE__ */ (0, C.jsx)(fz, {
+ children: /* @__PURE__ */ (0, C.jsx)(pz, {
follow: !0,
onRowClick: (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
},
- children: /* @__PURE__ */ (0, C.jsxs)(dz, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fz, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -56903,22 +56971,22 @@ function qEe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, C.jsx)(eP, { children: h.getHeaderGroups()[0].headers.map((e, n) => /* @__PURE__ */ (0, C.jsx)(tP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, { children: h.getHeaderGroups()[0].headers.map((e, n) => /* @__PURE__ */ (0, C.jsx)(rP, {
id: e.id,
isRowHeader: n === 1,
allowsSorting: e.column.getCanSort(),
width: t.widths[e.id],
- minWidth: _z[e.id].min,
- maxWidth: _z[e.id].max,
+ minWidth: vz[e.id].min,
+ maxWidth: vz[e.id].max,
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [gL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(UP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {})
}) : null]
- }), e.id === "select" ? null : /* @__PURE__ */ (0, C.jsx)(Zbe, { "aria-label": `调整${String(e.column.columnDef.header)}列宽` })] })
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(iP, {
+ }), e.id === "select" ? null : /* @__PURE__ */ (0, C.jsx)(Xbe, { "aria-label": `调整${String(e.column.columnDef.header)}列宽` })] })
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(oP, {
renderEmptyState: () => d.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-skeleton": "",
"data-table-skeleton": "",
@@ -56927,18 +56995,18 @@ function qEe(e) {
"aria-label": "正在读取作品列表",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, C.jsxs)("div", { children: [/* @__PURE__ */ (0, C.jsx)("i", { className: "skeleton-sheen" }), /* @__PURE__ */ (0, C.jsx)("span", { className: "skeleton-sheen" })] }, t))
}) : d.isError ? "作品列表未取得" : "没有符合的作品",
- children: h.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(sP, {
+ children: h.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(lP, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, C.jsx)(lP, { children: gL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, C.jsx)(dP, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
})
}),
- d.data ? /* @__PURE__ */ (0, C.jsx)(hz, {
+ d.data ? /* @__PURE__ */ (0, C.jsx)(gz, {
label: "作品列表",
total: p,
pagination: c,
@@ -56949,7 +57017,7 @@ function qEe(e) {
]
});
}
-function JEe({ item: e, props: t, disabled: n }) {
+function qEe({ item: e, props: t, disabled: n }) {
let r = Ca(e, "small", !1, t.layout.javImage), i = t.helpers.displayName(e, e.name || "").trim() || "未命名作品", a = e.creator || e.performers?.join("、") || e.studio;
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-list-identity": "",
@@ -56963,7 +57031,7 @@ function JEe({ item: e, props: t, disabled: n }) {
},
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-list-picture": "",
- children: r.html ? /* @__PURE__ */ (0, C.jsx)(kI, {
+ children: r.html ? /* @__PURE__ */ (0, C.jsx)(ej, {
artwork: r,
relayout: (e) => gc(e, "small")
}) : /* @__PURE__ */ (0, C.jsx)("span", { children: "无预览" })
@@ -56983,21 +57051,21 @@ function JEe({ item: e, props: t, disabled: n }) {
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function wz(e) {
+function Tz(e) {
let t = pD();
- if (e.mode === "items") return /* @__PURE__ */ (0, C.jsx)(XEe, { ...e });
+ if (e.mode === "items") return /* @__PURE__ */ (0, C.jsx)(YEe, { ...e });
let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${mD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return t === "list" && !e.wall ? /* @__PURE__ */ (0, C.jsx)(qEe, { ...e }, n) : /* @__PURE__ */ (0, C.jsx)(ZEe, { ...e }, n);
+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, C.jsx)(KEe, { ...e }, n) : /* @__PURE__ */ (0, C.jsx)(XEe, { ...e }, n);
}
-function YEe({ name: e }) {
+function JEe({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-function XEe(e) {
- let { actions: t } = e, n = (0, S.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, C.jsx)(RI, {
+function YEe(e) {
+ let { actions: t } = e, n = (0, S.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, C.jsx)(zI, {
item: i,
variant: r,
layout: e.layout,
@@ -57017,7 +57085,7 @@ function XEe(e) {
children: i
});
}
-function ZEe(e) {
+function XEe(e) {
let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? vfe(e) : _fe(e), [s] = (0, S.useState)(() => e.wall ? bfe(o.queryKey) : void 0), c = s || (i && e.initial ? {
pages: [{
...e.initial,
@@ -57049,7 +57117,7 @@ function ZEe(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 || ewe(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && JCe(e.item) ? [e.item] : []), v = a ? [] : mL(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = DI(l.isPending, e.skeletonHtml), b = (0, S.useRef)(null), x = QEe(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 || $Ce(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && qCe(e.item) ? [e.item] : []), v = a ? [] : hL(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = kI(l.isPending, e.skeletonHtml), b = (0, S.useRef)(null), x = ZEe(e, l.data, d, f, b);
(0, S.useLayoutEffect)(() => {
if (!l.data) return;
let t = !0;
@@ -57076,12 +57144,12 @@ function ZEe(e) {
let T = (0, S.useCallback)((e, t) => n.open(e, t), [n]), E = (0, S.useCallback)((e, t) => n.openResource(e, t), [n]), D = (0, S.useCallback)((e) => n.openShort(e), [n]), O = (0, S.useCallback)(async () => {
let e = await l.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)(eDe, {
+ }, [l.fetchNextPage]), k = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)($Ee, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, C.jsx)(RI, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, C.jsx)(zI, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -57098,9 +57166,9 @@ function ZEe(e) {
"data-grid-reveal": y.fading ? "" : void 0,
children: [
!e.wall && y.layer,
- /* @__PURE__ */ (0, C.jsx)(hL, { assetIds: v }),
+ /* @__PURE__ */ (0, C.jsx)(gL, { assetIds: v }),
(() => {
- if (g && e.wall) return /* @__PURE__ */ (0, C.jsx)(uwe, {
+ if (g && e.wall) return /* @__PURE__ */ (0, C.jsx)(lwe, {
sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${mD(e.filters || {}, !!e.excludeVertical)}`,
items: _,
finite: h,
@@ -57119,7 +57187,7 @@ function ZEe(e) {
javImage: r.javImage
}, h ? "finite" : "explore");
if (l.isPending) return null;
- if (!l.data) return /* @__PURE__ */ (0, C.jsx)(OI, {
+ if (!l.data) return /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(l.error),
onRetry: () => void l.refetch()
});
@@ -57140,12 +57208,12 @@ function ZEe(e) {
"data-media-grid": "",
"data-catalog-view-mode": "cards",
children: t.tiles.map(k)
- }), t.strip ? /* @__PURE__ */ (0, C.jsx)($Ee, {
+ }), t.strip ? /* @__PURE__ */ (0, C.jsx)(QEe, {
cut: t.strip,
props: e,
onOpen: D
}) : null] }, t.start))
- }), l.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(Tz, {
+ }), l.hasNextPage ? /* @__PURE__ */ (0, C.jsx)(Ez, {
entity: i,
load: O,
enabled: () => e.canLoadMore?.() !== !1
@@ -57154,7 +57222,7 @@ function ZEe(e) {
]
});
}
-function Tz({ entity: e, load: t, enabled: n, children: r }) {
+function Ez({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(!1), o = (0, S.useRef)(!1), [s, c] = (0, S.useState)({
busy: !1,
error: ""
@@ -57216,12 +57284,12 @@ function Tz({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!s.error,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: jo("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ }), s.error ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function QEe(e, t, n, r, i) {
+function ZEe(e, t, n, r, i) {
let [a, o] = (0, S.useState)([]), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(0), u = (0, S.useRef)(0), d = (0, S.useRef)([]);
return (0, S.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, S.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -57252,7 +57320,7 @@ function QEe(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function $Ee({ cut: e, props: t, onOpen: n }) {
+function QEe({ cut: e, props: t, onOpen: n }) {
let r = (0, S.useRef)(null), { wireDrag: i } = t;
return (0, S.useEffect)(() => {
r.current && i(r.current);
@@ -57268,12 +57336,12 @@ function $Ee({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, C.jsx)(YEe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(JEe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, C.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, C.jsx)(RI, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, C.jsx)(zI, {
item: e,
variant: "short",
layout: t.layout,
@@ -57287,17 +57355,17 @@ function $Ee({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function Ez(e, t, n) {
+function Dz(e, t, n) {
return wa(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function eDe({ seed: e, layout: t, helpers: n, actions: r }) {
+function $Ee({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, S.useRef)(/* @__PURE__ */ new Map()), a = (0, S.useRef)(t);
a.current = t;
let o = ka(e, n.tagLabel), s = (0, S.useCallback)(async () => {
let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => hD(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), Ez(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Ez(e, t, !1);
- return /* @__PURE__ */ (0, C.jsx)(HI, {
+ return i.current = new Map(n.map((e) => [String(e.id), Dz(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = Dz(e, t, !1);
+ return /* @__PURE__ */ (0, C.jsx)(UI, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -57307,12 +57375,12 @@ function eDe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : Ez(e, {
+ artworkIdentity: c === "small" ? l.html : Dz(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => gc(e, c),
- ratio: II(e, "grid", t),
+ ratio: LI(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -57324,37 +57392,37 @@ function eDe({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function Dz(e) {
+async function Oz(e) {
await W.fetchQuery({
queryKey: kn,
queryFn: () => An(e)
});
}
-var tDe = (e) => (e?.sources ?? []).filter((e) => jt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), nDe = "/api/duplicates?limit=120", Oz = ["duplicates"], kz = "/api/batch", Az = (e) => H(nDe, e), rDe = /[\s\-_.()[\]【】/\\]/;
-function iDe(e) {
+var eDe = (e) => (e?.sources ?? []).filter((e) => jt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), tDe = "/api/duplicates?limit=120", kz = ["duplicates"], Az = "/api/batch", jz = (e) => H(tDe, e), nDe = /[\s\-_.()[\]【】/\\]/;
+function rDe(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 && !rDe.test(n[r - 1]);) --r;
+ for (; r > 0 && !nDe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var aDe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function oDe(e) {
+var iDe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function aDe(e) {
await Promise.all([W.fetchQuery({
- queryKey: Oz,
- queryFn: () => Az(e)
- }), Dz(e)]);
+ queryKey: kz,
+ queryFn: () => jz(e)
+ }), Oz(e)]);
}
-var jz = {
+var Mz = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, sDe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), Mz = (e, t) => sDe(e, t).filter((t) => e.some((e) => e.location !== t)), cDe = (e, t) => t.filter((t) => e.some((e) => Mz(e.files, [t]).length));
-function lDe(e, t) {
+}, oDe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), Nz = (e, t) => oDe(e, t).filter((t) => e.some((e) => e.location !== t)), sDe = (e, t) => t.filter((t) => e.some((e) => Nz(e.files, [t]).length));
+function cDe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -57373,12 +57441,12 @@ function lDe(e, t) {
}
return n;
}
-function uDe(e, t) {
+function lDe(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 Nz(e, t) {
- for (let n = 0; n < e.length; n += 200) await U(kz, {
+async function Pz(e, t) {
+ for (let n = 0; n < e.length; n += 200) await U(Az, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
@@ -57386,7 +57454,7 @@ async function Nz(e, t) {
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var Pz = "/api/media-repair", Fz = ["media-repair"], Iz = ["media-repair", "libraries"], dDe = {
+var Fz = "/api/media-repair", Iz = ["media-repair"], Lz = ["media-repair", "libraries"], uDe = {
status: "idle",
library: "",
stage: "",
@@ -57398,41 +57466,41 @@ var Pz = "/api/media-repair", Fz = ["media-repair"], Iz = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, Lz = (e) => H(Pz, e), Rz = async (e) => (await H("/api/libraries", e)).libraries || [];
-async function fDe(e) {
+}, Rz = (e) => H(Fz, e), zz = async (e) => (await H("/api/libraries", e)).libraries || [];
+async function dDe(e) {
await Promise.all([W.fetchQuery({
- queryKey: Fz,
- queryFn: () => Lz(e)
- }), W.fetchQuery({
queryKey: Iz,
queryFn: () => Rz(e)
+ }), W.fetchQuery({
+ queryKey: Lz,
+ queryFn: () => zz(e)
})]);
}
-var zz = (e) => Number(e).toLocaleString();
-function pDe(e) {
+var Bz = (e) => Number(e).toLocaleString();
+function fDe(e) {
if (e.status === "running") {
- let t = e.total ? `${zz(Math.min(e.checked || 0, e.total))} / ${zz(e.total)}` : "准备中";
+ let t = e.total ? `${Bz(Math.min(e.checked || 0, e.total))} / ${Bz(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${zz(e.repaired)} 部,${zz(e.failed)} 部修不了` : `修好 ${zz(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${Bz(e.repaired)} 部,${Bz(e.failed)} 部修不了` : `修好 ${Bz(e.repaired)} 部` : "";
}
-var mDe = (e) => `${zz(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, hDe = "/api/quality-goals?limit=200", Bz = ["quality-goals"], Vz = (e) => H(hDe, e);
-async function gDe(e) {
+var pDe = (e) => `${Bz(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, mDe = "/api/quality-goals?limit=200", Vz = ["quality-goals"], Hz = (e) => H(mDe, e);
+async function hDe(e) {
await W.fetchQuery({
- queryKey: Bz,
- queryFn: () => Vz(e)
+ queryKey: Vz,
+ queryFn: () => Hz(e)
});
}
-var Hz = (e) => e.has_cover ? ua(e) : `/poster?id=${e.id}&c=4`;
+var Uz = (e) => e.has_cover ? ua(e) : `/poster?id=${e.id}&c=4`;
//#endregion
//#region src/selection.ts
-function Uz(e, t, n, r, i, a = i || !e.has(r)) {
+function Wz(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;
}
//#endregion
//#region src/react/review/review.ts
-var _De = "/api/review", vDe = "/api/review/decision", yDe = "/api/review/genre", Wz = ["review"], Gz = {
+var gDe = "/api/review", _De = "/api/review/decision", vDe = "/api/review/genre", Gz = ["review"], Kz = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -57442,15 +57510,15 @@ var _De = "/api/review", vDe = "/api/review/decision", yDe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, bDe = Object.keys(Gz), xDe = "metadata_fields", Kz = (e) => typeof e == "string" && Object.hasOwn(Gz, e), SDe = {
+}, yDe = Object.keys(Kz), bDe = "metadata_fields", qz = (e) => typeof e == "string" && Object.hasOwn(Kz, e), xDe = {
creator_tags: "creator",
western_identity: "creator"
};
-function CDe(e, t) {
+function SDe(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 qz(e, t) {
+function Jz(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -57467,10 +57535,10 @@ function qz(e, t) {
}
return [...n.values()];
}
-function wDe(e, t, n) {
- return n && qz(e, t).find((e) => e.key === n)?.rows || e;
+function CDe(e, t, n) {
+ return n && Jz(e, t).find((e) => e.key === n)?.rows || e;
}
-function TDe(e, t) {
+function wDe(e, t) {
let n = En(e.length, 20), r = Dn(t, n);
return {
page: r,
@@ -57478,32 +57546,32 @@ function TDe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function EDe(e) {
+function TDe(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 DDe(e, t, n, r, i, a) {
- return Uz(e, t, n, r, i, a);
+function EDe(e, t, n, r, i, a) {
+ return Wz(e, t, n, r, i, a);
}
-function Jz(e, t) {
+function Yz(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function Yz(e, t) {
+function Xz(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var Xz = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function ODe(e, t) {
- let n = Yz(e, t), r = Xz(e, t);
+var Zz = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function DDe(e, t) {
+ let n = Xz(e, t), r = Zz(e, t);
return r ? `${n} · ${r}` : n;
}
-var kDe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", ADe = (e) => String(e.tags || "").split("|").filter(Boolean), jDe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function MDe(e) {
+var ODe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", kDe = (e) => String(e.tags || "").split("|").filter(Boolean), ADe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function jDe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Zz(e, t, n, r) {
+function Qz(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -57519,12 +57587,12 @@ function Zz(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var NDe = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", Qz = (e) => H(_De, e);
-async function $z(e) {
- let t = await U(vDe, e);
+var MDe = (e) => e === "approved" ? "已通过资料" : e === "rejected" ? "已拒绝资料" : "已跳过资料", $z = (e) => H(gDe, e);
+async function eB(e) {
+ let t = await U(_De, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- W.setQueryData(Wz, (t) => t && {
+ W.setQueryData(Gz, (t) => t && {
...t,
sections: {
...t.sections,
@@ -57540,22 +57608,22 @@ async function $z(e) {
}
return t;
}
-function eB(e, t) {
- return W.getQueryData(Wz)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;
+function tB(e, t) {
+ return W.getQueryData(Gz)?.sections[e]?.find((e) => e.item_key === t.item_key) || t;
}
-var PDe = (e, t) => U(yDe, {
+var NDe = (e, t) => U(vDe, {
genre: e,
tag: t
});
-async function FDe(e) {
+async function PDe(e) {
await W.fetchQuery({
- queryKey: Wz,
- queryFn: () => Qz(e)
+ queryKey: Gz,
+ queryFn: () => $z(e)
});
}
-function tB(e, t) {
+function nB(e, t) {
let n = new Set(t);
- n.size && W.setQueryData(Wz, (t) => {
+ n.size && W.setQueryData(Gz, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -57571,190 +57639,190 @@ function tB(e, t) {
};
});
}
-var IDe = () => W.invalidateQueries({
- queryKey: Wz,
+var FDe = () => W.invalidateQueries({
+ queryKey: Gz,
exact: !0
});
-function LDe(e, t) {
+function IDe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Mn(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var RDe = "/api/links", nB = "/api/links/check", rB = "/api/links/prune", iB = ["links"], aB = ["links", "check"], oB = ["links", "prune"], sB = {
+var LDe = "/api/links", rB = "/api/links/check", iB = "/api/links/prune", aB = ["links"], oB = ["links", "check"], sB = ["links", "prune"], cB = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function cB(e) {
+async function lB(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var lB = (e) => H(RDe, e), uB = (e) => U(nB, { status_only: !0 }, "POST", e), zDe = ({ retry: e, checkId: t }) => cB(U(nB, e ? {
+var uB = (e) => H(LDe, e), dB = (e) => U(rB, { status_only: !0 }, "POST", e), RDe = ({ retry: e, checkId: t }) => lB(U(rB, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), dB = (e) => H(rB, e), BDe = ({ checkId: e, ids: t }) => cB(U(rB, {
+} : { restart: !0 })), fB = (e) => H(iB, e), zDe = ({ checkId: e, ids: t }) => lB(U(iB, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), fB = (e) => Number(e || 0).toLocaleString(), pB = (e) => `已删除 ${fB(e.removed)} 条;${e.marked ? `已隐退女优的 ${fB(e.marked)} 条留作不可点的记录;` : ""}保留 ${fB(e.recovered)} 条未确认失效的链接。`;
-function VDe(e) {
+})), pB = (e) => Number(e || 0).toLocaleString(), mB = (e) => `已删除 ${pB(e.removed)} 条;${e.marked ? `已隐退女优的 ${pB(e.marked)} 条留作不可点的记录;` : ""}保留 ${pB(e.recovered)} 条未确认失效的链接。`;
+function BDe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${fB(e.checked)} / ${fB(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${pB(e.checked)} / ${pB(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var mB = "/api/settings", hB = "/api/follow/schedule", gB = "/api/thumbnail-jobs", _B = ["settings"], vB = ["follow-schedule"], yB = ["thumbnail-jobs"], bB = (e) => H(mB, e), HDe = (e) => H(hB, e), UDe = (e) => H(gB, e);
-function WDe(e = W) {
+var hB = "/api/settings", gB = "/api/follow/schedule", _B = "/api/thumbnail-jobs", vB = ["settings"], yB = ["follow-schedule"], bB = ["thumbnail-jobs"], xB = (e) => H(hB, e), VDe = (e) => H(gB, e), HDe = (e) => H(_B, e);
+function UDe(e = W) {
return e.fetchQuery({
- queryKey: _B,
- queryFn: ({ signal: e }) => bB(e),
+ queryKey: vB,
+ queryFn: ({ signal: e }) => xB(e),
staleTime: 0
}).catch(() => null);
}
-function xB() {
+function SB() {
return mt({
- mutationFn: (e) => U(mB, e),
- onSuccess: (e) => W.setQueryData(_B, e)
+ mutationFn: (e) => U(hB, e),
+ onSuccess: (e) => W.setQueryData(vB, e)
});
}
-function GDe() {
+function WDe() {
return mt({
- mutationFn: (e) => U(hB, {
+ mutationFn: (e) => U(gB, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => W.setQueryData(vB, e)
+ onSuccess: (e) => W.setQueryData(yB, e)
});
}
-function KDe() {
+function GDe() {
return mt({
- mutationFn: (e) => U(gB, { mode: e }),
- onSuccess: (e) => W.setQueryData(yB, e)
+ mutationFn: (e) => U(_B, { mode: e }),
+ onSuccess: (e) => W.setQueryData(bB, e)
});
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var qDe = "/api/organize", JDe = "/api/organize/preview", YDe = "/api/organize/apply", XDe = "/api/organize/rollback", SB = ["organize"], CB = (e) => H(qDe, e);
-async function ZDe(e) {
+var KDe = "/api/organize", qDe = "/api/organize/preview", JDe = "/api/organize/apply", YDe = "/api/organize/rollback", CB = ["organize"], wB = (e) => H(KDe, e);
+async function XDe(e) {
await W.fetchQuery({
- queryKey: SB,
- queryFn: () => CB(e)
+ queryKey: CB,
+ queryFn: () => wB(e)
});
}
-var QDe = (e) => U(JDe, e), $De = (e) => e.kind === "apply" ? U(YDe, {
+var ZDe = (e) => U(qDe, e), QDe = (e) => e.kind === "apply" ? U(JDe, {
...e.request,
confirm: !0
-}) : U(XDe, { confirm: !0 });
-async function eOe(e) {
- W.setQueryData(SB, (t) => t && {
+}) : U(YDe, { confirm: !0 });
+async function $De(e) {
+ W.setQueryData(CB, (t) => t && {
...t,
templates: e
});
try {
- await U(mB, { organizeTemplates: e });
+ await U(hB, { organizeTemplates: e });
} catch {}
}
-var tOe = (e, t) => e && {
+var eOe = (e, t) => e && {
...e,
...t
-}, nOe = /目录模板|分隔符|盘符|`\.`/;
-function wB(e) {
+}, tOe = /目录模板|分隔符|盘符|`\.`/;
+function TB(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var TB = (e) => Number(e || 0).toLocaleString();
-function rOe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${TB(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${TB(e.counts.change)} 个文件会改名或移动,${TB(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var EB = (e) => Number(e || 0).toLocaleString();
+function nOe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${EB(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${EB(e.counts.change)} 个文件会改名或移动,${EB(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function EB(e) {
+function DB(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${TB(r)} 个文件${n ? `,${TB(n)} 行未能退回` : ""}。` : `已整理 ${TB(r)} 个文件${n ? `,${TB(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${EB(r)} 个文件${n ? `,${EB(n)} 行未能退回` : ""}。` : `已整理 ${EB(r)} 个文件${n ? `,${EB(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var DB = "/api/resource-sync/scan", OB = "/api/resource-sync/apply", kB = ["resource-sync", "scan"], AB = ["resource-sync", "apply"], jB = (e) => U(DB, {
+var OB = "/api/resource-sync/scan", kB = "/api/resource-sync/apply", AB = ["resource-sync", "scan"], jB = ["resource-sync", "apply"], MB = (e) => U(OB, {
background: !0,
status_only: !0
-}, "POST", e), iOe = () => U(DB, {
+}, "POST", e), rOe = () => U(OB, {
background: !0,
restart: !0
-}), MB = (e) => H(OB, e), aOe = (e) => U(OB, {
+}), NB = (e) => H(kB, e), iOe = (e) => U(kB, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), NB = (e) => (e?.sources ?? []).some((e) => At.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function oOe(e) {
- NB(W.getQueryData(kn)) && await Promise.all([W.fetchQuery({
- queryKey: kB,
- queryFn: () => jB(e)
- }), W.fetchQuery({
+}), PB = (e) => (e?.sources ?? []).some((e) => At.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function aOe(e) {
+ PB(W.getQueryData(kn)) && await Promise.all([W.fetchQuery({
queryKey: AB,
queryFn: () => MB(e)
+ }), W.fetchQuery({
+ queryKey: jB,
+ queryFn: () => NB(e)
})]);
}
-var sOe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), PB = (e) => Number(e || 0).toLocaleString(), cOe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", FB = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), IB = (e) => e.vanish ? `${PB(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中选择替代文件或彻底删除。` : "", LB = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", lOe = (e) => `将永久删除文件已不在盘上的 ${PB(FB(e))} 条记录和 ${PB(e.empty)} 个空文件夹,并清理 ${PB(e.cache?.files)} 个闲置缓存。${LB(e)}${IB(e)}`, uOe = (e) => `将永久删除文件已不在盘上的 ${PB(FB(e))} 条记录(含回收站里的)、${PB(e.empty)} 个空文件夹,并清理 ${PB(e.cache?.files)} 个闲置缓存。来源根目录保留。${LB(e)}${IB(e)}`, dOe = (e) => e.online ? [
- `找不到文件 · 共 ${PB(e.total)} 项`,
- e.vanish ? `${PB(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${PB(e.empty)} 个` : "",
- e.unreadable ? `${PB(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${PB(e.total)} 项`;
-function RB(e) {
+var oOe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), FB = (e) => Number(e || 0).toLocaleString(), sOe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", IB = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), LB = (e) => e.vanish ? `${FB(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中选择替代文件或彻底删除。` : "", RB = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", cOe = (e) => `将永久删除文件已不在盘上的 ${FB(IB(e))} 条记录和 ${FB(e.empty)} 个空文件夹,并清理 ${FB(e.cache?.files)} 个闲置缓存。${RB(e)}${LB(e)}`, lOe = (e) => `将永久删除文件已不在盘上的 ${FB(IB(e))} 条记录(含回收站里的)、${FB(e.empty)} 个空文件夹,并清理 ${FB(e.cache?.files)} 个闲置缓存。来源根目录保留。${RB(e)}${LB(e)}`, uOe = (e) => e.online ? [
+ `找不到文件 · 共 ${FB(e.total)} 项`,
+ e.vanish ? `${FB(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${FB(e.empty)} 个` : "",
+ e.unreadable ? `${FB(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${FB(e.total)} 项`;
+function zB(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 ? `${PB(t.length)} 条记录没有删除(${o})` : "",
- n ? `${PB(n)} 个文件夹没有删除` : "",
- r.length ? `${PB(r.length)} 个缓存没有清理` : ""
+ t.length ? `${FB(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${FB(n)} 个文件夹没有删除` : "",
+ r.length ? `${FB(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var fOe = (e, t) => {
- let { rest: n } = RB(e), r = `已永久删除 ${PB(e.purged)} 条失效记录和 ${PB(e.dirs_removed)} 个空文件夹,清理 ${PB(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${PB(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${PB(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var dOe = (e, t) => {
+ let { rest: n } = zB(e), r = `已永久删除 ${FB(e.purged)} 条失效记录和 ${FB(e.dirs_removed)} 个空文件夹,清理 ${FB(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${FB(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${FB(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, pOe = "/api/review?counts=1", zB = ["review", "counts"], mOe = "/api/ads?limit=1", BB = ["junk-summary"], VB = "/api/items?state=trash&limit=1", HB = ["trash-summary"], hOe = [
+}, fOe = "/api/review?counts=1", BB = ["review", "counts"], pOe = "/api/ads?limit=1", VB = ["junk-summary"], HB = "/api/items?state=trash&limit=1", UB = ["trash-summary"], mOe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], UB = (e) => H(pOe, e), WB = (e) => H(mOe, e), GB = (e) => {
+], WB = (e) => H(fOe, e), GB = (e) => H(pOe, e), KB = (e) => {
let t = sessionStorage.getItem("peach.library");
- return H(t ? `${VB}&library=${encodeURIComponent(t)}` : VB, e);
-}, KB = (e) => Number(e || 0).toLocaleString();
-function gOe(e) {
- let t = Gz, 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 H(t ? `${HB}&library=${encodeURIComponent(t)}` : HB, e);
+}, qB = (e) => Number(e || 0).toLocaleString();
+function hOe(e) {
+ let t = Kz, 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 _Oe(e) {
+function gOe(e) {
if (!e) return "";
- let t = hOe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${KB(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${KB(e.dismissed_total)}`), t.join(" · ");
-}
-var vOe = [
- [zB, ({ signal: e }) => UB(e)],
- [Bz, ({ signal: e }) => Vz(e)],
- [HB, ({ signal: e }) => GB(e)],
- [iB, ({ signal: e }) => lB(e)],
+ let t = mOe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${qB(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${qB(e.dismissed_total)}`), t.join(" · ");
+}
+var _Oe = [
+ [BB, ({ signal: e }) => WB(e)],
+ [Vz, ({ signal: e }) => Hz(e)],
+ [UB, ({ signal: e }) => KB(e)],
[aB, ({ signal: e }) => uB(e)],
- [oB, ({ signal: e }) => dB(e)]
+ [oB, ({ signal: e }) => dB(e)],
+ [sB, ({ signal: e }) => fB(e)]
];
-async function yOe(e) {
- let t = location.hash === "#resource-sync", n = vOe.map(([n, r]) => {
+async function vOe(e) {
+ let t = location.hash === "#resource-sync", n = _Oe.map(([n, r]) => {
if (t) return W.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -57767,49 +57835,49 @@ async function yOe(e) {
await Promise.all([
...n,
W.fetchQuery({
- queryKey: BB,
- queryFn: () => WB(e)
+ queryKey: VB,
+ queryFn: () => GB(e)
}),
W.fetchQuery({
- queryKey: Oz,
- queryFn: () => Az(e)
+ queryKey: kz,
+ queryFn: () => jz(e)
}),
- Dz(e).then(() => oOe(e)),
- gF(e),
- fDe(e),
- ZDe(e)
+ Oz(e).then(() => aOe(e)),
+ vF(e),
+ dDe(e),
+ XDe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var bOe = [
+var yOe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], xOe = [
+], bOe = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function qB(e = {}) {
- return `${pA({
+function JB(e = {}) {
+ return `${mA({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var JB = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", SOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function YB({ interactive: e = !1 } = {}) {
- return pA({
+var YB = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", xOe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function XB({ interactive: e = !1 } = {}) {
+ return mA({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var COe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function XB({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var SOe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function ZB({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -57842,13 +57910,13 @@ function XB({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function ZB({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function QB({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.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, C.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${bOe[n % 4]} ${xOe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${yOe[n % 4]} ${bOe[n % 4]}`,
children: /* @__PURE__ */ (0, C.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -57870,139 +57938,139 @@ function ZB({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/management.ts
-var QB = "同步文件与影片资料,按设置生成本地视频预览。下拉菜单可选择只扫描文件、同步已入库影片、生成预览或补全资料。", $B = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", eV = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", tV = "type=\"button\" disabled data-skeleton-action", nV = "disabled data-skeleton-action", wOe = "aria-disabled=\"true\"", rV = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, iV = (e, t) => `<div data-geist-fieldset-content>
+var $B = "同步文件与影片资料,按设置生成本地视频预览。下拉菜单可选择只扫描文件、同步已入库影片、生成预览或补全资料。", eV = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", tV = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", nV = "type=\"button\" disabled data-skeleton-action", rV = "disabled data-skeleton-action", COe = "aria-disabled=\"true\"", iV = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, aV = (e, t) => `<div data-geist-fieldset-content>
<h3 class="text-title-2-medium text-text-primary">${e}</h3>
<p class="text-body-2-regular text-text-secondary">${t}</p></div>`;
-function TOe() {
- return rV(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${iV("扫描与采集", QB)}
+function wOe() {
+ return iV(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${aV("扫描与采集", $B)}
<footer data-geist-fieldset-footer><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>${ho("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${vo({
glyph: "database",
label: "同步媒体库",
- attrs: nV
+ attrs: rV
})}${vo({
glyph: "chevron-down",
- attrs: `${nV} aria-label="更多同步方式"`
+ attrs: `${rV} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function EOe() {
- return rV(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${iV("媒体修复", $B)}
- <footer data-geist-fieldset-footer>${bo(eV, {
+function TOe() {
+ return iV(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${aV("媒体修复", eV)}
+ <footer data-geist-fieldset-footer>${bo(tV, {
className: "w-48",
- attrs: wOe
+ attrs: COe
})}${vo({
label: "开始修复",
- attrs: nV
+ attrs: rV
})}</footer>
</section>`);
}
-function aV() {
+function oV() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["回收站", "trash"]
- ], t = `<span class="geist-button ui-organize-preset-skeleton">${eV}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
- <span class="geist-input ui-organize-input-skeleton">${eV}</span></div>`;
+ ], t = `<span class="geist-button ui-organize-preset-skeleton">${tV}</span>`.repeat(3), n = (e) => `<div class="ui-organizefield"><span>${e}</span>
+ <span class="geist-input ui-organize-input-skeleton">${tV}</span></div>`;
return `<div class="ui-cleanuppage" data-skeleton="cleanup" aria-busy="true" aria-label="正在读取数据管理状态">
<div class="ui-cleanupstats">${e.map(([e, t]) => `
<button type="button" class="board-plain-stat" disabled>
<span class="ui-board-plain-stat-head"><span class="ui-board-stat-tile">${z(t)}</span>${e}</span>
- <strong>${eV}</strong><span class="cleanupmeta">${eV}</span></button>`).join("")}</div>
+ <strong>${tV}</strong><span class="cleanupmeta">${tV}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${TOe()}</div>
- <div class="cleanupmediarepair">${EOe()}</div>
+ <div class="cleanupscraping">${wOe()}</div>
+ <div class="cleanupmediarepair">${TOe()}</div>
<section class="cleanupfieldset cleanuporganize" data-geist-fieldset data-cleanup-task aria-labelledby="cleanup-loading-organize">
<div class="geist-fieldset-content"><h3 class="geist-fieldset-title" id="cleanup-loading-organize">整理</h3>
<p>按模板给文件改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>
<div class="ui-organizefields">
- <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${eV}${z("chevron-down")}</span></span></div>
+ <div class="organizesource"><span class="ui-gselect"><span class="gselectfield organize-source-skeleton">${tV}${z("chevron-down")}</span></span></div>
${n("文件名模板")}
${n("目录模板")}
<div class="ui-organizepresets">${t}</div>
- <p class="cleanupmeta">${eV}</p>
+ <p class="cleanupmeta">${tV}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${tV}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${nV}>预览</button></footer>
</section></div>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task data-fieldset-stack>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">站外链接</h3>
- <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${eV}</b><small>${eV}</small></div>${[
+ <div class="linksummary"><div class="ui-linkstats"><div><span>链接总数</span><b>${tV}</b><small>${tV}</small></div>${[
"官网/事务所",
"社交账号",
"作品资料站"
- ].map((e) => `<div><span>${e}</span><b>${eV}</b></div>`).join("")}</div>
- <div class="ui-linkhosts"><span>主要站点</span><b>${eV}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${tV}>${z("unlink")}<span>检查死链</span></button></div>
+ ].map((e) => `<div><span>${e}</span><b>${tV}</b></div>`).join("")}</div>
+ <div class="ui-linkhosts"><span>主要站点</span><b>${tV}</b></div></div></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${nV}>${z("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="ui-resourcesync" aria-labelledby="cleanup-loading-sync">
<h2 id="cleanup-loading-sync">资源同步</h2>
<div class="resourcesyncbox" data-geist-fieldset data-cleanup-task>
<div class="resourcesyncbody geist-fieldset-content"><h3 class="geist-fieldset-title">文件与记录核对</h3>
<p>按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。</p></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${tV}>${z("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${nV}>${z("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/react/components/fieldset.tsx
-var DOe = pA({
+var EOe = mA({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), OOe = {
+}), DOe = {
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"
-}, kOe = {
+}, OOe = {
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"
-}, AOe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", jOe = {
+}, kOe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", AOe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, MOe = pA({
+}, jOe = mA({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), oV = "border-t border-border-button-default p-4 first:border-t-0";
-function NOe({ tone: e = "neutral", status: t, children: n }) {
+}), sV = "border-t border-border-button-default p-4 first:border-t-0";
+function MOe({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: `${AOe} ${jOe[e]}`,
+ className: `${kOe} ${AOe[e]}`,
children: [t ? /* @__PURE__ */ (0, C.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function sV({ id: e, gap: t = "none", children: n }) {
+function cV({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, C.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function cV({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function lV({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${DOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${EOe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
- className: OOe[e],
+ className: DOe[e],
children: a
}), i ? /* @__PURE__ */ (0, C.jsx)("footer", {
- className: kOe[e],
+ className: OOe[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function POe({ className: e }) {
+function NOe({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -58015,8 +58083,8 @@ function POe({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-open" })
});
}
-var FOe = "打开文件管理器失败,请重试";
-function lV({ path: e, prefix: t, className: n, onRevealed: r }) {
+var POe = "打开文件管理器失败,请重试";
+function uV({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(""), c = (0, S.useRef)(!0);
(0, S.useEffect)(() => () => {
c.current = !1;
@@ -58027,7 +58095,7 @@ function lV({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await U("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof vn ? e.message : FOe);
+ c.current && s(e instanceof vn ? e.message : POe);
} finally {
c.current && a(!1);
}
@@ -58038,10 +58106,10 @@ function lV({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, C.jsxs)("p", {
- className: sA("min-w-0 break-all", n),
+ className: cA("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, C.jsx)(dj, {
- icon: POe,
+ }), /* @__PURE__ */ (0, C.jsx)(pj, {
+ icon: NOe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -58056,14 +58124,14 @@ function lV({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var IOe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", LOe = (e) => {
+var FOe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", IOe = (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(",")}。`;
-}, ROe = (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} 部视频预览。` : "") + LOe(e);
-function zOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = bSe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = _Se(e.notes || {}), c = eF();
+}, LOe = (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} 部视频预览。` : "") + IOe(e);
+function ROe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = ySe(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = gSe(e.notes || {}), c = nF();
return /* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -58071,7 +58139,7 @@ function zOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "warning",
title: "处理较慢",
- children: IOe
+ children: FOe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
@@ -58084,7 +58152,7 @@ function zOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-3 border-t border-current/20 pt-3",
- children: /* @__PURE__ */ (0, C.jsxs)(FA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(IA, {
summary: a.label,
contentClassName: "gap-0",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
@@ -58116,7 +58184,7 @@ function zOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-3 border-t border-border-error-default/20 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(lV, {
+ children: /* @__PURE__ */ (0, C.jsx)(uV, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -58130,13 +58198,13 @@ function zOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "success",
title: "处理完成",
- children: ROe(n)
+ children: LOe(n)
}) : null,
- !pF(e) && s ? /* @__PURE__ */ (0, C.jsx)(J, {
+ !hF(e) && s ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(lV, {
+ children: /* @__PURE__ */ (0, C.jsx)(uV, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -58148,38 +58216,38 @@ function zOe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function uV(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = AF(e), o = mt({
- mutationFn: (e) => U(dF, e),
+function dV(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = MF(e), o = mt({
+ mutationFn: (e) => U(pF, e),
onSuccess: (e) => {
- a(), W.setQueryData(fF, e), W.invalidateQueries({ queryKey: fF });
+ a(), W.setQueryData(mF, e), W.invalidateQueries({ queryKey: mF });
}
});
(0, S.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? _F : V(r.error) : "", l = o.isPending || pF(s), u = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? V(o.error) : r.isError ? r.data ? yF : V(r.error) : "", l = o.isPending || hF(s), u = async (e) => {
l || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsx)(cV, {
+ children: [/* @__PURE__ */ (0, C.jsx)(lV, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(wA, {
+ /* @__PURE__ */ (0, C.jsx)(TA, {
href: "/sources",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Tk,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, C.jsx)(wA, {
+ s.candidates ? /* @__PURE__ */ (0, C.jsx)(TA, {
href: "/review",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Tk,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, C.jsx)(pL, {
+ /* @__PURE__ */ (0, C.jsx)(mL, {
scan: !0,
busy: l,
metadataOnly: s?.metadata_only,
@@ -58190,27 +58258,27 @@ function uV(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(sV, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, C.jsx)(cV, { children: "扫描与采集" }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: QB
+ children: $B
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: "已暂停"
- }) : pF(s) ? /* @__PURE__ */ (0, C.jsx)(OSe, { state: s }) : null,
- pF(s) ? /* @__PURE__ */ (0, C.jsx)("p", {
+ }) : hF(s) ? /* @__PURE__ */ (0, C.jsx)(DSe, { state: s }) : null,
+ hF(s) ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
- children: mF(s)
+ children: gF(s)
}) : null,
- /* @__PURE__ */ (0, C.jsx)(kF, {
+ /* @__PURE__ */ (0, C.jsx)(jF, {
state: s,
disabled: o.isPending || r.isError
})
]
})
- }), /* @__PURE__ */ (0, C.jsx)(zOe, {
+ }), /* @__PURE__ */ (0, C.jsx)(ROe, {
state: s,
problem: c,
settled: i,
@@ -58226,9 +58294,9 @@ function uV(e) {
}
//#endregion
//#region src/react/background-job.ts
-var dV = 2e3, BOe = (e) => e, VOe = (e, t) => t;
-function fV(e) {
- let { queryKey: t, jobOf: n = BOe, withJob: r = VOe, idlePollMs: i } = e, [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(e);
+var fV = 2e3, zOe = (e) => e, BOe = (e, t) => t;
+function pV(e) {
+ let { queryKey: t, jobOf: n = zOe, withJob: r = BOe, idlePollMs: i } = e, [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(null), l = (0, S.useRef)(e);
(0, S.useEffect)(() => {
l.current = e;
});
@@ -58237,7 +58305,7 @@ function fV(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? dV : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? fV : i ?? !1;
}
}), d = mt({
mutationFn: (e) => l.current.start(e),
@@ -58262,32 +58330,32 @@ function fV(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var HOe = (e) => so[e] || e, pV = (e) => W.setQueryData(Fz, e);
-function UOe() {
+var VOe = (e) => so[e] || e, mV = (e) => W.setQueryData(Iz, e);
+function HOe() {
let e = pt({
- queryKey: Fz,
- queryFn: ({ signal: e }) => Lz(e),
- refetchInterval: (e) => e.state.data?.status === "running" && dV
- }), t = pt({
queryKey: Iz,
- queryFn: ({ signal: e }) => Rz(e)
- }), [n, r] = (0, S.useState)(""), i = yA(), a = e.data ?? dDe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryFn: ({ signal: e }) => Rz(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && fV
+ }), t = pt({
+ queryKey: Lz,
+ queryFn: ({ signal: e }) => zz(e)
+ }), [n, r] = (0, S.useState)(""), i = bA(), a = e.data ?? uDe, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && Rs({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => pV(await U(Pz, {
+ onConfirm: async () => mV(await U(Fz, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => U(Pz, { stop: !0 }, "POST", e), pV), d = pDe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => U(Fz, { stop: !0 }, "POST", e), mV), d = fDe(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsx)(cV, {
+ children: [/* @__PURE__ */ (0, C.jsx)(lV, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(UF, {
+ footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -58295,10 +58363,10 @@ function UOe() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, C.jsxs)(WF, {
+ children: o.map((e) => /* @__PURE__ */ (0, C.jsxs)(KF, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: HOe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: VOe(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, C.jsx)(q, {
onClick: u,
@@ -58312,12 +58380,12 @@ function UOe() {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(sV, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, C.jsx)(cV, { children: "媒体修复" }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: $B
+ children: eV
}),
- s && a.total ? /* @__PURE__ */ (0, C.jsx)(vA, {
+ s && a.total ? /* @__PURE__ */ (0, C.jsx)(yA, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -58341,7 +58409,7 @@ function UOe() {
f && a.missing_tool ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "warning",
title: "缺少 untrunc",
- children: mDe(a)
+ children: pDe(a)
}) : null,
p ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
@@ -58353,43 +58421,43 @@ function UOe() {
}
//#endregion
//#region src/react/components/use-table-selection.ts
-var mV = /* @__PURE__ */ new Map();
-function hV(e) {
+var hV = /* @__PURE__ */ new Map();
+function gV(e) {
let t = (0, S.useId)(), n = (0, S.useRef)(e);
- return n.current = e, (0, S.useEffect)(() => (mV.set(t, () => n.current()), () => {
- mV.delete(t);
+ return n.current = e, (0, S.useEffect)(() => (hV.set(t, () => n.current()), () => {
+ hV.delete(t);
}), [t]), (0, S.useCallback)(() => {
- for (let [e, n] of mV) e !== t && n();
+ for (let [e, n] of hV) e !== t && n();
}, [t]);
}
//#endregion
//#region src/react/components/data-table.tsx
-var WOe = uR({
- rowSortingFeature: sz,
- rowSelectionFeature: JR,
- rowPaginationFeature: DR,
- sortedRowModel: lz(),
- paginatedRowModel: cz()
+var UOe = dR({
+ rowSortingFeature: cz,
+ rowSelectionFeature: YR,
+ rowPaginationFeature: OR,
+ sortedRowModel: uz(),
+ paginatedRowModel: lz()
});
-function gV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {
+function _V({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a, onSelected: o, actions: s, title: c = e, titleId: l, description: u, footerActions: d, panel: f = !0, unit: p = "条记录" }) {
let [m, h] = (0, S.useState)([]), [g, _] = (0, S.useState)({
pageIndex: 0,
pageSize: 20
- }), v = hV(() => o([])), y = Math.max(1, Math.ceil(t.length / g.pageSize)), b = Math.min(g.pageIndex, y - 1), x = Object.fromEntries(a.map((e) => [e, !0])), w = uz({
- features: WOe,
+ }), v = gV(() => o([])), y = Math.max(1, Math.ceil(t.length / g.pageSize)), b = Math.min(g.pageIndex, y - 1), x = Object.fromEntries(a.map((e) => [e, !0])), w = dz({
+ features: UOe,
data: t,
columns: (0, S.useMemo)(() => {
- let t = lR();
+ let t = uR();
return t.columns([t.display({
id: "select",
- header: ({ table: t }) => /* @__PURE__ */ (0, C.jsx)($P, {
+ header: ({ table: t }) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
"aria-label": `全选${e}`,
isSelected: t.getIsAllRowsSelected(),
isIndeterminate: t.getIsSomeRowsSelected(),
onChange: (e) => t.toggleAllRowsSelected(e)
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)($P, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
"aria-label": `选择 ${i(e.original)}`,
isSelected: e.getIsSelected(),
@@ -58434,7 +58502,7 @@ function gV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
}), T = w.getSelectedRowModel().rows.map((e) => e.original);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-data-table-panel": f || void 0,
- className: f ? pA({
+ className: f ? mA({
padding: "none",
bordered: "line",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
@@ -58454,7 +58522,7 @@ function gV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${t.length.toLocaleString()} ${p}`
}),
- /* @__PURE__ */ (0, C.jsx)(mz, {
+ /* @__PURE__ */ (0, C.jsx)(hz, {
label: e,
options: n.filter((e) => e.value).map((e) => ({
id: e.id,
@@ -58485,10 +58553,10 @@ function gV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(fz, {
+ /* @__PURE__ */ (0, C.jsx)(pz, {
follow: !0,
onRowClick: (e) => w.getRow(e)?.toggleSelected(),
- children: /* @__PURE__ */ (0, C.jsxs)(dz, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fz, {
"aria-label": e,
size: "sm",
sortDescriptor: m[0] ? {
@@ -58496,29 +58564,29 @@ function gV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
direction: m[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => w.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(eP, { children: w.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(tP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, { children: w.getHeaderGroups()[0].headers.map((e, t) => /* @__PURE__ */ (0, C.jsx)(rP, {
id: e.id,
isRowHeader: t === 1,
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [gL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(UP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(iP, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(oP, {
renderEmptyState: () => "没有记录",
- children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(sP, {
+ children: w.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(lP, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(lP, { children: gL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(dP, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
}),
- /* @__PURE__ */ (0, C.jsx)(hz, {
+ /* @__PURE__ */ (0, C.jsx)(gz, {
label: e,
total: t.length,
pagination: {
@@ -58537,8 +58605,8 @@ function gV({ label: e, items: t, columns: n, rowId: r, rowLabel: i, selected: a
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var GOe = kP("unlink"), _V = kP("rotate-cw"), KOe = "站点返回 404 或 410,确认这个地址不存在。", qOe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", JOe = "删除前会逐条重验一次;此操作不可撤销。", YOe = "暂时无法读取进度,正在重新连接…", vV = (e) => Number(e || 0).toLocaleString();
-function yV({ label: e, value: t, note: n }) {
+var WOe = jP("unlink"), vV = jP("rotate-cw"), GOe = "站点返回 404 或 410,确认这个地址不存在。", KOe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", qOe = "删除前会逐条重验一次;此操作不可撤销。", JOe = "暂时无法读取进度,正在重新连接…", yV = (e) => Number(e || 0).toLocaleString();
+function bV({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -58557,10 +58625,10 @@ function yV({ label: e, value: t, note: n }) {
]
});
}
-function bV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o }) {
+function xV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, footer: o }) {
return t.length ? /* @__PURE__ */ (0, C.jsx)("div", {
- className: oV,
- children: /* @__PURE__ */ (0, C.jsx)(gV, {
+ className: sV,
+ children: /* @__PURE__ */ (0, C.jsx)(_V, {
label: e,
items: t,
columns: [
@@ -58576,8 +58644,8 @@ function bV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
{
id: "kind",
label: "类型",
- value: (e) => sB[e.link_kind] || e.link_kind,
- render: (e) => sB[e.link_kind] || e.link_kind
+ value: (e) => cB[e.link_kind] || e.link_kind,
+ render: (e) => cB[e.link_kind] || e.link_kind
},
{
id: "label",
@@ -58594,7 +58662,7 @@ function bV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
value: (e) => e.note,
render: (e) => /* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-40 max-w-80",
- children: /* @__PURE__ */ (0, C.jsx)(ij, {
+ children: /* @__PURE__ */ (0, C.jsx)(oj, {
text: e.note,
className: "tabular-nums text-text-error-primary"
})
@@ -58614,7 +58682,7 @@ function bV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, C.jsx)(jk, {
+ }), /* @__PURE__ */ (0, C.jsx)(Mk, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -58633,27 +58701,27 @@ function bV({ title: e, items: t, hint: n, picked: r, onPick: i, children: a, fo
})
}) : null;
}
-function XOe() {
+function YOe() {
let e = pt({
- queryKey: iB,
- queryFn: ({ signal: e }) => lB(e)
- }), [t, n] = (0, S.useState)([]), [r, i] = (0, S.useState)([]), a = fV({
- queryKey: oB,
- queryFn: ({ signal: e }) => dB(e),
- start: BDe,
+ queryKey: aB,
+ queryFn: ({ signal: e }) => uB(e)
+ }), [t, n] = (0, S.useState)([]), [r, i] = (0, S.useState)([]), a = pV({
+ queryKey: sB,
+ queryFn: ({ signal: e }) => fB(e),
+ start: zDe,
onFinish: () => {
W.invalidateQueries({
- queryKey: iB,
+ queryKey: aB,
exact: !0
}), W.invalidateQueries({
- queryKey: aB,
+ queryKey: oB,
exact: !0
});
}
- }), o = fV({
- queryKey: aB,
- queryFn: ({ signal: e }) => uB(e),
- start: zDe,
+ }), o = pV({
+ queryKey: oB,
+ queryFn: ({ signal: e }) => dB(e),
+ start: RDe,
onStarted: () => {
a.dismiss(), n([]), i([]);
}
@@ -58661,7 +58729,7 @@ function XOe() {
(0, S.useEffect)(() => {
n([]), i([]);
}, [c]);
- let l = o.running || o.start.isPending, u = a.running || a.start.isPending, d = s?.status === "complete", f = s?.gone ?? [], p = s?.unclear ?? [], m = d ? p : [], h = f.filter((e) => r.includes(e.id)).map((e) => e.id), g = m.filter((e) => t.includes(e.id)).map((e) => e.id), _ = e.data, v = (_?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${vV(t)}`).join(" · "), y = (e) => {
+ let l = o.running || o.start.isPending, u = a.running || a.start.isPending, d = s?.status === "complete", f = s?.gone ?? [], p = s?.unclear ?? [], m = d ? p : [], h = f.filter((e) => r.includes(e.id)).map((e) => e.id), g = m.filter((e) => t.includes(e.id)).map((e) => e.id), _ = e.data, v = (_?.top_hosts ?? []).slice(0, 3).map(([e, t]) => `${e} ${yV(t)}`).join(" · "), y = (e) => {
l || e && !e.length || o.start.mutate(e ? {
retry: e,
checkId: c
@@ -58686,7 +58754,7 @@ function XOe() {
else if (x && !f.length && !p.length) E = /* @__PURE__ */ (0, C.jsx)(J, {
tone: "success",
title: "完成",
- children: pB(x)
+ children: mB(x)
});
else if (w) E = /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
@@ -58696,7 +58764,7 @@ function XOe() {
else if (o.query.isError && s) E = /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: YOe
+ children: JOe
});
else if (s?.status === "failed") E = /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
@@ -58704,12 +58772,12 @@ function XOe() {
children: s.error || "检查失败"
});
else if (s && s.status !== "idle") {
- T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [s.status === "running" ? /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
- label: VDe(s),
+ label: BDe(s),
value: Math.min(s.checked || 0, s.total || 0),
total: s.total
- }) : null, u ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ }) : null, u ? /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: a.job?.message || "正在重验并删除失效链接…",
value: Math.min(a.job?.checked || 0, a.job?.total || 0),
@@ -58717,17 +58785,17 @@ function XOe() {
}) : null] });
let e = g.length ? `重试选中的 ${g.length} 条` : "重试选中的链接";
E = d || f.length || p.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
- className: MOe,
+ className: jOe,
children: [
x?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "success",
title: "完成",
- children: pB(x)
+ children: mB(x)
}) : null,
- /* @__PURE__ */ (0, C.jsx)(bV, {
+ /* @__PURE__ */ (0, C.jsx)(xV, {
title: "地址已失效",
items: f,
- hint: KOe,
+ hint: GOe,
picked: r,
onPick: i,
children: /* @__PURE__ */ (0, C.jsx)(q, {
@@ -58739,29 +58807,29 @@ function XOe() {
children: `删除所选(${h.length})`
})
}),
- /* @__PURE__ */ (0, C.jsx)(bV, {
+ /* @__PURE__ */ (0, C.jsx)(xV, {
title: "本次未访问成功",
items: p,
- hint: qOe,
+ hint: KOe,
picked: t,
onPick: n,
footer: m.length ? /* @__PURE__ */ (0, C.jsx)(q, {
- leadingIcon: _V,
+ leadingIcon: vV,
...Y(l),
onClick: () => y(m.map((e) => e.id)),
children: `全部重试(${m.length})`
}) : null,
children: m.length ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: /* @__PURE__ */ (0, C.jsx)(q, {
- leadingIcon: _V,
+ leadingIcon: vV,
disabled: !g.length,
...Y(l),
onClick: () => y(g),
children: e
}) }) : null
}),
- d && f.length ? /* @__PURE__ */ (0, C.jsx)(NOe, {
+ d && f.length ? /* @__PURE__ */ (0, C.jsx)(MOe, {
tone: "error",
- status: JOe,
+ status: qOe,
children: /* @__PURE__ */ (0, C.jsx)(q, {
variant: "danger",
...Y(u),
@@ -58770,7 +58838,7 @@ function XOe() {
})
}) : null,
d && !f.length && !p.length ? /* @__PURE__ */ (0, C.jsx)("p", {
- className: `${oV} text-body-regular text-notification-success-foreground`,
+ className: `${sV} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -58780,17 +58848,17 @@ function XOe() {
id: "link-manager",
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsxs)(cV, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(lV, {
layout: "stack",
labelledBy: "link-manager-title",
footer: /* @__PURE__ */ (0, C.jsx)(q, {
- leadingIcon: GOe,
+ leadingIcon: WOe,
...Y(l),
onClick: () => y(),
children: l ? "检查中" : d ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, C.jsx)(sV, {
+ /* @__PURE__ */ (0, C.jsx)(cV, {
id: "link-manager-title",
gap: "small",
children: "链接管理"
@@ -58801,13 +58869,13 @@ function XOe() {
children: V(e.error)
}) : _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, C.jsx)(yV, {
+ children: [/* @__PURE__ */ (0, C.jsx)(bV, {
label: "链接总数",
- value: vV(_.total),
- note: `分布在 ${vV(_.entities)} 个女优、厂牌与系列`
- }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(yV, {
- label: sB[e] || e,
- value: vV(t)
+ value: yV(_.total),
+ note: `分布在 ${yV(_.entities)} 个女优、厂牌与系列`
+ }), Object.entries(_.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(bV, {
+ label: cB[e] || e,
+ value: yV(t)
}, e))]
}), v ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -58834,18 +58902,18 @@ function XOe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var ZOe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, QOe = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", $Oe = 8;
-function eke({ plan: e }) {
+var XOe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, ZOe = "将把上一批整理动过的文件退回整理前的名字与位置,数据库路径跟着退回。退回后这一批不再出现在这里。", QOe = 8;
+function $Oe({ plan: e }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, $Oe).map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
+ children: e.rows.slice(0, QOe).map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: wB(e.current_path)
+ children: TB(e.current_path)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
@@ -58855,7 +58923,7 @@ function eke({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: wB(e.target_path)
+ children: TB(e.target_path)
})
]
}, e.current_path))
@@ -58864,10 +58932,10 @@ function eke({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function tke({ toast: e, failure: t }) {
+function eke({ toast: e, failure: t }) {
let n = pt({
- queryKey: SB,
- queryFn: ({ signal: e }) => CB(e)
+ queryKey: CB,
+ queryFn: ({ signal: e }) => wB(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, S.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, S.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -58880,38 +58948,38 @@ function tke({ toast: e, failure: t }) {
file_template: d.file.trim(),
dir_template: d.dir.trim()
}), v = mt({
- mutationFn: QDe,
+ mutationFn: ZDe,
onError: (e) => {
- let t = nOe.test(V(e)) ? "dir" : "file";
+ let t = tOe.test(V(e)) ? "dir" : "file";
m(t), (t === "dir" ? g : h).current?.focus();
}
- }), y = fV({
- queryKey: SB,
- queryFn: ({ signal: e }) => CB(e),
- start: $De,
+ }), y = pV({
+ queryKey: CB,
+ queryFn: ({ signal: e }) => wB(e),
+ start: QDe,
jobOf: (e) => e,
- withJob: tOe,
+ withJob: eOe,
onStarted: () => v.reset(),
onFinish: (n) => {
if (W.invalidateQueries({
- queryKey: SB,
+ queryKey: CB,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = EB(n);
+ let { text: r, failed: i } = DB(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), b = y.running || y.start.isPending, x = v.data, w = Number(x?.counts?.change || 0), T = pn[s] || s, E = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
!v.isPending && s && (m(null), v.mutate(_()));
}, O = () => void Rs({
title: "按模板整理文件",
- body: ZOe(T),
+ body: XOe(T),
confirmLabel: "整理文件",
onConfirm: async () => {
let e = _();
await y.start.mutateAsync({
kind: "apply",
request: e
- }), eOe({
+ }), $De({
...r?.templates ?? {},
[e.location]: {
file: e.file_template,
@@ -58921,13 +58989,13 @@ function tke({ toast: e, failure: t }) {
}
}), k = () => void Rs({
title: "回滚上一批整理",
- body: QOe,
+ body: ZOe,
confirmLabel: "回滚整理",
onConfirm: () => y.start.mutateAsync({ kind: "rollback" })
}), A = null, j = y.job, M = y.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, C.jsx)(jF, {
+ A = /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: e,
value: Math.min(j.checked || 0, j.total || 0),
@@ -58939,7 +59007,7 @@ function tke({ toast: e, failure: t }) {
children: M.error || "请查看任务记录,核对已处理的文件。"
});
else if (M) {
- let { text: e, failed: t } = EB(M);
+ let { text: e, failed: t } = DB(M);
A = /* @__PURE__ */ (0, C.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -58949,7 +59017,7 @@ function tke({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: V(y.start.error)
- }) : v.isPending ? A = /* @__PURE__ */ (0, C.jsx)(jF, {
+ }) : v.isPending ? A = /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: "正在按模板算计划…"
}) : v.isError ? A = /* @__PURE__ */ (0, C.jsx)(J, {
@@ -58959,9 +59027,9 @@ function tke({ toast: e, failure: t }) {
}) : x && (A = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
title: "预览结果",
- children: rOe(x)
- }), w ? /* @__PURE__ */ (0, C.jsx)(eke, { plan: x }) : null] }));
- return /* @__PURE__ */ (0, C.jsxs)(cV, {
+ children: nOe(x)
+ }), w ? /* @__PURE__ */ (0, C.jsx)($Oe, { plan: x }) : null] }));
+ return /* @__PURE__ */ (0, C.jsxs)(lV, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -58985,7 +59053,7 @@ function tke({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, C.jsx)(sV, {
+ /* @__PURE__ */ (0, C.jsx)(cV, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -59005,20 +59073,20 @@ function tke({ toast: e, failure: t }) {
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, C.jsx)(UF, {
+ i.length ? /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), m(null), v.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, C.jsxs)(WF, {
+ children: i.map((e) => /* @__PURE__ */ (0, C.jsxs)(KF, {
id: e.location,
textValue: pn[e.location] || e.location,
- children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: so[e.location] || "database" }), pn[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: so[e.location] || "database" }), pn[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -59029,7 +59097,7 @@ function tke({ toast: e, failure: t }) {
f({ file: e }), m(null);
}
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -59074,43 +59142,43 @@ function tke({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var nke = "/api/orphan-records", rke = "/api/orphan-records/attach", xV = ["orphan-records"], ike = [
+var tke = "/api/orphan-records", nke = "/api/orphan-records/attach", SV = ["orphan-records"], rke = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], ake = (e) => H(nke, e), oke = (e, t) => U(rke, {
+], ike = (e) => H(tke, e), ake = (e, t) => U(nke, {
id: e,
target: t
-}), SV = (e) => U(kz, {
+}), CV = (e) => U(Az, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), ske = (e) => [
+}), oke = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], CV = (e) => [...ike.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...ske(e)].filter(Boolean).join(" · "), cke = (e) => e ? `${Math.round(e / 60)} 分钟` : "", wV = (e) => [e.name, cke(e.duration)].filter(Boolean).join(" · "), lke = kP("play"), TV = () => W.invalidateQueries({
- queryKey: xV,
+], wV = (e) => [...rke.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...oke(e)].filter(Boolean).join(" · "), ske = (e) => e ? `${Math.round(e / 60)} 分钟` : "", TV = (e) => [e.name, ske(e.duration)].filter(Boolean).join(" · "), cke = jP("play"), EV = () => W.invalidateQueries({
+ queryKey: SV,
exact: !0
});
-function uke({ item: e, toast: t }) {
+function lke({ item: e, toast: t }) {
let [n, r] = (0, S.useState)(e.candidates[0]?.id ?? null), i = mt({
- mutationFn: () => oke(e.id, Number(n)),
+ mutationFn: () => ake(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), TV();
+ t(`记录已接到新文件,批次 ${e.batch}`), EV();
},
onError: (e) => t(V(e))
}), a = mt({
- mutationFn: () => SV(e.id),
+ mutationFn: () => CV(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), TV();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), EV();
}
}), o = () => {
Rs({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${CV(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${wV(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
@@ -59119,17 +59187,17 @@ function uke({ item: e, toast: t }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-48 flex-wrap items-center gap-2",
children: [
- e.candidates.length ? /* @__PURE__ */ (0, C.jsx)(UF, {
+ e.candidates.length ? /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-52",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e.id,
- textValue: wV(e),
- children: wV(e)
+ textValue: TV(e),
+ children: TV(e)
}, e.id))
}) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-text-secondary",
@@ -59152,12 +59220,12 @@ function uke({ item: e, toast: t }) {
]
});
}
-function dke({ item: e }) {
+function uke({ item: e }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, C.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, C.jsx)(lke, {
+ children: [/* @__PURE__ */ (0, C.jsx)(cke, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, C.jsx)("img", {
@@ -59180,14 +59248,14 @@ function dke({ item: e }) {
})]
});
}
-function fke({ toast: e }) {
+function dke({ toast: e }) {
let [t, n] = (0, S.useState)([]), r = pt({
- queryKey: xV,
- queryFn: ({ signal: e }) => ake(e)
+ queryKey: SV,
+ queryFn: ({ signal: e }) => ike(e)
}), i = r.data?.items ?? [], a = mt({
- mutationFn: (e) => SV(e),
+ mutationFn: (e) => CV(e),
onSuccess: (t) => {
- e(`已彻底删除 ${t.purged} 条记录${t.blocked.length ? `,${t.blocked.length} 条文件已恢复,未删除` : ""}`), n([]), TV();
+ e(`已彻底删除 ${t.purged} 条记录${t.blocked.length ? `,${t.blocked.length} 条文件已恢复,未删除` : ""}`), n([]), EV();
}
}), o = (e) => void Rs({
title: "彻底删除所选记录",
@@ -59201,10 +59269,10 @@ function fke({ toast: e }) {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: r.isError ? /* @__PURE__ */ (0, C.jsxs)(cV, {
+ children: r.isError ? /* @__PURE__ */ (0, C.jsxs)(lV, {
layout: "stack",
labelledBy: "orphan-records-title",
- children: [/* @__PURE__ */ (0, C.jsx)(sV, {
+ children: [/* @__PURE__ */ (0, C.jsx)(cV, {
id: "orphan-records-title",
children: "文件已丢失的记录"
}), /* @__PURE__ */ (0, C.jsx)(J, {
@@ -59212,7 +59280,7 @@ function fke({ toast: e }) {
title: "读取文件已丢失的记录失败",
children: V(r.error)
})]
- }) : /* @__PURE__ */ (0, C.jsx)(gV, {
+ }) : /* @__PURE__ */ (0, C.jsx)(_V, {
label: "文件已消失的作品",
items: i,
columns: [
@@ -59220,22 +59288,22 @@ function fke({ toast: e }) {
id: "item",
label: "作品",
value: (e) => e.name,
- render: (e) => /* @__PURE__ */ (0, C.jsx)(dke, { item: e })
+ render: (e) => /* @__PURE__ */ (0, C.jsx)(uke, { item: e })
},
{
id: "records",
label: "带的记录",
- value: (e) => CV(e.records),
+ value: (e) => wV(e.records),
render: (e) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "block min-w-28",
- children: CV(e.records) || "无个人记录"
+ children: wV(e.records) || "无个人记录"
})
},
{
id: "target",
label: "接到与操作",
value: (e) => e.candidates.length,
- render: (t) => /* @__PURE__ */ (0, C.jsx)(uke, {
+ render: (t) => /* @__PURE__ */ (0, C.jsx)(lke, {
item: t,
toast: e
})
@@ -59262,99 +59330,99 @@ function fke({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var pke = kP("git-compare"), mke = kP("rotate-cw"), hke = "暂时无法读取进度,正在重新连接…", EV = "清理失效条目", DV = "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", OV = (e) => Number(e || 0).toLocaleString();
-function kV({ scan: e, partial: t = !1 }) {
+var fke = jP("git-compare"), pke = jP("rotate-cw"), mke = "暂时无法读取进度,正在重新连接…", DV = "清理失效条目", OV = "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", kV = (e) => Number(e || 0).toLocaleString();
+function AV({ scan: e, partial: t = !1 }) {
let n = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("div", {
- className: DV,
+ className: OV,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, C.jsx)("article", {
- className: YB(),
- children: /* @__PURE__ */ (0, C.jsx)(XB, {
+ className: XB(),
+ children: /* @__PURE__ */ (0, C.jsx)(ZB, {
label: Mt[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, C.jsx)(IA, { mark: so[e.location] ?? "database" }),
+ mark: /* @__PURE__ */ (0, C.jsx)(LA, { mark: so[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, C.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${OV(e.missing)} 项` : "—",
- meta: dOe(e),
+ figure: e.online ? `${kV(e.missing)} 项` : "—",
+ meta: uOe(e),
wrapMeta: !0
})
}, e.location))
}), !t && /* @__PURE__ */ (0, C.jsxs)("div", {
- className: DV,
+ className: OV,
children: [
/* @__PURE__ */ (0, C.jsx)("article", {
- className: YB(),
- children: /* @__PURE__ */ (0, C.jsx)(XB, {
+ className: XB(),
+ children: /* @__PURE__ */ (0, C.jsx)(ZB, {
label: "待永久删除",
- figure: `${OV(FB(e))} 项`,
+ figure: `${kV(IB(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: YB(),
- children: /* @__PURE__ */ (0, C.jsx)(XB, {
+ className: XB(),
+ children: /* @__PURE__ */ (0, C.jsx)(ZB, {
label: "将标为已消失",
- figure: `${OV(e.vanish)} 项`,
+ figure: `${kV(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: YB(),
- children: /* @__PURE__ */ (0, C.jsx)(XB, {
+ className: XB(),
+ children: /* @__PURE__ */ (0, C.jsx)(ZB, {
label: "空文件夹",
- figure: `${OV(e.empty)} 个`,
+ figure: `${kV(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, C.jsx)("article", {
- className: YB(),
- children: /* @__PURE__ */ (0, C.jsx)(XB, {
+ className: XB(),
+ children: /* @__PURE__ */ (0, C.jsx)(ZB, {
label: "可清理的缓存",
- figure: `${OV(n.files)} 个`,
+ figure: `${kV(n.files)} 个`,
meta: n.files ? cn(n.bytes) : ""
})
})
]
})] });
}
-function gke({ toast: e }) {
- let t = fV({
- queryKey: AB,
- queryFn: ({ signal: e }) => MB(e),
- start: aOe,
+function hke({ toast: e }) {
+ let t = pV({
+ queryKey: jB,
+ queryFn: ({ signal: e }) => NB(e),
+ start: iOe,
onFinish: (t) => {
if (W.invalidateQueries({
- queryKey: HB,
+ queryKey: UB,
exact: !0
}), W.invalidateQueries({
- queryKey: kB,
+ queryKey: AB,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = RB(t);
- r ? e(`已完成 ${OV(n)} 项,${OV(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = zB(t);
+ r ? e(`已完成 ${kV(n)} 项,${kV(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = fV({
- queryKey: kB,
- queryFn: ({ signal: e }) => jB(e),
- start: iOe,
+ }), n = pV({
+ queryKey: AB,
+ queryFn: ({ signal: e }) => MB(e),
+ start: rOe,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void Rs({
- title: EV,
- body: uOe(e),
- confirmLabel: EV,
+ title: DV,
+ body: lOe(e),
+ confirmLabel: DV,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = RB(e).left > 0;
+ let t = zB(e).left > 0;
return /* @__PURE__ */ (0, C.jsx)(J, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: fOe(e, cn)
+ children: dOe(e, cn)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, C.jsx)(J, {
@@ -59363,7 +59431,7 @@ function gke({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, C.jsx)(jF, {
+ else if (t.running) d = /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -59375,20 +59443,20 @@ function gke({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
title: "任务状态",
- children: hke
+ children: mke
});
else if (r?.status === "running") {
- let e = cOe(r);
- d = /* @__PURE__ */ (0, C.jsx)(jF, {
+ let e = sOe(r);
+ d = /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: e,
value: r.completed_sources,
total: r.total_sources
- }), r.sources?.length && (f = /* @__PURE__ */ (0, C.jsx)(kV, {
+ }), r.sources?.length && (f = /* @__PURE__ */ (0, C.jsx)(AV, {
scan: r,
partial: !0
}));
- } else if (r?.status === "failed") f = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r.sources?.length ? /* @__PURE__ */ (0, C.jsx)(kV, {
+ } else if (r?.status === "failed") f = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r.sources?.length ? /* @__PURE__ */ (0, C.jsx)(AV, {
scan: r,
partial: !0
}) : null, /* @__PURE__ */ (0, C.jsx)(J, {
@@ -59402,13 +59470,13 @@ function gke({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = sOe(r);
+ let e = oOe(r);
f = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(kV, { scan: r }),
+ /* @__PURE__ */ (0, C.jsx)(AV, { scan: r }),
e ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
title: "清理内容",
- children: lOe(r)
+ children: cOe(r)
}) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -59416,7 +59484,7 @@ function gke({ toast: e }) {
variant: "danger",
...Y(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : EV
+ children: a ? "正在复核并清理…" : DV
}) : /* @__PURE__ */ (0, C.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -59432,12 +59500,12 @@ function gke({ toast: e }) {
id: "resource-sync",
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, C.jsxs)(cV, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(lV, {
layout: "split",
labelledBy: "resource-sync-title",
footer: /* @__PURE__ */ (0, C.jsx)(q, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? mke : pke,
+ leadingIcon: o && !i ? pke : fke,
...Y(i),
onClick: () => {
i || n.start.mutate();
@@ -59445,7 +59513,7 @@ function gke({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, C.jsx)(sV, {
+ /* @__PURE__ */ (0, C.jsx)(cV, {
id: "resource-sync-title",
gap: "small",
children: "资源同步"
@@ -59469,16 +59537,16 @@ function gke({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function AV(e, t) {
+function jV(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function jV({ section: e, label: t, icon: n, value: r, open: i }) {
+function MV({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
- className: YB({ interactive: !0 }),
+ className: XB({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, C.jsx)(XB, {
+ children: /* @__PURE__ */ (0, C.jsx)(ZB, {
label: t,
icon: n,
figure: r.figure,
@@ -59486,80 +59554,80 @@ function jV({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var _ke = kP("square-check-big"), vke = kP("sparkles"), yke = kP("file-stack"), bke = kP("file-archive"), xke = kP("trash"), Ske = [
- zB,
- Bz,
- Oz
-], Cke = () => {
- for (let e of Ske) W.invalidateQueries({
+var gke = jP("square-check-big"), _ke = jP("sparkles"), vke = jP("file-stack"), yke = jP("file-archive"), bke = jP("trash"), xke = [
+ BB,
+ Vz,
+ kz
+], Ske = () => {
+ for (let e of xke) W.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function wke({ toast: e, failure: t, open: n }) {
+function Cke({ toast: e, failure: t, open: n }) {
let r = pt({
- queryKey: zB,
- queryFn: ({ signal: e }) => UB(e)
+ queryKey: BB,
+ queryFn: ({ signal: e }) => WB(e)
}), i = pt({
- queryKey: Bz,
- queryFn: ({ signal: e }) => Vz(e)
+ queryKey: Vz,
+ queryFn: ({ signal: e }) => Hz(e)
}), a = pt({
- queryKey: Oz,
- queryFn: ({ signal: e }) => Az(e)
+ queryKey: kz,
+ queryFn: ({ signal: e }) => jz(e)
}), o = pt({
- queryKey: BB,
- queryFn: ({ signal: e }) => WB(e)
- }), s = pt({
- queryKey: HB,
+ queryKey: VB,
queryFn: ({ signal: e }) => GB(e)
+ }), s = pt({
+ queryKey: UB,
+ queryFn: ({ signal: e }) => KB(e)
}), c = pt({
queryKey: kn,
queryFn: ({ signal: e }) => An(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, C.jsxs)(gA, { children: [
+ return /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: COe,
+ className: SOe,
children: [
- /* @__PURE__ */ (0, C.jsx)(jV, {
+ /* @__PURE__ */ (0, C.jsx)(MV, {
section: "review",
label: "人工复核",
- icon: _ke,
+ icon: gke,
open: n,
- value: AV(r, gOe)
+ value: jV(r, hOe)
}),
- /* @__PURE__ */ (0, C.jsx)(jV, {
+ /* @__PURE__ */ (0, C.jsx)(MV, {
section: "quality",
label: "高清版",
- icon: vke,
+ icon: _ke,
open: n,
- value: AV(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: jV(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, C.jsx)(jV, {
+ /* @__PURE__ */ (0, C.jsx)(MV, {
section: "duplicates",
label: "重复文件",
- icon: yke,
+ icon: vke,
open: n,
- value: AV(a, (e) => Number(e.total || 0) ? {
+ value: jV(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${cn(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, C.jsx)(jV, {
+ /* @__PURE__ */ (0, C.jsx)(MV, {
section: "ads",
label: "垃圾文件",
- icon: bke,
+ icon: yke,
open: n,
- value: AV(o, (e) => ({
+ value: jV(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: _Oe(e)
+ meta: gOe(e)
}))
}),
- /* @__PURE__ */ (0, C.jsx)(jV, {
+ /* @__PURE__ */ (0, C.jsx)(MV, {
section: "trash",
label: "回收站",
- icon: xke,
+ icon: bke,
open: n,
- value: AV(s, (e) => ({
+ value: jV(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${cn(e.bytes || 0)}` : ""
}))
@@ -59572,31 +59640,31 @@ function wke({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, C.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, C.jsx)(uV, {
+ children: /* @__PURE__ */ (0, C.jsx)(dV, {
toast: l,
monitor: !0,
- onComplete: Cke
+ onComplete: Ske
})
}),
/* @__PURE__ */ (0, C.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, C.jsx)(UOe, {})
+ children: /* @__PURE__ */ (0, C.jsx)(HOe, {})
}),
- /* @__PURE__ */ (0, C.jsx)(tke, {
+ /* @__PURE__ */ (0, C.jsx)(eke, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(XOe, {}),
- /* @__PURE__ */ (0, C.jsx)(fke, { toast: l }),
- NB(c.data) ? /* @__PURE__ */ (0, C.jsx)(gke, { toast: e }) : null
+ /* @__PURE__ */ (0, C.jsx)(YOe, {}),
+ /* @__PURE__ */ (0, C.jsx)(dke, { toast: l }),
+ PB(c.data) ? /* @__PURE__ */ (0, C.jsx)(hke, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var MV = (e) => ["feed-new", e ?? "home"], Tke = 8, Eke = 1500;
-function Dke(e, t, n) {
+var NV = (e) => ["feed-new", e ?? "home"], wke = 8, Tke = 1500;
+function Eke(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -59607,34 +59675,34 @@ function Dke(e, t, n) {
setTimeout(e, n);
})]);
}
-async function Oke(e, t, n) {
+async function Dke(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await Lt(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await Dke(s, Tke, Eke), {
+ return n && o.length && await Eke(s, wke, Tke), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var NV = (e, t, n = !1) => ({
- queryKey: MV(e),
- queryFn: () => Oke(e, t, n),
+var PV = (e, t, n = !1) => ({
+ queryKey: NV(e),
+ queryFn: () => Dke(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), PV = (e, t) => Lt("/api/feeds/discovery", {
+}), FV = (e, t) => Lt("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function kke(e) {
- W.removeQueries({ queryKey: MV(null) }), await W.fetchQuery(NV(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function Oke(e) {
+ W.removeQueries({ queryKey: NV(null) }), await W.fetchQuery(PV(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var FV = [
+var IV = [
"loc",
"creator",
"tag",
@@ -59644,52 +59712,52 @@ var FV = [
"orient",
"sort",
"dir"
-], IV = {
+], LV = {
media: "videos",
set: 0
-}, LV = (e, t) => [
+}, RV = (e, t) => [
"entity",
e,
t
-], Ake = (e, t, n, r) => [
+], kke = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], RV = (e, t, n, r) => [
+], zV = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], zV = (e) => String(e || "").split(",").filter(Boolean), jke = (e, t) => zV(e).includes(t);
-function BV(e, t, n, r, i = 0) {
+], BV = (e) => String(e || "").split(",").filter(Boolean), Ake = (e, t) => BV(e).includes(t);
+function VV(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...zV(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of FV) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...BV(n.tag)])].join(",")), a.set("tag_match", "all")), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
+ for (let t of IV) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function VV(e, t, n, r, i, a, o) {
- let s = BV(e, t, n, r, i);
+async function HV(e, t, n, r, i, a, o) {
+ let s = VV(e, t, n, r, i);
return o && (s.set("limit", String(o.limit)), s.delete("count"), o.sort && s.set("sort", o.sort), o.dir && s.set("dir", o.dir)), await Lt(`/api/items?${s}`, a ? { signal: a } : {});
}
-var HV = (e) => {
+var UV = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = BV(e.kind, e.name, e.filters, t).toString();
+ }, n = VV(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: Ake(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => VV(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: kke(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => HV(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, UV = (e, t) => ({
- queryKey: LV(e, t),
+}, WV = (e, t) => ({
+ queryKey: RV(e, t),
queryFn: ({ signal: n }) => Lt(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Mke(e, t, n, r, i, a) {
+function jke(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)}` : ""}`;
@@ -59698,10 +59766,10 @@ function Mke(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var WV = (e, t, n, r) => ({
- queryKey: RV(e, t, n, r),
+var GV = (e, t, n, r) => ({
+ queryKey: zV(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Lt(Mke(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Lt(jke(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -59714,8 +59782,8 @@ var WV = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), GV = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function Nke(e) {
+}), KV = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function Mke(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -59726,26 +59794,26 @@ async function Nke(e) {
t,
n
] });
- e.resolvedEntity?.id && W.setQueryData(LV(t, n), e.resolvedEntity), await Promise.all([
- W.fetchQuery(UV(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: MV(Number(t.id)) }), W.fetchQuery(NV(Number(t.id), e.helpers.feedRowHtml, !0)))),
- W.fetchQuery(HV(e)),
- W.fetchInfiniteQuery(WV(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(WV(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && W.setQueryData(RV(t, n), e.resolvedEntity), await Promise.all([
+ W.fetchQuery(WV(t, n)).then((t) => !t || t.error || !t.id ? null : (W.removeQueries({ queryKey: NV(Number(t.id)) }), W.fetchQuery(PV(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ W.fetchQuery(UV(e)),
+ W.fetchInfiniteQuery(GV(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? W.fetchInfiniteQuery(GV(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/identity-filter.ts
-var KV = [
+var qV = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], qV = "mb-4 flex flex-wrap gap-2";
-function Pke(e) {
- let t = KV.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${qV}">${KV.map(([e, n]) => vo({
+], JV = "mb-4 flex flex-wrap gap-2";
+function Nke(e) {
+ let t = qV.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${JV}">${qV.map(([e, n]) => vo({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -59754,43 +59822,43 @@ function Pke(e) {
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Fke = "/api/follow/authors", Ike = "/api/follow/tags", Lke = (e) => [
+var Pke = "/api/follow/authors", Fke = "/api/follow/tags", Ike = (e) => [
"follow",
"authors",
e
-], Rke = (e, t) => [
+], Lke = (e, t) => [
"follow",
"tags",
e,
t
];
-function zke(e, t, n) {
+function Rke(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Fke}?${r}`;
+ return e && r.set("q", e), `${Pke}?${r}`;
}
-function Bke(e, t, n, r) {
+function zke(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), `${Ike}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Fke}?${i}`;
}
-var Vke = (e, t, n, r) => H(zke(e, t, n), r), Hke = (e, t, n, r, i) => H(Bke(e, t, n, r), i), Uke = "/api/index", JV = {
+var Bke = (e, t, n, r) => H(Rke(e, t, n), r), Vke = (e, t, n, r, i) => H(zke(e, t, n, r), i), Hke = "/api/index", YV = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Wke = {
+}, Uke = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, YV = [
+}, XV = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -59800,31 +59868,31 @@ var Vke = (e, t, n, r) => H(zke(e, t, n), r), Hke = (e, t, n, r, i) => H(Bke(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], XV = [
+], ZV = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], ZV = {
+], QV = {
people: 120,
tags: 180
-}, QV = (e) => e !== "tags", $V = (e) => e === "studios" || e === "agencies";
-function eH(e) {
- if (e.kind === "creators" && e.category === "animation") return eH({
+}, $V = (e) => e !== "tags", eH = (e) => e === "studios" || e === "agencies";
+function tH(e) {
+ if (e.kind === "creators" && e.category === "animation") return tH({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? XV : YV : e.kind === "performers" && t === "local" ? KV : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? ZV : XV : e.kind === "performers" && t === "local" ? qV : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function tH(e) {
+function nH(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -59844,50 +59912,50 @@ function tH(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var nH = (e, t, n = "all") => [
+var rH = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function rH(e, t, n, r, i) {
+function iH(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Uke}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Hke}?${a}`;
}
-function iH(e) {
- let t = e.what === "people" || e.what === "online-authors" ? ZV.people : ZV.tags, n = {
+function aH(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? QV.people : QV.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: nH(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => H(rH(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: rH(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => H(iH(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: nH("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => H(rH("tags", e.q, e.category, t, n), r)
+ queryKey: rH("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => H(iH("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: Lke(e.q),
- queryFn: ({ pageParam: n, signal: r }) => Vke(e.q, t, n, r)
+ queryKey: Ike(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Bke(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: Rke(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Hke(e.q, e.category, t, n, r)
+ queryKey: Lke(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Vke(e.q, e.category, t, n, r)
};
}
}
-async function Gke(e, t) {
- let n = iH(tH(eH(e)));
+async function Wke(e, t) {
+ let n = aH(nH(tH(e)));
W.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -59901,13 +59969,13 @@ async function Gke(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Kke = (e) => e ? e.pages.flatMap((e) => e.items) : [], qke = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, aH = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Jke = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Yke = {
+var Gke = (e) => e ? e.pages.flatMap((e) => e.items) : [], Kke = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, oH = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qke = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, Jke = {
numeric: !0,
sensitivity: "base"
};
-function Xke(e, t) {
+function Yke(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Yke))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Jke))) {
let e = dn(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]);
}
@@ -59915,7 +59983,7 @@ function Xke(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function oH({ html: e, face: t, company: n, big: r }) {
+function sH({ html: e, face: t, company: n, big: r }) {
let i = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -59927,18 +59995,18 @@ function oH({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Zke = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Qke = kP("rss");
-function sH({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var Xke = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", Zke = jP("rss");
+function cH({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: pA({
+ className: mA({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Zke} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Xke} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -59947,10 +60015,10 @@ function sH({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, C.jsx)(uA, {
+ children: /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "blue",
- children: /* @__PURE__ */ (0, C.jsx)(Qke, {})
+ children: /* @__PURE__ */ (0, C.jsx)(Zke, {})
})
}) : null,
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -59966,24 +60034,24 @@ function sH({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function cH({ kind: e, items: t, layout: n, props: r }) {
- let i = $V(e), a = n === "big";
+function lH({ kind: e, items: t, layout: n, props: r }) {
+ let i = eH(e), a = n === "big";
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || Wke[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, C.jsx)(sH, {
+ let n = t.entity_kind || Uke[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, C.jsx)(cH, {
"data-k": t.k,
"data-kind": n,
name: t.k,
- readout: `${Jke(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${qke(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, C.jsx)(oH, {
+ children: /* @__PURE__ */ (0, C.jsx)(sH, {
html: o.html,
face: o.face,
company: i,
@@ -59993,14 +60061,14 @@ function cH({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function $ke({ items: e, layout: t, props: n }) {
+function Qke({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(sH, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(cH, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
@@ -60009,7 +60077,7 @@ function $ke({ items: e, layout: t, props: n }) {
onPress: () => {
e.entity_id ? n.openEntity("creator", e.k) : e.held_by ? n.openEntity("creator", e.held_by) : n.openFollowAuthor(e.key);
},
- children: /* @__PURE__ */ (0, C.jsx)(oH, {
+ children: /* @__PURE__ */ (0, C.jsx)(sH, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -60019,8 +60087,8 @@ function $ke({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-tooltip.ts
-var lH = (e) => e.replace(/\s+/g, " ").trim();
-function uH(e) {
+var uH = (e) => e.replace(/\s+/g, " ").trim();
+function dH(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -60028,12 +60096,12 @@ function uH(e) {
let t = document.createRange();
t.selectNodeContents(r), [...t.getClientRects()].some((e) => e.width > 0 && e.height > 0) && getComputedStyle(e).visibility === "visible" && (n += r.textContent);
}
- return lH(n);
+ return uH(n);
}
-function dH(e) {
+function fH(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && uH(e) && !fH(e)) {
+ if (e.matches("a") && dH(e) && !pH(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -60046,7 +60114,7 @@ function dH(e) {
let r = Math.min(...n.map((e) => e.left)), i = Math.min(...n.map((e) => e.top));
return new DOMRect(r, i, Math.max(...n.map((e) => e.right)) - r, Math.max(...n.map((e) => e.bottom)) - i);
}
-function fH(e) {
+function pH(e) {
if (e.matches(".middle-truncated") || e.querySelector(".middle-truncated") || [e, ...e.querySelectorAll("*")].some((e) => e.clientWidth > 0 && (e.scrollWidth > e.clientWidth + 1 || e.scrollHeight > e.clientHeight + 1))) return !0;
let t = document.createRange();
t.selectNodeContents(e);
@@ -60057,19 +60125,19 @@ function fH(e) {
}
return !1;
}
-function eAe() {
+function $ke() {
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) => {
- let n = dH(t), r = e.getBoundingClientRect();
+ let n = fH(t), r = e.getBoundingClientRect();
n && (e.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left + (n.width - r.width) / 2))}px`, e.style.top = `${n.top >= r.height + 16 ? n.top - r.height - 8 : Math.min(innerHeight - r.height - 8, n.bottom + 8)}px`);
}, o = () => {
clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null;
}, s = (s, c) => {
if (!(s instanceof Element)) return;
let l = s.closest("[title]");
- (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (uH(l) !== lH(n) || fH(l)) && (i = setTimeout(() => {
- t === l && l.isConnected && dH(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
+ (!t?.contains(s) || l && !l.contains(t)) && l && !l.closest(".vjs-control") && l.title.trim() && (o(), t = l, n = l.title, r = l.getAttribute("aria-describedby"), l.removeAttribute("title"), (dH(l) !== uH(n) || pH(l)) && (i = setTimeout(() => {
+ t === l && l.isConnected && fH(l) && ((l.closest("dialog[open]") ?? document.body).append(e), e.textContent = n, e.hidden = !1, e.showPopover(), a(l), l.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" ")));
}, c)));
};
document.addEventListener("pointerover", (e) => s(e.target, 400)), document.addEventListener("pointerout", (e) => {
@@ -60078,33 +60146,33 @@ function eAe() {
e.key === "Escape" && o();
}), document.addEventListener("scroll", (n) => {
if (!t || !to(n, t)) return;
- let r = dH(t);
+ let r = fH(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && a(t) : o();
}, !0), window.addEventListener("resize", o);
}
//#endregion
//#region src/board-controls.ts
-function pH(e) {
+function mH(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
-var mH = /* @__PURE__ */ new WeakSet();
-function tAe() {
- if (mH.has(document)) return;
- mH.add(document);
+var hH = /* @__PURE__ */ new WeakSet();
+function eAe() {
+ if (hH.has(document)) return;
+ hH.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(pH), rAe(e), nAe(e);
+ e.querySelectorAll("input[type=range]").forEach(mH), nAe(e), tAe(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]") && pH(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && mH(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && pH(e.target);
- }), eAe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && mH(e.target);
+ }), $ke();
}
-function nAe(e) {
+function tAe(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;
@@ -60128,15 +60196,15 @@ function nAe(e) {
r.observe(e);
});
}
-var hH = /* @__PURE__ */ new Map();
-function rAe(e) {
+var gH = /* @__PURE__ */ new Map();
+function nAe(e) {
let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];
e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {
if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;
e.dataset.boardSegments = "true";
let t = document.createElement("span");
t.className = "board-segment-thumb", t.setAttribute("aria-hidden", "true"), e.prepend(t);
- let n = e.className + (e.getAttribute("aria-label") ?? ""), r = hH.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = gH.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -60145,7 +60213,7 @@ function rAe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- xs(t, r, a, "x"), r = a, hH.set(n, a);
+ xs(t, r, a, "x"), r = a, gH.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -60162,8 +60230,8 @@ function rAe(e) {
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var gH = "/vendor/swiper/14.3.0/", _H = null, iAe = () => _H ??= Promise.all([new Promise((e, t) => {
- let n = `${gH}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var _H = "/vendor/swiper/14.3.0/", vH = null, rAe = () => vH ??= Promise.all([new Promise((e, t) => {
+ let n = `${_H}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -60177,11 +60245,11 @@ var gH = "/vendor/swiper/14.3.0/", _H = null, iAe = () => _H ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${gH}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${_H}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw _H = null, e;
+ throw vH = null, e;
});
-function aAe(e, t, n) {
+function iAe(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);
@@ -60202,47 +60270,47 @@ function aAe(e, t, n) {
}
};
}
-var vH = (e) => {
+var yH = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : cn(t)).replace(" ", "\xA0") : "大小未知";
-}, oAe = (e) => e.asset?.name || e.name || "未命名图片";
-function sAe(e, t) {
+}, aAe = (e) => e.asset?.name || e.name || "未命名图片";
+function oAe(e, t) {
let n = e.asset;
- if (n) return [pn[n.location ?? ""] || n.location || "来源未知", vH(n.size)].join(" · ");
+ if (n) return [pn[n.location ?? ""] || n.location || "来源未知", yH(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? vH(e.size) : ""
+ e.size ? yH(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var yH = null, bH = null, cAe = 0;
-function lAe() {
- return (!bH || !yH?.isConnected) && (bH?.unmount(), yH = document.createElement("div"), yH.className = "peach-react", yH.dataset.photoLightboxHost = "", document.body.append(yH), bH = (0, _t.createRoot)(yH)), bH;
+var bH = null, xH = null, sAe = 0;
+function cAe() {
+ return (!xH || !bH?.isConnected) && (xH?.unmount(), bH = document.createElement("div"), bH.className = "peach-react", bH.dataset.photoLightboxHost = "", document.body.append(bH), xH = (0, _t.createRoot)(bH)), xH;
}
-async function xH(e, t, n) {
+async function SH(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await iAe();
+ r = await rAe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = lAe();
- (0, gt.flushSync)(() => i.render(/* @__PURE__ */ (0, C.jsx)(uAe, {
+ let i = cAe();
+ (0, gt.flushSync)(() => i.render(/* @__PURE__ */ (0, C.jsx)(lAe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++cAe)));
+ }, ++sAe)));
}
-function SH() {
- bH && (0, gt.flushSync)(() => bH.render(null));
+function CH() {
+ xH && (0, gt.flushSync)(() => xH.render(null));
}
-function uAe({ slides: e, index: t, Swiper: n, host: r }) {
+function lAe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, S.useId)(), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (0, S.useRef)(null), [_, v] = (0, S.useState)(t), [y, b] = (0, S.useState)(100), [x, w] = (0, S.useState)({}), [T, E] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [k, A] = (0, S.useState)(!1), [j, M] = (0, S.useState)({
at: t,
text: ""
@@ -60285,7 +60353,7 @@ function uAe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = aAe(e, a, b);
+ i(t, 0), h.current = iAe(e, a, b);
let m = Ns(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();
};
@@ -60302,13 +60370,13 @@ function uAe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : SH());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : CH());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, S.useLayoutEffect)(() => {
- m.current && pH(m.current);
+ m.current && mH(m.current);
}, [y]);
let N = e[_], P = N.asset ?? null, F = async (e) => {
if (!P || !r || e.getAttribute("aria-busy") === "true") return;
@@ -60339,18 +60407,18 @@ function uAe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), SH();
+ e.preventDefault(), CH();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && SH();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && CH();
},
children: [
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: SH,
+ onClick: CH,
dangerouslySetInnerHTML: { __html: z("x") }
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -60486,10 +60554,10 @@ function uAe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: oAe(N)
+ children: aAe(N)
}, _), /* @__PURE__ */ (0, C.jsx)("span", {
"data-photo-detail-meta": "",
- children: sAe(N, x[_])
+ children: oAe(N, x[_])
})]
}),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -60528,40 +60596,40 @@ function uAe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function dAe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, C.jsx)(fAe, {
+function uAe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, C.jsx)(dAe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, C.jsx)(pAe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, C.jsx)(gAe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, C.jsx)(fAe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, C.jsx)(hAe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var CH = ZV.people;
-function fAe({ roster: e, props: t }) {
+var wH = QV.people;
+function dAe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, S.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, S.useState)(CH), s = (0, S.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, S.useCallback)(async () => {
- o((e) => e + CH);
+ }), [n, r]), [a, o] = (0, S.useState)(wH), s = (0, S.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, S.useCallback)(async () => {
+ o((e) => e + wH);
}, []);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(cH, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(lH, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, C.jsx)(Tz, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, C.jsx)(Ez, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function pAe(e) {
- let t = DI(!e.items, e.skeletonHtml);
+function fAe(e) {
+ let t = kI(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, C.jsx)(wz, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, C.jsx)(Tz, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -60581,33 +60649,33 @@ function pAe(e) {
}) : null]
});
}
-var mAe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var pAe = (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 || "官方样张"
-})), wH = (e) => e.sample === !0, TH = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, EH = (e) => wH(e) ? `/sample-thumb?${TH(e)}` : `/photo-thumb?id=${e.id}`, hAe = (e) => wH(e) ? {
- src: `/sample-image?${TH(e)}`,
- thumb: EH(e),
+})), TH = (e) => e.sample === !0, EH = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, DH = (e) => TH(e) ? `/sample-thumb?${EH(e)}` : `/photo-thumb?id=${e.id}`, mAe = (e) => TH(e) ? {
+ src: `/sample-image?${EH(e)}`,
+ thumb: DH(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: EH(e),
+ thumb: DH(e),
name: e.name || "",
asset: e
};
-function gAe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, S.useMemo)(() => [...e.codeSets.flatMap(mAe), ...e.items], [e]), [s, c] = (0, S.useState)(() => /* @__PURE__ */ new Set()), l = (0, S.useCallback)((e) => c((t) => {
+function hAe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, S.useMemo)(() => [...e.codeSets.flatMap(pAe), ...e.items], [e]), [s, c] = (0, S.useState)(() => /* @__PURE__ */ new Set()), l = (0, S.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, S.useCallback)((e) => {
- xH(e, o.map(hAe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, C.jsx)(_Ae, {
+ SH(e, o.map(mAe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, C.jsx)(gAe, {
item: e,
index: t,
lost: s.has(t),
@@ -60625,7 +60693,7 @@ function gAe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(DH, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(OH, {
label: e.code,
title: e.name,
meta: [
@@ -60637,7 +60705,7 @@ function gAe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, C.jsx)(DH, {
+ m.length && e.total ? /* @__PURE__ */ (0, C.jsx)(OH, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -60646,14 +60714,14 @@ function gAe({ 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, C.jsx)(Tz, {
+ e.hasMore ? /* @__PURE__ */ (0, C.jsx)(Ez, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function DH({ label: e, title: t, meta: n }) {
+function OH({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -60670,7 +60738,7 @@ function DH({ label: e, title: t, meta: n }) {
]
});
}
-function _Ae({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function gAe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -60679,7 +60747,7 @@ function _Ae({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, C.jsx)("img", {
- src: EH(e),
+ src: DH(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -60690,8 +60758,8 @@ function _Ae({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var vAe = (e) => Number(e) > 0;
-function OH({ name: e, actions: t, children: n, ...r }) {
+var _Ae = (e) => Number(e) > 0;
+function kH({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, C.jsx)("a", {
...r,
href: Kt("creator", e),
@@ -60701,15 +60769,15 @@ function OH({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var kH = ({ provider: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var AH = ({ provider: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: iI(e) }
+ dangerouslySetInnerHTML: { __html: oI(e) }
});
-function yAe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function vAe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(null);
return (0, S.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, C.jsx)(kH, { provider: i }) : /* @__PURE__ */ (0, C.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, C.jsx)(AH, { provider: i }) : /* @__PURE__ */ (0, C.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -60728,8 +60796,8 @@ function yAe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function bAe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = _i(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) => oCe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? yi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = xi({
+function yAe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = _i(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) => aCe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? yi(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = xi({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -60737,7 +60805,7 @@ function bAe(e) {
limit: 9
}), w = (0, S.useRef)(x.faces);
w.current = x.faces;
- let T = zI({
+ let T = BI({
load: async () => w.current,
canFlip: () => w.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -60745,7 +60813,7 @@ function bAe(e) {
E.current = T.onPointerLeave;
let D = (0, S.useCallback)((e) => {
e && (e._stopHover = () => E.current());
- }, []), O = lI(u, n, i), k = aI(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = fI(u, i), N = dI(t, u), P = u.status === "saved", F = (e) => {
+ }, []), O = dI(u, n, i), k = sI(u), A = u.resource_provider || u.provider, j = (u.tags || []).slice(0, 3), M = mI(u, i), N = pI(t, u), P = u.status === "saved", F = (e) => {
e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));
}, I = (e, t) => {
e.stopPropagation(), t();
@@ -60760,7 +60828,7 @@ function bAe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: F,
- onMouseDown: jI,
+ onMouseDown: MI,
onMouseEnter: T.onPointerEnter,
onMouseLeave: T.onPointerLeave,
children: [
@@ -60774,7 +60842,7 @@ function bAe(e) {
}), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, C.jsx)(yAe, {
+ p ? /* @__PURE__ */ (0, C.jsx)(vAe, {
src: p,
fallback: m,
width: _?.width,
@@ -60782,7 +60850,7 @@ function bAe(e) {
provider: A,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, C.jsx)(kH, { provider: A }),
+ }, p) : /* @__PURE__ */ (0, C.jsx)(AH, { provider: A }),
x.faces.length > 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-mix-faces": "",
hidden: !T.faces.length,
@@ -60802,7 +60870,7 @@ function bAe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: iI(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: oI(u.provider, u.provider_label) }
}), N ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: N }
@@ -60815,7 +60883,7 @@ function bAe(e) {
},
dangerouslySetInnerHTML: { __html: z("check") }
}) : null,
- vAe(u.duration) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ _Ae(u.duration) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-duration": "",
children: on(u.duration)
}) : null,
@@ -60887,7 +60955,7 @@ function bAe(e) {
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-meta": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, C.jsx)(OH, {
+ O.entityName ? /* @__PURE__ */ (0, C.jsx)(kH, {
name: O.entityName,
actions: l,
"data-media-avatar": "",
@@ -60906,12 +60974,12 @@ function bAe(e) {
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: uI(t, u) + B(k) }
+ dangerouslySetInnerHTML: { __html: fI(t, u) + B(k) }
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-byline": "",
children: [
- O.entityName ? /* @__PURE__ */ (0, C.jsx)(OH, {
+ O.entityName ? /* @__PURE__ */ (0, C.jsx)(kH, {
name: O.entityName,
actions: l,
"data-follow-author": "",
@@ -60924,8 +60992,8 @@ function bAe(e) {
}),
/* @__PURE__ */ (0, C.jsx)("time", {
dateTime: u.published_at || "",
- title: mI(u),
- children: aCe(u)
+ title: gI(u),
+ children: iCe(u)
}),
O.credited ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-credit": "",
@@ -60960,10 +61028,10 @@ function bAe(e) {
]
});
}
-var AH = (0, S.memo)(bAe);
+var jH = (0, S.memo)(yAe);
//#endregion
//#region src/react/components/use-masonry-grid.ts
-function xAe(e, t) {
+function bAe(e, t) {
let n = (0, S.useRef)(null);
return (0, S.useLayoutEffect)(() => {
let t = n.current;
@@ -60999,10 +61067,10 @@ function xAe(e, t) {
}
//#endregion
//#region src/react/follow-feed/follow-feed-page.tsx
-var jH = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var MH = () => /* @__PURE__ */ (0, C.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), SAe = kP("settings"), MH = kP("chevron-down"), CAe = kP("history"), wAe = [[
+}), xAe = jP("settings"), NH = jP("chevron-down"), SAe = jP("history"), CAe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -61011,7 +61079,7 @@ var jH = () => /* @__PURE__ */ (0, C.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function TAe(e, t, n) {
+function wAe(e, t, n) {
return (0, S.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) => {
@@ -61059,7 +61127,7 @@ function TAe(e, t, n) {
n
]);
}
-function EAe(e) {
+function TAe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = ii(t, r), o = ht(a), s = pt({
queryKey: ai,
queryFn: ({ signal: e }) => oi(e)
@@ -61067,7 +61135,7 @@ function EAe(e) {
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = TAe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, S.useMemo)(() => ({
+ }), [c, l]), d = wAe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, S.useMemo)(() => ({
tags: Lc(d.visible.flatMap(ui).map((e) => ({ tags: e.tags || [] }))),
providers: [...d.providers].map(([e, t]) => [
e,
@@ -61093,10 +61161,10 @@ function EAe(e) {
m,
i
]);
- let h = OAe(e, !!c);
+ let h = DAe(e, !!c);
if (!c) return o.isError ? /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, C.jsx)(NH, { onManage: i.openManage }), /* @__PURE__ */ (0, C.jsx)(OI, {
+ children: [/* @__PURE__ */ (0, C.jsx)(PH, { onManage: i.openManage }), /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(o.error),
onRetry: () => void o.refetch()
})]
@@ -61109,7 +61177,7 @@ function EAe(e) {
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, oI(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, cI(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -61127,7 +61195,7 @@ function EAe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, C.jsx)(NH, {
+ /* @__PURE__ */ (0, C.jsx)(PH, {
onManage: i.openManage,
children: d.sources.length ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "primary",
@@ -61141,20 +61209,20 @@ function EAe(e) {
}) : "检查更新"
}) : null
}),
- /* @__PURE__ */ (0, C.jsx)(kAe, {
+ /* @__PURE__ */ (0, C.jsx)(OAe, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, C.jsx)(AAe, {
+ /* @__PURE__ */ (0, C.jsx)(kAe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, C.jsx)(jAe, {
+ /* @__PURE__ */ (0, C.jsx)(AAe, {
facets: d,
view: t,
total: v,
@@ -61162,7 +61230,7 @@ function EAe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, C.jsx)(MAe, {
+ /* @__PURE__ */ (0, C.jsx)(jAe, {
conditions: _,
onDrop: (e) => i.route(Di(t, e)),
onClear: () => g({
@@ -61174,11 +61242,11 @@ function EAe(e) {
durMax: 0
})
}),
- d.broken.length ? /* @__PURE__ */ (0, C.jsx)(NAe, {
+ d.broken.length ? /* @__PURE__ */ (0, C.jsx)(MAe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, C.jsx)(PAe, {
+ /* @__PURE__ */ (0, C.jsx)(NAe, {
retryKey: o.dataUpdatedAt,
pending: f,
facets: d,
@@ -61190,14 +61258,14 @@ function EAe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-page-action": "",
- children: c.groups.length < 500 ? /* @__PURE__ */ (0, C.jsxs)(Tz, {
+ children: c.groups.length < 500 ? /* @__PURE__ */ (0, C.jsxs)(Ez, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, C.jsx)(MH, { className: "size-3.5" }), "加载更多"]
- }, o.data?.pages.length) : /* @__PURE__ */ (0, C.jsx)(DAe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(NH, { className: "size-3.5" }), "加载更多"]
+ }, o.data?.pages.length) : /* @__PURE__ */ (0, C.jsx)(EAe, {
busy: o.isFetchingNextPage,
error: o.isFetchNextPageError ? Pt(o.error) : "",
load: () => {
@@ -61208,7 +61276,7 @@ function EAe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : CAe,
+ leadingIcon: h.olderBusy ? void 0 : SAe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -61226,7 +61294,7 @@ function EAe(e) {
})
] });
}
-function NH({ onManage: e, children: t }) {
+function PH({ onManage: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
@@ -61236,7 +61304,7 @@ function NH({ onManage: e, children: t }) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
- leadingIcon: SAe,
+ leadingIcon: xAe,
"data-follow-manage": "",
onClick: e,
children: "管理关注"
@@ -61244,20 +61312,20 @@ function NH({ onManage: e, children: t }) {
})]
});
}
-function DAe({ busy: e, error: t, load: n }) {
+function EAe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, C.jsx)(MH, { className: "size-3.5" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ children: [/* @__PURE__ */ (0, C.jsx)(NH, { className: "size-3.5" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: t,
onRetry: n
}) : null] });
}
-function OAe(e, t) {
+function DAe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, S.useState)(0), [o, s] = (0, S.useState)(!1), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(!1), m = (0, S.useRef)(!1), h = (0, S.useRef)(null), g = (0, S.useRef)({
helpers: n,
actions: r
@@ -61319,12 +61387,12 @@ function OAe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function kAe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function OAe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, S.useRef)(null);
(0, S.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => oI(e.authorSources.get(t) || [], n);
+ let o = (t) => cI(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, C.jsx)("div", {
@@ -61332,14 +61400,14 @@ function kAe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
"data-follow-authors": "",
"aria-label": "创作者",
children: e.authorOrder.map((n) => {
- let a = e.authorSources.get(n) || [], s = sI(a), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = lI(a), c = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: cI(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: uI(a, o(n)) }
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, C.jsx)(OH, {
+ return s ? /* @__PURE__ */ (0, C.jsx)(kH, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -61356,7 +61424,7 @@ function kAe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function AAe({ rows: e, pressed: t, props: n, onPick: r }) {
+function kAe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -61377,13 +61445,13 @@ function AAe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = bj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = bj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function AAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, S.useRef)(null), l = (0, S.useRef)(null), u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Sj(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Sj(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, S.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, C.jsx)(hj, {
+ return /* @__PURE__ */ (0, C.jsx)(_j, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -61435,7 +61503,7 @@ function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: z(i) }
}, e);
})
- }), /* @__PURE__ */ (0, C.jsx)(jH, {})] }) : null, /* @__PURE__ */ (0, C.jsxs)("div", {
+ }), /* @__PURE__ */ (0, C.jsx)(MH, {})] }) : null, /* @__PURE__ */ (0, C.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -61455,7 +61523,7 @@ function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, C.jsx)(jH, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, C.jsx)(MH, {}) : null]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -61468,10 +61536,10 @@ function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: iI(t, n) }
+ dangerouslySetInnerHTML: { __html: oI(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, C.jsx)(jH, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, C.jsxs)(gj, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, C.jsx)(MH, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, C.jsxs)(vj, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Oi(e.groups, n)}`,
@@ -61491,18 +61559,18 @@ function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"data-follow-readout": "",
children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`
}),
- /* @__PURE__ */ (0, C.jsx)(HP, {
+ /* @__PURE__ */ (0, C.jsx)(WP, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(SI, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(xI, {
+ /* @__PURE__ */ (0, C.jsx)(wI, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(CI, {
label: "图片布局",
value: i.photoLayout,
- options: wAe,
+ options: CAe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
@@ -61520,7 +61588,7 @@ function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})]
})] }) : null,
$r.map(([e, n]) => {
- let r = t.sort === e, i = kP(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ let r = t.sort === e, i = jP(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-entity-sort": e,
@@ -61540,7 +61608,7 @@ function jAe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function MAe({ conditions: e, onDrop: t, onClear: n }) {
+function jAe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -61565,7 +61633,7 @@ function MAe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function NAe({ count: e, onManage: t }) {
+function MAe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -61574,12 +61642,12 @@ function NAe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${z("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function PAe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
- let { view: o, helpers: s } = i, c = o.media === "images", l = DI(e, () => s.listSkeletonHtml(o.media));
+function NAe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a }) {
+ let { view: o, helpers: s } = i, c = o.media === "images", l = kI(e, () => s.listSkeletonHtml(o.media));
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": l.fading ? "" : void 0,
- children: [l.layer, e ? null : /* @__PURE__ */ (0, C.jsx)(FAe, {
+ children: [l.layer, e ? null : /* @__PURE__ */ (0, C.jsx)(PAe, {
facets: t,
data: n,
context: r,
@@ -61589,29 +61657,29 @@ function PAe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})]
});
}
-function FAe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
- let { view: o, actions: s } = r, c = FH(r), l = i ? {
+function PAe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a }) {
+ let { view: o, actions: s } = r, c = IH(r), l = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, u = xAe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
+ } : {}, u = bAe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), d;
return d = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), l = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;
- return /* @__PURE__ */ (0, C.jsx)(AH, {
+ return /* @__PURE__ */ (0, C.jsx)(jH, {
group: t,
authorSources: l,
media: o.media,
retryKey: a,
context: n,
- selected: r.selected.has(PH(t, o)),
+ selected: r.selected.has(FH(t, o)),
selectMode: r.selectMode,
- busy: c.busy.get(PH(t, o)) || "",
- failure: c.failures.get(PH(t, o)) || "",
+ busy: c.busy.get(FH(t, o)) || "",
+ failure: c.failures.get(FH(t, o)) || "",
actions: s,
onStatus: c.status,
onSave: c.save
}, `${u}:${o.media}`);
- }) : /* @__PURE__ */ (0, C.jsx)(IAe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(FAe, {
data: t,
filtered: !!(o.status || e.author || e.provider || o.work || o.tags.length)
}), /* @__PURE__ */ (0, C.jsx)("div", {
@@ -61622,10 +61690,10 @@ function FAe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a
children: d
});
}
-function PH(e, t) {
+function FH(e, t) {
return _i(e, t.media).id;
}
-function IAe({ data: e, filtered: t }) {
+function FAe({ data: e, filtered: t }) {
let n = (e.groups || []).length ? No("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源、时长或标签后再试。") : (e.sources || []).length ? t ? No("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : No("rss", "还没有更新", "点「检查更新」去各个来源取一遍;来源有新内容时会集中显示在这里。") : No("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/subscriptions?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-empty": "",
@@ -61633,12 +61701,12 @@ function IAe({ data: e, filtered: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-var LAe = {
+var IAe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function FH(e) {
+function IH(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, S.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, S.useState)(() => /* @__PURE__ */ new Map()), c = ii(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -61661,7 +61729,7 @@ function FH(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(LAe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(IAe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await U(Bn, {
item: t,
to: i
@@ -61707,9 +61775,9 @@ function FH(e) {
}
//#endregion
//#region src/react/entity-body/entity-online.tsx
-function RAe(e) {
- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = DI(a, () => i.listSkeletonHtml(r));
- return !n && t.isError ? /* @__PURE__ */ (0, C.jsx)(OI, {
+function LAe(e) {
+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = kI(a, () => i.listSkeletonHtml(r));
+ return !n && t.isError ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(t.error),
onRetry: () => {
t.refetch();
@@ -61720,11 +61788,11 @@ function RAe(e) {
"data-grid-reveal": o.fading ? "" : void 0,
children: [
o.layer,
- a || !n ? null : /* @__PURE__ */ (0, C.jsx)(zAe, {
+ a || !n ? null : /* @__PURE__ */ (0, C.jsx)(RAe, {
...e,
data: n
}),
- !a && n?.has_more ? /* @__PURE__ */ (0, C.jsx)(Tz, {
+ !a && n?.has_more ? /* @__PURE__ */ (0, C.jsx)(Ez, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -61734,8 +61802,8 @@ function RAe(e) {
]
});
}
-function zAe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
- let l = FH({
+function RAe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c }) {
+ let l = IH({
view: e,
revision: 0,
actions: c
@@ -61753,7 +61821,7 @@ function zAe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
"data-images-only": String(s)
} : {}, p = r.length ? r.map((e) => {
let n = _i(e, t).id, r = u.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, C.jsx)(AH, {
+ return /* @__PURE__ */ (0, C.jsx)(jH, {
group: e,
authorSources: r && u.byAuthor.get(r) || [],
media: t,
@@ -61766,7 +61834,7 @@ function zAe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: l.status,
onSave: l.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, C.jsx)(BAe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
+ }) : /* @__PURE__ */ (0, C.jsx)(zAe, { searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length) });
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": d ? "" : void 0,
@@ -61774,7 +61842,7 @@ function zAe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: p
});
}
-function BAe({ searched: e }) {
+function zAe({ searched: e }) {
let t = e ? No("search-x", "当前筛选下没有更新", "切换媒体类型、状态、来源或标签后再试。") : No("rss", "还没有抓到更新", "关注页检查更新之后,这位创作者的新内容会出现在这里。");
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-empty": "",
@@ -61782,7 +61850,7 @@ function BAe({ searched: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function IH(e) {
+function LH(e) {
return {
x0: 0,
y0: 0,
@@ -61790,7 +61858,7 @@ function IH(e) {
y1: e.height
};
}
-function LH(e) {
+function RH(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -61798,40 +61866,40 @@ function LH(e) {
y1: Math.round(e.y1)
};
}
-function RH(e) {
+function zH(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function zH(e, t) {
- if (!RH(e)) return {
+function BH(e, t) {
+ if (!zH(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return IH(e);
+ if (t == null || !(t > 0)) return LH(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return LH({
+ return RH({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function VAe(e, t) {
- if (!RH(e) || !(t > 0)) return IH(e);
+function BAe(e, t) {
+ if (!zH(e) || !(t > 0)) return LH(e);
let n = Math.min(e.width, e.height * t);
- return LH({
+ return RH({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function HAe(e, t, n) {
- if (!RH(t) || !(n > 0)) return IH(t);
- let r = BH(e, t), i = zH({
+function VAe(e, t, n) {
+ if (!zH(t) || !(n > 0)) return LH(t);
+ let r = VH(e, t), i = BH({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -61842,8 +61910,8 @@ function HAe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function BH(e, t, n = null, r = "width") {
- if (!RH(t)) return {
+function VH(e, t, n = null, r = "width") {
+ if (!zH(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -61852,43 +61920,43 @@ function BH(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return LH({
+ return RH({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function VH(e, t, n, r) {
+function HH(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return LH({
+ return RH({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function HH(e, t, n, r = null) {
- if (!RH(n) || !(t > 0)) return e;
+function UH(e, t, n, r = null) {
+ if (!zH(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return BH({
+ return VH({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function UAe(e, t, n, r, i = null) {
+function HAe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return BH(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return VH(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function WAe(e, t) {
- return RH(t) ? {
+function UAe(e, t) {
+ return zH(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -61900,8 +61968,8 @@ function WAe(e, t) {
height: 0
};
}
-function GAe(e, t) {
- if (!RH(t)) return {
+function WAe(e, t) {
+ if (!zH(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -61911,7 +61979,7 @@ function GAe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function KAe(e, t) {
+function GAe(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}%`,
@@ -61920,16 +61988,16 @@ function KAe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function UH(e, t, n) {
+function WH(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function qAe(e, t) {
+function KAe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var JAe = .02, WH = 1.08;
-function GH({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var qAe = .02, GH = 1.08;
+function KH({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, S.useRef)(null), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(null);
(0, S.useEffect)(() => {
u(!1);
@@ -61948,8 +62016,8 @@ function GH({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: UH(e, n.clientWidth, r.width),
- dy: UH(t, n.clientHeight, r.height)
+ dx: WH(e, n.clientWidth, r.width),
+ dy: WH(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -61966,22 +62034,22 @@ function GH({ 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(VH(n.box, o.dx, o.dy, r)) : i(UAe(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(HH(n.box, o.dx, o.dy, r)) : i(HAe(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) * JAe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * qAe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(VH(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(HH(n, e.key === "-" ? 1 / WH : WH, r, t)));
+ o[e.key] ? (e.preventDefault(), i(HH(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(UH(n, e.key === "-" ? 1 / GH : GH, r, t)));
}
- let v = n && r ? WAe(BH(n, r, t), r) : null, y = v ? qAe(v, d) : !1, b = v ? {
+ let v = n && r ? UAe(VH(n, r, t), r) : null, y = v ? KAe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -62000,7 +62068,7 @@ function GH({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- RH({
+ zH({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -62039,7 +62107,7 @@ function GH({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(HH(n, e.deltaY > 0 ? WH : 1 / WH, r, t));
+ n && r && i(UH(n, e.deltaY > 0 ? GH : 1 / GH, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, C.jsx)("span", {
@@ -62062,13 +62130,13 @@ function GH({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var YAe = "/api/avatar-choices", KH = "/api/avatar-pick", XAe = "/api/avatar-code-cover", qH = "/api/avatar-frame", ZAe = "/avatar-choice", JH = (e, t) => [
+var JAe = "/api/avatar-choices", qH = "/api/avatar-pick", YAe = "/api/avatar-code-cover", JH = "/api/avatar-frame", XAe = "/avatar-choice", YH = (e, t) => [
"avatar-choices",
e,
t
-], YH = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, XH = (e, t, n, r = "") => `${ZAe}${YH(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), ZH = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", QAe = (e, t, n) => H(YAe + YH(e, t), n), $Ae = (e) => U(XAe, { code: e });
-async function eje(e, t, n) {
- let r = await U(qH, {
+], XH = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, ZH = (e, t, n, r = "") => `${XAe}${XH(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), QH = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", ZAe = (e, t, n) => H(JAe + XH(e, t), n), QAe = (e) => U(YAe, { code: e });
+async function $Ae(e, t, n) {
+ let r = await U(JH, {
kind: e,
id: t,
ref: n.ref
@@ -62081,12 +62149,12 @@ async function eje(e, t, n) {
bases: r.bases
};
}
-var tje = (e, t, n) => U(qH, {
+var eje = (e, t, n) => U(JH, {
kind: e,
id: t,
url: n
-}), nje = (e, t, n) => QH(`${qH}${YH(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function QH(e, t) {
+}), tje = (e, t, n) => $H(`${JH}${XH(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function $H(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -62095,17 +62163,17 @@ async function QH(e, t) {
if (n.ok) return r;
throw new vn(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function $H(e, t, n) {
+function eU(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? HAe(e.focus, t, n) : zH(t, n);
+ return e.focus && r ? VAe(e.focus, t, n) : BH(t, n);
}
-var rje = (e) => e.crop && RH({
+var nje = (e) => e.crop && zH({
width: e.width,
height: e.height
});
-async function ije(e, t, n) {
+async function rje(e, t, n) {
if (!("file" in n)) {
- await U(KH, {
+ await U(qH, {
kind: e,
id: t,
...n
@@ -62118,19 +62186,19 @@ async function ije(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await QH(`${KH}${YH(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await $H(`${qH}${XH(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var eU = 2;
-function aje(e, t) {
+var tU = 2;
+function ije(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, eU).join("」「")}」`}${n.length > eU ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, tU).join("」「")}」`}${n.length > tU ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var oje = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function sje(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${oje(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var aje = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function oje(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${aje(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var tU = (e) => e.cast > 1, cje = (e) => tU(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, lje = {
+var nU = (e) => e.cast > 1, sje = (e) => nU(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, cje = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -62140,7 +62208,7 @@ var tU = (e) => e.cast > 1, cje = (e) => tU(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function uje(e) {
+function lje(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -62151,19 +62219,19 @@ function uje(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var dje = (e) => `${lje[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (tU(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), fje = 8, pje = 3 / 4;
-async function mje(e, t, n) {
+var uje = (e) => `${cje[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (nU(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), dje = 8, fje = 3 / 4;
+async function pje(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await eje(e, t, n.choice) };
- case "code": return { choice: await $Ae(n.code) };
- case "url": return { choice: await tje(e, t, n.url) };
+ case "choice": return { choice: await $Ae(e, t, n.choice) };
+ case "code": return { choice: await QAe(n.code) };
+ case "url": return { choice: await eje(e, t, n.url) };
case "file": return {
- choice: await nje(e, t, n.file),
+ choice: await tje(e, t, n.file),
file: n.file
};
}
}
-function hje({ kind: e, entityId: t, name: n, onPicked: r }) {
+function mje({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -62173,17 +62241,17 @@ function hje({ 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, C.jsx)(Sge, {
+ children: /* @__PURE__ */ (0, C.jsx)(xge, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, C.jsx)(EP, {
+ }), /* @__PURE__ */ (0, C.jsx)(OP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, C.jsx)(gje, {
+ children: /* @__PURE__ */ (0, C.jsx)(hje, {
kind: e,
entityId: t,
name: n,
@@ -62192,22 +62260,22 @@ function hje({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, S.useRef)(null), o = eF(), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(null), p = JH(e, t), m = (0, S.useRef)(!1), h = pt({
+function hje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, S.useRef)(null), o = nF(), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(null), p = YH(e, t), m = (0, S.useRef)(!1), h = pt({
queryKey: p,
- queryFn: ({ signal: n }) => QAe(e, t, n),
+ queryFn: ({ signal: n }) => ZAe(e, t, n),
retryOnMount: !0
});
(0, S.useEffect)(() => () => {
- m.current && W.removeQueries({ queryKey: JH(e, t) });
+ m.current && W.removeQueries({ queryKey: YH(e, t) });
}, [e, t]);
let g = mt({
- mutationFn: (n) => ije(e, t, n),
+ mutationFn: (n) => rje(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = mt({
- mutationFn: (n) => mje(e, t, n),
+ mutationFn: (n) => pje(e, t, n),
onSuccess: f
}), v = (e) => _.isPending && _.variables?.via === e;
function y(e) {
@@ -62225,28 +62293,28 @@ function gje({ 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, w = x?.choices ?? [], T = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : sje(x), O = !!T && !!h.error && T === V(h.error), k = h.isPending || w.length > 0;
+ let x = h.data, w = x?.choices ?? [], T = (g.error ? V(g.error) : "") || (!d && _.error ? V(_.error) : "") || (h.error ? V(h.error) : ""), E = g.isPending || _.isPending, D = d ? "" : oje(x), O = !!T && !!h.error && T === V(h.error), k = h.isPending || w.length > 0;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, C.jsx)(DP, { children: /* @__PURE__ */ (0, C.jsx)(o_e, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, C.jsx)(kP, { children: /* @__PURE__ */ (0, C.jsx)(a_e, { className: "size-6" }) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(Hj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Wj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && w.length ? /* @__PURE__ */ (0, C.jsxs)(uA, {
+ }), !d && w.length ? /* @__PURE__ */ (0, C.jsxs)(dA, {
color: "soft",
children: [w.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? cje(d.choice) : aje(n, x)
+ children: d ? sje(d.choice) : ije(n, x)
}),
D ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
@@ -62267,14 +62335,14 @@ function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(dj, {
- icon: Dk,
+ /* @__PURE__ */ (0, C.jsx)(pj, {
+ icon: Ok,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, C.jsx)(yje, {
+ }), d ? /* @__PURE__ */ (0, C.jsx)(vje, {
kind: e,
entityId: t,
choice: d.choice,
@@ -62293,7 +62361,7 @@ function gje({ 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: fje }, (e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: dje }, (e, t) => /* @__PURE__ */ (0, C.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",
@@ -62306,7 +62374,7 @@ function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: dje(n),
+ title: uje(n),
...Y(E),
onClick: () => {
E || (n.crop ? f({ choice: n }) : _.mutate({
@@ -62316,8 +62384,8 @@ function gje({ 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, C.jsx)(_je, {
- src: XH(e, t, n.ref, ZH(n, n.ref)),
+ /* @__PURE__ */ (0, C.jsx)(gje, {
+ src: ZH(e, t, n.ref, QH(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -62326,15 +62394,15 @@ function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, C.jsx)(uA, {
+ children: /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- tU(n) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ nU(n) ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, C.jsxs)(uA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(dA, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -62356,7 +62424,7 @@ function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -62391,7 +62459,7 @@ function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 basis-56 items-center gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -62414,7 +62482,7 @@ function gje({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function _je({ src: e, choice: t }) {
+function gje({ src: e, choice: t }) {
let n = (0, S.useRef)(null), [r, i] = (0, S.useState)(!1), [a, o] = (0, S.useState)(!1);
(0, S.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -62422,7 +62490,7 @@ function _je({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = rje(t) ? KAe($H(t, s, pje), s) : null, l = r || a ? !0 : void 0;
+ }, c = nje(t) ? GAe(eU(t, s, fje), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -62448,7 +62516,7 @@ function _je({ src: e, choice: t }) {
})]
});
}
-function vje(e) {
+function _je(e) {
let [t, n] = (0, S.useState)("");
return (0, S.useEffect)(() => {
if (!e) return;
@@ -62456,23 +62524,23 @@ function vje(e) {
return n(t), () => URL.revokeObjectURL(t);
}, [e]), t;
}
-function yje({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
- let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, S.useState)(s[0]), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = ZH(n, c), h = vje(r), g = r ? h : XH(e, t, c, m), _ = eF();
+function vje({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confirm: o }) {
+ let s = n.bases.length ? n.bases : [n.ref], [c, l] = (0, S.useState)(s[0]), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = QH(n, c), h = _je(r), g = r ? h : ZH(e, t, c, m), _ = nF();
function v(e) {
l(e), d(null), p(null);
}
- let y = f && u ? GAe(f, u) : null;
+ let y = f && u ? WAe(f, u) : null;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
ref: _,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [g ? /* @__PURE__ */ (0, C.jsx)(GH, {
+ children: [g ? /* @__PURE__ */ (0, C.jsx)(KH, {
src: g,
aspect: 1,
box: f,
size: u,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- d(e), RH(e) && p(c === n.ref ? $H(n, e, 1) : zH(e, 1));
+ d(e), zH(e) && p(c === n.ref ? eU(n, e, 1) : BH(e, 1));
},
onBox: p
}) : null, s.length > 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
@@ -62486,7 +62554,7 @@ function yje({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
"data-crop-base": !0,
onClick: () => v(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: uje(e)
+ children: lje(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -62535,7 +62603,7 @@ function yje({ kind: e, entityId: t, choice: n, file: r, busy: i, back: a, confi
}
//#endregion
//#region src/react/components/source-avatar.tsx
-function nU({ code: e, person: t, detail: n = !1 }) {
+function rU({ code: e, person: t, detail: n = !1 }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(n || typeof IntersectionObserver > "u");
(0, S.useEffect)(() => {
if (!r.current || i) return;
@@ -62569,8 +62637,8 @@ function nU({ code: e, person: t, detail: n = !1 }) {
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function rU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, S.useContext)(VF), o = (0, S.useRef)(null), [s, c] = (0, S.useState)([]), l = e?.items.length ? e.html : "";
+function iU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, S.useContext)(UF), o = (0, S.useRef)(null), [s, c] = (0, S.useState)([]), l = e?.items.length ? e.html : "";
(0, S.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -62602,7 +62670,7 @@ function rU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(nU, {
+ }), s.map((e, t) => (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(rU, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -62612,7 +62680,7 @@ function rU({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-function iU({ name: e }) {
+function aU({ name: e }) {
let { wide: t, viewBox: n } = It(e);
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: n,
@@ -62623,20 +62691,20 @@ function iU({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function aU(e, t) {
+function oU(e, t) {
t.style.removeProperty("max-height");
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);
r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;
}
-var oU = (e) => !!e?.isConnected && e.matches(":popover-open");
-function sU(e, t, n, r) {
+var sU = (e) => !!e?.isConnected && e.matches(":popover-open");
+function cU(e, t, n, r) {
let i = (0, S.useRef)(r);
i.current = r, (0, S.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && oU(n.current) ? aU(t.current, n.current) : i.current();
+ t.current && sU(n.current) ? oU(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -62650,17 +62718,17 @@ function sU(e, t, n, r) {
n
]);
}
-function cU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function lU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(!1), u = (0, S.useRef)(!1), d = (0, S.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, oU(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, sU(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !oU(s.current) && (s.current.showPopover(), aU(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !sU(s.current) && (s.current.showPopover(), oU(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return sU(c, o, s, f), (0, S.useEffect)(() => {
+ return cU(c, o, s, f), (0, S.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -62686,7 +62754,7 @@ function cU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && oU(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && sU(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -62704,16 +62772,16 @@ function cU({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function bje({ following: e, busy: t, onToggle: n, tip: r }) {
+function yje({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), [s, c] = (0, S.useState)(!1), l = (0, S.useRef)(!1), u = () => {
- oU(o.current) && o.current.hidePopover(), c(!1);
+ sU(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !oU(o.current) && (o.current.showPopover(), aU(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !sU(o.current) && (o.current.showPopover(), oU(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return sU(s, i, o, () => c(!1)), (0, S.useEffect)(() => {
- i.current && oU(o.current) && aU(i.current, o.current);
+ return cU(s, i, o, () => c(!1)), (0, S.useEffect)(() => {
+ i.current && sU(o.current) && oU(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, C.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -62722,7 +62790,7 @@ function bje({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, C.jsx)(iU, { name: "rss" }),
+ /* @__PURE__ */ (0, C.jsx)(aU, { name: "rss" }),
/* @__PURE__ */ (0, C.jsx)("input", {
ref: a,
type: "checkbox",
@@ -62757,29 +62825,29 @@ function bje({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function xje({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function bje({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, S.useState)(!1), o = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, C.jsxs)($ye, {
+ }, []), /* @__PURE__ */ (0, C.jsxs)(Qye, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, C.jsx)(Bj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Hj, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, C.jsx)(iU, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ children: /* @__PURE__ */ (0, C.jsx)(aU, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: KP,
+ className: JP,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, C.jsxs)(tbe, {
+ children: /* @__PURE__ */ (0, C.jsxs)(ebe, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(bN, {
+ /* @__PURE__ */ (0, C.jsx)(SN, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -62787,31 +62855,31 @@ function xje({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, C.jsxs)(SN, {
+ children: t.map((e) => /* @__PURE__ */ (0, C.jsxs)(wN, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "check" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "check" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(Iye, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, C.jsx)(bN, { children: /* @__PURE__ */ (0, C.jsxs)(SN, {
+ /* @__PURE__ */ (0, C.jsx)(Fye, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, C.jsx)(SN, { children: /* @__PURE__ */ (0, C.jsxs)(wN, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "plus" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "plus" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Sje = (e) => e === "studio" || e === "agency", lU = (e) => e === "performer" || e === "creator", Cje = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function wje(e) {
+var xje = (e) => e === "studio" || e === "agency", uU = (e) => e === "performer" || e === "creator", Sje = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function Cje(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function uU(e) {
+function dU(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -62823,13 +62891,13 @@ function uU(e) {
linked: !1
} : null;
}
-function dU(e, t) {
+function fU(e, t) {
let n = rn(e, "performer"), r = en(t);
return r && [e.label, n].map(en).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var fU = (e) => ({ site: ree(e) });
-function Tje(e, t) {
- let n = uU(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var pU = (e) => ({ site: ree(e) });
+function wje(e, t) {
+ let n = dU(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -62839,7 +62907,7 @@ function Tje(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${dU(e, n)} · ${t}`
+ title: `${fU(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -62847,11 +62915,11 @@ function Tje(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (lU(t) && e.link_kind !== "social") return {
+ if (uU(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: dU(e, n),
- mark: fU(e)
+ title: fU(e, n),
+ mark: pU(e)
};
if (e.link_kind === "social") {
let t = $t(r);
@@ -62859,7 +62927,7 @@ function Tje(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : fU(e)
+ mark: t ? { brand: t } : pU(e)
};
}
return {
@@ -62867,12 +62935,12 @@ function Tje(e, t) {
url: r,
title: e.label || "",
text: rn(e, t, i),
- mark: fU(e)
+ mark: pU(e)
};
});
- return [...r, ...Eje(a)];
+ return [...r, ...Tje(a)];
}
-function Eje(e) {
+function Tje(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -62880,8 +62948,8 @@ function Eje(e) {
sources: t.map((e) => e.label)
}];
}
-var pU = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Dje(e) {
+var mU = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Eje(e) {
return [
[
"legal_name",
@@ -62937,7 +63005,7 @@ function Dje(e) {
}]
}] : []);
}
-function Oje(e) {
+function Dje(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -62994,14 +63062,14 @@ function Oje(e) {
tags: e.tags
}), t;
}
-function mU(e, t = 4) {
+function hU(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function kje(e) {
+function Oje(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 ? {
@@ -63012,7 +63080,7 @@ function kje(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Aje(e) {
+function kje(e) {
return ma({
id: e.id,
hasImage: e.has_image,
@@ -63023,8 +63091,8 @@ function Aje(e) {
standIn: e.avatar_stand_in
});
}
-function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = lU(e), c = Sje(e), l = s ? Oje(n.profile) : c ? Dje(n.company_profile) : [], u = Tje(n, e), d = pU(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, S.useRef)(null), m = (0, S.useRef)(null);
+function Aje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = uU(e), c = xje(e), l = s ? Dje(n.profile) : c ? Eje(n.company_profile) : [], u = wje(n, e), d = mU(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, S.useRef)(null), m = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, S.useEffect)(() => {
@@ -63037,7 +63105,7 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Mje, {
+ children: [/* @__PURE__ */ (0, C.jsx)(jje, {
kind: e,
name: t,
helpers: o,
@@ -63045,7 +63113,7 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, C.jsx)(hje, {
+ children: /* @__PURE__ */ (0, C.jsx)(mje, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -63060,13 +63128,13 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, C.jsx)("h2", { children: n.canonical_name }),
- e === "tag" ? null : /* @__PURE__ */ (0, C.jsx)(xje, {
+ e === "tag" ? null : /* @__PURE__ */ (0, C.jsx)(bje, {
current: n.canonical_name,
- choices: wje(n),
+ choices: Cje(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, C.jsx)(VP, { item: {
+ n.id ? /* @__PURE__ */ (0, C.jsx)(UP, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -63074,7 +63142,7 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
} }) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(Nje, {
+ /* @__PURE__ */ (0, C.jsx)(Mje, {
kind: e,
entity: n,
actions: a
@@ -63095,14 +63163,14 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, C.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, C.jsx)(zje, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, C.jsx)(Rje, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, C.jsx)(Bje, {
+ d.length || n.feed ? /* @__PURE__ */ (0, C.jsx)(zje, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, C.jsx)(Ije, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, C.jsx)(Fje, {
follow: n.follow,
entity: n,
actions: a
@@ -63111,11 +63179,11 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, C.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, C.jsx)(Lje, {
+ children: l.map((e) => /* @__PURE__ */ (0, C.jsx)(Ije, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, C.jsx)(Rje, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, C.jsx)(Lje, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -63134,7 +63202,7 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${B(dn(e.k))}</span>${Aje(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${B(dn(e.k))}</span>${kje(e)}` }
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -63142,14 +63210,14 @@ function jje({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(rU, {
+ }), i ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(iU, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function Mje({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function jje({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, S.useState)(() => `${n.portraitImg()}<span>${B(dn(t))}</span>`);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -63158,8 +63226,8 @@ function Mje({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function Nje({ kind: e, entity: t, actions: n }) {
- let r = uU(t), i = (e, t) => (r) => {
+function Mje({ kind: e, entity: t, actions: n }) {
+ let r = dU(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, C.jsx)("a", {
href: Kt("agency", r.name, r.id),
@@ -63168,41 +63236,41 @@ function Nje({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = kje(t.name_groups);
+ let e = Oje(t.name_groups);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, C.jsx)(hU, { entity: t }),
+ /* @__PURE__ */ (0, C.jsx)(gU, { entity: t }),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "film" }), /* @__PURE__ */ (0, C.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "film" }), /* @__PURE__ */ (0, C.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, C.jsx)(Fje, {
+ t.follow?.key ? /* @__PURE__ */ (0, C.jsx)(Pje, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, C.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, C.jsx)(iU, { name: "id-card" }),
+ /* @__PURE__ */ (0, C.jsx)(aU, { name: "id-card" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, C.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, C.jsx)(cU, {
+ e.rest > 0 ? /* @__PURE__ */ (0, C.jsx)(lU, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest.toLocaleString()} 个别名`,
heading: `${e.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, C.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, C.jsx)(gU, {
+ children: /* @__PURE__ */ (0, C.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, C.jsx)(_U, {
label: e.label,
names: e.names
}, t)) })
@@ -63224,61 +63292,61 @@ function Nje({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, C.jsx)(hU, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, C.jsx)(gU, { entity: t }) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "film" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "film" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "briefcase" }), /* @__PURE__ */ (0, C.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "clapperboard" }), /* @__PURE__ */ (0, C.jsx)("a", {
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "clapperboard" }), /* @__PURE__ */ (0, C.jsx)("a", {
href: Kt("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, C.jsx)(Pje, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, C.jsx)(Nje, { aliases: s }) : null
]
});
}
-function Pje({ aliases: e }) {
- let { shown: t, rest: n } = mU(e, 3);
+function Nje({ aliases: e }) {
+ let { shown: t, rest: n } = hU(e, 3);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(iU, { name: "id-card" }),
+ /* @__PURE__ */ (0, C.jsx)(aU, { name: "id-card" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, C.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, C.jsx)(cU, {
+ n ? /* @__PURE__ */ (0, C.jsx)(lU, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, C.jsx)("dl", { children: /* @__PURE__ */ (0, C.jsx)(gU, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, C.jsx)("dl", { children: /* @__PURE__ */ (0, C.jsx)(_U, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function Fje({ follow: e, actions: t }) {
+function Pje({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "rss" }), /* @__PURE__ */ (0, C.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "rss" }), /* @__PURE__ */ (0, C.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -63287,7 +63355,7 @@ function Fje({ follow: e, actions: t }) {
})]
});
}
-function Ije({ follow: e, entity: t, actions: n }) {
+function Fje({ follow: e, entity: t, actions: n }) {
let [r, i] = (0, S.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -63321,14 +63389,14 @@ function Ije({ follow: e, entity: t, actions: n }) {
}, e.key))
});
}
-function hU({ entity: e }) {
+function gU({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: "user-round" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function gU({ label: e, names: t }) {
+function _U({ label: e, names: t }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, C.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -63337,20 +63405,20 @@ function gU({ label: e, names: t }) {
}, t))
})] });
}
-function Lje({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("dt", { children: [/* @__PURE__ */ (0, C.jsx)(iU, { name: e }), t] }), /* @__PURE__ */ (0, C.jsx)("dd", {
+function Ije({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("dt", { children: [/* @__PURE__ */ (0, C.jsx)(aU, { name: e }), t] }), /* @__PURE__ */ (0, C.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Rje({ tags: e }) {
- let { shown: t, rest: n } = mU(e);
+function Lje({ tags: e }) {
+ let { shown: t, rest: n } = hU(e);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, C.jsx)(cU, {
+ }, e)), n ? /* @__PURE__ */ (0, C.jsx)(lU, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -63366,10 +63434,10 @@ function Rje({ tags: e }) {
})
}) : null] });
}
-function _U({ mark: e }) {
+function vU({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, C.jsx)(iU, { name: e.brand })
+ children: /* @__PURE__ */ (0, C.jsx)(aU, { name: e.brand })
});
let t = z("globe") + ("site" in e ? `<img src="${B(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, C.jsx)("span", {
@@ -63377,7 +63445,7 @@ function _U({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function zje({ link: e }) {
+function Rje({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, C.jsx)("a", {
"data-link": "icon",
@@ -63386,19 +63454,19 @@ function zje({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, C.jsx)(_U, { mark: e.mark })
+ children: /* @__PURE__ */ (0, C.jsx)(vU, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, C.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, C.jsx)(_U, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, C.jsx)(vU, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, C.jsx)(_U, { mark: { globe: !0 } }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(vU, { mark: { globe: !0 } }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -63409,14 +63477,14 @@ function zje({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, C.jsx)(_U, { mark: e.mark }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(vU, { mark: e.mark }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Bje({ entity: e, actions: t, helpers: n }) {
+function zje({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, S.useState)(!!e.feed?.following), [a, o] = (0, S.useState)(!1), s = (0, S.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -63434,34 +63502,34 @@ function Bje({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-entry-marks": "",
- children: [pU(e).map((e, t) => /* @__PURE__ */ (0, C.jsxs)("a", {
+ children: [mU(e).map((e, t) => /* @__PURE__ */ (0, C.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(iU, { name: e.mark }) : /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(aU, { name: e.mark }) : /* @__PURE__ */ (0, C.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, C.jsx)(bje, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, C.jsx)(yje, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Cje(r)
+ tip: Sje(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/use-entity-online.ts
-var Vje = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function Hje(e, t, n) {
+var Bje = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function Vje(e, t, n) {
let [r, i] = (0, S.useState)(() => vi(e));
r.author !== e && i(vi(e));
let [a, o] = (0, S.useState)({
@@ -63540,7 +63608,7 @@ function Hje(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => E({
sort: ti,
- seed: Vje()
+ seed: Bje()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => E({ status: e }),
@@ -63558,8 +63626,8 @@ function Hje(e, t, n) {
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Uje(e) {
- let { kind: t, name: n } = e, r = pt(UV(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function Hje(e) {
+ let { kind: t, name: n } = e, r = pt(WV(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
kind: t,
name: a
} : void 0), { actions: s } = e;
@@ -63577,17 +63645,17 @@ function Uje(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ ]), r.isError ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: V(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, C.jsx)(Kje, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, C.jsx)(Gje, {
...e,
entity: r.data
});
}
-function vU(e) {
+function yU(e) {
let [t, n] = (0, S.useState)({
key: e,
n: 1
@@ -63599,22 +63667,22 @@ function vU(e) {
};
return n(r), r.n;
}
-var Wje = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function Gje(e, t) {
+var Uje = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function Wje(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Kje(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 = ht(WV(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 || GV(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function Gje(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 = ht(GV(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 || KV(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
- } : IV, [y, b] = (0, S.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, S.useState)(x);
+ } : LV, [y, b] = (0, S.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [w, T] = (0, S.useState)(x);
w !== x && (T(x), b("videos"));
- let E = l && y === "people" && u.length ? "people" : v.media, D = Hje(g, E === "online", {
+ let E = l && y === "people" && u.length ? "people" : v.media, D = Vje(g, E === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, S.useState)(0), j = HV(e), M = pt(j), N = vU(JSON.stringify([j.queryKey, k])), [P] = (0, S.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
+ }), O = E === "photos" || E === "online" && D.media === "images", [k, A] = (0, S.useState)(0), j = UV(e), M = pt(j), N = yU(JSON.stringify([j.queryKey, k])), [P] = (0, S.useState)(() => (t === "performer" || t === "studio") && (e.jav || (M.data?.items || []).some((e) => e.is_jav)));
(0, S.useLayoutEffect)(() => {
s.javContext(P);
}, [s, P]);
@@ -63624,26 +63692,26 @@ function Kje(e) {
}, [e.layout, P]), I = {
jav: e.jav,
seed: e.seed
- }, ee = (0, S.useCallback)((e, r, a) => VV(t, n, i, I, e, r, a), [N]), [L, te] = (0, S.useState)({}), ne = v.set, re = L[ne] || "", ie = ht({
- ...WV(t, n, ne, re),
+ }, ee = (0, S.useCallback)((e, r, a) => HV(t, n, i, I, e, r, a), [N]), [L, te] = (0, S.useState)({}), ne = v.set, re = L[ne] || "", ie = ht({
+ ...GV(t, n, ne, re),
enabled: E === "photos"
- }), ae = ie.data?.pages[0], oe = vU(JSON.stringify(RV(t, n, ne, re))), se = (0, S.useMemo)(() => {
+ }), ae = ie.data?.pages[0], oe = yU(JSON.stringify(zV(t, n, ne, re))), se = (0, S.useMemo)(() => {
let e = ie.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: oe,
- codeSets: t.id ? [] : GV(t),
+ codeSets: t.id ? [] : KV(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ie.data, oe]), ce = ie.refetch, le = ie.fetchNextPage, ue = pt({
- ...NV(d, o.feedRowHtml),
+ ...PV(d, o.feedRowHtml),
enabled: !!d
}), de = (0, S.useRef)(e.feedRevision);
(0, S.useEffect)(() => {
- de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: MV(d) }));
+ de.current !== e.feedRevision && (de.current = e.feedRevision, W.invalidateQueries({ queryKey: NV(d) }));
}, [d, e.feedRevision]);
let fe = !!M.data;
(0, S.useEffect)(() => {
@@ -63662,7 +63730,7 @@ function Kje(e) {
pe.current = !1;
}, []);
let me = (0, S.useCallback)(async () => {
- await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: LV(t, n) }), await W.invalidateQueries({ queryKey: [
+ await W.invalidateQueries({ queryKey: ["entity-route"] }), await W.invalidateQueries({ queryKey: RV(t, n) }), await W.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -63696,7 +63764,7 @@ function Kje(e) {
enabled: e
})
}),
- onSuccess: (e, r) => W.setQueryData(LV(t, n), (e) => e && {
+ onSuccess: (e, r) => W.setQueryData(RV(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -63750,10 +63818,10 @@ function Kje(e) {
let e = await Lt("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- pe.current && await W.invalidateQueries({ queryKey: MV(d) });
+ pe.current && await W.invalidateQueries({ queryKey: NV(d) });
})();
},
- feedAction: PV,
+ feedAction: FV,
avatarPicked: () => {
s.avatarChanged(), me().then(() => {
pe.current && A((e) => e + 1);
@@ -63801,19 +63869,19 @@ function Kje(e) {
(e !== E || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : IV));
+ } : LV));
},
setState: (e) => s.route({
...i,
state: e
- }, IV),
+ }, LV),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (E !== "photos") {
- let r = s.reshuffleVideos(), a = HV({
+ let r = s.reshuffleVideos(), a = UV({
kind: t,
name: n,
filters: {
@@ -63827,7 +63895,7 @@ function Kje(e) {
await W.fetchQuery(a).catch(() => null);
return;
}
- let r = Wje(), a = await W.fetchInfiniteQuery(WV(t, n, ne, r)).catch(() => null);
+ let r = Uje(), a = await W.fetchInfiniteQuery(GV(t, n, ne, r)).catch(() => null);
pe.current && a?.pages[0] && !a.pages[0].error && te((e) => ({
...e,
[ne]: r
@@ -63862,7 +63930,7 @@ function Kje(e) {
k: e.k,
label: Oc(e.k),
n: e.n,
- selected: jke(i.tag, e.k)
+ selected: Ake(i.tag, e.k)
})), we = [
u.length,
!_,
@@ -63897,14 +63965,14 @@ function Kje(e) {
creator: "",
studio: "",
owner: ""
- }, IV), Me = "", Ne = !1;
+ }, LV), Me = "", Ne = !1;
if (E === "people") Me = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (E === "online") Ne = D.busy, Me = `在线 · ${(D.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (E === "videos") {
Ne = !M.data;
- let e = zV(i.tag).length;
+ let e = BV(i.tag).length;
Me = `视频 · ${(M.data?.work_total ?? M.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : Gje(ae, GV(ae).length) : Ne = ie.isPending;
+ } else ae && !ae.error ? Me = Ee ? `${ae.title} · ${(ae.total || 0).toLocaleString()} 张` : Wje(ae, KV(ae).length) : Ne = ie.isPending;
let Pe = (0, S.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -63921,7 +63989,7 @@ function Kje(e) {
u
]);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(jje, {
+ /* @__PURE__ */ (0, C.jsx)(Aje, {
kind: t,
name: n,
entity: r,
@@ -63931,7 +63999,7 @@ function Kje(e) {
actions: ye,
helpers: be
}, k),
- (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(cCe, {
+ (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(sCe, {
kind: t,
name: n,
view: E,
@@ -63948,7 +64016,7 @@ function Kje(e) {
actions: xe,
helpers: Se
}), c.filter),
- (0, gt.createPortal)(E === "online" ? /* @__PURE__ */ (0, C.jsx)(RAe, {
+ (0, gt.createPortal)(E === "online" ? /* @__PURE__ */ (0, C.jsx)(LAe, {
view: D.view,
media: D.media,
result: D.result,
@@ -63961,15 +64029,15 @@ function Kje(e) {
helpers: e.follow.helpers,
actions: e.follow.actions,
canLoadMore: e.canLoadMore
- }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ }, D.key) : E === "videos" && M.isError ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: V(M.error),
onRetry: () => {
M.refetch();
}
- }) : Ae ? /* @__PURE__ */ (0, C.jsx)(qje, {
+ }) : Ae ? /* @__PURE__ */ (0, C.jsx)(Kje, {
filtered: ke,
onShowAll: je
- }) : /* @__PURE__ */ (0, C.jsx)(dAe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(uAe, {
kind: t,
name: n,
view: E,
@@ -64000,9 +64068,9 @@ function Kje(e) {
}), c.body)
] });
}
-function qje({ filtered: e, onShowAll: t }) {
- return e ? /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: kP("search"),
+function Kje({ filtered: e, onShowAll: t }) {
+ return e ? /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: jP("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
@@ -64010,15 +64078,15 @@ function qje({ filtered: e, onShowAll: t }) {
children: "查看全部视频"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: kP("film"),
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: jP("film"),
title: "还没有视频",
children: "署上这个名字的视频入库后会显示在这里。"
});
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function yU({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function bU({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -64045,29 +64113,29 @@ function yU({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var Jje = kP("play"), Yje = kP("file-stack"), Xje = pA({
+var qje = jP("play"), Jje = jP("file-stack"), Yje = mA({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), bU = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", xU = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", SU = "font-mono text-caption-1-regular leading-5 text-text-secondary", CU = () => {
+}), xU = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", SU = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", CU = "font-mono text-caption-1-regular leading-5 text-text-secondary", wU = () => {
W.invalidateQueries({
- queryKey: Oz,
+ queryKey: kz,
exact: !0
}), W.invalidateQueries({
- queryKey: HB,
+ queryKey: UB,
exact: !0
});
};
-function Zje(e) {
+function Xje(e) {
return e.identical ? /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${xU} text-(--keep)`,
+ className: `${SU} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${xU} text-text-secondary`,
+ className: `${SU} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Qje({ file: e, prefix: t, openItem: n }) {
+function Zje({ file: e, prefix: t, openItem: n }) {
let r = () => n(e.id), i = pn[e.location] || e.location || e.drive;
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -64077,7 +64145,7 @@ function Qje({ file: e, prefix: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${e.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, C.jsx)(Jje, {
+ children: [/* @__PURE__ */ (0, C.jsx)(qje, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, C.jsx)("img", {
@@ -64097,58 +64165,58 @@ function Qje({ file: e, prefix: t, openItem: n }) {
"data-middle-truncate": !0,
"data-middle-truncate-within": !0,
className: "min-w-0 shrink cursor-pointer truncate text-left text-body-regular hover:text-text-secondary",
- children: aDe(e.name, t)
+ children: iDe(e.name, t)
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, C.jsx)("i", {
- className: `${bU} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${xU} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, C.jsx)("i", {
- className: `${bU} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${xU} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
- className: `${SU} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: so[e.location] || "database" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ className: `${CU} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: so[e.location] || "database" }), /* @__PURE__ */ (0, C.jsx)("span", {
title: i,
className: "min-w-0 truncate",
children: i
})]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: SU,
+ className: CU,
children: cn(e.size || 0)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: SU,
+ className: CU,
children: on(e.duration)
}),
/* @__PURE__ */ (0, C.jsx)("span", {
- className: `${SU} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
+ className: `${CU} col-start-2 -col-end-1 min-w-0 pt-0.5 wrap-anywhere max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function $je({ openItem: e, toast: t, failure: n }) {
+function Qje({ openItem: e, toast: t, failure: n }) {
let r = pt({
- queryKey: Oz,
- queryFn: ({ signal: e }) => Az(e)
+ queryKey: kz,
+ queryFn: ({ signal: e }) => jz(e)
}), i = pt({
queryKey: kn,
queryFn: ({ signal: e }) => An(e)
}), [a, o] = (0, S.useState)(""), s = mt({
- mutationFn: (e) => Nz(e, "dispose"),
+ mutationFn: (e) => Pz(e, "dispose"),
onSuccess: (e, r) => {
- CU(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ wU(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await Nz(r, "restore");
+ await Pz(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- CU();
+ wU();
}
} });
},
@@ -64162,12 +64230,12 @@ function $je({ openItem: e, toast: t, failure: n }) {
children: r.error ? V(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], u = tDe(i.data), d = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], u = eDe(i.data), d = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = lDe(e, t);
+ let r = cDe(e, t);
r.length && Rs({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${jz[t] ?? jz.largest}。文件共 ${cn(uDe(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${Mz[t] ?? Mz.largest}。文件共 ${cn(lDe(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -64175,15 +64243,15 @@ function $je({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(yU, {
+ /* @__PURE__ */ (0, C.jsx)(bU, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${Number(c.files || 0).toLocaleString()} 个文件 · 可回收 ${cn(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, C.jsxs)(lye, {
+ l.length ? /* @__PURE__ */ (0, C.jsxs)(cye, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, C.jsx)(_j, {
+ /* @__PURE__ */ (0, C.jsx)(yj, {
busy: a === "all:largest",
onPress: () => d({
groups: l,
@@ -64192,7 +64260,7 @@ function $je({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, C.jsx)(_j, {
+ /* @__PURE__ */ (0, C.jsx)(yj, {
busy: a === "all:longest",
onPress: () => d({
groups: l,
@@ -64201,14 +64269,14 @@ function $je({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- cDe(l, u).map((e) => /* @__PURE__ */ (0, C.jsx)(_j, {
+ sDe(l, u).map((e) => /* @__PURE__ */ (0, C.jsx)(yj, {
busy: a === `all:${e}`,
onPress: () => d({
groups: l,
keep: e,
key: `all:${e}`
}),
- children: /* @__PURE__ */ (0, C.jsx)(QA, {
+ children: /* @__PURE__ */ (0, C.jsx)($A, {
source: e,
label: `全部优先 ${pn[e] || e}`
})
@@ -64224,10 +64292,10 @@ function $je({ openItem: e, toast: t, failure: n }) {
})
}) : null,
l.length ? l.map((t, n) => {
- let r = [t], i = iDe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
+ let r = [t], i = rDe(t.files.map((e) => e.name)), a = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": t.code,
- className: Xje,
+ className: Yje,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -64239,9 +64307,9 @@ function $je({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${Number(t.count || 0).toLocaleString()} 个 · 可回收 ${cn(t.reclaimable)}`
}),
- Zje(t),
+ Xje(t),
t.cross_drive ? /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${xU} text-text-secondary`,
+ className: `${SU} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -64269,7 +64337,7 @@ function $je({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- Mz(t.files, u).map((e) => /* @__PURE__ */ (0, C.jsx)(q, {
+ Nz(t.files, u).map((e) => /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
...f(a(e)),
@@ -64278,7 +64346,7 @@ function $je({ openItem: e, toast: t, failure: n }) {
keep: e,
key: a(e)
}),
- children: /* @__PURE__ */ (0, C.jsx)(QA, {
+ children: /* @__PURE__ */ (0, C.jsx)($A, {
source: e,
label: `留 ${pn[e] || e}`
})
@@ -64297,14 +64365,14 @@ function $je({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, C.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, C.jsx)(Qje, {
+ }), /* @__PURE__ */ (0, C.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, C.jsx)(Zje, {
file: t,
prefix: i,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: Yje,
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: Jje,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
}),
@@ -64317,17 +64385,17 @@ function $je({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var wU = ["diagnostics"], TU = (e) => H("/api/diagnostics", e);
-async function eMe(e) {
+var TU = ["diagnostics"], EU = (e) => H("/api/diagnostics", e);
+async function $je(e) {
await W.fetchQuery({
- queryKey: wU,
- queryFn: () => TU(e),
+ queryKey: TU,
+ queryFn: () => EU(e),
staleTime: 1e4
});
}
//#endregion
//#region src/diagnostics-skeleton.ts
-function EU() {
+function DU() {
let e = (e) => vo({
label: e,
variant: "secondary",
@@ -64342,13 +64410,13 @@ function EU() {
}
//#endregion
//#region src/react/components/site-mark.tsx
-function DU({ source: e }) {
+function OU({ source: e }) {
let [t, n] = (0, S.useState)(!1);
- if (e === "makers") return /* @__PURE__ */ (0, C.jsx)(Ege, {
+ if (e === "makers") return /* @__PURE__ */ (0, C.jsx)(Tge, {
"aria-hidden": !0,
className: "size-4 shrink-0"
});
- if (t) return /* @__PURE__ */ (0, C.jsx)(Wge, {
+ if (t) return /* @__PURE__ */ (0, C.jsx)(Uge, {
"aria-hidden": !0,
className: "size-4 shrink-0"
});
@@ -64371,7 +64439,7 @@ function DU({ source: e }) {
}
//#endregion
//#region src/react/diagnostics/health-list.tsx
-var OU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, tMe = (e) => [[
+var kU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, eMe = (e) => [[
"作品",
"番号",
"文件名",
@@ -64380,7 +64448,7 @@ var OU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, tMe = (e) => [
"时长(秒)",
"大小(字节)"
], ...e.map((e) => [
- OU(e),
+ kU(e),
e.code ?? "",
e.name,
pn[e.location] || e.location,
@@ -64388,20 +64456,20 @@ var OU = (e) => e.title || e.name || e.code || `作品 #${e.id}`, tMe = (e) => [
e.duration ?? "",
e.size ?? ""
])].map((e) => e.map((e) => String(e ?? "").replace(/[\t\r\n]+/g, " ")).join(" ")).join("\n");
-function nMe({ group: e, openItem: t, receipt: n }) {
- let r = yA(), [i, a] = (0, S.useState)([]), o = (e) => void r.run("copy", () => navigator.clipboard.writeText(tMe(e)), () => n("已复制清单")), s = [
+function tMe({ group: e, openItem: t, receipt: n }) {
+ let r = bA(), [i, a] = (0, S.useState)([]), o = (e) => void r.run("copy", () => navigator.clipboard.writeText(eMe(e)), () => n("已复制清单")), s = [
{
id: "title",
label: "作品",
- value: OU,
+ value: kU,
render: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-48 max-w-72 flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(wA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(TA, {
variant: "primary",
className: "justify-start whitespace-normal text-left",
onClick: () => t(e.id),
- children: OU(e)
- }), e.name && e.name !== OU(e) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: kU(e)
+ }), e.name && e.name !== kU(e) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-middle-truncate": !0,
title: e.name,
className: "block min-w-0 text-caption-1-regular text-text-secondary",
@@ -64448,12 +64516,12 @@ function nMe({ group: e, openItem: t, receipt: n }) {
render: (e) => e.size === null ? "未取得" : cn(e.size)
}
];
- return /* @__PURE__ */ (0, C.jsx)(FA, {
+ return /* @__PURE__ */ (0, C.jsx)(IA, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count.toLocaleString()} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -64477,7 +64545,7 @@ function nMe({ group: e, openItem: t, receipt: n }) {
tone: "error",
children: r.error
}) : null,
- /* @__PURE__ */ (0, C.jsx)(gV, {
+ /* @__PURE__ */ (0, C.jsx)(_V, {
label: e.label,
title: "作品清单",
unit: "部作品",
@@ -64485,7 +64553,7 @@ function nMe({ group: e, openItem: t, receipt: n }) {
items: e.items,
columns: s,
rowId: (e) => String(e.id),
- rowLabel: OU,
+ rowLabel: kU,
selected: i,
onSelected: a,
actions: (e) => /* @__PURE__ */ (0, C.jsx)(q, {
@@ -64496,8 +64564,8 @@ function nMe({ group: e, openItem: t, receipt: n }) {
children: "复制所选"
})
})
- ] }) : /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: Bge,
+ ] }) : /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: zge,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
@@ -64506,7 +64574,7 @@ function nMe({ group: e, openItem: t, receipt: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var rMe = {
+var nMe = {
ok: "正常",
warning: "需检查",
failed: "需处理",
@@ -64514,11 +64582,11 @@ var rMe = {
disabled: "未配置",
stale: "待复查",
unchecked: "尚无记录"
-}, iMe = {
+}, rMe = {
"/settings/network": "打开网络与访问",
"/settings/maintenance": "打开维护与更新",
"/tasks": "查看任务"
-}, aMe = [
+}, iMe = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -64529,17 +64597,17 @@ var rMe = {
"version"
]],
["后台任务", ["tasks"]]
-], kU = (e) => new Date(e).toLocaleString();
-function AU({ status: e }) {
- return /* @__PURE__ */ (0, C.jsx)(uA, {
+], AU = (e) => new Date(e).toLocaleString();
+function jU({ status: e }) {
+ return /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
"data-diagnostic-status": e,
color: e === "failed" ? "rose" : e === "warning" || e === "stale" ? "yellow" : "neutral",
- children: rMe[e] ?? "未取得"
+ children: nMe[e] ?? "未取得"
});
}
-function jU() {
- let e = yA();
+function MU() {
+ let e = bA();
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)(q, {
@@ -64563,24 +64631,24 @@ function jU() {
}) : null]
});
}
-function MU({ name: e, check: t, navigate: n, configure: r, compact: i = !1 }) {
+function NU({ name: e, check: t, navigate: n, configure: r, compact: i = !1 }) {
let a = e === "security" || e === "port" ? "网络与访问" : "媒体库与入库", o = i ? "h4" : "h3";
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-diagnostic-check": e,
- className: sA("flex flex-col gap-4 border-b border-separator-border pr-3 last:border-b-0 sm:flex-row sm:items-center sm:justify-between", i ? "py-3" : "py-5"),
+ className: cA("flex flex-col gap-4 border-b border-separator-border pr-3 last:border-b-0 sm:flex-row sm:items-center sm:justify-between", i ? "py-3" : "py-5"),
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
- className: sA("flex min-w-0 flex-1 flex-col", i ? "gap-1" : "gap-2"),
+ className: cA("flex min-w-0 flex-1 flex-col", i ? "gap-1" : "gap-2"),
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, C.jsx)(o, {
- className: sA("text-text-primary", i ? "text-body-2-medium" : "text-body-medium"),
+ className: cA("text-text-primary", i ? "text-body-2-medium" : "text-body-medium"),
children: t.label
- }), /* @__PURE__ */ (0, C.jsx)(AU, { status: t.status })]
+ }), /* @__PURE__ */ (0, C.jsx)(jU, { status: t.status })]
}),
/* @__PURE__ */ (0, C.jsx)("p", {
"data-check-reason": !0,
- className: sA("text-body-2-regular break-words", i ? "text-text-secondary" : "text-text-primary"),
+ className: cA("text-body-2-regular break-words", i ? "text-text-secondary" : "text-text-primary"),
children: t.reason
}),
t.action ? /* @__PURE__ */ (0, C.jsxs)("p", {
@@ -64594,17 +64662,17 @@ function MU({ name: e, check: t, navigate: n, configure: r, compact: i = !1 }) {
size: "small",
variant: "secondary",
onClick: () => t.target === "/settings/library" ? r(a) : n(t.target),
- children: t.target === "/settings/library" ? `打开${a}` : iMe[t.target] ?? "打开相关页面"
+ children: t.target === "/settings/library" ? `打开${a}` : rMe[t.target] ?? "打开相关页面"
})
}) : null]
});
}
-function oMe(e) {
+function aMe(e) {
let t = pt({
- queryKey: wU,
- queryFn: ({ signal: e }) => TU(e),
+ queryKey: TU,
+ queryFn: ({ signal: e }) => EU(e),
staleTime: 1e4
- }), n = yA(), [r, i] = (0, S.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = bA(), [r, i] = (0, S.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
if (e.error) throw e.error;
return e.data;
@@ -64612,11 +64680,11 @@ function oMe(e) {
if (!o && t.isPending) return /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取系统诊断",
- dangerouslySetInnerHTML: { __html: EU() }
+ dangerouslySetInnerHTML: { __html: DU() }
});
if (!o) return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "ui-configpage",
- children: [/* @__PURE__ */ (0, C.jsx)(jU, {}), /* @__PURE__ */ (0, C.jsx)(J, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MU, {}), /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "诊断读取失败",
action: /* @__PURE__ */ (0, C.jsx)(q, {
@@ -64642,7 +64710,7 @@ function oMe(e) {
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap justify-end gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(jU, {}), /* @__PURE__ */ (0, C.jsx)(q, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MU, {}), /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: a,
...Y(n.busy === "refresh"),
@@ -64653,30 +64721,30 @@ function oMe(e) {
tone: "error",
children: r
}) : null,
- s.length ? /* @__PURE__ */ (0, C.jsx)(TA, {
+ s.length ? /* @__PURE__ */ (0, C.jsx)(EA, {
title: `需要关注 · ${s.length} 项`,
- children: s.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(MU, {
+ children: s.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(NU, {
name: t,
check: n,
...e
}, t))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(TA, {
+ /* @__PURE__ */ (0, C.jsx)(EA, {
title: "库健康",
- children: /* @__PURE__ */ (0, C.jsxs)(DA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, C.jsxs)("p", {
+ children: /* @__PURE__ */ (0, C.jsxs)(OA, { children: [o.library.issue_at ? /* @__PURE__ */ (0, C.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", kU(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(nMe, {
+ children: ["处理记录 · ", AU(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(tMe, {
group: n,
...e
}, t))] })
}),
c.length ? /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": "系统检查",
- children: /* @__PURE__ */ (0, C.jsx)(FA, {
+ children: /* @__PURE__ */ (0, C.jsx)(IA, {
summary: `其他检查 · ${c.length} 项`,
contentClassName: "gap-5",
- children: aMe.map(([t, n]) => {
+ children: iMe.map(([t, n]) => {
let r = c.filter(([e]) => n.some((t) => t === e));
return r.length ? /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": t,
@@ -64688,7 +64756,7 @@ function oMe(e) {
className: "text-caption-1-regular text-text-secondary",
children: [r.length, " 项"]
})]
- }), /* @__PURE__ */ (0, C.jsx)(bA, { children: r.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(MU, {
+ }), /* @__PURE__ */ (0, C.jsx)(xA, { children: r.map(([t, n]) => /* @__PURE__ */ (0, C.jsx)(NU, {
name: t,
check: n,
compact: !0,
@@ -64702,33 +64770,33 @@ function oMe(e) {
"aria-label": "来源会话",
className: "flex min-w-0 flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(xA, { children: "来源会话" }),
+ /* @__PURE__ */ (0, C.jsx)(SA, { children: "来源会话" }),
o.sources.map((e) => /* @__PURE__ */ (0, C.jsx)("article", {
"data-diagnostic-source": e.source,
- children: /* @__PURE__ */ (0, C.jsx)(bA, { children: /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ children: /* @__PURE__ */ (0, C.jsx)(xA, { children: /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, C.jsxs)("h3", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-primary",
- children: [/* @__PURE__ */ (0, C.jsx)(DU, { source: e.source }), e.label]
- }), /* @__PURE__ */ (0, C.jsx)(AU, { status: e.status })]
+ children: [/* @__PURE__ */ (0, C.jsx)(OU, { source: e.source }), e.label]
+ }), /* @__PURE__ */ (0, C.jsx)(jU, { status: e.status })]
}),
- /* @__PURE__ */ (0, C.jsx)(ij, {
+ /* @__PURE__ */ (0, C.jsx)(oj, {
text: e.reason,
className: "text-body-regular text-text-primary"
}),
- /* @__PURE__ */ (0, C.jsxs)(NA, { children: [
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsxs)(PA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "上次解析成功",
- children: e.last_success_at ? kU(e.last_success_at) : "尚无成功记录"
+ children: e.last_success_at ? AU(e.last_success_at) : "尚无成功记录"
}),
- e.last_check_at ? /* @__PURE__ */ (0, C.jsxs)(PA, {
+ e.last_check_at ? /* @__PURE__ */ (0, C.jsxs)(FA, {
term: "上次检查",
- children: [kU(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
+ children: [AU(e.last_check_at), e.elapsed_s !== void 0 && e.elapsed_s !== null ? ` · ${e.elapsed_s.toFixed(2)} 秒` : ""]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "暂停访问至",
- children: e.cooldown_until ? kU(e.cooldown_until) : "未暂停"
+ children: e.cooldown_until ? AU(e.cooldown_until) : "未暂停"
})
] })
] }) })
@@ -64746,21 +64814,21 @@ function oMe(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function sMe({ host: e, revision: t, helpers: n, actions: r }) {
- let i = pt(NV(null, n.feedRowHtml)), a = (0, S.useRef)(t);
+function oMe({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = pt(PV(null, n.feedRowHtml)), a = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
- a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: MV(null) }));
- }, [t]), (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(rU, {
+ a.current !== t && (a.current = t, W.invalidateQueries({ queryKey: NV(null) }));
+ }, [t]), (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(iU, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: PV,
+ act: FV,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function NU({ provider: e, label: t }) {
+function PU({ provider: e, label: t }) {
let n = Yr(e), [r, i] = (0, S.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: t }) : null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("img", {
src: n,
@@ -64770,9 +64838,9 @@ function NU({ provider: e, label: t }) {
loading: "lazy",
onError: () => i(!0),
className: "size-3.5 shrink-0 rounded-sm object-contain"
- }), t ? /* @__PURE__ */ (0, C.jsx)(bx, { children: t }) : null] });
+ }), t ? /* @__PURE__ */ (0, C.jsx)(yx, { children: t }) : null] });
}
-function PU({ group: e, name: t }) {
+function FU({ group: e, name: t }) {
let { src: n, fallback: r } = dr(e), [i, a] = (0, S.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, C.jsx)("img", {
src: o,
@@ -64789,15 +64857,15 @@ function PU({ group: e, name: t }) {
children: ur(t)
});
}
-function FU({ source: e }) {
+function IU({ source: e }) {
let t = nr(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, C.jsx)(uA, {
+ return /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: t,
children: tr(e)
});
}
-function IU({ source: e }) {
+function LU({ source: e }) {
return /* @__PURE__ */ (0, C.jsx)("a", {
href: e.url,
target: "_blank",
@@ -64807,7 +64875,7 @@ function IU({ source: e }) {
children: e.label
});
}
-function LU({ text: e, prefix: t = "", tone: n = "error" }) {
+function RU({ text: e, prefix: t = "", tone: n = "error" }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = ir(e);
(0, S.useLayoutEffect)(() => {
let e = r.current;
@@ -64838,11 +64906,11 @@ function LU({ text: e, prefix: t = "", tone: n = "error" }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var RU = sA(qP, JP, "text-body-2-medium"), cMe = "粘贴来源链接,或输入创作者名、id…", lMe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", uMe = "识别中…", dMe = "站内没有查到来源", zU = (e, t) => `${e}:${t.url}`;
-function fMe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var zU = cA(YP, XP, "text-body-2-medium"), sMe = "粘贴来源链接,或输入创作者名、id…", cMe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", lMe = "识别中…", uMe = "站内没有查到来源", BU = (e, t) => `${e}:${t.url}`;
+function dMe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, S.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, C.jsxs)(fN, {
+ }, [t, r]), /* @__PURE__ */ (0, C.jsxs)(mN, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -64854,17 +64922,17 @@ function fMe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: sA(KP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: cA(JP, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(S.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, C.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? sA(RU, "bg-background-secondary-default") : RU,
+ className: t === r ? cA(zU, "bg-background-secondary-default") : zU,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -64884,7 +64952,7 @@ function fMe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function pMe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function fMe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {
let i = new Set(t);
r ? i.delete(e) : i.add(e), n(i);
@@ -64892,20 +64960,20 @@ function pMe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
ref: i,
variant: "secondary",
- leadingIcon: Vge,
+ leadingIcon: Bge,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: KP,
- children: /* @__PURE__ */ (0, C.jsxs)(TN, {
+ className: JP,
+ children: /* @__PURE__ */ (0, C.jsxs)(DN, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -64921,16 +64989,16 @@ function pMe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, C.jsx)(kA, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, C.jsx)(AA, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)($P, {
+ children: [/* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(NU, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, C.jsx)(PU, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "ghost",
@@ -64946,7 +65014,7 @@ function pMe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function mMe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function pMe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: e.line,
@@ -64954,7 +65022,7 @@ function mMe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -64965,15 +65033,15 @@ function mMe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = zU(t, e);
- return /* @__PURE__ */ (0, C.jsx)($P, {
+ let n = BU(t, e);
+ return /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(NU, { provider: e.provider }),
+ /* @__PURE__ */ (0, C.jsx)(PU, { provider: e.provider }),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -64989,22 +65057,22 @@ function mMe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, C.jsx)(kA, { children: dMe }),
+ }) : /* @__PURE__ */ (0, C.jsx)(AA, { children: uMe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, C.jsx)(MA, {
+ }), /* @__PURE__ */ (0, C.jsx)(NA, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, C.jsx)(kA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, C.jsx)(AA, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function mMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(!1), [h, g] = (0, S.useState)(null), [_, v] = (0, S.useState)(-1), y = (0, S.useRef)(null), b = (0, S.useRef)(null), [x, w] = (0, S.useState)(/* @__PURE__ */ new Set()), [T, E] = (0, S.useState)(/* @__PURE__ */ new Set()), [D, O] = (0, S.useState)(""), [k, A] = (0, S.useState)(0);
(0, S.useEffect)(() => {
let e = a.trim();
@@ -65024,7 +65092,7 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = fV({
+ }))), [j.data]), { job: N, running: P, outcome: F, start: I, dismiss: ee } = pV({
queryKey: Kn,
queryFn: ({ signal: e }) => Sr(e),
start: (e) => Tr([e]),
@@ -65056,7 +65124,7 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, ae = F?.results || [], oe = ae.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !x.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: zU(t, e)
+ key: BU(t, e)
})).filter((e) => !T.has(e.key))), se = mt({
mutationFn: async (e) => {
let t = [], n = [];
@@ -65086,7 +65154,7 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => O(V(e))
}), ce = e.suggestions || [], le = !l.includes("/");
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -65106,11 +65174,11 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !b.current?.contains(t) && m(!1);
},
- children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "来源链接、名字或 id",
- placeholder: cMe,
+ placeholder: sMe,
value: a,
- leadingIcon: Rk,
+ leadingIcon: zk,
enterKeyHint: "search",
isDisabled: n,
onChange: o,
@@ -65121,7 +65189,7 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
c(!1), o(e.currentTarget.value);
},
onKeyDown: ie
- }), ne ? /* @__PURE__ */ (0, C.jsx)(fMe, {
+ }), ne ? /* @__PURE__ */ (0, C.jsx)(dMe, {
field: y,
menu: b,
options: M,
@@ -65131,7 +65199,7 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: re
}) : null]
}),
- /* @__PURE__ */ (0, C.jsx)(pMe, {
+ /* @__PURE__ */ (0, C.jsx)(fMe, {
credentials: t,
hidden: x,
onHidden: w,
@@ -65149,9 +65217,9 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [P || I.isPending ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ children: [P || I.isPending ? /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
- label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? lMe : uMe),
+ label: N?.message || (N?.total ? `查找中:${N.checked || 0}/${N.total}` : le ? cMe : lMe),
value: N?.checked,
total: N?.total
}) : null, D ? /* @__PURE__ */ (0, C.jsx)(J, {
@@ -65163,8 +65231,8 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
ae.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "查找结果" }),
- ae.map((e, t) => /* @__PURE__ */ (0, C.jsx)(mMe, {
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "查找结果" }),
+ ae.map((e, t) => /* @__PURE__ */ (0, C.jsx)(pMe, {
row: e,
at: t,
hidden: x,
@@ -65219,22 +65287,22 @@ function hMe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var gMe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, BU = uR({
- rowSelectionFeature: JR,
- rowSortingFeature: sz,
- rowPaginationFeature: DR,
- sortedRowModel: lz(),
- paginatedRowModel: cz()
-}), _Me = BU, vMe = (e) => e.alias;
-function yMe(e, t, n) {
+var hMe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, VU = dR({
+ rowSelectionFeature: YR,
+ rowSortingFeature: cz,
+ rowPaginationFeature: OR,
+ sortedRowModel: uz(),
+ paginatedRowModel: lz()
+}), gMe = VU, _Me = (e) => e.alias;
+function vMe(e, t, n) {
let r = n ? `name:${n}` : "", i = r && e.find((e) => e.author_key === r) || e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function VU({ sources: e, name: t, canonicalKey: n }) {
+function HU({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(PU, {
- group: yMe(e, t, n),
+ children: [/* @__PURE__ */ (0, C.jsx)(FU, {
+ group: vMe(e, t, n),
name: t
}), /* @__PURE__ */ (0, C.jsx)("b", {
className: "text-body-medium",
@@ -65242,8 +65310,8 @@ function VU({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, S.useState)({}), [s, c] = (0, S.useState)({}), l = hV(() => o({})), u = hV(() => c({})), [d, f] = (0, S.useState)([]), [p, m] = (0, S.useState)([]), [h, g] = (0, S.useState)({
+function yMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+ let [a, o] = (0, S.useState)({}), [s, c] = (0, S.useState)({}), l = gV(() => o({})), u = gV(() => c({})), [d, f] = (0, S.useState)([]), [p, m] = (0, S.useState)([]), [h, g] = (0, S.useState)({
pageIndex: 0,
pageSize: 20
}), [_, v] = (0, S.useState)({
@@ -65305,7 +65373,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
});
}, N = (e) => void Rs({
title: "移除创作者别名",
- body: gMe(e),
+ body: hMe(e),
confirmLabel: "移除创作者别名",
onConfirm: () => j.mutateAsync(e)
}), P = (0, S.useRef)({
@@ -65325,18 +65393,18 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
remove: N
};
let F = (0, S.useMemo)(() => {
- let e = lR();
+ let e = uR();
return e.columns([
e.display({
id: "select",
- header: (e) => /* @__PURE__ */ (0, C.jsx)($P, {
+ header: (e) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
isSelected: e.table.getIsAllRowsSelected(),
isIndeterminate: e.table.getSelectedRowModel().rows.length > 0 && !e.table.getIsAllRowsSelected(),
"aria-label": "全选待合并别名",
onChange: (t) => e.table.toggleAllRowsSelected(t)
}),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)($P, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
isSelected: e.row.getIsSelected(),
"aria-label": `选择别名 ${e.row.original.alias},归入 ${e.row.original.canonical}`,
@@ -65345,7 +65413,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
e.accessor("canonical", {
header: "统一名称",
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(VU, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(HU, {
sources: P.current.sources,
name: e.getValue()
})
@@ -65375,18 +65443,18 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
})
]);
}, []), I = (0, S.useMemo)(() => {
- let e = lR();
+ let e = uR();
return e.columns([
e.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)($P, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
"aria-label": "全选已保存别名",
isSelected: e.getIsAllRowsSelected(),
isIndeterminate: e.getIsSomeRowsSelected(),
onChange: (t) => e.toggleAllRowsSelected(t)
}),
- cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)($P, {
+ cell: ({ row: e }) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
"aria-label": `选择已保存别名 ${e.original.canonical_name}`,
isSelected: e.getIsSelected(),
@@ -65396,7 +65464,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e.accessor("canonical_name", {
id: "canonical",
header: "统一名称",
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(VU, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(HU, {
sources: P.current.sources,
name: e.getValue(),
canonicalKey: e.row.original.canonical_key
@@ -65413,7 +65481,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: Dk,
+ leadingIcon: Ok,
"aria-label": `移除别名 ${e.name}`,
disabled: P.current.readOnly,
...Y(P.current.removing),
@@ -65423,11 +65491,11 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
})
})
]);
- }, []), ee = uz({
- features: BU,
+ }, []), ee = dz({
+ features: VU,
data: t,
columns: F,
- getRowId: vMe,
+ getRowId: _Me,
state: {
rowSelection: a,
sorting: d,
@@ -65444,8 +65512,8 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
},
onPaginationChange: g,
enableRowSelection: !0
- }), L = uz({
- features: _Me,
+ }), L = dz({
+ features: gMe,
data: e,
columns: I,
getRowId: (e) => e.canonical_key,
@@ -65467,7 +65535,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onPaginationChange: v
}), te = ee.getSelectedRowModel().rows.map((e) => e.original), ne = L.getSelectedRowModel().rows.flatMap((e) => e.original.aliases.map((e) => e.name)), re = Y(k.isPending);
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -65478,10 +65546,10 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(jA, { children: "手动添加别名" }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(MA, { children: "手动添加别名" }), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "统一名称",
placeholder: "在 Peach 中统一显示的名称",
value: T,
@@ -65489,7 +65557,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: D,
@@ -65510,14 +65578,14 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- x ? /* @__PURE__ */ (0, C.jsx)(AA, { children: x }) : null,
+ x ? /* @__PURE__ */ (0, C.jsx)(jA, { children: x }) : null,
t.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "待合并" }),
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "待合并" }),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -65530,7 +65598,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
onClick: () => M(t, !0),
children: `全部合并(${t.length})`
}),
- /* @__PURE__ */ (0, C.jsx)(mz, {
+ /* @__PURE__ */ (0, C.jsx)(hz, {
label: "待合并创作者别名",
sorting: d,
options: [
@@ -65574,9 +65642,9 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "取消选择"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(fz, {
+ /* @__PURE__ */ (0, C.jsx)(pz, {
follow: !0,
- children: /* @__PURE__ */ (0, C.jsxs)(dz, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fz, {
"aria-label": "待合并创作者别名",
size: "sm",
sortDescriptor: d[0] ? {
@@ -65584,26 +65652,26 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
direction: d[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => ee.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(eP, { children: ee.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(tP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, { children: ee.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(rP, {
id: e.id,
isRowHeader: e.column.id === "alias",
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [gL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(UP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(iP, { children: ee.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(sP, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(oP, { children: ee.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(lP, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(lP, { children: gL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(dP, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
}),
- /* @__PURE__ */ (0, C.jsx)(hz, {
+ /* @__PURE__ */ (0, C.jsx)(gz, {
label: "待合并创作者别名",
unit: "组",
total: t.length,
@@ -65618,12 +65686,12 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "已保存别名" }),
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "已保存别名" }),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${e.length} 组`
}),
- /* @__PURE__ */ (0, C.jsx)(mz, {
+ /* @__PURE__ */ (0, C.jsx)(hz, {
label: "已保存创作者别名",
sorting: p,
options: [{
@@ -65666,9 +65734,9 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: "取消选择"
})]
}),
- e.length ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(fz, {
+ e.length ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(pz, {
follow: !0,
- children: /* @__PURE__ */ (0, C.jsxs)(dz, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fz, {
"aria-label": "已保存创作者别名",
size: "sm",
sortDescriptor: p[0] ? {
@@ -65676,33 +65744,33 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
direction: p[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => L.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(eP, { children: L.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(tP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, { children: L.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, C.jsx)(rP, {
id: e.id,
isRowHeader: e.column.id === "canonical",
allowsSorting: e.column.getCanSort(),
children: ({ sortDirection: t }) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [gL(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [_L(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": t || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(UP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {})
}) : null]
})
- }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(iP, { children: L.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(sP, {
+ }, e.id)) }), /* @__PURE__ */ (0, C.jsx)(oP, { children: L.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(lP, {
id: e.id,
"data-board-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(lP, { children: gL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(dP, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }), /* @__PURE__ */ (0, C.jsx)(hz, {
+ }), /* @__PURE__ */ (0, C.jsx)(gz, {
label: "已保存创作者别名",
unit: "组",
total: e.length,
pagination: b,
onChange: v
- })] }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ })] }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: o_e,
+ icon: a_e,
title: "还没有保存创作者别名",
children: "填写统一名称,以及该创作者在其他平台使用的名字。"
})
@@ -65713,7 +65781,7 @@ function bMe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var xMe = cA({
+var bMe = lA({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -65775,23 +65843,23 @@ var xMe = cA({
}
}
});
-function SMe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = xMe[t];
+function xMe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = bMe[t];
return /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
- className: sA("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? sA("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: cA("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? cA("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, C.jsx)("span", {
- className: sA("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, C.jsx)("span", { className: sA("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: cA("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, C.jsx)("span", { className: cA("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 HU({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, C.jsx)(wbe, {
+function UU({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, C.jsx)(Cbe, {
ref: i,
...a,
- className: (t) => sA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(SMe, {
+ className: (t) => cA("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, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(xMe, {
state: e,
size: n,
shape: r
@@ -65803,8 +65871,8 @@ function HU({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var UU = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", CMe = "输入女优名,到 JavDB 找她的演员页";
-function wMe(e, t) {
+var WU = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", SMe = "输入女优名,到 JavDB 找她的演员页";
+function CMe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -65823,10 +65891,10 @@ function wMe(e, t) {
blocked: !1
};
}
-function TMe({ card: e, picked: t, onPick: n }) {
+function wMe({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)($P, {
+ children: [/* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -65836,7 +65904,7 @@ function TMe({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, C.jsx)(uA, {
+ e.record ? /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "neutral",
children: e.record
@@ -65847,14 +65915,14 @@ function TMe({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, C.jsx)(MA, {
+ }), /* @__PURE__ */ (0, C.jsx)(NA, {
href: e.url,
children: e.id
})]
});
}
-function EMe({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(/* @__PURE__ */ new Set()), l = yA(), u = () => {
+function TMe({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(/* @__PURE__ */ new Set()), l = bA(), u = () => {
let t = r.trim();
t && !e && l.run("lookup", (e) => Lr(t, e), (e) => {
o(e), c(new Set(e.suggested));
@@ -65867,9 +65935,9 @@ function EMe({ readOnly: e, toast: t, onAdded: n }) {
a && l.run("follow", (e) => Rr(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? wMe(a, s) : null;
+ }, m = a ? CMe(a, s) : null;
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -65882,11 +65950,11 @@ function EMe({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "女优名",
- placeholder: CMe,
+ placeholder: SMe,
value: r,
- leadingIcon: Rk,
+ leadingIcon: zk,
enterKeyHint: "search",
isDisabled: e,
onChange: i,
@@ -65908,16 +65976,16 @@ function EMe({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(TMe, {
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, C.jsx)(wMe, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, C.jsx)(kA, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, C.jsx)(kA, {
+ }, e.id)) : /* @__PURE__ */ (0, C.jsx)(AA, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -65944,13 +66012,13 @@ function EMe({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var DMe = uR({
- rowPaginationFeature: DR,
- rowSelectionFeature: JR,
- rowSortingFeature: sz,
- sortedRowModel: lz(),
- paginatedRowModel: cz()
-}), WU = {
+var EMe = dR({
+ rowPaginationFeature: OR,
+ rowSelectionFeature: YR,
+ rowSortingFeature: cz,
+ sortedRowModel: uz(),
+ paginatedRowModel: lz()
+}), GU = {
select: "选择",
name: "名称",
kind: "类型",
@@ -65960,33 +66028,33 @@ var DMe = uR({
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, OMe = /* @__PURE__ */ new Set(["select", "actions"]), GU = () => W.invalidateQueries({
+}, DMe = /* @__PURE__ */ new Set(["select", "actions"]), KU = () => W.invalidateQueries({
queryKey: qn,
exact: !0
-}), KU = (e) => e.name || e.url;
-function kMe(e) {
+}), qU = (e) => e.name || e.url;
+function OMe(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function AMe({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, C.jsx)(uA, {
+function kMe({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, C.jsx)(uA, {
+ }) : e.enabled ? /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, C.jsx)(uA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function jMe({ source: e }) {
+function AMe({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -65995,31 +66063,31 @@ function jMe({ source: e }) {
} : null;
return /* @__PURE__ */ (0, C.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 ${UU}`,
- dangerouslySetInnerHTML: { __html: ha(KU(e), t, null, "performer") }
+ 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 ${WU}`,
+ dangerouslySetInnerHTML: { __html: ha(qU(e), t, null, "performer") }
});
}
-var MMe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function NMe(e) {
+var jMe = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function MMe(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function qU(e, t) {
+function JU(e, t) {
let n = e.length === 1 ? e[0] : null;
return Rs({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${KU(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${qU(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function PMe({ readOnly: e, toast: t }) {
+function NMe({ readOnly: e, toast: t }) {
let n = pt({
queryKey: qn,
queryFn: ({ signal: e }) => Nr(e)
- }), r = yA(), i = n.data, a = (0, S.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, S.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, S.useState)(1), [u, d] = (0, S.useState)(20), [f, p] = (0, S.useState)([]), m = hr(a.length, u, c);
+ }), r = bA(), i = n.data, a = (0, S.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, S.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, S.useState)(1), [u, d] = (0, S.useState)(20), [f, p] = (0, S.useState)([]), m = hr(a.length, u, c);
(0, S.useEffect)(() => {
l((e) => Math.min(e, m.pages));
}, [m.pages]), (0, S.useEffect)(() => {
@@ -66040,13 +66108,13 @@ function PMe({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), GU(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), KU(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : V(e.error)}`);
}
},
onError: (e) => r.setError(V(e))
- }), g = (0, S.useMemo)(() => NMe(a), [a]), _ = (0, S.useRef)({
+ }), g = (0, S.useMemo)(() => MMe(a), [a]), _ = (0, S.useRef)({
readOnly: e,
shared: g,
busy: null,
@@ -66058,34 +66126,34 @@ function PMe({ readOnly: e, toast: t }) {
readOnly: e,
shared: g,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Pr(e.id, t, n), () => void GU()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => Ir(t, [e.id]), () => void GU()),
- remove: (e) => void qU([e], async () => {
- await Fr(e.id), t(`已移除订阅源「${KU(e)}」`), GU();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => Pr(e.id, t, n), () => void KU()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => Ir(t, [e.id]), () => void KU()),
+ remove: (e) => void JU([e], async () => {
+ await Fr(e.id), t(`已移除订阅源「${qU(e)}」`), KU();
})
};
let v = (0, S.useMemo)(() => {
- let e = lR(), t = (e) => () => WU[e] || e;
+ let e = uR(), t = (e) => () => GU[e] || e;
return e.columns([
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)($P, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${KU(e.row.original)}`
+ "aria-label": `选择 ${qU(e.row.original)}`
})
}),
- e.accessor(KU, {
+ e.accessor(qU, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = MMe(e.row.original, _.current.shared);
+ let t = jMe(e.row.original, _.current.shared);
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, C.jsx)(jMe, { source: e.row.original }),
+ /* @__PURE__ */ (0, C.jsx)(AMe, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -66113,13 +66181,13 @@ function PMe({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: kMe(e.getValue())
+ children: OMe(e.getValue())
})
}),
e.accessor((e) => e.last_error ? "拉取失败" : e.enabled ? "已启用" : "已暂停", {
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(AMe, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(kMe, { source: e.row.original })
}),
e.accessor((e) => e.interval_minutes, {
id: "interval",
@@ -66151,8 +66219,8 @@ function PMe({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(HU, {
- "aria-label": `启用 ${KU(e.row.original)}`,
+ /* @__PURE__ */ (0, C.jsx)(UU, {
+ "aria-label": `启用 ${qU(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: _.current.readOnly,
onChange: (t) => _.current.toggle(e.row.original, t)
@@ -66161,8 +66229,8 @@ function PMe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Lk,
- "aria-label": `拉取 ${KU(e.row.original)}`,
+ leadingIcon: Rk,
+ "aria-label": `拉取 ${qU(e.row.original)}`,
disabled: _.current.readOnly,
...Y(_.current.busy === `check-${e.row.original.id}`),
onClick: () => _.current.fetch(e.row.original)
@@ -66171,8 +66239,8 @@ function PMe({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Ak,
- "aria-label": `移除 ${KU(e.row.original)}`,
+ leadingIcon: jk,
+ "aria-label": `移除 ${qU(e.row.original)}`,
disabled: _.current.readOnly,
onClick: () => _.current.remove(e.row.original)
})
@@ -66180,8 +66248,8 @@ function PMe({ readOnly: e, toast: t }) {
})
})
]);
- }, []), y = (0, S.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), b = uz({
- features: DMe,
+ }, []), y = (0, S.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), b = dz({
+ features: EMe,
data: a,
columns: v,
getRowId: (e) => String(e.id),
@@ -66206,20 +66274,20 @@ function PMe({ readOnly: e, toast: t }) {
tone: "error",
title: "打不开订阅源",
children: V(n.error)
- }) : /* @__PURE__ */ (0, C.jsx)(kA, { children: "正在读订阅源。" });
- let x = () => void r.run("check", (e) => Ir(e), () => void GU()), w = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, C.jsx)(AA, { children: "正在读订阅源。" });
+ let x = () => void r.run("check", (e) => Ir(e), () => void KU()), w = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), T = a.filter((e) => o.has(e.id)), E = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, C.jsx)(EMe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(TMe, {
readOnly: e,
toast: t,
- onAdded: () => void GU()
+ onAdded: () => void KU()
}), /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -66241,7 +66309,7 @@ function PMe({ readOnly: e, toast: t }) {
...Y(r.busy === "check"),
children: "立即拉取"
}),
- /* @__PURE__ */ (0, C.jsx)(mz, {
+ /* @__PURE__ */ (0, C.jsx)(hz, {
label: "JAV 订阅源",
sorting: f,
onChange: (e) => {
@@ -66257,7 +66325,7 @@ function PMe({ readOnly: e, toast: t }) {
"fresh"
].map((e) => ({
id: e,
- label: WU[e]
+ label: GU[e]
}))
})
]
@@ -66272,11 +66340,11 @@ function PMe({ readOnly: e, toast: t }) {
children: E.map((e) => /* @__PURE__ */ (0, C.jsx)("li", {
className: "min-w-0 truncate",
title: e.last_error || "",
- children: `${KU(e)}:${ir(e.last_error || "") || "未说明原因"}`
+ children: `${qU(e)}:${ir(e.last_error || "") || "未说明原因"}`
}, e.id))
}),
children: "这些订阅源这一轮没有取到新条目。"
- }) : null, r.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: r.error }) : null]
+ }) : null, r.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: r.error }) : null]
}) : null,
/* @__PURE__ */ (0, C.jsxs)(YT, {
visible: T.length > 0,
@@ -66310,7 +66378,7 @@ function PMe({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...Y(h.isPending),
- onClick: () => void qU(T, () => h.mutateAsync({
+ onClick: () => void JU(T, () => h.mutateAsync({
ids: T.map((e) => e.id),
action: "remove"
})),
@@ -66324,10 +66392,10 @@ function PMe({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, C.jsx)(fz, {
+ a.length ? /* @__PURE__ */ (0, C.jsx)(pz, {
follow: !0,
onRowClick: (e) => w(Number(e)),
- children: /* @__PURE__ */ (0, C.jsxs)(dz, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fz, {
"aria-label": "JAV 订阅源",
size: "sm",
sortDescriptor: f[0] ? {
@@ -66335,34 +66403,34 @@ function PMe({ readOnly: e, toast: t }) {
direction: f[0].desc ? "descending" : "ascending"
} : void 0,
onSortChange: (e) => b.getColumn(String(e.column))?.toggleSorting(e.direction === "descending"),
- children: [/* @__PURE__ */ (0, C.jsx)(eP, { children: b.getHeaderGroups()[0].headers.map((e) => {
- let t = gL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, C.jsx)(tP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, { children: b.getHeaderGroups()[0].headers.map((e) => {
+ let t = _L(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, C.jsx)(rP, {
id: e.id,
isRowHeader: e.column.id === "name",
allowsSorting: e.column.getCanSort(),
- children: ({ sortDirection: n }) => OMe.has(e.column.id) ? /* @__PURE__ */ (0, C.jsx)(bx, { children: t }) : /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: ({ sortDirection: n }) => DMe.has(e.column.id) ? /* @__PURE__ */ (0, C.jsx)(yx, { children: t }) : /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-0.5",
children: [t, e.column.getCanSort() ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(UP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {})
}) : null]
})
}, e.id);
- }) }), /* @__PURE__ */ (0, C.jsx)(iP, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(sP, {
+ }) }), /* @__PURE__ */ (0, C.jsx)(oP, { children: b.getRowModel().rows.map((e) => /* @__PURE__ */ (0, C.jsx)(lP, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(lP, { children: gL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(dP, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: $ge,
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: Qge,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
}),
- a.length ? /* @__PURE__ */ (0, C.jsx)(hz, {
+ a.length ? /* @__PURE__ */ (0, C.jsx)(gz, {
label: "JAV 订阅",
total: m.total,
unit: "个订阅源",
@@ -66388,24 +66456,24 @@ function PMe({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var FMe = uR({
- rowPaginationFeature: DR,
- rowSelectionFeature: JR,
- rowSortingFeature: sz,
- paginatedRowModel: cz()
-}), JU = (e) => (Number(e) || 0).toLocaleString(), IMe = Object.fromEntries(Object.entries(Xn).map(([e, t]) => [t, e])), YU = 740;
-function LMe() {
+var PMe = dR({
+ rowPaginationFeature: OR,
+ rowSelectionFeature: YR,
+ rowSortingFeature: cz,
+ paginatedRowModel: lz()
+}), YU = (e) => (Number(e) || 0).toLocaleString(), FMe = Object.fromEntries(Object.entries(Xn).map(([e, t]) => [t, e])), XU = 740;
+function IMe() {
let [e, t] = (0, S.useState)(!1), n = (0, S.useRef)(null), r = (0, S.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < YU));
- r.observe(e), n.current = r, t(e.clientWidth < YU);
+ let r = new ResizeObserver(() => t(e.clientWidth < XU));
+ r.observe(e), n.current = r, t(e.clientWidth < XU);
}, []);
return (0, S.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var RMe = {
+var LMe = {
select: "选择",
author: "创作者",
source: "来源",
@@ -66414,33 +66482,33 @@ var RMe = {
checked: "上次检查",
actions: "操作"
};
-function zMe({ source: e, selected: t, onToggle: n, handlers: r }) {
+function RMe({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-selected": t || void 0,
"data-follow-source-row": "",
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2",
onClick: (e) => {
- AI(e, e.currentTarget) && n(!t);
+ jI(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 grow basis-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, C.jsx)(IU, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)(LU, { text: e.last_error }) : null]
+ children: [/* @__PURE__ */ (0, C.jsx)(LU, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)(RU, { text: e.last_error }) : null]
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",
title: e.provider_label,
- children: /* @__PURE__ */ (0, C.jsx)(NU, {
+ children: /* @__PURE__ */ (0, C.jsx)(PU, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, C.jsx)(FU, { source: e }),
+ /* @__PURE__ */ (0, C.jsx)(IU, { source: e }),
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-follow-source-controls": "",
className: "contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5",
@@ -66449,7 +66517,7 @@ function zMe({ source: e, selected: t, onToggle: n, handlers: r }) {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular",
children: qr(e)
}),
- /* @__PURE__ */ (0, C.jsx)(HU, {
+ /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -66461,7 +66529,7 @@ function zMe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Lk,
+ leadingIcon: Rk,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...Y(r.busy),
@@ -66470,7 +66538,7 @@ function zMe({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ak,
+ leadingIcon: jk,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -66481,11 +66549,11 @@ function zMe({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
+function zMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {
let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(nr).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = _r(r, c);
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: pA({
+ className: mA({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -66495,7 +66563,7 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, C.jsx)(PU, {
+ /* @__PURE__ */ (0, C.jsx)(FU, {
group: e,
name: t
}),
@@ -66507,7 +66575,7 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Lk,
+ leadingIcon: Rk,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...Y(i.busy),
@@ -66520,7 +66588,7 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex shrink-0 items-center gap-1 max-sm:mr-auto max-sm:min-w-0 max-sm:shrink max-sm:flex-wrap",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(NU, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)(bx, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(PU, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)(yx, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -66529,7 +66597,7 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: kge,
+ leadingIcon: Oge,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -66540,7 +66608,7 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Ek : Ck,
+ leadingIcon: n ? Dk : wk,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -66552,7 +66620,7 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(zMe, {
+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(RMe, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -66561,8 +66629,8 @@ function BMe({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function VMe(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, S.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = LMe(), [T, E] = (0, S.useState)(""), D = (0, S.useMemo)(() => pr(g, n, r, _), [
+function BMe(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, S.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, S.useState)(/* @__PURE__ */ new Set()), [x, w] = IMe(), [T, E] = (0, S.useState)(""), D = (0, S.useMemo)(() => pr(g, n, r, _), [
g,
n,
r,
@@ -66572,7 +66640,7 @@ function VMe(e) {
n,
r,
_
- ]), { job: k, running: A, outcome: j, start: M } = fV({
+ ]), { job: k, running: A, outcome: j, start: M } = pV({
queryKey: Gn,
queryFn: ({ signal: e }) => xr(e),
start: (e) => wr(e),
@@ -66659,12 +66727,12 @@ function VMe(e) {
readOnly: c
};
let ae = ie.current, oe = (0, S.useMemo)(() => {
- let e = lR(), t = (e) => () => RMe[e] || e;
+ let e = uR(), t = (e) => () => LMe[e] || e;
return e.columns([
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)($P, {
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(tF, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -66676,7 +66744,7 @@ function VMe(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(PU, {
+ children: [/* @__PURE__ */ (0, C.jsx)(FU, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, C.jsx)("span", {
@@ -66690,7 +66758,7 @@ function VMe(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, C.jsx)(IU, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)(LU, { text: e.row.original.source.last_error }) : null]
+ children: [/* @__PURE__ */ (0, C.jsx)(LU, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)(RU, { text: e.row.original.source.last_error }) : null]
})
}),
e.accessor((e) => e.source.provider_label, {
@@ -66698,13 +66766,13 @@ function VMe(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, C.jsx)(NU, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, C.jsx)(PU, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, C.jsx)(FU, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(IU, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
@@ -66717,7 +66785,7 @@ function VMe(e) {
cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(HU, {
+ /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ae.readOnly,
@@ -66727,7 +66795,7 @@ function VMe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Lk,
+ leadingIcon: Rk,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ae.readOnly,
...Y(ae.busy),
@@ -66737,7 +66805,7 @@ function VMe(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ak,
+ leadingIcon: jk,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ae.readOnly,
onClick: () => ie.current.remove(e.row.original.source)
@@ -66747,13 +66815,13 @@ function VMe(e) {
})
]);
}, [ae]), se = (0, S.useMemo)(() => {
- let e = IMe[n];
+ let e = FMe[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, S.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = hr(le ? O.length : D.length, o, i), de = uz({
- features: FMe,
+ }, [n, r]), ce = (0, S.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = hr(le ? O.length : D.length, o, i), de = dz({
+ features: PMe,
data: O,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -66786,7 +66854,7 @@ function VMe(e) {
}
}), fe = de.getRowModel().rows, pe = le ? fe.map((e) => e.original.source.id) : D.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), me = _r(s, pe), he = [...s], ge = Gr(j), _e = g.filter((e) => e.enabled && (e.last_status === "error" || e.last_status === "unauthorized")).map((e) => e.id), ve = Kr(j), ye = D.length > 0 && y.size >= D.length;
return g.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -66803,12 +66871,12 @@ function VMe(e) {
children: "关注列表"
}), /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${JU(v.new)} 条未看` : ""}`
+ children: `${g.length.toLocaleString()} 个来源${v.new ? ` · ${YU(v.new)} 条未看` : ""}`
})]
}),
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "primary",
- leadingIcon: Lk,
+ leadingIcon: Rk,
disabled: c,
"aria-label": "检查全部",
iconOnly: w,
@@ -66834,20 +66902,20 @@ function VMe(e) {
children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Yge,
+ leadingIcon: Jge,
"aria-label": Jn[0][1],
"aria-pressed": !le,
onClick: () => d("default")
}), /* @__PURE__ */ (0, C.jsx)(q, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: n_e,
+ leadingIcon: t_e,
"aria-label": Jn[1][1],
"aria-pressed": le,
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, C.jsx)(UF, {
+ /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
@@ -66855,7 +66923,7 @@ function VMe(e) {
let t = String(e);
l(t, Sn[t]);
},
- children: bn.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: bn.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
@@ -66863,14 +66931,14 @@ function VMe(e) {
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? wge : Cge,
+ leadingIcon: r === "asc" ? Cge : Sge,
"aria-label": $n(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
le ? null : /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
iconOnly: w,
- leadingIcon: ye ? Ck : Ek,
+ leadingIcon: ye ? wk : Dk,
"aria-label": ye ? "全部展开" : "全部收起",
onClick: () => b(ye ? /* @__PURE__ */ new Set() : new Set(D.map((e) => String(e[0].author_key || e[0].id)))),
children: ye ? "全部展开" : "全部收起"
@@ -66883,7 +66951,7 @@ function VMe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- A ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ A ? /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: k?.message || (k?.total ? `${k.older ? "抓取历史" : "检查更新"}:已完成 ${k.checked || 0}/${k.total} 个来源` : "正在准备检查任务"),
value: k?.checked,
@@ -66974,10 +67042,10 @@ function VMe(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, C.jsx)(fz, {
+ le ? /* @__PURE__ */ (0, C.jsx)(pz, {
follow: !0,
onRowClick: (e) => P(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, C.jsxs)(dz, {
+ children: /* @__PURE__ */ (0, C.jsxs)(fz, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -66988,9 +67056,9 @@ function VMe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, C.jsx)(eP, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in Xn, n = gL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, C.jsx)(tP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(nP, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in Xn, n = _L(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, C.jsx)(rP, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -66999,20 +67067,20 @@ function VMe(e) {
children: [n, /* @__PURE__ */ (0, C.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(UP, {})
+ children: /* @__PURE__ */ (0, C.jsx)(GP, {})
})]
- }) : /* @__PURE__ */ (0, C.jsx)(bx, { children: n })
+ }) : /* @__PURE__ */ (0, C.jsx)(yx, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, C.jsx)(iP, {
+ }) }), /* @__PURE__ */ (0, C.jsx)(oP, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, C.jsx)(sP, {
+ children: fe.map((e) => /* @__PURE__ */ (0, C.jsx)(lP, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(lP, { children: gL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getAllCells().map((e) => /* @__PURE__ */ (0, C.jsx)(dP, { children: _L(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)($P, {
+ }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: me.all,
isIndeterminate: me.some,
onChange: (e) => F(pe, e),
@@ -67022,7 +67090,7 @@ function VMe(e) {
className: "flex flex-col gap-3",
children: D.slice(ue.start, ue.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, C.jsx)(BMe, {
+ return /* @__PURE__ */ (0, C.jsx)(zMe, {
group: e,
name: lr(e, _),
handlers: ae,
@@ -67037,7 +67105,7 @@ function VMe(e) {
}, t);
})
})] }),
- /* @__PURE__ */ (0, C.jsx)(hz, {
+ /* @__PURE__ */ (0, C.jsx)(gz, {
label: "关注列表",
total: ue.total,
pagination: {
@@ -67055,7 +67123,7 @@ function VMe(e) {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
- children: `未看 ${JU(v.new)} · 已看 ${JU(v.seen)} · 已保存 ${JU(v.saved)} · 已忽略 ${JU(v.ignored)}`
+ children: `未看 ${YU(v.new)} · 已看 ${YU(v.seen)} · 已保存 ${YU(v.saved)} · 已忽略 ${YU(v.ignored)}`
}),
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
@@ -67092,11 +67160,11 @@ function VMe(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: $ge,
+ icon: Qge,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, C.jsx)(fA, {
+ actions: /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "primary",
size: "small",
href: "/subscriptions?tab=add",
@@ -67107,14 +67175,14 @@ function VMe(e) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var XU = [
+var ZU = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], ZU = (e) => XU.some(([t]) => t === e);
-function QU({ term: e, figure: t, unit: n }) {
+], QU = (e) => ZU.some(([t]) => t === e);
+function $U({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -67134,8 +67202,8 @@ function QU({ term: e, figure: t, unit: n }) {
})]
});
}
-function HMe(e) {
- let t = pj(), { route: n, savePreference: r, toast: i, openFollow: a, openServiceConfiguration: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, S.useState)(ZU(e.tab) ? e.tab : "list"), [f, p] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [m, h] = (0, S.useState)(() => wn(e.sort, e.dir).sort), [g, _] = (0, S.useState)(() => wn(e.sort, e.dir).dir), [v, y] = (0, S.useState)(dee(e.layout) ? e.layout : "default"), [b, x] = (0, S.useState)(Zn(e.pageSize)), [w, T] = (0, S.useState)(/* @__PURE__ */ new Set()), E = pt({
+function VMe(e) {
+ let t = hj(), { route: n, savePreference: r, toast: i, openFollow: a, openServiceConfiguration: o, readOnly: s, readOnlyMessage: c, writerUrl: l } = e, [u, d] = (0, S.useState)(QU(e.tab) ? e.tab : "list"), [f, p] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [m, h] = (0, S.useState)(() => wn(e.sort, e.dir).sort), [g, _] = (0, S.useState)(() => wn(e.sort, e.dir).dir), [v, y] = (0, S.useState)(dee(e.layout) ? e.layout : "default"), [b, x] = (0, S.useState)(Zn(e.pageSize)), [w, T] = (0, S.useState)(/* @__PURE__ */ new Set()), E = pt({
queryKey: Un,
queryFn: ({ signal: e }) => yr(e)
}), D = pt({
@@ -67163,7 +67231,7 @@ function HMe(e) {
dir: r === Sn[t] ? "" : r
});
}, N = fr(j), P = j.filter(nr).length, F = j.filter((e) => e.enabled).length, I = (A.providers || []).filter((e) => e.requirement === "required" && !Zr(e)).length, ee = new Set((O.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, C.jsxs)(gA, { children: [
+ return /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
s ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "warning",
title: "本机只能浏览",
@@ -67178,65 +67246,65 @@ function HMe(e) {
children: c
}) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: SOe,
+ className: xOe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, C.jsx)(QU, {
+ /* @__PURE__ */ (0, C.jsx)($U, {
term: "关注创作者",
figure: N.length,
unit: "位"
}),
- /* @__PURE__ */ (0, C.jsx)(QU, {
+ /* @__PURE__ */ (0, C.jsx)($U, {
term: "启用来源",
figure: F,
unit: `/ ${j.length}`
}),
- /* @__PURE__ */ (0, C.jsx)(QU, {
+ /* @__PURE__ */ (0, C.jsx)($U, {
term: "检查失败",
figure: P,
unit: "个来源"
}),
- /* @__PURE__ */ (0, C.jsx)(QU, {
+ /* @__PURE__ */ (0, C.jsx)($U, {
term: "未看更新",
figure: k.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, C.jsx)(QU, {
+ /* @__PURE__ */ (0, C.jsx)($U, {
term: "JAV 订阅",
figure: ee,
unit: "位"
}),
- /* @__PURE__ */ (0, C.jsx)(QU, {
+ /* @__PURE__ */ (0, C.jsx)($U, {
term: "未看新作",
figure: O.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(pP, {
+ /* @__PURE__ */ (0, C.jsxs)(hP, {
selectedKey: u,
onSelectionChange: (e) => {
let t = String(e);
- ZU(t) && (d(t), M({ tab: t }));
+ QU(t) && (d(t), M({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, C.jsx)(mP, {
+ /* @__PURE__ */ (0, C.jsx)(gP, {
ref: t,
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: XU.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(hP, {
+ children: ZU.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(_P, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, C.jsx)(VMe, {
+ children: /* @__PURE__ */ (0, C.jsx)(BMe, {
data: k,
sort: m,
dir: g,
@@ -67266,16 +67334,16 @@ function HMe(e) {
}
})
}),
- /* @__PURE__ */ (0, C.jsxs)(gP, {
+ /* @__PURE__ */ (0, C.jsxs)(vP, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, C.jsx)(hMe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mMe, {
data: k,
credentials: A,
readOnly: s,
toast: i,
openCredentials: o
- }), /* @__PURE__ */ (0, C.jsx)(bMe, {
+ }), /* @__PURE__ */ (0, C.jsx)(yMe, {
groups: k.author_aliases || [],
readOnly: s,
toast: i,
@@ -67283,10 +67351,10 @@ function HMe(e) {
sources: k.sources
})]
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, C.jsx)(PMe, {
+ children: /* @__PURE__ */ (0, C.jsx)(NMe, {
readOnly: s,
toast: i
})
@@ -67302,16 +67370,16 @@ function HMe(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function $U({ value: e }) {
+function eW({ value: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var UMe = "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 eW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, S.useRef)(null), o = pj(a);
+var HMe = "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 tW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, S.useRef)(null), o = hj(a);
return (0, S.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -67334,14 +67402,14 @@ function eW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
},
className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,
children: e.map((e) => {
- let n = e.symbol ? kP(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? jP(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: UMe,
+ className: HMe,
onClick: () => {
i || r(e.value);
},
@@ -67352,12 +67420,12 @@ function eW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
}
//#endregion
//#region src/react/index/index-tags.tsx
-var tW = () => /* @__PURE__ */ (0, C.jsx)("span", {
+var nW = () => /* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function WMe({ tag: e, actions: t }) {
+function UMe({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -67365,13 +67433,13 @@ function WMe({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": aH(t.online, e.cat),
+ "data-tag-cat": oH(t.online, e.cat),
"aria-pressed": n,
title: e.label,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 flex-1 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, C.jsx)(tW, {}),
+ /* @__PURE__ */ (0, C.jsx)(nW, {}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -67381,7 +67449,7 @@ function WMe({ tag: e, actions: t }) {
children: e.n.toLocaleString()
})
]
- }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(VP, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(UP, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -67389,23 +67457,23 @@ function WMe({ tag: e, actions: t }) {
} })]
});
}
-function GMe({ groups: e, actions: t }) {
+function WMe({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, C.jsxs)("section", {
"data-alpha-group": r,
- className: pA({
+ className: mA({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, C.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, C.jsx)($U, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, C.jsx)(eW, { value: n.length })]
}), /* @__PURE__ */ (0, C.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, C.jsx)(WMe, {
+ children: n.map((e) => /* @__PURE__ */ (0, C.jsx)(UMe, {
tag: e,
actions: t
}, e.k))
@@ -67413,8 +67481,8 @@ function GMe({ groups: e, actions: t }) {
}, e))
});
}
-var KMe = "\xA0";
-function qMe({ tags: e, actions: t }) {
+var GMe = "\xA0";
+function KMe({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -67424,16 +67492,16 @@ function qMe({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": aH(t.online, e.cat),
+ "data-tag-cat": oH(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + KMe, /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [e.label + GMe, /* @__PURE__ */ (0, C.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
})]
- }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(VP, { item: {
+ }), t.online ? null : /* @__PURE__ */ (0, C.jsx)(UP, { item: {
kind: "tag",
name: e.k,
entity_id: e.entity_id,
@@ -67442,7 +67510,7 @@ function qMe({ tags: e, actions: t }) {
}, e.k))
});
}
-var JMe = [[
+var qMe = [[
"cloud",
"标签云",
"tags"
@@ -67451,17 +67519,17 @@ var JMe = [[
"字母表",
"text-aa"
]];
-function YMe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- let l = pj();
- return /* @__PURE__ */ (0, C.jsx)(hj, {
+function JMe({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ let l = hj();
+ return /* @__PURE__ */ (0, C.jsx)(_j, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, C.jsxs)(gj, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, C.jsxs)(vj, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : aH(n, e),
+ "data-tag-cat": e === "all" ? "all" : oH(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, C.jsx)(tW, {}), r]
+ children: [/* @__PURE__ */ (0, C.jsx)(nW, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("span", {
@@ -67481,19 +67549,19 @@ function YMe({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(MN, {
+ /* @__PURE__ */ (0, C.jsx)(PN, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${QF}`,
- children: JMe.map(([e, t, n]) => {
- let r = kP(n);
- return /* @__PURE__ */ (0, C.jsx)(NN, {
+ className: `ml-auto ${eI}`,
+ children: qMe.map(([e, t, n]) => {
+ let r = jP(n);
+ return /* @__PURE__ */ (0, C.jsx)(FN, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: $F,
+ className: tI,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -67505,13 +67573,13 @@ function YMe({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function XMe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+function YMe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
return /* @__PURE__ */ (0, C.jsxs)(YT, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -67543,7 +67611,7 @@ function XMe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var ZMe = [{
+var XMe = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -67551,7 +67619,7 @@ var ZMe = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], QMe = [{
+}], ZMe = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -67559,7 +67627,7 @@ var ZMe = [{
value: "online",
label: "在线",
symbol: "rss"
-}], $Me = [
+}], QMe = [
{
value: "performers",
label: "艺人",
@@ -67575,7 +67643,7 @@ var ZMe = [{
label: "在线",
symbol: "rss"
}
-], eNe = {
+], $Me = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -67595,20 +67663,20 @@ var ZMe = [{
"layout-grid"
]]
};
-function tNe({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, C.jsx)(YF, {
- "aria-label": `${JV[e]}索引版式`,
+function eNe({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, C.jsx)(ZF, {
+ "aria-label": `${YV[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${XF}`,
- children: eNe[$V(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = kP(n);
- return /* @__PURE__ */ (0, C.jsx)(NN, {
+ className: `flex-none max-board-narrow:order-3 ${QF}`,
+ children: $Me[eH(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = jP(n);
+ return /* @__PURE__ */ (0, C.jsx)(FN, {
value: e,
"aria-label": t,
- className: nCe,
+ className: tCe,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: t,
className: "contents",
@@ -67618,8 +67686,8 @@ function tNe({ kind: e, layout: t, onChange: n }) {
})
});
}
-var nNe = kP("search");
-function rNe({ label: e, value: t, onQuery: n }) {
+var tNe = jP("search");
+function nNe({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, S.useState)(t), a = (0, S.useRef)(!1), o = (0, S.useRef)(void 0);
(0, S.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -67634,15 +67702,15 @@ function rNe({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, C.jsx)(SP, {
+ children: /* @__PURE__ */ (0, C.jsx)(wP, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, C.jsx)(wP, {
+ children: /* @__PURE__ */ (0, C.jsx)(EP, {
type: "search",
- leadingIcon: nNe,
+ leadingIcon: tNe,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -67653,14 +67721,14 @@ function rNe({ label: e, value: t, onQuery: n }) {
})
});
}
-function iNe(e) {
- let [t, n] = (0, S.useState)(() => eH({
+function rNe(e) {
+ let [t, n] = (0, S.useState)(() => tH({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, S.useState)(e.layout), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)("any"), l = (0, S.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = JV[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, S.useState)(e.layout), [a, o] = (0, S.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, S.useState)("any"), l = (0, S.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = YV[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, S.useEffect)(() => {
if (t.kind === e.kind && t.scope === e.scope && t.category === e.category) return;
let n = !0;
@@ -67678,7 +67746,7 @@ function iNe(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, x = iH(tH(t)), w = ht({
+ }, x = aH(nH(t)), w = ht({
queryKey: x.queryKey,
queryFn: ({ pageParam: e, signal: t }) => x.queryFn({
pageParam: e,
@@ -67687,7 +67755,7 @@ function iNe(e) {
initialPageParam: 0,
getNextPageParam: x.getNextPageParam,
placeholderData: v ? de : void 0
- }), T = Kke(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = qke(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, S.useRef)(null), A = w.data?.pages[0]?.categories;
+ }), T = Gke(w.data), E = !!w.hasNextPage && !w.isPlaceholderData, D = Kke(T.length, !!w.hasNextPage), O = `${u}:${f}:${d}`, k = (0, S.useRef)(null), A = w.data?.pages[0]?.categories;
A && !w.isPlaceholderData && (k.current = {
key: O,
counts: A
@@ -67699,14 +67767,14 @@ function iNe(e) {
let P = (0, S.useMemo)(() => u === "tags" ? T.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [T, u]), F = (0, S.useMemo)(() => u === "tags" && p === "alphabet" ? Xke(P, (t) => e.tagLabel(t)) : [], [
+ })) : [], [T, u]), F = (0, S.useMemo)(() => u === "tags" && p === "alphabet" ? Yke(P, (t) => e.tagLabel(t)) : [], [
P,
p,
u
]), I = (t) => {
i(t), e.savePreference({ layout: t });
- }, ee = u === "tags" ? /* @__PURE__ */ (0, C.jsx)(eW, {
- tabs: QMe,
+ }, ee = u === "tags" ? /* @__PURE__ */ (0, C.jsx)(tW, {
+ tabs: ZMe,
value: f,
label: "词表",
onChange: (e) => {
@@ -67716,8 +67784,8 @@ function iNe(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : $V(u) ? /* @__PURE__ */ (0, C.jsx)(eW, {
- tabs: ZMe,
+ }) : eH(u) ? /* @__PURE__ */ (0, C.jsx)(tW, {
+ tabs: XMe,
value: u,
label: "公司类型",
onChange: (e) => b({ kind: e })
@@ -67726,7 +67794,7 @@ function iNe(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : P.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, te = (g ? XV : YV).filter(N);
+ }, te = (g ? ZV : XV).filter(N);
return /* @__PURE__ */ (0, C.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -67741,22 +67809,22 @@ function iNe(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- QV(u) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ $V(u) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: w.isPending || w.isError ? "" : D
}) : null,
- QV(u) ? /* @__PURE__ */ (0, C.jsx)(tNe, {
+ $V(u) ? /* @__PURE__ */ (0, C.jsx)(eNe, {
kind: u,
layout: r,
onChange: I
}) : null,
- /* @__PURE__ */ (0, C.jsx)(HP, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, C.jsx)(WP, { kind: u === "tags" ? "tag" : u === "studios" ? "studio" : u === "agencies" ? "agency" : u === "creators" ? "creator" : "performer" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, C.jsx)(rNe, {
+ /* @__PURE__ */ (0, C.jsx)(nNe, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -67765,8 +67833,8 @@ function iNe(e) {
})
]
}),
- u === "performers" || u === "creators" ? /* @__PURE__ */ (0, C.jsx)(eW, {
- tabs: $Me,
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, C.jsx)(tW, {
+ tabs: QMe,
value: _ ? "online" : u,
label: "人物名册",
onChange: (t) => {
@@ -67780,8 +67848,8 @@ function iNe(e) {
ee,
u === "performers" && f === "local" ? /* @__PURE__ */ (0, C.jsx)("div", {
"aria-label": "身份分类",
- className: qV,
- children: KV.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(q, {
+ className: JV,
+ children: qV.filter((e) => e[0] === m || N(e)).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(q, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -67789,7 +67857,7 @@ function iNe(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, C.jsx)(YMe, {
+ u === "tags" ? /* @__PURE__ */ (0, C.jsx)(JMe, {
categories: te,
category: m,
online: g,
@@ -67814,8 +67882,8 @@ function iNe(e) {
mode: p
}) }
});
- if (w.isError) return /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: kP("alert"),
+ if (w.isError) return /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: jP("alert"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
@@ -67824,18 +67892,18 @@ function iNe(e) {
}),
children: Pt(w.error)
});
- if (!T.length) return /* @__PURE__ */ (0, C.jsx)(oNe, {
+ if (!T.length) return /* @__PURE__ */ (0, C.jsx)(aNe, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, C.jsx)($ke, {
+ if (_) return /* @__PURE__ */ (0, C.jsx)(Qke, {
items: T,
layout: r,
props: e
});
- if (QV(u)) return /* @__PURE__ */ (0, C.jsx)(cH, {
+ if ($V(u)) return /* @__PURE__ */ (0, C.jsx)(lH, {
kind: u,
items: T,
layout: r,
@@ -67846,10 +67914,10 @@ function iNe(e) {
picked: a,
press: L
};
- return p === "alphabet" ? /* @__PURE__ */ (0, C.jsx)(GMe, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, C.jsx)(WMe, {
groups: F,
actions: t
- }) : /* @__PURE__ */ (0, C.jsx)(qMe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(KMe, {
tags: P,
actions: t
});
@@ -67864,13 +67932,13 @@ function iNe(e) {
disabled: w.isFetchingNextPage,
"aria-busy": w.isFetchingNextPage || void 0,
onClick: () => void w.fetchNextPage(),
- children: w.isFetchingNextPage ? /* @__PURE__ */ (0, C.jsx)(hA, {
+ children: w.isFetchingNextPage ? /* @__PURE__ */ (0, C.jsx)(gA, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, C.jsx)(XMe, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, C.jsx)(YMe, {
count: a.size,
match: s,
onMatch: c,
@@ -67883,31 +67951,31 @@ function iNe(e) {
]
});
}
-var aNe = {
+var iNe = {
tags: "标签",
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所"
};
-function oNe({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: kP("search"),
+function aNe({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: jP("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, C.jsx)(fA, {
+ actions: /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : aNe[e], a = /* @__PURE__ */ (0, C.jsx)(fA, {
+ let i = n && e === "performers" ? "创作者" : iNe[e], a = /* @__PURE__ */ (0, C.jsx)(pA, {
variant: !r || n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: kP(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: jP(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "primary",
@@ -67917,15 +67985,15 @@ function oNe({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var nW = {
+var rW = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, sNe = (e) => nW[e.junk_kind || "other"] || nW.other;
-function cNe(e) {
+}, oNe = (e) => rW[e.junk_kind || "other"] || rW.other;
+function sNe(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -67936,21 +68004,21 @@ function cNe(e) {
glyph: "check"
};
}
-var rW = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), lNe = (e, t) => [
+var iW = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), cNe = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function uNe({ kind: e, view: t }) {
+function lNe({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function dNe(e, t) {
- let n = await H(`/api/ads?${uNe(e)}`, t);
+async function uNe(e, t) {
+ let n = await H(`/api/ads?${lNe(e)}`, t);
return {
...n,
items: n.items || []
@@ -67958,19 +68026,19 @@ async function dNe(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function iW({ name: e }) {
+function aW({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-var aW = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, S.useRef)(null), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = e.junk_kind || "other", [f, p] = sNe(e), m = String(e.name || ""), h = cNe(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]") || aW(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var oW = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function dNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, S.useRef)(null), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = e.junk_kind || "other", [f, p] = oNe(e), m = String(e.name || ""), h = sNe(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]") || oW(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), aW(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), oW(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
}, b = (t) => {
t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));
}, x = (t) => (n) => {
@@ -68001,7 +68069,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: jI,
+ onMouseDown: MI,
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-pic": "",
@@ -68009,7 +68077,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, C.jsx)(iW, { name: p }), /* @__PURE__ */ (0, C.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, C.jsx)(aW, { name: p }), /* @__PURE__ */ (0, C.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-art": "thumb",
@@ -68021,7 +68089,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, C.jsx)(iW, { name: "check" })
+ children: /* @__PURE__ */ (0, C.jsx)(aW, { name: "check" })
})
]
}),
@@ -68058,7 +68126,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Ao("正在定位") }
- }) : /* @__PURE__ */ (0, C.jsx)(iW, { name: "folder-open" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ }) : /* @__PURE__ */ (0, C.jsx)(aW, { name: "folder-open" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -68070,7 +68138,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...w(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, C.jsx)(iW, { name: h.glyph }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(aW, { name: h.glyph }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -68082,7 +68150,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...w("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, C.jsx)(iW, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(aW, { name: "trash" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -68097,7 +68165,7 @@ function fNe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var pNe = (0, S.memo)(fNe), oW = [
+var fNe = (0, S.memo)(dNe), sW = [
[
"",
"全部",
@@ -68133,65 +68201,65 @@ var pNe = (0, S.memo)(fNe), oW = [
"其它",
"hard-drive"
]
-], mNe = (e) => oW.find(([t]) => t === e)?.[0] ?? "";
-function sW(e) {
+], pNe = (e) => sW.find(([t]) => t === e)?.[0] ?? "";
+function cW(e) {
let t = new URLSearchParams(e);
return {
- kind: mNe(t.get("type")),
+ kind: pNe(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function cW(e = "", t = "pending") {
+function lW(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function lW(e) {
+function uW(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: cW("", "pending")
+ href: lW("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: cW("", "dismissed")
+ href: lW("", "dismissed")
};
}
-var uW = (e) => e === "dismissed" ? "已排除" : "待判断", dW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function hNe({ kind: e, view: t }) {
- let n = oW.map(([n, r, i]) => `<a href="${cW(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${dW(i)}${B(r)}</a>`).join(""), r = lW(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Eo(uW(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\"" : ""}>${dW(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var dW = (e) => e === "dismissed" ? "已排除" : "待判断", fW = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function mNe({ kind: e, view: t }) {
+ let n = sW.map(([n, r, i]) => `<a href="${lW(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${fW(i)}${B(r)}</a>`).join(""), r = uW(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Eo(dW(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\"" : ""}>${fW(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function fW({ name: e }) {
+function pW({ name: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
}
-function pW({ scope: e, count: t }) {
+function mW({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [" ", /* @__PURE__ */ (0, C.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function gNe({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = eF(), a = (0, S.useRef)(null), { kind: o, view: s } = e, c = bj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? oW.map(([e]) => rW(t, e)).join(",") : ""}`), l = lW(s), u = (e) => {
+function hNe({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = nF(), a = (0, S.useRef)(null), { kind: o, view: s } = e, c = Sj(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? sW.map(([e]) => iW(t, e)).join(",") : ""}`), l = uW(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") || cW()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || lW()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, C.jsx)(yU, {
- label: uW(s),
+ children: /* @__PURE__ */ (0, C.jsx)(bU, {
+ label: dW(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -68211,17 +68279,17 @@ function gNe({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- oW.map(([e, n, r]) => /* @__PURE__ */ (0, C.jsxs)("a", {
- href: cW(e, s),
+ sW.map(([e, n, r]) => /* @__PURE__ */ (0, C.jsxs)("a", {
+ href: lW(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, C.jsx)(fW, { name: r }),
+ /* @__PURE__ */ (0, C.jsx)(pW, { name: r }),
n,
- /* @__PURE__ */ (0, C.jsx)(pW, {
+ /* @__PURE__ */ (0, C.jsx)(mW, {
scope: e,
- count: t ? rW(t, e) : 0
+ count: t ? iW(t, e) : 0
})
]
}, e || "all")),
@@ -68235,9 +68303,9 @@ function gNe({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, C.jsx)(fW, { name: l.glyph }),
+ /* @__PURE__ */ (0, C.jsx)(pW, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, C.jsx)(pW, {
+ /* @__PURE__ */ (0, C.jsx)(mW, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -68250,33 +68318,33 @@ function gNe({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var _Ne = kP("check"), vNe = (e, t) => e[1] === t.view && e[2] === t.kind;
-function yNe(e) {
+var gNe = jP("check"), _Ne = (e, t) => e[1] === t.view && e[2] === t.kind;
+function vNe(e) {
let t = {
kind: e.kind,
view: e.view
}, n = pt({
- queryKey: lNe(t, e.revision),
- queryFn: ({ signal: e }) => dNe(t, e),
- placeholderData: (e, n) => n && vNe(n.queryKey, t) ? e : void 0
+ queryKey: cNe(t, e.revision),
+ queryFn: ({ signal: e }) => uNe(t, e),
+ placeholderData: (e, n) => n && _Ne(n.queryKey, t) ? e : void 0
});
(0, S.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = bNe(e.countRow), i = n.isPending;
+ let r = yNe(e.countRow), i = n.isPending;
(0, S.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, S.useLayoutEffect)(() => {
r && n.data && Vo(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(gNe, {
+ let { navigate: a } = e.actions, o = r ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(hNe, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [o, /* @__PURE__ */ (0, C.jsx)(xNe, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [o, /* @__PURE__ */ (0, C.jsx)(bNe, {
props: e,
data: n.data,
pending: i,
@@ -68284,7 +68352,7 @@ function yNe(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function bNe(e) {
+function yNe(e) {
let [t, n] = (0, S.useState)(null);
return (0, S.useLayoutEffect)(() => {
if (!e) return;
@@ -68294,8 +68362,8 @@ function bNe(e) {
};
}, [e]), t;
}
-function xNe({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = DI(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, S.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, S.useCallback)(() => {
+function bNe({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = kI(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, S.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, S.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -68303,14 +68371,14 @@ function xNe({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, C.jsx)(OI, {
+ if (!t) return /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: _Ne,
+ return /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: gNe,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有待检查文件。"
});
@@ -68320,7 +68388,7 @@ function xNe({ 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, C.jsx)(pNe, {
+ children: u.map((t) => /* @__PURE__ */ (0, C.jsx)(fNe, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -68329,7 +68397,7 @@ function xNe({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, C.jsx)(SNe, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, C.jsx)(xNe, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -68339,7 +68407,7 @@ function xNe({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function SNe({ onMore: e }) {
+function xNe({ onMore: e }) {
let t = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
let n = t.current;
@@ -68357,9 +68425,9 @@ function SNe({ onMore: e }) {
}
//#endregion
//#region src/react/jav/discovery-faces.tsx
-function CNe({ item: e }) {
+function SNe({ item: e }) {
let t = e.performer_refs?.length ? e.performer_refs : [...new Set(e.performers.split(/[,,、;/]/).filter(Boolean))].map((e) => ({ name: e })), n = t.slice(0, 5).map((t) => {
- let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, C.jsx)(nU, {
+ let n = t.source_avatar && t.source_actor_id && !t.has_image ? { children: /* @__PURE__ */ (0, C.jsx)(rU, {
code: e.code,
person: t
}) } : { dangerouslySetInnerHTML: { __html: ha(t.name, t, null) } };
@@ -68381,18 +68449,18 @@ function CNe({ item: e }) {
}
//#endregion
//#region src/react/jav/jav-navigation.ts
-var mW = [
+var hW = [
["library", "馆藏"],
["discover", "发现"],
["wants", "想要"]
-], hW = (e) => mW.some(([t]) => t === e) ? e : "library", wNe = (e) => hW(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function TNe(e) {
+], gW = (e) => hW.some(([t]) => t === e) ? e : "library", CNe = (e) => gW(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function wNe(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
//#endregion
//#region src/react/jav/discovery-sorts.ts
-var gW = [
+var _W = [
[
"taste",
"口味",
@@ -68419,10 +68487,10 @@ var gW = [
"按番号排序"
]
];
-function _W(e) {
+function vW(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function ENe(e) {
+function TNe(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -68448,8 +68516,8 @@ function ENe(e) {
}
//#endregion
//#region src/jav-skeleton.ts
-var vW = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, DNe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, yW = "w-full min-w-0";
-function bW() {
+var yW = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, ENe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, bW = "w-full min-w-0";
+function xW() {
return [
"w-20",
"w-16",
@@ -68459,8 +68527,8 @@ function bW() {
"w-24"
].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-7.5 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");
}
-function xW(e, t = bE()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${vW("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${DNe("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">${vW("80%")}${vW("60%")}${vW("40%")}</div></div>`).join("")}</div>`;
+function SW(e, t = bE()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${yW("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${ENe("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">${yW("80%")}${yW("60%")}${yW("40%")}</div></div>`).join("")}</div>`;
let n = TE({
...wE({
active: !0,
@@ -68469,16 +68537,16 @@ function xW(e, t = bE()) {
}),
size: t
});
- return `<div data-media-grid class="${yW}" 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="${bW}" 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>${vW("85%")}${vW("65%")}</div><div data-media-byline>${vW("55%")}</div>
+ <div data-media-title>${yW("85%")}${yW("65%")}</div><div data-media-byline>${yW("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 ONe(e) {
+function DNe(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>${vo({
@@ -68486,42 +68554,42 @@ function ONe(e) {
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${mW.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>
+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${hW.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}">${_o("筛选番号、女优或标题", "", 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>${vW("100%")}</div>${xW(e)}` : `<section class="flex min-w-0 flex-col gap-4">${kNe()}${xW(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>${yW("100%")}</div>${SW(e)}` : `<section class="flex min-w-0 flex-col gap-4">${ONe()}${SW(e)}</section>`}</div></div>`;
}
-function kNe() {
+function ONe() {
let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-7.5 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="" ${bE() === e ? "data-selected=\"true\"" : ""} class="flex size-7.5 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${ho(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>${bW()}</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>${xW()}</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>
${go()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${ho("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>
- ${gW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ho("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${_W.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? ho("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
//#endregion
//#region src/react/activity/work-code.ts
-var SW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), CW = (e, t) => !!SW(e) && SW(e) === SW(t);
+var CW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), wW = (e, t) => !!CW(e) && CW(e) === CW(t);
//#endregion
//#region src/react/activity/resource-search.tsx
-function ANe({ className: e }) {
+function kNe({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Ao("") }
});
}
-function jNe(e) {
+function ANe(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(() => jNe(t)), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(null), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(""), y = yA(), b = (0, S.useRef)(null);
+function jNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(() => ANe(t)), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(null), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(""), y = bA(), b = (0, S.useRef)(null);
(0, S.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -68537,7 +68605,7 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, H(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => CW(e.code, t));
+ let r = (n.items || []).find((e) => wW(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -68558,18 +68626,18 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
"aria-busy": !!y.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, C.jsxs)(kA, { children: [
+ t ? /* @__PURE__ */ (0, C.jsxs)(AA, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? ANe : Rk,
+ leadingIcon: y.busy ? kNe : zk,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -68579,7 +68647,7 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(jA, { children: "优先寻找" }), /* @__PURE__ */ (0, C.jsxs)(UF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MA, { children: "优先寻找" }), /* @__PURE__ */ (0, C.jsxs)(GF, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -68587,15 +68655,15 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, C.jsx)(WF, {
+ /* @__PURE__ */ (0, C.jsx)(KF, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, C.jsx)(WF, {
+ /* @__PURE__ */ (0, C.jsx)(KF, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, C.jsx)(WF, {
+ /* @__PURE__ */ (0, C.jsx)(KF, {
id: "uncensored",
children: "无码"
})
@@ -68604,32 +68672,32 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(DP, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, C.jsx)(TP, {
+ }), /* @__PURE__ */ (0, C.jsx)(DP, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, C.jsx)(kA, {
+ y.busy ? /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, C.jsx)(kA, {
+ y.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, C.jsx)(kA, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, C.jsx)(kA, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, C.jsx)(AA, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, C.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
@@ -68639,7 +68707,7 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -68664,19 +68732,19 @@ function MNe({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}
//#endregion
//#region src/react/activity/cloud-download-dialog.tsx
-var NNe = {
+var MNe = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function wW({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, C.jsx)(EP, {
+function TW({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, C.jsx)(OP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, C.jsx)(PNe, {
+ children: e ? /* @__PURE__ */ (0, C.jsx)(NNe, {
prefill: e,
close: t,
receipt: n,
@@ -68684,26 +68752,26 @@ function wW({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function PNe({ prefill: e, close: t, receipt: n, provider: r }) {
+function NNe({ prefill: e, close: t, receipt: n, provider: r }) {
let i = pt({
- queryKey: ej,
- queryFn: ({ signal: e }) => H(`${$A}?limit=50`, e),
- refetchInterval: (e) => tj(e.state.data)
+ queryKey: nj,
+ queryFn: ({ signal: e }) => H(`${tj}?limit=50`, e),
+ refetchInterval: (e) => rj(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, C.jsx)(Hj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Wj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, C.jsx)(q, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: Dk,
+ leadingIcon: Ok,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, C.jsx)(FNe, {
+ return a ? /* @__PURE__ */ (0, C.jsx)(PNe, {
header: o,
snapshot: a,
prefill: e,
@@ -68732,8 +68800,8 @@ function PNe({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = T(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, S.useState)(c?.key || "pikpak"), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(n.code ?? ""), [h, g] = (0, S.useState)(c?.target || ""), [_, v] = (0, S.useState)(n.code ? n : null), [y, b] = (0, S.useState)(""), x = t.available && s.some((e) => e.key === l), w = yA(), E = (0, S.useRef)(null), D = (e) => {
+function PNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = T(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, S.useState)(c?.key || "pikpak"), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(n.code ?? ""), [h, g] = (0, S.useState)(c?.target || ""), [_, v] = (0, S.useState)(n.code ? n : null), [y, b] = (0, S.useState)(""), x = t.available && s.some((e) => e.key === l), w = bA(), E = (0, S.useRef)(null), D = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, C.jsxs)("form", {
@@ -68749,14 +68817,14 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), w.run("submit", (e) => U($A, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: ej });
- let t = NNe[e.outcome];
+ b(""), w.run("submit", (e) => U(tj, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: nj });
+ let t = MNe[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = rj(e.task);
+ let n = aj(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -68780,7 +68848,7 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, C.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, C.jsx)(kA, { children: [
+ }), _ ? /* @__PURE__ */ (0, C.jsx)(AA, { children: [
_.performers,
_.studio,
_.release_date,
@@ -68788,22 +68856,22 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(MNe, {
+ /* @__PURE__ */ (0, C.jsx)(jNe, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- CW(e, _?.code) || (v(CW(e, n.code) ? n : null), f("")), m(e);
+ wW(e, _?.code) || (v(wW(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? CW(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? wW(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : CW(t?.code, n.code) ? t : null),
+ } : e : wW(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), E.current?.focus();
}
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
ref: E,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -68815,24 +68883,24 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "下载到" }),
- /* @__PURE__ */ (0, C.jsx)(UF, {
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "下载到" }),
+ /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "下载到",
selectedKey: l,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && D(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: s.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, C.jsx)(QA, {
+ children: /* @__PURE__ */ (0, C.jsx)($A, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, C.jsx)(kA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, C.jsx)(AA, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
t.available ? null : /* @__PURE__ */ (0, C.jsx)(J, {
@@ -68846,7 +68914,7 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -68854,17 +68922,17 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, C.jsx)(TP, {
+ n.code ? null : /* @__PURE__ */ (0, C.jsx)(DP, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), CW(e, _?.code) || v(null);
+ m(e), wW(e, _?.code) || v(null);
}
}),
- y || w.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: y || w.error }) : null
+ y || w.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: y || w.error }) : null
]
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -68885,18 +68953,18 @@ function FNe({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}
//#endregion
//#region src/react/wants/wants.ts
-var TW = "/api/wants", EW = ["wants"], INe = (e) => [
+var EW = "/api/wants", DW = ["wants"], FNe = (e) => [
"wants",
"follow",
e
-], LNe = [
+], INe = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], DW = (e) => H(TW, e);
-function RNe(e, t) {
- W.setQueryData(EW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], OW = (e) => H(EW, e);
+function LNe(e, t) {
+ W.setQueryData(DW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -68904,26 +68972,26 @@ function RNe(e, t) {
} : n)
} : n);
}
-var zNe = (e, t) => H(`${TW}?follow=${encodeURIComponent(e)}`, t), OW = (e, t) => U(TW, {
+var RNe = (e, t) => H(`${EW}?follow=${encodeURIComponent(e)}`, t), kW = (e, t) => U(EW, {
action: "add",
...e
-}, "POST", t), kW = (e, t) => U(TW, {
+}, "POST", t), AW = (e, t) => U(EW, {
action: "remove",
ids: e
-}, "POST", t), BNe = (e, t) => U(TW, {
+}, "POST", t), zNe = (e, t) => U(EW, {
action: "reset",
ids: e
-}, "POST", t), AW = () => W.invalidateQueries({ queryKey: EW }), jW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function VNe(e) {
+}, "POST", t), jW = () => W.invalidateQueries({ queryKey: DW }), MW = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function BNe(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} 次` : "还没查过";
}
//#endregion
//#region src/react/publication-cache.ts
-var MW = 864e5, NW = (e) => {
+var NW = 864e5, PW = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function PW(e) {
+function FW(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));
@@ -68931,26 +68999,26 @@ function PW(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function HNe(e, t = Date.now()) {
- let n = PW(e);
- return n !== void 0 && NW(t) > n ? Infinity : MW;
+function VNe(e, t = Date.now()) {
+ let n = FW(e);
+ return n !== void 0 && PW(t) > n ? Infinity : NW;
}
-function FW(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : HNe(t, n) === Infinity ? NW(e) > PW(t) : n - e < MW;
+function IW(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : VNe(t, n) === Infinity ? PW(e) > FW(t) : n - e < NW;
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var IW = "peach.want-resources.v1";
-function LW(e) {
+var LW = "peach.want-resources.v1";
+function RW(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function RW(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !LW(e) ? Date.now() - t < 6e4 : FW(t, n));
+function zW(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !RW(e) ? Date.now() - t < 6e4 : IW(t, n));
}
-function zW() {
+function BW() {
try {
- let e = JSON.parse(localStorage.getItem(IW) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && LW(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(LW) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && RW(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -68959,23 +69027,23 @@ function zW() {
return [];
}
}
-function UNe(e, t) {
- let n = zW().find((t) => t.code === e);
- return n && FW(n.saved, t) ? n : void 0;
+function HNe(e, t) {
+ let n = BW().find((t) => t.code === e);
+ return n && IW(n.saved, t) ? n : void 0;
}
-function WNe(e) {
- let t = new Map(zW().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function UNe(e) {
+ let t = new Map(BW().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 && FW(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && IW(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function GNe(e, t) {
- if (t.state === "ready" && LW(t)) try {
- let n = zW().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(IW, JSON.stringify([{
+function WNe(e, t) {
+ if (t.state === "ready" && RW(t)) try {
+ let n = BW().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(LW, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -68984,16 +69052,16 @@ function GNe(e, t) {
}
//#endregion
//#region src/react/wants/resource-display.ts
-function KNe(e) {
+function GNe(e) {
let t = /^([\d,]+)\s*B$/i.exec(e.trim());
return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? cn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";
}
-function qNe(e) {
+function KNe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function BW({ icon: e, children: t, title: n }) {
+function VW({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -69003,8 +69071,8 @@ function BW({ icon: e, children: t, title: n }) {
}), t]
});
}
-function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, S.useRef)(null), [c, l] = (0, S.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, S.useState)([]), f = yA(), p = T(), m = (0, S.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, S.useMemo)(() => UNe(h, e.release_date), [h, e.release_date]);
+function HW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, S.useRef)(null), [c, l] = (0, S.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, S.useState)([]), f = bA(), p = T(), m = (0, S.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, S.useMemo)(() => HNe(h, e.release_date), [h, e.release_date]);
(0, S.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -69024,22 +69092,22 @@ function VW({ 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 H(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", GNe(h, i), i;
+ return m.current = n && i.state === "busy", WNe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => RW(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => zW(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !RW(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !zW(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, S.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, S.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && RNe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && LNe(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -69047,7 +69115,7 @@ function VW({ 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 U($A, {
+ let n = await U(tj, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -69058,7 +69126,7 @@ function VW({ 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: ej });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: nj });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -69076,7 +69144,7 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Lk,
+ leadingIcon: Rk,
...Y(x),
onClick: () => {
x || (m.current = !0, _.refetch());
@@ -69084,7 +69152,7 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在查找资源链接…" }) : null,
+ x ? /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在查找资源链接…" }) : null,
w ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "资源链接未取得",
@@ -69092,13 +69160,13 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}) : null,
_.data?.warnings?.map((e) => /* @__PURE__ */ (0, C.jsx)(J, {
tone: "neutral",
- children: qNe(e)
+ children: KNe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, C.jsx)(fA, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: jk,
+ trailingIcon: Mk,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -69123,7 +69191,7 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(uA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -69137,26 +69205,26 @@ function VW({ 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, C.jsx)(BW, {
- icon: Xge,
+ /* @__PURE__ */ (0, C.jsx)(VW, {
+ icon: Yge,
children: e.source
}),
- /* @__PURE__ */ (0, C.jsx)(BW, {
- icon: Nk,
+ /* @__PURE__ */ (0, C.jsx)(VW, {
+ icon: Pk,
title: `来源大小:${e.size}`,
- children: KNe(e.size)
+ children: GNe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, C.jsx)(BW, {
- icon: zge,
+ e.files ? /* @__PURE__ */ (0, C.jsx)(VW, {
+ icon: Rge,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, C.jsx)(BW, {
- icon: Dge,
+ /* @__PURE__ */ (0, C.jsx)(VW, {
+ icon: Ege,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, C.jsx)(BW, {
- icon: Ik,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, C.jsx)(VW, {
+ icon: Lk,
children: e
}, e))
]
@@ -69168,7 +69236,7 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
e.protocol === "magnet" ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "primary",
size: "small",
- leadingIcon: v ? ZA[v.key] : Pge,
+ leadingIcon: v ? QA[v.key] : Nge,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
...Y(f.busy === e.id),
@@ -69178,16 +69246,16 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, C.jsx)(q, {
variant: e.protocol === "magnet" ? "secondary" : "primary",
size: "small",
- leadingIcon: Lge,
+ leadingIcon: Ige,
...Y(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
}),
- /* @__PURE__ */ (0, C.jsx)(fA, {
+ /* @__PURE__ */ (0, C.jsx)(pA, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: jk,
+ trailingIcon: Mk,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -69200,7 +69268,7 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, C.jsx)(FA, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, C.jsx)(IA, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, C.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -69213,21 +69281,21 @@ function VW({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}
//#endregion
//#region src/react/wants/want-list.tsx
-var JNe = {
+var qNe = {
code: "手动添加",
feed: "订阅新作",
follow: "关注"
-}, YNe = [
+}, JNe = [
["all", "全部"],
["available", "有磁链"],
["missing", "没磁链"]
-], HW = (e) => [
+], UW = (e) => [
e.release_date,
e.studio,
e.performers,
- JNe[e.origin]
+ qNe[e.origin]
].filter(Boolean).join(" · ");
-function XNe({ want: e }) {
+function YNe({ want: e }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
@@ -69243,39 +69311,39 @@ function XNe({ want: e }) {
}) : null]
});
}
-function ZNe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function XNe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
let [l, u] = (0, S.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-want-id": e.id,
- className: pA({
+ className: mA({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, C.jsx)(XNe, { want: e }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(YNe, { want: e }), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, C.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, C.jsx)("b", {
className: "min-w-0 text-headline-medium wrap-anywhere text-text-primary",
- children: jW(e)
+ children: MW(e)
}), e.code && e.title ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- HW(e) ? /* @__PURE__ */ (0, C.jsx)("p", {
+ UW(e) ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: HW(e)
+ children: UW(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: VNe(e)
+ children: BNe(e)
}) : null,
- e.scrape_error ? /* @__PURE__ */ (0, C.jsx)(LU, {
+ e.scrape_error ? /* @__PURE__ */ (0, C.jsx)(RU, {
text: e.scrape_error,
prefix: "资料未取得:",
tone: "muted"
@@ -69300,17 +69368,17 @@ function ZNe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Ak,
+ leadingIcon: jk,
disabled: t,
...Y(n === `remove:${e.id}`),
onClick: i,
children: "移除"
}),
- d ? /* @__PURE__ */ (0, C.jsx)(fA, {
+ d ? /* @__PURE__ */ (0, C.jsx)(pA, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: jk,
+ trailingIcon: Mk,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -69320,7 +69388,7 @@ function ZNe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, C.jsx)(VW, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, C.jsx)(HW, {
want: e,
readOnly: t,
downloads: o,
@@ -69330,8 +69398,8 @@ function ZNe({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function QNe({ phase: e, label: t, rows: n, row: r }) {
- let [i, a] = (0, S.useState)(1), [o, s] = (0, S.useState)("all"), c = WNe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = hr(d.length, 20, i);
+function ZNe({ phase: e, label: t, rows: n, row: r }) {
+ let [i, a] = (0, S.useState)(1), [o, s] = (0, S.useState)("all"), c = UNe(n), l = (e) => e.has_magnets ?? c.get(e.code || "") ?? !1, u = n.filter(l), d = e !== "searching" || o === "all" ? n : n.filter((e) => l(e) === (o === "available")), f = hr(d.length, 20, i);
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": t,
"data-want-phase": e,
@@ -69345,19 +69413,19 @@ function QNe({ phase: e, label: t, rows: n, row: r }) {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: n.length.toLocaleString()
})]
- }), e === "searching" ? /* @__PURE__ */ (0, C.jsx)(YF, {
+ }), e === "searching" ? /* @__PURE__ */ (0, C.jsx)(ZF, {
name: "want-magnet-filter",
"aria-label": "待找磁链筛选",
orientation: "horizontal",
value: o,
- className: XF,
+ className: QF,
onChange: (e) => {
s(e), a(1);
},
- children: YNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(NN, {
+ children: JNe.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(FN, {
value: e,
"aria-label": t,
- className: ZF,
+ className: $F,
children: [t, /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular tabular-nums text-text-tertiary",
children: (e === "all" ? n.length : e === "available" ? u.length : n.length - u.length).toLocaleString()
@@ -69365,9 +69433,9 @@ function QNe({ phase: e, label: t, rows: n, row: r }) {
}, e))
}) : null]
}),
- d.length ? null : /* @__PURE__ */ (0, C.jsx)(mA, {
+ d.length ? null : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: t_e,
+ icon: e_e,
title: "暂无符合条件的作品",
children: null
}),
@@ -69381,7 +69449,7 @@ function QNe({ phase: e, label: t, rows: n, row: r }) {
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular tabular-nums text-text-secondary",
children: `${(f.start + 1).toLocaleString()}–${f.end.toLocaleString()} / ${f.total.toLocaleString()} 条`
- }), /* @__PURE__ */ (0, C.jsx)(pz, {
+ }), /* @__PURE__ */ (0, C.jsx)(mz, {
label: `${t}分页`,
page: f.page,
pages: f.pages,
@@ -69391,34 +69459,34 @@ function QNe({ phase: e, label: t, rows: n, row: r }) {
]
});
}
-function $Ne({ readOnly: e, toast: t, query: n = "" }) {
- let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), s = yA(), c = pt({
- queryKey: EW,
- queryFn: ({ signal: e }) => DW(e),
+function QNe({ readOnly: e, toast: t, query: n = "" }) {
+ let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(null), s = bA(), c = pt({
+ queryKey: DW,
+ queryFn: ({ signal: e }) => OW(e),
staleTime: 3e4,
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- n && !e && s.run("add", (e) => OW({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${jW(e.want)}` : `${jW(e.want)} 已经在想要里`), i(""), AW();
+ n && !e && s.run("add", (e) => kW({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${MW(e.want)}` : `${MW(e.want)} 已经在想要里`), i(""), jW();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => kW([e.id], t), () => {
- t(`已移除:${jW(e)}`), AW();
+ s.run(`remove:${e.id}`, (t) => AW([e.id], t), () => {
+ t(`已移除:${MW(e)}`), jW();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => BNe([e.id], t), () => {
- t(`${jW(e)} 回到待找`), AW();
+ s.run(`reset:${e.id}`, (t) => zNe([e.id], t), () => {
+ t(`${MW(e)} 回到待找`), jW();
});
}, p = c.data, m = (p?.items || []).filter((e) => !n || [
e.code,
e.title,
e.performers
].join(" ").toLocaleLowerCase().includes(n.toLocaleLowerCase())), h = pt({
- queryKey: ej,
- queryFn: ({ signal: e }) => H(`${$A}?limit=100`, e),
+ queryKey: nj,
+ queryFn: ({ signal: e }) => H(`${tj}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g[0]?.key || "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -69426,7 +69494,7 @@ function $Ne({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -69439,7 +69507,7 @@ function $Ne({ readOnly: e, toast: t, query: n = "" }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -69470,9 +69538,9 @@ function $Ne({ readOnly: e, toast: t, query: n = "" }) {
c.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取想要",
- dangerouslySetInnerHTML: { __html: xW("wants") }
+ dangerouslySetInnerHTML: { __html: SW("wants") }
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, C.jsx)(kA, {
+ p?.scraping ? /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -69492,19 +69560,19 @@ function $Ne({ readOnly: e, toast: t, query: n = "" }) {
tone: "neutral",
children: "云下载只在允许修改数据库的设备上可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, C.jsx)(mA, {
+ p && !m.length ? /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: t_e,
+ icon: e_e,
title: n ? "没有符合条件的作品" : "还没有想要的作品",
children: n ? "试试其他番号、女优或标题。" : "输入番号,添加想看的作品。"
}) : null,
- LNe.map(([n, r]) => {
+ INe.map(([n, r]) => {
let i = m.filter((e) => e.phase === n);
- return i.length ? /* @__PURE__ */ (0, C.jsx)(QNe, {
+ return i.length ? /* @__PURE__ */ (0, C.jsx)(ZNe, {
phase: n,
label: r,
rows: i,
- row: (n) => /* @__PURE__ */ (0, C.jsx)(ZNe, {
+ row: (n) => /* @__PURE__ */ (0, C.jsx)(XNe, {
want: n,
readOnly: e,
busy: s.busy,
@@ -69525,7 +69593,7 @@ function $Ne({ readOnly: e, toast: t, query: n = "" }) {
}, n.id)
}, n) : null;
}),
- /* @__PURE__ */ (0, C.jsx)(wW, {
+ /* @__PURE__ */ (0, C.jsx)(TW, {
prefill: a,
close: () => o(null),
receipt: t,
@@ -69536,13 +69604,13 @@ function $Ne({ readOnly: e, toast: t, query: n = "" }) {
}
//#endregion
//#region src/react/jav/jav.ts
-var UW = (e, t = "taste", n = "desc") => [
+var WW = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function WW(e, t, n = {}) {
+function GW(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -69551,29 +69619,29 @@ function WW(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"), H(`/api/jav/discoveries?${r}`, t);
}
-function GW(e, t, n) {
+function KW(e, t, n) {
let r = Sa({
...e,
is_jav: !0
}, t, !1, n);
return r.html || !e.cover_url ? r.html : ba(e, t).replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-jav-image="${e.id}" data-jav-cover="${B(e.cover_url)}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`);
}
-async function ePe(e, t) {
+async function $Ne(e, t) {
e === "wants" ? await W.ensureQueryData({
- queryKey: EW,
- queryFn: () => DW(t),
+ queryKey: DW,
+ queryFn: () => OW(t),
staleTime: 3e4,
revalidateIfStale: !0
}) : e === "discover" && await W.ensureQueryData({
- queryKey: UW("external"),
- queryFn: () => WW("external", t),
+ queryKey: WW("external"),
+ queryFn: () => GW("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
//#endregion
//#region src/react/jav/jav-header.tsx
-function KW({ tab: e, navigate: t, find: n }) {
+function qW({ tab: e, navigate: t, find: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -69587,25 +69655,25 @@ function KW({ tab: e, navigate: t, find: n }) {
onClick: n,
children: "查找资源"
})]
- }), /* @__PURE__ */ (0, C.jsx)(eW, {
- tabs: mW.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, C.jsx)(tW, {
+ tabs: hW.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(wNe(e))
+ onChange: (e) => t(CNe(e))
})]
});
}
-function tPe({ navigate: e, receipt: t }) {
+function ePe({ navigate: e, receipt: t }) {
let [n, r] = (0, S.useState)(null);
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(KW, {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(qW, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, C.jsx)(wW, {
+ }), /* @__PURE__ */ (0, C.jsx)(TW, {
prefill: n,
close: () => r(null),
receipt: t
@@ -69613,8 +69681,8 @@ function tPe({ navigate: e, receipt: t }) {
}
//#endregion
//#region src/react/jav/jav-page.tsx
-var nPe = kP("search"), rPe = kP("x"), iPe = kP("refresh-cw");
-function qW(e) {
+var tPe = jP("search"), nPe = jP("x"), rPe = jP("refresh-cw");
+function JW(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
vk(location.pathname + (t.size ? `?${t}` : ""), {
@@ -69622,14 +69690,14 @@ function qW(e) {
state: _k.navigation.location.state
});
}
-function aPe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
+function iPe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
let [i, a] = (0, S.useState)(null), [o, s] = (0, S.useState)(() => new URLSearchParams(location.search).get("q") || ""), c = (e) => {
- s(e), qW({ q: e });
+ s(e), JW({ q: e });
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex w-full flex-col gap-6",
children: [
- /* @__PURE__ */ (0, C.jsx)(KW, {
+ /* @__PURE__ */ (0, C.jsx)(qW, {
tab: e,
navigate: n,
find: () => a({})
@@ -69639,29 +69707,29 @@ function aPe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
onSubmit: (e) => {
e.preventDefault();
},
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
type: "search",
"aria-label": e === "discover" ? "筛选推荐" : "筛选想要",
placeholder: "筛选番号、女优或标题",
- leadingIcon: nPe,
+ leadingIcon: tPe,
value: o,
onChange: c,
enterKeyHint: "search"
})
}),
- e === "discover" ? /* @__PURE__ */ (0, C.jsx)(oPe, {
+ e === "discover" ? /* @__PURE__ */ (0, C.jsx)(aPe, {
readOnly: t,
receipt: r,
resource: a,
query: o.trim(),
navigate: n,
clearText: () => c("")
- }) : /* @__PURE__ */ (0, C.jsx)($Ne, {
+ }) : /* @__PURE__ */ (0, C.jsx)(QNe, {
readOnly: t,
toast: r,
query: o.trim()
}),
- /* @__PURE__ */ (0, C.jsx)(wW, {
+ /* @__PURE__ */ (0, C.jsx)(TW, {
prefill: i,
close: () => a(null),
receipt: r
@@ -69669,15 +69737,15 @@ function aPe({ tab: e, readOnly: t, navigate: n, receipt: r }) {
]
});
}
-function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
- let o = new URLSearchParams(location.search), [s, c] = (0, S.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, S.useState)(() => o.get("tag") || ""), [d, f] = (0, S.useState)(() => gW.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, S.useState)(() => o.get("dir") === "asc"), h = (e) => {
- c(e), qW({ scope: e === "external" ? "" : e });
+function aPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clearText: a }) {
+ let o = new URLSearchParams(location.search), [s, c] = (0, S.useState)(() => o.get("scope") === "library" ? "library" : "external"), [l, u] = (0, S.useState)(() => o.get("tag") || ""), [d, f] = (0, S.useState)(() => _W.some(([e]) => e === o.get("sort")) ? o.get("sort") : "taste"), [p, m] = (0, S.useState)(() => o.get("dir") === "asc"), h = (e) => {
+ c(e), JW({ scope: e === "external" ? "" : e });
}, g = (e) => {
- u(e), qW({ tag: e });
+ u(e), JW({ tag: e });
}, _ = (e) => {
- f(e), qW({ sort: e === "taste" ? "" : e });
+ f(e), JW({ sort: e === "taste" ? "" : e });
}, v = (e) => {
- m(e), qW({ dir: e ? "asc" : "" });
+ m(e), JW({ dir: e ? "asc" : "" });
}, y = (0, S.useRef)(null);
(0, S.useEffect)(() => {
let e = [...y.current?.querySelectorAll("[data-catalog-scroll],[data-catalog-tags],[data-filter-row=\"bottom\"]") || []].map((e) => us(e, { drag: !0 }));
@@ -69690,12 +69758,12 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
home: !1,
portrait: !1
})), T = (0, S.useRef)({}), E = (0, S.useRef)(!1), D = (0, S.useRef)(!1), O = p ? "asc" : "desc", k = pt({
- queryKey: UW(s, d, O),
+ queryKey: WW(s, d, O),
retry: !1,
refetchOnWindowFocus: !1,
queryFn: ({ signal: e }) => {
let t = E.current, n = D.current;
- return E.current = !1, D.current = !1, WW(s, e, {
+ return E.current = !1, D.current = !1, GW(s, e, {
sort: d,
direction: O,
jobId: t ? void 0 : T.current[s],
@@ -69708,7 +69776,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
(0, S.useEffect)(() => {
A?.job_id && (T.current[s] = A.job_id);
}, [s, A?.job_id]);
- let j = yA(), M = yA(), N = (e) => {
+ let j = bA(), M = bA(), N = (e) => {
M.run(e, async () => (D.current = e === "stop", E.current = e !== "stop", k.refetch({
cancelRefetch: !0,
throwOnError: !0
@@ -69727,7 +69795,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"aria-busy": ee,
className: "flex min-w-0 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, C.jsx)(hj, {
+ /* @__PURE__ */ (0, C.jsx)(_j, {
label: "发现筛选与排序",
topLabel: "发现范围与标签",
attrs: {
@@ -69742,7 +69810,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-catalog-scroll": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-catalog-views": "",
- children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(gj, {
+ children: [[["external", "库外发现"], ["library", "馆藏探索"]].map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(vj, {
"data-entity-tag": e,
"data-entity-press": "",
pressed: s === e,
@@ -69756,8 +69824,8 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
})]
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-catalog-tags": "",
- dangerouslySetInnerHTML: ee ? { __html: bW() } : void 0,
- children: ee ? null : F.map((e) => /* @__PURE__ */ (0, C.jsxs)(gj, {
+ dangerouslySetInnerHTML: ee ? { __html: xW() } : void 0,
+ children: ee ? null : F.map((e) => /* @__PURE__ */ (0, C.jsxs)(vj, {
"data-catalog-tag": e,
"data-entity-press": "",
pressed: l === e,
@@ -69778,8 +69846,8 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
className: "relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"
}) : `${I.length} 部`
}),
- /* @__PURE__ */ (0, C.jsx)(HP, { currentHref: () => location.pathname + location.search }),
- r || l ? /* @__PURE__ */ (0, C.jsx)(_j, {
+ /* @__PURE__ */ (0, C.jsx)(WP, { currentHref: () => location.pathname + location.search }),
+ r || l ? /* @__PURE__ */ (0, C.jsx)(yj, {
onPress: () => {
g(""), a();
},
@@ -69788,24 +69856,24 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-entity-sorts": "",
children: [
- s === "external" ? /* @__PURE__ */ (0, C.jsx)(mj, {
+ s === "external" ? /* @__PURE__ */ (0, C.jsx)(gj, {
"data-entity-batch": "",
"data-jav-metadata-update": "",
label: A?.status === "running" ? "停止读取" : "更新资料",
disabled: ee,
"data-skeleton-action": ee ? "" : void 0,
busy: !!M.busy,
- icon: A?.status === "running" ? rPe : iPe,
+ icon: A?.status === "running" ? nPe : rPe,
onPress: () => N(A?.status === "running" ? "stop" : "update")
}) : null,
- /* @__PURE__ */ (0, C.jsx)(xI, {
+ /* @__PURE__ */ (0, C.jsx)(CI, {
label: "JAV 卡片版式",
value: x,
options: _E,
onChange: wue
}),
- /* @__PURE__ */ (0, C.jsx)(CI, {
- sorts: gW.map(([e, t, n]) => ({
+ /* @__PURE__ */ (0, C.jsx)(TI, {
+ sorts: _W.map(([e, t, n]) => ({
key: e,
label: t,
ariaLabel: n,
@@ -69823,7 +69891,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
ee ? /* @__PURE__ */ (0, C.jsx)("div", {
role: "status",
"aria-label": "正在读取推荐",
- dangerouslySetInnerHTML: { __html: xW("discover", x) }
+ dangerouslySetInnerHTML: { __html: SW("discover", x) }
}) : null,
k.error ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
@@ -69833,7 +69901,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
s === "external" && A?.status === "running" ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-jav-metadata": "",
className: "min-w-0",
- children: /* @__PURE__ */ (0, C.jsx)(jF, {
+ children: /* @__PURE__ */ (0, C.jsx)(NF, {
embedded: !0,
label: `正在读取作品资料 · ${A.completed} / ${A.total} 部`,
value: A.completed,
@@ -69854,11 +69922,11 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
tone: "error",
children: M.error
}) : null,
- !ee && !k.error && !I.length ? /* @__PURE__ */ (0, C.jsx)(mA, {
+ !ee && !k.error && !I.length ? /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Ok,
+ icon: kk,
title: r || l ? "没有符合条件的推荐" : "暂无匹配口味的作品",
- actions: /* @__PURE__ */ (0, C.jsx)(fA, {
+ actions: /* @__PURE__ */ (0, C.jsx)(pA, {
href: "/taste",
variant: "secondary",
children: "查看口味"
@@ -69871,13 +69939,13 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
"data-media-grid": "",
- className: yW,
+ className: bW,
style: { "--card-ratio": w },
children: I.map((r) => {
- let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = GW(r, x, b.value.javImage), s = ENe(r.taste_score ?? r.score), c = [
+ let a = r.performer_refs?.length ? r.performer_refs.map((e) => e.name).join("、") : r.performers, o = KW(r, x, b.value.javImage), s = TNe(r.taste_score ?? r.score), c = [
s.label,
- `口味 ${_W(r.taste_score ?? r.score)}`,
- k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${_W(r.ranking_score)}` : "",
+ `口味 ${vW(r.taste_score ?? r.score)}`,
+ k.data?.ranking_method === "mmr" && r.ranking_score != null ? `排序 ${vW(r.ranking_score)}` : "",
r.source_score == null ? "" : `来源评分 ${r.source_score.toFixed(1)} / 5`,
...r.reasons || []
].filter(Boolean).join(" · ");
@@ -69897,12 +69965,12 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
"data-media-pic": "",
"data-jav-cover-box": "",
className: "relative inline-grid place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default",
- children: o ? /* @__PURE__ */ (0, C.jsx)(kI, {
+ children: o ? /* @__PURE__ */ (0, C.jsx)(ej, {
artwork: {
kind: "cover",
html: o
},
- identity: GW(r, "small", b.value.javImage),
+ identity: KW(r, "small", b.value.javImage),
relayout: (e) => gc(e, x)
}) : /* @__PURE__ */ (0, C.jsx)("span", {
"data-media-nopic": "",
@@ -69911,7 +69979,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-meta": "",
- children: [/* @__PURE__ */ (0, C.jsx)(CNe, { item: r }), /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(SNe, { item: r }), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-text": "",
children: [
/* @__PURE__ */ (0, C.jsxs)("h3", {
@@ -69973,7 +70041,7 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
title: c,
"aria-label": `推荐分 ${s.score},${s.label}`,
className: "rounded-md outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, C.jsx)(uA, {
+ children: /* @__PURE__ */ (0, C.jsx)(dA, {
color: s.color,
children: s.label
})
@@ -70006,16 +70074,16 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
disabled: e || r.wanted || !!r.asset_id,
...Y(j.busy === String(r.id)),
onClick: () => {
- j.run(String(r.id), (e) => OW({ code: r.code }, e), () => {
- t("已加入想要"), AW(), k.refetch();
+ j.run(String(r.id), (e) => kW({ code: r.code }, e), () => {
+ t("已加入想要"), jW(), k.refetch();
});
},
children: r.asset_id ? "已入库" : r.wanted ? "已加入想要" : "想要"
}),
- r.link ? /* @__PURE__ */ (0, C.jsx)(fA, {
+ r.link ? /* @__PURE__ */ (0, C.jsx)(pA, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: jk,
+ trailingIcon: Mk,
href: r.link,
target: "_blank",
rel: "noopener noreferrer",
@@ -70032,32 +70100,32 @@ function oPe({ readOnly: e, receipt: t, resource: n, query: r, navigate: i, clea
}
//#endregion
//#region src/react/playlists/playlists.ts
-var sPe = "/api/playlists", JW = "/api/playlist", YW = ["playlists"], XW = (e) => H(sPe, e);
-async function cPe(e) {
+var oPe = "/api/playlists", YW = "/api/playlist", XW = ["playlists"], ZW = (e) => H(oPe, e);
+async function sPe(e) {
await W.fetchQuery({
- queryKey: YW,
- queryFn: () => XW(e),
+ queryKey: XW,
+ queryFn: () => ZW(e),
staleTime: 0
});
}
-var ZW = () => W.invalidateQueries({
- queryKey: YW,
+var QW = () => W.invalidateQueries({
+ queryKey: XW,
exact: !0
-}), lPe = (e) => e.current_asset_id || e.preview_asset_id || null, QW = (e) => `/poster?id=${e}&c=4`, uPe = (e) => U(JW, {
+}), cPe = (e) => e.current_asset_id || e.preview_asset_id || null, $W = (e) => `/poster?id=${e}&c=4`, lPe = (e) => U(YW, {
action: "create",
name: e,
asset_ids: []
-}), $W = (e, t) => U(JW, {
+}), eG = (e, t) => U(YW, {
action: "rename",
id: e,
name: t
-}), eG = (e) => U(JW, {
+}), tG = (e) => U(YW, {
action: "delete",
id: e
-}), dPe = (e) => H(`${JW}?id=${e}`).catch(() => null);
-function fPe(e) {
+}), uPe = (e) => H(`${YW}?id=${e}`).catch(() => null);
+function dPe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return U(JW, {
+ return U(YW, {
action: "create",
name: e.name,
asset_ids: t,
@@ -70067,18 +70135,18 @@ function fPe(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var pPe = kP("ellipsis"), mPe = kP("pencil"), hPe = kP("trash"), gPe = kP("playlist"), tG = sA(qP, JP, "text-body-2-medium"), nG = "播放列表名称不能为空", rG = (e) => async () => {
+var fPe = jP("ellipsis"), pPe = jP("pencil"), mPe = jP("trash"), hPe = jP("playlist"), nG = cA(YP, XP, "text-body-2-medium"), rG = "播放列表名称不能为空", iG = (e) => async () => {
try {
await e();
} finally {
- ZW();
+ QW();
}
};
-function _Pe({ toast: e }) {
+function gPe({ toast: e }) {
let [t, n] = (0, S.useState)(""), [r, i] = (0, S.useState)(""), a = mt({
- mutationFn: (e) => uPe(e),
+ mutationFn: (e) => lPe(e),
onSuccess: (t) => {
- n(""), i(""), ZW(), e("已新建播放列表", { undo: rG(() => eG(t.playlist.id)) });
+ n(""), i(""), QW(), e("已新建播放列表", { undo: iG(() => tG(t.playlist.id)) });
},
onError: (e) => i(V(e) || "新建失败")
});
@@ -70086,12 +70154,12 @@ function _Pe({ toast: e }) {
"data-playlist-create": "",
"aria-label": "新建播放列表",
onSubmit: (e) => {
- e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(nG));
+ e.preventDefault(), !a.isPending && (t.trim() ? a.mutate(t) : i(rG));
},
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -70110,7 +70178,7 @@ function _Pe({ toast: e }) {
})]
});
}
-function vPe({ target: e, close: t, toast: n }) {
+function _Pe({ target: e, close: t, toast: n }) {
let [r, i] = (0, S.useState)(""), [a, o] = (0, S.useState)(""), s = (0, S.useRef)(null);
(0, S.useEffect)(() => {
if (!e) return;
@@ -70121,13 +70189,13 @@ function vPe({ target: e, close: t, toast: n }) {
return () => cancelAnimationFrame(t);
}, [e]);
let c = mt({
- mutationFn: ({ row: e, value: t }) => $W(e.id, t),
+ mutationFn: ({ row: e, value: t }) => eG(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), ZW(), n("已重命名播放列表", { undo: rG(() => $W(r.id, r.name)) });
+ t(), QW(), n("已重命名播放列表", { undo: iG(() => eG(r.id, r.name)) });
},
onError: (e) => o(V(e))
});
- return /* @__PURE__ */ (0, C.jsx)(EP, {
+ return /* @__PURE__ */ (0, C.jsx)(OP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -70141,16 +70209,16 @@ function vPe({ target: e, close: t, toast: n }) {
n ? c.mutate({
row: e,
value: n
- }) : o(nG);
+ }) : o(rG);
},
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, C.jsx)(Hj, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Wj, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, C.jsx)(TP, {
+ }), /* @__PURE__ */ (0, C.jsx)(DP, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -70178,7 +70246,7 @@ function vPe({ target: e, close: t, toast: n }) {
})
});
}
-function yPe({ name: e, onRename: t, onDelete: n }) {
+function vPe({ name: e, onRename: t, onDelete: n }) {
let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -70192,33 +70260,33 @@ function yPe({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, C.jsx)(pPe, {
+ children: /* @__PURE__ */ (0, C.jsx)(fPe, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: KP,
- children: /* @__PURE__ */ (0, C.jsxs)(CF, {
+ className: JP,
+ children: /* @__PURE__ */ (0, C.jsxs)(TF, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: tG,
+ className: nG,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, C.jsx)(mPe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(pPe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
- className: tG,
+ className: nG,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, C.jsx)(hPe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(mPe, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -70226,13 +70294,13 @@ function yPe({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function bPe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+function yPe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
let a = pt({
- queryKey: YW,
- queryFn: ({ signal: e }) => XW(e)
+ queryKey: XW,
+ queryFn: ({ signal: e }) => ZW(e)
}), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(i);
(0, S.useEffect)(() => {
- c.current !== i && (c.current = i, ZW());
+ c.current !== i && (c.current = i, QW());
}, [i]);
let l = a.data, u = l?.items ?? [], d = (e) => {
Rs({
@@ -70241,8 +70309,8 @@ function bPe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await dPe(e.id);
- await eG(e.id), ZW(), r("已删除播放列表", t ? { undo: rG(() => fPe(t)) } : void 0);
+ let t = await uPe(e.id);
+ await tG(e.id), QW(), r("已删除播放列表", t ? { undo: iG(() => dPe(t)) } : void 0);
}
});
};
@@ -70257,7 +70325,7 @@ function bPe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, C.jsx)(_Pe, { toast: r })]
+ })] }), /* @__PURE__ */ (0, C.jsx)(gPe, { toast: r })]
}),
/* @__PURE__ */ (0, C.jsx)("div", {
className: "mx-auto w-full max-w-board",
@@ -70265,36 +70333,36 @@ function bPe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = lPe(r), a = r.name.trim() || "未命名播放列表";
- return /* @__PURE__ */ (0, C.jsx)(HI, {
+ let i = cPe(r), a = r.name.trim() || "未命名播放列表";
+ return /* @__PURE__ */ (0, C.jsx)(UI, {
"data-playlist-card": String(r.id),
name: a,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? QW(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(QW),
+ poster: r.preview_asset_id ? $W(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map($W),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${a}`,
- menu: /* @__PURE__ */ (0, C.jsx)(yPe, {
+ menu: /* @__PURE__ */ (0, C.jsx)(vPe, {
name: a,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: gPe,
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: hPe,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
- }) : a.isError ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ }) : a.isError ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: V(a.error) || "播放列表读取失败",
onRetry: () => void a.refetch()
}) : null
}),
- /* @__PURE__ */ (0, C.jsx)(vPe, {
+ /* @__PURE__ */ (0, C.jsx)(_Pe, {
target: o,
close: () => s(null),
toast: r
@@ -70304,11 +70372,11 @@ function bPe({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function xPe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function bPe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, C.jsxs)("li", {
"data-goal-id": e.id,
- className: pA({
+ className: mA({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -70324,7 +70392,7 @@ function xPe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, C.jsx)("img", {
- src: Hz(e),
+ src: Uz(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -70372,7 +70440,7 @@ function xPe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
origin: `asset:${e.id}`,
searchReason: e.reason || "",
duration: e.duration,
- cover: Hz(e)
+ cover: Uz(e)
}),
children: "查找资源"
}) : null, /* @__PURE__ */ (0, C.jsx)(q, {
@@ -70384,26 +70452,26 @@ function xPe({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function SPe({ toast: e, ...t }) {
+function xPe({ toast: e, ...t }) {
let [n, r] = (0, S.useState)(null), i = pt({
- queryKey: Bz,
- queryFn: ({ signal: e }) => Vz(e)
+ queryKey: Vz,
+ queryFn: ({ signal: e }) => Hz(e)
}), a = i.data;
- if (!a) return /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
+ if (!a) return /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "高清版目标读取失败",
children: i.error ? V(i.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let o = a.items || [];
- return o.length ? /* @__PURE__ */ (0, C.jsxs)(gA, { children: [
- /* @__PURE__ */ (0, C.jsx)(yU, {
+ return o.length ? /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
+ /* @__PURE__ */ (0, C.jsx)(bU, {
label: "待升级",
figure: `${Number(a.total || 0).toLocaleString()} 部作品`,
flush: !0
}),
/* @__PURE__ */ (0, C.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: o.map((e) => /* @__PURE__ */ (0, C.jsx)(xPe, {
+ children: o.map((e) => /* @__PURE__ */ (0, C.jsx)(bPe, {
item: e,
...t,
searchResources: r
@@ -70413,22 +70481,22 @@ function SPe({ toast: e, ...t }) {
className: "mt-6 text-center text-caption-1-regular text-text-secondary",
children: `显示前 ${o.length.toLocaleString()} 部,共 ${Number(a.total).toLocaleString()} 部。`
}) : null,
- /* @__PURE__ */ (0, C.jsx)(wW, {
+ /* @__PURE__ */ (0, C.jsx)(TW, {
prefill: n,
close: () => r(null),
receipt: e
})
- ] }) : /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsx)(mA, {
+ ] }) : /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: c_e,
+ icon: s_e,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function CPe(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = EDe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function SPe(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = TDe(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -70436,29 +70504,29 @@ function CPe(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(UF, {
+ /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, C.jsxs)(UF, {
+ i.length > 1 ? /* @__PURE__ */ (0, C.jsxs)(GF, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, C.jsx)(WF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(KF, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -70466,7 +70534,7 @@ function CPe(e) {
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: kge,
+ leadingIcon: Oge,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -70482,7 +70550,7 @@ function CPe(e) {
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, C.jsxs)(UF, {
+ b ? /* @__PURE__ */ (0, C.jsxs)(GF, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -70490,10 +70558,10 @@ function CPe(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, C.jsx)(WF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(KF, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ }), y.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: e
}, e))]
@@ -70529,7 +70597,7 @@ function CPe(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var wPe = {
+var CPe = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -70539,14 +70607,14 @@ var wPe = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, iG = "reviewgenretags";
-function TPe({ tags: e }) {
+}, aG = "reviewgenretags";
+function wPe({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("datalist", {
- id: iG,
+ id: aG,
children: e.map((e) => /* @__PURE__ */ (0, C.jsx)("option", { value: e }, e))
}) : null;
}
-function aG({ candidate: e, selectable: t = !1 }) {
+function oG({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -70583,7 +70651,7 @@ function aG({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, C.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: wPe[e] || e
+ children: CPe[e] || e
}),
/* @__PURE__ */ (0, C.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -70598,32 +70666,32 @@ function aG({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function EPe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function TPe({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, C.jsx)(aG, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, C.jsx)(MN, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, C.jsx)(PN, {
"aria-label": `${t || "资料"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(NN, {
+ children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(FN, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, C.jsx)(aG, {
+ children: /* @__PURE__ */ (0, C.jsx)(oG, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function DPe({ genre: e, tags: t, locked: n, toast: r }) {
+function EPe({ genre: e, tags: t, locked: n, toast: r }) {
let [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), c = mt({
- mutationFn: (t) => PDe(e, t),
+ mutationFn: (t) => NDe(e, t),
onSuccess: async (t, n) => {
- t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await IDe()) : s(t.error || "服务端拒绝了这次收录");
+ t.ok ? (r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await FDe()) : s(t.error || "服务端拒绝了这次收录");
},
onError: (e) => s(V(e))
}), l = () => {
@@ -70638,16 +70706,16 @@ function DPe({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, C.jsx)(SP, {
+ /* @__PURE__ */ (0, C.jsx)(wP, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(wP, {
+ children: /* @__PURE__ */ (0, C.jsx)(EP, {
size: "small",
- list: t.length ? iG : void 0,
+ list: t.length ? aG : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -70679,8 +70747,8 @@ function DPe({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function OPe({ row: e, tags: t, locked: n, toast: r }) {
- let i = jDe(e);
+function DPe({ row: e, tags: t, locked: n, toast: r }) {
+ let i = ADe(e);
return i.length ? /* @__PURE__ */ (0, C.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -70688,7 +70756,7 @@ function OPe({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, C.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(DPe, {
+ }), i.map((e) => /* @__PURE__ */ (0, C.jsx)(EPe, {
genre: e,
tags: t,
locked: n,
@@ -70698,12 +70766,12 @@ function OPe({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var oG = (e = "") => /^https?:\/\//i.test(e) ? e : "", kPe = (e = "") => oG(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function sG({ url: e }) {
- let t = kPe(e || "");
- return /* @__PURE__ */ (0, C.jsx)(APe, { source: t }, t);
+var sG = (e = "") => /^https?:\/\//i.test(e) ? e : "", OPe = (e = "") => sG(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function cG({ url: e }) {
+ let t = OPe(e || "");
+ return /* @__PURE__ */ (0, C.jsx)(kPe, { source: t }, t);
}
-function APe({ source: e }) {
+function kPe({ source: e }) {
let [t, n] = (0, S.useState)("idle");
return (0, S.useEffect)(() => {
if (t !== "loading") return;
@@ -70740,7 +70808,7 @@ function APe({ source: e }) {
})]
});
}
-function cG({ asset: e, openItem: t }) {
+function lG({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -70756,7 +70824,7 @@ function cG({ asset: e, openItem: t }) {
}) : /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: "无封面"
- }), /* @__PURE__ */ (0, C.jsx)(bx, { children: `打开原视频 ${n}` })]
+ }), /* @__PURE__ */ (0, C.jsx)(yx, { children: `打开原视频 ${n}` })]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-1",
children: [/* @__PURE__ */ (0, C.jsx)("b", {
@@ -70766,21 +70834,21 @@ function cG({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
size: "small",
- leadingIcon: Fk,
+ leadingIcon: Ik,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function jPe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function APe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${UU}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${WU}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -70796,8 +70864,8 @@ function jPe({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function MPe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = oG(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function jPe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = sG(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, C.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -70807,10 +70875,10 @@ function MPe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, C.jsx)(fA, {
+ children: [o ? /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
size: "small",
- trailingIcon: jk,
+ trailingIcon: Mk,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -70822,7 +70890,7 @@ function MPe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, C.jsx)(sG, { url: e.preview_url }),
+ /* @__PURE__ */ (0, C.jsx)(cG, { url: e.preview_url }),
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -70865,7 +70933,7 @@ function MPe({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function NPe({ assets: e, picked: t, onPicked: n, locked: r }) {
+function MPe({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, S.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -70921,7 +70989,7 @@ function NPe({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, C.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, C.jsx)(QP, {
+ children: /* @__PURE__ */ (0, C.jsx)(eF, {
size: "sm",
state: {
isSelected: n,
@@ -70932,7 +71000,7 @@ function NPe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
})
}),
- /* @__PURE__ */ (0, C.jsx)(bx, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
+ /* @__PURE__ */ (0, C.jsx)(yx, { children: `${n ? "已选" : "未选"} ${e.name || e.id}` })
]
}, e.id);
})
@@ -70941,22 +71009,22 @@ function NPe({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var PPe = pA({
+var NPe = mA({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), lG = "flex min-h-6 min-w-0 items-center", uG = 2, FPe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function IPe(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, S.useRef)(!1), m = eF(), h = eF(), g = t === "metadata_fields", _ = SDe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = ODe(t, n), x = Xz(t, n), w = Yz(t, n), T = kDe(n), E = ADe(n), D = Jz(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, C.jsxs)("div", {
+}), uG = "flex min-h-6 min-w-0 items-center", dG = 2, PPe = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function FPe(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, S.useRef)(!1), m = nF(), h = nF(), g = t === "metadata_fields", _ = xDe[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = DDe(t, n), x = Zz(t, n), w = Xz(t, n), T = ODe(n), E = kDe(n), D = Yz(t, n), O = n.comparison_assets || [], k = n.preview_assets || [], A = String(n.decision || "pending") !== "pending", j = O.length > 1 ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [O.slice(0, uG).map((e) => /* @__PURE__ */ (0, C.jsx)(cG, {
+ children: [O.slice(0, dG).map((e) => /* @__PURE__ */ (0, C.jsx)(lG, {
asset: e,
openItem: f.openItem
- }, e.id)), O.length > uG ? /* @__PURE__ */ (0, C.jsx)("p", {
+ }, e.id)), O.length > dG ? /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: `另有 ${(O.length - uG).toLocaleString()} 部对照作品`
+ children: `另有 ${(O.length - dG).toLocaleString()} 部对照作品`
}) : null]
- }) : y ? /* @__PURE__ */ (0, C.jsx)(jPe, {
+ }) : y ? /* @__PURE__ */ (0, C.jsx)(APe, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -70967,14 +71035,14 @@ function IPe(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, C.jsx)(cG, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, C.jsx)(lG, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, M = g ? /* @__PURE__ */ (0, C.jsx)(EPe, {
+ }) : null, M = g ? /* @__PURE__ */ (0, C.jsx)(TPe, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -70983,7 +71051,7 @@ function IPe(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, C.jsx)(NPe, {
+ }) : t === "creator_tags" ? k.length ? /* @__PURE__ */ (0, C.jsx)(MPe, {
assets: k,
picked: r.assets,
locked: s,
@@ -70991,24 +71059,24 @@ function IPe(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "inset",
- icon: Gge,
+ icon: Wge,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按所选资料写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, C.jsx)(MPe, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, C.jsx)(jPe, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, C.jsx)(sG, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, C.jsxs)("h4", {
- className: `${lG} flex-wrap gap-2`,
+ }) : /* @__PURE__ */ (0, C.jsx)(cG, { url: n.preview_url }), N = y ? j : x ? /* @__PURE__ */ (0, C.jsxs)("h4", {
+ className: `${uG} flex-wrap gap-2`,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
title: x,
className: "flex max-w-full min-w-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, C.jsx)(uA, {
+ children: /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "blue",
children: x
@@ -71019,7 +71087,7 @@ function IPe(e) {
children: w
})]
}) : /* @__PURE__ */ (0, C.jsx)("h4", {
- className: lG,
+ className: uG,
children: /* @__PURE__ */ (0, C.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -71029,20 +71097,20 @@ function IPe(e) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${PPe} ${FPe(t)} overflow-hidden`,
+ className: `${NPe} ${PPe(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, C.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, C.jsx)("span", {
- className: `${lG} shrink-0`,
+ className: `${uG} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, C.jsx)($P, {
+ children: /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -71052,7 +71120,7 @@ function IPe(e) {
className: "min-w-0 flex-1",
children: N
}),
- A ? /* @__PURE__ */ (0, C.jsx)(uA, {
+ A ? /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -71076,7 +71144,7 @@ function IPe(e) {
!y && j ? j : null,
E.length || t === "creator_tags" ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: E.length ? E.map((e) => /* @__PURE__ */ (0, C.jsx)(uA, {
+ children: E.length ? E.map((e) => /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "soft",
children: e
@@ -71086,7 +71154,7 @@ function IPe(e) {
})
}) : null,
M,
- /* @__PURE__ */ (0, C.jsx)(OPe, {
+ /* @__PURE__ */ (0, C.jsx)(DPe, {
row: n,
tags: u,
locked: s,
@@ -71149,8 +71217,8 @@ function IPe(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var LPe = "flex cursor-pointer items-center justify-between gap-2";
-function RPe({ page: e, pages: t, onPage: n }) {
+var IPe = "flex cursor-pointer items-center justify-between gap-2";
+function LPe({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, C.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -71187,34 +71255,34 @@ function RPe({ page: e, pages: t, onPage: n }) {
]
});
}
-function zPe(e) {
- let [t, n] = (0, S.useState)(() => matchMedia("(max-width:900px)").matches), r = pj(void 0, t);
+function RPe(e) {
+ let [t, n] = (0, S.useState)(() => matchMedia("(max-width:900px)").matches), r = hj(void 0, t);
(0, S.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: i, openItem: a, openEntity: o, revealSource: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, S.useState)(Kz(e.category) ? e.category : xDe), [m, h] = (0, S.useState)("candidates"), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(1), [b, x] = (0, S.useState)(/* @__PURE__ */ new Set()), [w, T] = (0, S.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, S.useState)(/* @__PURE__ */ new Map()), [O, k] = (0, S.useState)(""), A = (0, S.useRef)(null), [j, M] = (0, S.useState)(0), [N, P] = (0, S.useState)(""), F = (0, S.useRef)(!0);
+ let { route: i, openItem: a, openEntity: o, revealSource: s, toast: c, readOnly: l, readOnlyMessage: u, writerUrl: d } = e, [f, p] = (0, S.useState)(qz(e.category) ? e.category : bDe), [m, h] = (0, S.useState)("candidates"), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(1), [b, x] = (0, S.useState)(/* @__PURE__ */ new Set()), [w, T] = (0, S.useState)(/* @__PURE__ */ new Map()), [E, D] = (0, S.useState)(/* @__PURE__ */ new Map()), [O, k] = (0, S.useState)(""), A = (0, S.useRef)(null), [j, M] = (0, S.useState)(0), [N, P] = (0, S.useState)(""), F = (0, S.useRef)(!0);
(0, S.useEffect)(() => () => {
F.current = !1;
}, []);
let I = pt({
- queryKey: Wz,
- queryFn: ({ signal: e }) => Qz(e)
+ queryKey: Gz,
+ queryFn: ({ signal: e }) => $z(e)
}), ee = I.data || {
sections: {},
counts: {}
- }, L = ee.sections[f] || [], te = f === "metadata_fields", ne = l, re = CDe(L, te), ie = re.some(([e]) => e === m) ? m : "candidates", ae = qz(L, ie), oe = ae.some((e) => e.key === g) ? g : "", se = TDe(wDe(L, ie, oe), v), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
+ }, L = ee.sections[f] || [], te = f === "metadata_fields", ne = l, re = SDe(L, te), ie = re.some(([e]) => e === m) ? m : "candidates", ae = Jz(L, ie), oe = ae.some((e) => e.key === g) ? g : "", se = wDe(CDe(L, ie, oe), v), ce = se.rows.map((e) => e.item_key), le = new Set(ce), ue = ae.map((e) => ({
...e,
rows: e.rows.filter((e) => le.has(e.item_key))
- })).filter((e) => e.rows.length), de = (e) => w.get(e.item_key) || MDe(e), fe = L.filter((e) => b.has(e.item_key)), pe = (e) => {
+ })).filter((e) => e.rows.length), de = (e) => w.get(e.item_key) || jDe(e), fe = L.filter((e) => b.has(e.item_key)), pe = (e) => {
let t = new Set(e);
x((e) => new Set([...e].filter((e) => !t.has(e)))), T((e) => new Map([...e].filter(([e]) => !t.has(e)))), D((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, me = (e, t) => D((n) => new Map(n).set(e, t)), he = (e) => {
p(e), h("candidates"), _(""), y(1), x(/* @__PURE__ */ new Set()), T(/* @__PURE__ */ new Map()), D(/* @__PURE__ */ new Map()), k(""), A.current = null, i({ category: e === "metadata_fields" ? "" : e });
}, ge = mt({
- mutationFn: ({ row: e, status: t }) => $z(Zz(f, eB(f, e), t, de(e))),
+ mutationFn: ({ row: e, status: t }) => eB(Qz(f, tB(f, e), t, de(e))),
onSuccess: (e, { row: t, status: n }) => {
- e.ok ? (tB(f, [t.item_key]), pe([t.item_key]), c(NDe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
+ e.ok ? (nB(f, [t.item_key]), pe([t.item_key]), c(MDe(n))) : me(t.item_key, e.error || "服务端拒绝了这次判定");
},
onError: (e, { row: t }) => me(t.item_key, V(e))
}), _e = mt({
@@ -71224,7 +71292,7 @@ function zPe(e) {
if (!F.current) break;
k(`正在处理 ${i} / ${t.length}`);
try {
- let t = await $z(Zz(f, eB(f, a), e, de(a)));
+ let t = await eB(Qz(f, tB(f, a), e, de(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -71238,7 +71306,7 @@ function zPe(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- tB(f, t), pe(t), n.forEach(([e, t]) => me(e, t)), k(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ nB(f, t), pe(t), n.forEach(([e, t]) => me(e, t)), k(""), c(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
k(V(e));
@@ -71262,7 +71330,7 @@ function zPe(e) {
M(e), P("");
let t = await s(e);
F.current && (M(0), P(t));
- }, xe = LDe(ee.mirror, u), Se = ee.genre_tags || [], Ce = {
+ }, xe = IDe(ee.mirror, u), Se = ee.genre_tags || [], Ce = {
openItem: a,
openEntity: o,
onReveal: be,
@@ -71270,7 +71338,7 @@ function zPe(e) {
revealNote: N,
toast: c
};
- return /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsxs)("div", {
+ return /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
ne ? /* @__PURE__ */ (0, C.jsx)(J, {
@@ -71286,13 +71354,13 @@ function zPe(e) {
}) : void 0,
children: xe
}) : null,
- /* @__PURE__ */ (0, C.jsx)(TPe, { tags: Se }),
- /* @__PURE__ */ (0, C.jsxs)(pP, {
+ /* @__PURE__ */ (0, C.jsx)(wPe, { tags: Se }),
+ /* @__PURE__ */ (0, C.jsxs)(hP, {
orientation: t ? "horizontal" : "vertical",
selectedKey: f,
onSelectionChange: (e) => {
let t = String(e);
- Kz(t) && he(t);
+ qz(t) && he(t);
},
className: "flex flex-col gap-5 review-split:flex-row review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -71301,28 +71369,28 @@ function zPe(e) {
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, C.jsx)(mP, {
+ }), /* @__PURE__ */ (0, C.jsx)(gP, {
ref: r,
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: bDe.map((e) => {
+ children: yDe.map((e) => {
let t = Number(ee.counts[e] || 0);
- return /* @__PURE__ */ (0, C.jsxs)(hP, {
+ return /* @__PURE__ */ (0, C.jsxs)(_P, {
id: e,
- className: LPe,
- children: [Gz[e], t ? /* @__PURE__ */ (0, C.jsx)("span", {
+ className: IPe,
+ children: [Kz[e], t ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, C.jsxs)(gP, {
+ }), /* @__PURE__ */ (0, C.jsxs)(vP, {
id: f,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- L.length && !ne ? /* @__PURE__ */ (0, C.jsx)(CPe, {
+ L.length && !ne ? /* @__PURE__ */ (0, C.jsx)(SPe, {
groupOptions: re,
groupBy: ie,
onGroupBy: (e) => {
@@ -71338,7 +71406,7 @@ function zPe(e) {
onSelected: x,
selectedRows: fe,
metadata: te,
- approvable: fe.every((e) => Jz(f, e)),
+ approvable: fe.every((e) => Yz(f, e)),
busy: _e.isPending,
feedback: O,
onUnifySource: ye,
@@ -71363,7 +71431,7 @@ function zPe(e) {
})]
}) : null, /* @__PURE__ */ (0, C.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(IPe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(FPe, {
category: f,
row: e,
choice: de(e),
@@ -71371,7 +71439,7 @@ function zPe(e) {
selected: b.has(e.item_key),
onSelect: (t, n) => x((r) => {
let i = new Set(r);
- return A.current = DDe(i, ce, A.current, e.item_key, t, n), i;
+ return A.current = EDe(i, ce, A.current, e.item_key, t, n), i;
}),
locked: ne,
busy: ge.isPending && ge.variables?.row.item_key === e.item_key,
@@ -71397,12 +71465,12 @@ function zPe(e) {
children: "重试"
}),
children: V(I.error)
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
- icon: Nge,
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
+ icon: Mge,
title: "此分类没有待复核项目",
children: "可切换分类查看其他待确认资料。"
}),
- /* @__PURE__ */ (0, C.jsx)(RPe, {
+ /* @__PURE__ */ (0, C.jsx)(LPe, {
page: se.page,
pages: se.pages,
onPage: y
@@ -71415,13 +71483,9 @@ function zPe(e) {
}
//#endregion
//#region src/react/scraping/custom-source-data.ts
-var dG = "/api/custom-metadata", fG = ["custom-metadata"], pG = (e) => H(dG, e), BPe = "/api/scraping", VPe = "/api/scraping/settings", HPe = "/api/scraping/check", mG = "/api/scraping/cover", UPe = "/api/scraping/amane-bridge", WPe = "/api/scraping/amane-bridge/check", GPe = "/api/scraping/amane-bridge/rebuild", hG = ["scraping"], gG = ["scraping", "cover"], _G = ["scraping", "amane-bridge"], vG = (e) => H(BPe, e), yG = (e) => H(mG, e), bG = (e) => H(UPe, e);
-async function KPe(e) {
+var fG = "/api/custom-metadata", pG = ["custom-metadata"], mG = (e) => H(fG, e), zPe = "/api/scraping", BPe = "/api/scraping/settings", VPe = "/api/scraping/check", hG = "/api/scraping/cover", HPe = "/api/scraping/amane-bridge", UPe = "/api/scraping/amane-bridge/check", WPe = "/api/scraping/amane-bridge/rebuild", gG = ["scraping"], _G = ["scraping", "cover"], vG = ["scraping", "amane-bridge"], yG = (e) => H(zPe, e), bG = (e) => H(hG, e), xG = (e) => H(HPe, e);
+async function GPe(e) {
await Promise.all([
- W.fetchQuery({
- queryKey: hG,
- queryFn: () => vG(e)
- }),
W.fetchQuery({
queryKey: gG,
queryFn: () => yG(e)
@@ -71431,18 +71495,22 @@ async function KPe(e) {
queryFn: () => bG(e)
}),
W.fetchQuery({
- queryKey: fG,
- queryFn: () => pG(e)
+ queryKey: vG,
+ queryFn: () => xG(e)
+ }),
+ W.fetchQuery({
+ queryKey: pG,
+ queryFn: () => mG(e)
})
]);
}
-function qPe(e, t) {
+function KPe(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}` : "");
}
//#endregion
//#region src/react/components/code-block.tsx
-function xG({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0, copyLabel: a, onCopy: o }) {
- let s = eF(), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1);
+function SG({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0, copyLabel: a, onCopy: o }) {
+ let s = nF(), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1);
(0, S.useEffect)(() => {
l(""), d(!1);
}, [e]);
@@ -71454,7 +71522,7 @@ function xG({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,
}
};
return /* @__PURE__ */ (0, C.jsxs)("div", {
- className: sA(pA({
+ className: cA(mA({
bordered: "soft",
radius: "plain",
padding: "none"
@@ -71479,7 +71547,7 @@ function xG({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,
ref: s,
tabIndex: 0,
"aria-label": n,
- className: sA("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", i && "max-h-80"),
+ className: cA("m-0 overflow-auto overscroll-contain p-3 font-mono text-caption-1-regular whitespace-pre text-text-primary", i && "max-h-80"),
children: /* @__PURE__ */ (0, C.jsx)("code", { children: r === void 0 ? e : e.slice(0, r) })
})
}),
@@ -71493,16 +71561,16 @@ function xG({ code: e, language: t, label: n, maxCharacters: r, bounded: i = !0,
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var SG = (e) => e.map(([e, t, n]) => n ? [
+var CG = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function CG({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function wG({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, S.useRef)(null), d = (0, S.useRef)(null), f = (0, S.useRef)(l);
return f.current = l, (0, S.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Os(t, n, SG(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Os(t, n, CG(r), i, {
attr: a,
className: o,
text: s
@@ -71520,13 +71588,13 @@ function CG({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function wG({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function TG({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, S.useRef)(null), f = (0, S.useRef)(null), p = (0, S.useRef)(-1), m = (0, S.useRef)(l);
return m.current = l, (0, S.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = io(SG(n), r, { label: t });
+ e.innerHTML = io(CG(n), r, { label: t });
let i = ao(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -71539,7 +71607,7 @@ function wG({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function JPe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function qPe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)({
onStep: a,
onSettle: o
@@ -71574,7 +71642,7 @@ function JPe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/scraping/custom-sources.tsx
-var YPe = [
+var JPe = [
["code", "番号"],
["title", "标题"],
["studio", "厂牌"],
@@ -71582,7 +71650,7 @@ var YPe = [
["release_date", "发行日期"],
["performers", "演员(文本数组)"],
["tags", "标签(文本数组)"]
-], XPe = [
+], YPe = [
["censored", "有码"],
["amateur", "素人"],
["uncensored", "无码"],
@@ -71591,7 +71659,7 @@ var YPe = [
["other", "其他"],
["unsure", "待核番号"],
["unknown", "未知"]
-], ZPe = () => ({
+], XPe = () => ({
name: "",
endpoint: "",
enabled: !1,
@@ -71601,25 +71669,25 @@ var YPe = [
},
content_types: ["censored"]
});
-function QPe({ receipt: e }) {
+function ZPe({ receipt: e }) {
let [t, n] = (0, S.useState)(null), r = pt({
- queryKey: fG,
- queryFn: ({ signal: e }) => pG(e)
- }), i = yA(), a = (e) => W.setQueryData(fG, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, C.jsx)(q, {
+ queryKey: pG,
+ queryFn: ({ signal: e }) => mG(e)
+ }), i = bA(), a = (e) => W.setQueryData(pG, e), o = !!(r.isPending || r.error || r.data?.items.length || i.error), s = /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
- onClick: () => n(ZPe()),
+ onClick: () => n(XPe()),
children: "添加来源"
});
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "自定义元数据来源",
children: [
- o ? /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ o ? /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
r.isPending ? /* @__PURE__ */ (0, C.jsx)("div", {
"aria-busy": "true",
"data-skeleton": "",
"aria-label": "读取自定义来源"
}) : null,
- r.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: V(r.error) }) : null,
+ r.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: V(r.error) }) : null,
r.data?.items.map((t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [
@@ -71639,7 +71707,7 @@ function QPe({ receipt: e }) {
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
...Y(i.busy === t.id),
- onClick: () => void i.run(t.id, (e) => U(dG, {
+ onClick: () => void i.run(t.id, (e) => U(fG, {
...t,
enabled: !t.enabled
}, "POST", e), (n) => {
@@ -71654,7 +71722,7 @@ function QPe({ receipt: e }) {
body: `删除「${B(t.name)}」后,采集将不再查询这个来源。`,
confirmLabel: "删除来源",
onConfirm: async () => {
- a(await U(dG, {
+ a(await U(fG, {
action: "delete",
id: t.id
})), n(null), e("已删除来源");
@@ -71664,13 +71732,13 @@ function QPe({ receipt: e }) {
})
]
}, t.id)),
- i.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: i.error }) : null
+ i.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: i.error }) : null
] }) : null,
- t ? null : o ? /* @__PURE__ */ (0, C.jsx)(OA, { children: s }) : /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)("div", {
+ t ? null : o ? /* @__PURE__ */ (0, C.jsx)(kA, { children: s }) : /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex justify-end",
children: s
}) }),
- t ? /* @__PURE__ */ (0, C.jsx)($Pe, {
+ t ? /* @__PURE__ */ (0, C.jsx)(QPe, {
initial: t,
cancel: () => n(null),
saved: (t) => {
@@ -71680,8 +71748,8 @@ function QPe({ receipt: e }) {
]
});
}
-function $Pe({ initial: e, cancel: t, saved: n }) {
- let [r, i] = (0, S.useState)(e), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(""), l = (0, S.useRef)(0), u = yA(), d = (e) => {
+function QPe({ initial: e, cancel: t, saved: n }) {
+ let [r, i] = (0, S.useState)(e), [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(""), l = (0, S.useRef)(0), u = bA(), d = (e) => {
l.current++, i((t) => ({
...t,
...e
@@ -71691,16 +71759,16 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
"aria-label": "元数据来源配置",
"aria-busy": u.busy === "preview",
onSubmit: (e) => {
- e.preventDefault(), u.run("save", (e) => U(dG, r, "POST", e), n);
+ e.preventDefault(), u.run("save", (e) => U(fG, r, "POST", e), n);
},
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "来源名称",
value: r.name,
maxLength: 80,
onChange: (e) => d({ name: e })
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "JSON 接口地址",
value: r.endpoint,
maxLength: 2048,
@@ -71709,7 +71777,7 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(jA, { children: "来源连接方式" }), /* @__PURE__ */ (0, C.jsx)(wG, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MA, { children: "来源连接方式" }), /* @__PURE__ */ (0, C.jsx)(TG, {
id: "custom-source-network",
label: "来源连接方式",
epoch: 0,
@@ -71720,7 +71788,7 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(jA, { children: "接口番号格式" }), /* @__PURE__ */ (0, C.jsx)(wG, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MA, { children: "接口番号格式" }), /* @__PURE__ */ (0, C.jsx)(TG, {
id: "custom-source-code-format",
label: "接口番号格式",
epoch: 0,
@@ -71734,8 +71802,8 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
onPick: (e) => d({ code_format: e })
})]
}),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
- YPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: "填写公开 JSON 接口和响应字段路径,例如 data.title。番号字段用于核对作品身份。" }),
+ JPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(DP, {
label: `${t}字段路径`,
value: r.fields[e] || "",
onChange: (t) => {
@@ -71747,18 +71815,18 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
className: "flex flex-wrap gap-3",
role: "group",
"aria-label": "适用内容类型",
- children: XPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)($P, {
+ children: YPe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: r.content_types.includes(e),
onChange: (t) => d({ content_types: t ? [...r.content_types, e] : r.content_types.filter((t) => t !== e) }),
children: t
}, e))
}),
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: r.enabled,
onChange: (e) => d({ enabled: e }),
children: "启用来源"
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "试查番号(回车查询)",
value: a,
onChange: (e) => {
@@ -71768,7 +71836,7 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
if (e.key !== "Enter" || e.nativeEvent.isComposing) return;
e.preventDefault();
let t = l.current;
- u.run("preview", (e) => U(dG, {
+ u.run("preview", (e) => U(fG, {
...r,
code: a,
action: "preview"
@@ -71779,17 +71847,17 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
});
}
}),
- u.busy === "preview" ? /* @__PURE__ */ (0, C.jsxs)(kA, {
+ u.busy === "preview" ? /* @__PURE__ */ (0, C.jsxs)(AA, {
role: "status",
children: [/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: Ao("正在试查来源") } }), "正在试查来源…"]
}) : null,
- s ? /* @__PURE__ */ (0, C.jsx)(xG, {
+ s ? /* @__PURE__ */ (0, C.jsx)(SG, {
code: s,
language: "json",
label: "元数据接口返回"
}) : null,
- u.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: u.error }) : null
- ] }), /* @__PURE__ */ (0, C.jsxs)(OA, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
+ u.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: u.error }) : null
+ ] }), /* @__PURE__ */ (0, C.jsxs)(kA, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
type: "button",
onClick: t,
@@ -71803,28 +71871,28 @@ function $Pe({ initial: e, cancel: t, saved: n }) {
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var TG = [["peach", "Peach 代理"], ["direct", "直接连接"]];
-function eFe(e) {
- return TG.some(([t]) => t === e) || !e ? [...TG] : [...TG, [e, e]];
+var EG = [["peach", "Peach 代理"], ["direct", "直接连接"]];
+function $Pe(e) {
+ return EG.some(([t]) => t === e) || !e ? [...EG] : [...EG, [e, e]];
}
-function tFe(e) {
+function eFe(e) {
try {
return new URL(e).host || e;
} catch {
return e;
}
}
-var EG = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function nFe() {
- return /* @__PURE__ */ (0, C.jsx)(DU, { source: "github" });
+var DG = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function tFe() {
+ return /* @__PURE__ */ (0, C.jsx)(OU, { source: "github" });
}
-function rFe({ source: e, toast: t }) {
- let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(EG[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);
+function nFe({ source: e, toast: t }) {
+ let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(DG[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
let g = mt({
- mutationFn: (t) => U(VPe, {
+ mutationFn: (t) => U(BPe, {
source: e.source,
network: n,
cookie: i,
@@ -71832,12 +71900,12 @@ function rFe({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- W.setQueryData(hG, (t) => t && {
+ W.setQueryData(gG, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = mt({ mutationFn: () => U(HPe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = mt({ mutationFn: () => U(VPe, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -71856,27 +71924,27 @@ function rFe({ source: e, toast: t }) {
}
}
let T = f || (g.error ? V(g.error) : "") || (_.error ? V(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || e.browser || !!T || E.length > 0;
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(DU, { source: e.source }), e.login ? /* @__PURE__ */ (0, C.jsx)(MA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(OU, { source: e.source }), e.login ? /* @__PURE__ */ (0, C.jsx)(NA, {
href: e.login,
- children: tFe(e.login)
+ children: eFe(e.login)
}) : null]
}),
children: [
- /* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "连接方式",
className: "w-44 min-w-0",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: eFe(n).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: $Pe(n).map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
@@ -71890,15 +71958,15 @@ function rFe({ source: e, toast: t }) {
" 后重试。"
]
}) : null,
- D ? /* @__PURE__ */ (0, C.jsxs)(DA, {
+ D ? /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, C.jsx)(wA, {
+ children: /* @__PURE__ */ (0, C.jsx)(TA, {
href: "/settings/library#peachProxy",
size: "small",
- trailingIcon: wk,
+ trailingIcon: Tk,
children: "配置 Peach 代理"
})
}) : null,
@@ -71911,20 +71979,20 @@ function rFe({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, C.jsx)(YF, {
+ /* @__PURE__ */ (0, C.jsx)(ZF, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: XF,
- children: EG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {
+ className: QF,
+ children: DG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(FN, {
value: e,
- className: ZF,
+ className: $F,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, C.jsx)(TP, {
+ c === "paste" ? /* @__PURE__ */ (0, C.jsx)(DP, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -71933,7 +72001,7 @@ function rFe({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, C.jsx)(q, {
@@ -71959,14 +72027,14 @@ function rFe({ source: e, toast: t }) {
]
})
] }) : null,
- T ? /* @__PURE__ */ (0, C.jsx)(AA, { children: T }) : null,
+ T ? /* @__PURE__ */ (0, C.jsx)(jA, { children: T }) : null,
E.map((t) => /* @__PURE__ */ (0, C.jsx)(J, {
tone: t.ok ? "success" : "error",
- children: qPe(t, e.label)
+ children: KPe(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsxs)(kA, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: b,
@@ -71988,26 +72056,26 @@ function rFe({ source: e, toast: t }) {
]
});
}
-function iFe({ toast: e }) {
- let [t, n] = (0, S.useState)(""), { running: r, outcome: i, start: a } = fV({
- queryKey: gG,
- queryFn: ({ signal: e }) => yG(e),
- start: () => U(mG, { code: t }),
+function rFe({ toast: e }) {
+ let [t, n] = (0, S.useState)(""), { running: r, outcome: i, start: a } = pV({
+ queryKey: _G,
+ queryFn: ({ signal: e }) => bG(e),
+ start: () => U(hG, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? V(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, C.jsx)(TA, {
+ return /* @__PURE__ */ (0, C.jsx)(EA, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ children: /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: /* @__PURE__ */ (0, C.jsx)(DP, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -72022,7 +72090,7 @@ function iFe({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
children: s
@@ -72034,11 +72102,11 @@ function iFe({ toast: e }) {
] })
});
}
-function aFe({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = fV({
- queryKey: _G,
- queryFn: ({ signal: e }) => bG(e),
- start: () => U(GPe, {}),
+function iFe({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = pV({
+ queryKey: vG,
+ queryFn: ({ signal: e }) => xG(e),
+ start: () => U(WPe, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -72047,52 +72115,52 @@ function aFe({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = mt({ mutationFn: () => U(WPe, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, C.jsx)(TA, {
+ }), a = mt({ mutationFn: () => U(UPe, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, C.jsx)(EA, {
title: "amane",
- children: /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
+ children: /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
children: V(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? V(i.error) : a.error ? V(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "amane",
- aside: /* @__PURE__ */ (0, C.jsx)(MA, {
+ aside: /* @__PURE__ */ (0, C.jsx)(NA, {
href: o.repository,
- leadingIcon: nFe,
+ leadingIcon: tFe,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, C.jsxs)(NA, { children: [
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsxs)(PA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, C.jsxs)(PA, {
+ /* @__PURE__ */ (0, C.jsxs)(FA, {
term: "内置站点",
children: [o.sites.length.toLocaleString(), " 个"]
})
] }),
- /* @__PURE__ */ (0, C.jsxs)(DA, {
+ /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
children: [
- o.sites.length ? /* @__PURE__ */ (0, C.jsx)(FA, {
+ o.sites.length ? /* @__PURE__ */ (0, C.jsx)(IA, {
summary: "查看内置站点",
children: /* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: o.sites.map((e) => e.label).join("、")
})
}) : null,
- /* @__PURE__ */ (0, C.jsxs)(kA, { children: [
+ /* @__PURE__ */ (0, C.jsxs)(AA, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -72101,7 +72169,7 @@ function aFe({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
children: c
@@ -72112,7 +72180,7 @@ function aFe({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsxs)(OA, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
+ /* @__PURE__ */ (0, C.jsxs)(kA, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -72129,24 +72197,24 @@ function aFe({ toast: e }) {
]
});
}
-function oFe({ toast: e }) {
+function aFe({ toast: e }) {
let t = pt({
- queryKey: hG,
- queryFn: ({ signal: e }) => vG(e)
+ queryKey: gG,
+ queryFn: ({ signal: e }) => yG(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, C.jsxs)(gA, { children: [
+ return n ? /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, C.jsx)(iFe, { toast: e }),
- /* @__PURE__ */ (0, C.jsx)(QPe, { receipt: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, C.jsx)(rFe, {
+ /* @__PURE__ */ (0, C.jsx)(rFe, { toast: e }),
+ /* @__PURE__ */ (0, C.jsx)(ZPe, { receipt: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, C.jsx)(nFe, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, C.jsx)(aFe, { toast: e })
- ] }) : /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
+ /* @__PURE__ */ (0, C.jsx)(iFe, { toast: e })
+ ] }) : /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? V(t.error) : "读取采集来源失败"
@@ -72154,27 +72222,27 @@ function oFe({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var DG = /* @__PURE__ */ new Set([
+var OG = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), OG = /* @__PURE__ */ new Set([
+]), kG = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
-]), kG = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function sFe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+]), AG = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function oFe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
let c = 0, l = [], u = (e) => {
let t = {
...e,
index: c++
};
return l.push(t), t;
- }, d = t.filter((t) => !e || kG(t).includes(kG(e)));
+ }, d = t.filter((t) => !e || AG(t).includes(AG(e)));
if (!e) {
if (s.length) {
let e = s.map((e) => ({
@@ -72195,8 +72263,8 @@ function sFe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
value: e
}))
} : null,
- left: e.filter((e) => !OG.has(e.kind)),
- right: e.filter((e) => OG.has(e.kind)),
+ left: e.filter((e) => !kG.has(e.kind)),
+ right: e.filter((e) => kG.has(e.kind)),
empty: !1,
options: l
};
@@ -72246,7 +72314,7 @@ function sFe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !OG.has(e.kind)).map(h), _ = m.filter((e) => OG.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !kG.has(e.kind)).map(h), _ = m.filter((e) => kG.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -72256,17 +72324,17 @@ function sFe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function cFe(e, t, n = Math.random) {
+function sFe(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => kG(t) === kG(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => AG(t) === AG(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var lFe = () => ({
+var cFe = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -72284,7 +72352,7 @@ var lFe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), AG = (e) => sFe({
+}), jG = (e) => oFe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -72293,18 +72361,18 @@ var lFe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), uFe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), jG = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+}), lFe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), MG = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
});
-function dFe(e) {
+function uFe(e) {
let t = (0, S.useRef)(e);
t.current = e;
let n = (0, S.useRef)(null);
- n.current ??= lFe();
+ n.current ??= cFe();
let r = n.current, i = (0, S.useRef)(null), [, a] = (0, S.useReducer)((e) => e + 1, 0), o = (0, S.useRef)(null);
- o.current ??= fFe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= dFe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, S.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -72317,7 +72385,7 @@ function dFe(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 = AG(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, C.jsx)(mFe, {
+ let c = jG(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, C.jsx)(pFe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -72330,7 +72398,7 @@ function dFe(e) {
children: [
/* @__PURE__ */ (0, C.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, C.jsx)("a", {
href: e.href,
- onMouseDown: MG,
+ onMouseDown: NG,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -72349,7 +72417,7 @@ function dFe(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, C.jsx)(pFe, {
+ c.tabs ? /* @__PURE__ */ (0, C.jsx)(fFe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -72376,7 +72444,7 @@ function dFe(e) {
]
});
}
-function fFe(e, t, n, r) {
+function dFe(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 () => {
@@ -72387,7 +72455,7 @@ function fFe(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- t && e().historyLimit && (s([t, ...o().filter((e) => kG(e) !== kG(t))]), U("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => AG(e) !== AG(t))]), U("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -72433,9 +72501,9 @@ function fFe(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, h = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : cFe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : sFe(t.pool, o()), t.active = -1;
let a = n();
- a && (uFe(AG(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (lFe(jG(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, g = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -72447,7 +72515,7 @@ function fFe(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {
a() && t.kind === e && h();
}));
- }, v = () => p() ? AG(t).options : [], y = (e) => {
+ }, v = () => p() ? jG(t).options : [], y = (e) => {
let n = v();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, b = (t, n) => {
@@ -72456,7 +72524,7 @@ function fFe(e, t, n, r) {
}, x = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, S = (t) => {
- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && DG.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && OG.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));
}, C = (t) => {
m(), i().blur(), e().actions.openPath?.(t);
};
@@ -72502,13 +72570,13 @@ function fFe(e, t, n, r) {
await U("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => kG(t) !== kG(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => AG(t) !== AG(e))), t.active = -1, r();
},
pickKind: _,
openPath: C
};
}
-function pFe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function fFe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => {
r(i.current);
@@ -72520,7 +72588,7 @@ function pFe({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, C.jsx)($U, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, C.jsx)(eW, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, C.jsxs)("div", {
ref: i,
@@ -72530,8 +72598,8 @@ function pFe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var MG = (e) => e.preventDefault();
-function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var NG = (e) => e.preventDefault();
+function pFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -72543,33 +72611,33 @@ function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: MG,
+ onMouseDown: NG,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, C.jsx)(jG, { name: "chevron-right" })
+ /* @__PURE__ */ (0, C.jsx)(MG, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, C.jsx)(jG, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, C.jsx)(MG, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: MG,
+ onMouseDown: NG,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, C.jsx)(jG, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(MG, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = DG.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = OG.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -72583,8 +72651,8 @@ function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "work",
"data-open-item": c === "asset" ? s.id : void 0,
...o,
- onMouseDown: MG,
- children: [/* @__PURE__ */ (0, C.jsx)(NG, {
+ onMouseDown: NG,
+ children: [/* @__PURE__ */ (0, C.jsx)(PG, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, C.jsxs)("span", {
@@ -72609,9 +72677,9 @@ function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: MG,
+ onMouseDown: NG,
children: [
- /* @__PURE__ */ (0, C.jsx)(PG, {
+ /* @__PURE__ */ (0, C.jsx)(FG, {
item: s,
kind: c
}),
@@ -72634,11 +72702,11 @@ function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: MG,
+ onMouseDown: NG,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, C.jsx)(NG, {
+ children: /* @__PURE__ */ (0, C.jsx)(PG, {
card: e,
helpers: n
})
@@ -72652,7 +72720,7 @@ function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, C.jsx)(PG, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, C.jsx)(FG, {
item: s,
kind: c
}) : null,
@@ -72665,13 +72733,13 @@ function mFe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function NG({ card: e, helpers: t }) {
+function PG({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function PG({ item: e, kind: t }) {
+function FG({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, C.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -72691,42 +72759,42 @@ function PG({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var FG = "/api/configuration", hFe = "/api/pick-folder", IG = ["configuration"], LG = (e) => H(FG, e);
-async function gFe(e) {
+var IG = "/api/configuration", mFe = "/api/pick-folder", LG = ["configuration"], RG = (e) => H(IG, e);
+async function hFe(e) {
await W.fetchQuery({
- queryKey: IG,
- queryFn: () => LG(e)
+ queryKey: LG,
+ queryFn: () => RG(e)
});
}
//#endregion
//#region src/react/settings/configuration-panel.ts
-var RG = "flex flex-col gap-6";
-function zG(e) {
+var zG = "flex flex-col gap-6";
+function BG(e) {
return e ? {
- className: e.active ? `${RG} ui-board-group-active` : RG,
+ className: e.active ? `${zG} ui-board-group-active` : zG,
"data-board-group": String(e.index),
id: e.id,
role: "tabpanel",
"aria-labelledby": e.labelledBy
- } : { className: RG };
+ } : { className: zG };
}
//#endregion
//#region src/react/settings/jav-browser-settings.tsx
-var BG = "/api/configuration/jav-browser";
-function _Fe({ receipt: e, refreshKey: t }) {
+var VG = "/api/configuration/jav-browser";
+function gFe({ receipt: e, refreshKey: t }) {
let n = pt({
queryKey: ["jav-browser-settings", t],
- queryFn: ({ signal: e }) => H(BG, e),
+ queryFn: ({ signal: e }) => H(VG, e),
refetchOnMount: "always"
});
- return n.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: V(n.error) }) : n.isFetching ? /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, C.jsx)(vFe, {
+ return n.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: V(n.error) }) : n.isFetching ? /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在读取浏览器添加设置" }) : n.data ? /* @__PURE__ */ (0, C.jsx)(_Fe, {
initial: n.data,
receipt: e
}) : null;
}
-function vFe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.provider), [o, s] = (0, S.useState)(""), c = yA(), l = (e) => {
- c.run(e, (t) => U(BG, {
+function _Fe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.provider), [o, s] = (0, S.useState)(""), c = bA(), l = (e) => {
+ c.run(e, (t) => U(VG, {
action: e,
provider: i
}, "POST", t), (n) => {
@@ -72734,38 +72802,38 @@ function vFe({ initial: e, receipt: t }) {
r(a), s(i), t(e === "disable" ? "已关闭浏览器添加" : "已生成专用令牌");
});
}, u = n.providers.some((e) => e.key === i && e.configured && e.target);
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "浏览器添加 JAV",
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- /* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(MA, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(NA, {
href: "https://sleazyfork.org/zh-CN/scripts/600821",
children: "安装 Peach 用户脚本"
}) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(jA, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MA, { children: "浏览器添加的下载渠道" }), /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "浏览器添加的下载渠道",
selectedKey: i,
onSelectionChange: (e) => a(String(e)),
isDisabled: !!c.busy,
- children: n.providers.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: n.providers.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, C.jsx)(QA, {
+ children: /* @__PURE__ */ (0, C.jsx)($A, {
source: e.key,
label: e.label
})
}, e.key))
})]
}),
- u ? null : /* @__PURE__ */ (0, C.jsx)(kA, { children: "请先保存所选网盘的账号和目标目录。" }),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ u ? null : /* @__PURE__ */ (0, C.jsx)(AA, { children: "请先保存所选网盘的账号和目标目录。" }),
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "Peach 地址",
value: window.location.origin,
isReadOnly: !0,
autoComplete: "off"
}),
- o ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+ o ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(DP, {
label: "浏览器添加专用令牌",
type: "password",
value: o,
@@ -72780,15 +72848,15 @@ function vFe({ initial: e, receipt: t }) {
...Y(c.busy === "copy"),
children: "复制专用令牌"
}) })] }) : null,
- c.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: c.error }) : null
- ] }), /* @__PURE__ */ (0, C.jsxs)(OA, {
+ c.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: c.error }) : null
+ ] }), /* @__PURE__ */ (0, C.jsxs)(kA, {
status: /* @__PURE__ */ (0, C.jsxs)("span", {
role: "status",
className: "inline-flex items-center gap-1.5",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"aria-hidden": "true",
className: "inline-flex size-3 items-center justify-center",
- children: /* @__PURE__ */ (0, C.jsx)(jge, { className: n.enabled ? "size-2 text-notification-success-foreground" : "size-2 text-text-tertiary" })
+ children: /* @__PURE__ */ (0, C.jsx)(Age, { className: n.enabled ? "size-2 text-notification-success-foreground" : "size-2 text-text-tertiary" })
}), n.enabled ? "已启用" : "未启用"]
}),
children: [n.enabled ? /* @__PURE__ */ (0, C.jsx)(q, {
@@ -72809,33 +72877,33 @@ function vFe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var yFe = "/api/configuration/downloads", VG = "/api/configuration/downloads/check", bFe = "/api/configuration/downloads/folder", xFe = "/api/configuration/downloads/pikpak/login", SFe = "/api/configuration/downloads/pikpak/logout", HG = "/api/configuration/downloads/pikpak/browser-login", UG = 2e3;
-function CFe({ initial: e, receipt: t, panel: n }) {
+var vFe = "/api/configuration/downloads", HG = "/api/configuration/downloads/check", yFe = "/api/configuration/downloads/folder", bFe = "/api/configuration/downloads/pikpak/login", xFe = "/api/configuration/downloads/pikpak/logout", UG = "/api/configuration/downloads/pikpak/browser-login", WG = 2e3;
+function SFe({ initial: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- ...zG(n),
- children: /* @__PURE__ */ (0, C.jsx)(wFe, {
+ ...BG(n),
+ children: /* @__PURE__ */ (0, C.jsx)(CFe, {
initial: e,
receipt: t
})
});
}
-function wFe({ initial: e, receipt: t }) {
+function CFe({ initial: e, receipt: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), o = n.pikpak.logged_in || !!i.trim();
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(TFe, {
+ /* @__PURE__ */ (0, C.jsx)(wFe, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
}),
- /* @__PURE__ */ (0, C.jsx)(DFe, {
+ /* @__PURE__ */ (0, C.jsx)(EFe, {
state: n,
settle: r,
receipt: t,
username: i,
setUsername: a
}),
- /* @__PURE__ */ (0, C.jsx)(_Fe, {
+ /* @__PURE__ */ (0, C.jsx)(gFe, {
receipt: t,
refreshKey: JSON.stringify([
n.config,
@@ -72845,8 +72913,8 @@ function wFe({ initial: e, receipt: t }) {
})
] });
}
-function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(WG), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = yA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({
+function wFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, S.useState)(e.config), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(String(e.config.wait_hours)), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(GG), [g, _] = (0, S.useState)(""), [v, y] = (0, S.useState)(!1), b = bA(), x = (e) => i.targets[e] ?? "", w = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -72875,8 +72943,8 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => H(VG, e), (e) => E(e, t), (e) => _(V(e)));
- }, []), /* @__PURE__ */ (0, C.jsxs)(TA, {
+ b.run("auto", (e) => H(HG, e), (e) => E(e, t), (e) => _(V(e)));
+ }, []), /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), T) {
@@ -72889,18 +72957,18 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- b.run("save", (e) => U(yFe, f, "POST", e), (e) => {
+ b.run("save", (e) => U(vFe, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? E(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(WG), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(GG), y(!1), _("")), n("已保存配置");
}, (e) => _(V(e)));
},
children: [
- /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "CloudDrive2 地址",
placeholder: "留空自动查找",
autoComplete: "off",
@@ -72912,7 +72980,7 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -72923,8 +72991,8 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
- label: /* @__PURE__ */ (0, C.jsx)(QA, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
+ label: /* @__PURE__ */ (0, C.jsx)($A, {
source: "115",
label: "115 目标目录"
}),
@@ -72938,8 +73006,8 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => w("115", e)
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
- label: /* @__PURE__ */ (0, C.jsx)(QA, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
+ label: /* @__PURE__ */ (0, C.jsx)($A, {
source: "pikpak",
label: "PikPak 目标目录"
}),
@@ -72953,10 +73021,10 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, C.jsx)(jA, { children: /* @__PURE__ */ (0, C.jsx)(QA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(MA, { children: /* @__PURE__ */ (0, C.jsx)($A, {
source: "pikpak",
label: "PikPak 根目录对应的媒体目录"
- }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, C.jsx)(UF, {
+ }) }), e.pikpak_roots.length ? /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "PikPak 根目录对应的媒体目录",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -72965,13 +73033,13 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, C.jsx)(kA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
+ }) : /* @__PURE__ */ (0, C.jsx)(AA, { children: "先在「媒体库与入库」添加 PikPak 挂载文件夹。" })]
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -72982,11 +73050,11 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- b.busy === "auto" ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ b.busy === "auto" ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, C.jsx)(EFe, {
+ u ? /* @__PURE__ */ (0, C.jsx)(TFe, {
report: u,
detected: f,
suggested: m,
@@ -72998,7 +73066,7 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => U(bFe, t, "POST", e), (t) => {
+ b.run("folder", (e) => U(yFe, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -73010,11 +73078,11 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: b.busy === "folder"
}) : null,
- g || b.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ g || b.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: g || b.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: g || b.error })
}) : null,
- /* @__PURE__ */ (0, C.jsxs)(OA, {
+ /* @__PURE__ */ (0, C.jsxs)(kA, {
status: e.available ? void 0 : "云下载只在允许修改数据库的设备上可用。",
children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
@@ -73030,7 +73098,7 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => U(VG, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));
+ b.run("check", (e) => U(HG, t, "POST", e), (t) => E(t, e), (e) => _(V(e)));
},
disabled: !e.available,
...Y(b.busy === "check"),
@@ -73045,29 +73113,29 @@ function TFe({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var WG = {
+var GG = {
target: null,
root: "",
saved: !1
};
-function EFe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function TFe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, C.jsxs)(DA, {
+ return /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
- children: [/* @__PURE__ */ (0, C.jsxs)(NA, { children: [
- t ? /* @__PURE__ */ (0, C.jsx)(PA, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(PA, { children: [
+ t ? /* @__PURE__ */ (0, C.jsx)(FA, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, C.jsx)(PA, {
- term: /* @__PURE__ */ (0, C.jsx)(QA, {
+ a?.exists ? /* @__PURE__ */ (0, C.jsx)(FA, {
+ term: /* @__PURE__ */ (0, C.jsx)($A, {
source: "115",
label: "115 目标目录"
}),
children: n.saved ? `已根据媒体库目录填入 ${a.path}` : `根据媒体库目录填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, C.jsxs)(PA, {
- term: /* @__PURE__ */ (0, C.jsx)(QA, {
+ a && !a.exists ? /* @__PURE__ */ (0, C.jsxs)(FA, {
+ term: /* @__PURE__ */ (0, C.jsx)($A, {
source: "115",
label: "115 目标目录"
}),
@@ -73079,59 +73147,59 @@ function EFe({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, C.jsx)(PA, {
- term: /* @__PURE__ */ (0, C.jsx)(QA, {
+ n.root ? /* @__PURE__ */ (0, C.jsx)(FA, {
+ term: /* @__PURE__ */ (0, C.jsx)($A, {
source: "pikpak",
label: "PikPak 根目录"
}),
children: `根据媒体库目录填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, C.jsx)(PA, {
+ e.permissions.length ? /* @__PURE__ */ (0, C.jsx)(FA, {
term: "离线权限",
- children: /* @__PURE__ */ (0, C.jsx)(uA, {
+ children: /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: e.missing.length ? "yellow" : "lime",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
})
}) : null,
- e.folder ? /* @__PURE__ */ (0, C.jsx)(PA, {
+ e.folder ? /* @__PURE__ */ (0, C.jsx)(FA, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, C.jsx)(PA, {
- term: /* @__PURE__ */ (0, C.jsx)(QA, {
+ e.quota ? /* @__PURE__ */ (0, C.jsx)(FA, {
+ term: /* @__PURE__ */ (0, C.jsx)($A, {
source: "115",
label: "115 离线配额"
}),
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, C.jsx)(AA, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, C.jsx)(jA, { children: e }, e))]
});
}
-function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(""), h = yA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function EFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(""), h = bA(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, S.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await H(HG, e.signal);
+ let r = await H(UG, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(V(t));
}
- r = setTimeout(i, UG);
+ r = setTimeout(i, WG);
};
- return r = setTimeout(i, UG), () => {
+ return r = setTimeout(i, WG), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => U(HG, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => U(UG, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(V(e)));
}, b = () => {
- h.run("cancel", (e) => U(`${HG}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => U(`${UG}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(V(e)));
}, x = (e) => {
@@ -73141,15 +73209,15 @@ function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => U(xFe, i, "POST", e), (e) => {
+ h.run("login", (e) => U(bFe, i, "POST", e), (e) => {
t(e.settings), f(""), e.ok ? (u(""), o(""), n("已登录 PikPak")) : u(e.captcha_url ?? "");
}, (e) => f(V(e)));
}, w = () => {
- h.run("logout", (e) => U(SFe, {}, "POST", e), (e) => {
+ h.run("logout", (e) => U(xFe, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(V(e)));
}, T = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -73158,7 +73226,7 @@ function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -73167,7 +73235,7 @@ function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -73178,7 +73246,7 @@ function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, C.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, C.jsx)(MA, {
+ children: /* @__PURE__ */ (0, C.jsx)(NA, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -73191,30 +73259,30 @@ function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...Y(h.busy === "login"),
children: "登录"
}), D = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "PikPak 账号",
- icon: /* @__PURE__ */ (0, C.jsx)(ZA.pikpak, {}),
+ icon: /* @__PURE__ */ (0, C.jsx)(QA.pikpak, {}),
onSubmit: x,
children: [
- g.logged_in ? /* @__PURE__ */ (0, C.jsxs)(NA, { children: [/* @__PURE__ */ (0, C.jsx)(PA, {
+ g.logged_in ? /* @__PURE__ */ (0, C.jsxs)(PA, { children: [/* @__PURE__ */ (0, C.jsx)(FA, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, C.jsx)(PA, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, C.jsx)(FA, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, C.jsx)(PA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(FA, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : /* @__PURE__ */ (0, C.jsxs)(DA, { children: [p ? D ? /* @__PURE__ */ (0, C.jsx)(AA, { children: p }) : /* @__PURE__ */ (0, C.jsx)(kA, {
+ })] }) : /* @__PURE__ */ (0, C.jsxs)(OA, { children: [p ? D ? /* @__PURE__ */ (0, C.jsx)(jA, { children: p }) : /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: p
}) : null, T] }),
- d || h.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ d || h.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: d || h.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, C.jsx)(OA, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, C.jsx)(hA, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, C.jsx)(kA, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, C.jsx)(gA, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: w,
@@ -73240,33 +73308,33 @@ function DFe({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var OFe = [
+var DFe = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function kFe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
+function OFe({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(r),
+ ...BG(r),
children: [
- /* @__PURE__ */ (0, C.jsx)(MFe, { facts: e.facts }),
- /* @__PURE__ */ (0, C.jsx)(AFe, {
+ /* @__PURE__ */ (0, C.jsx)(jFe, { facts: e.facts }),
+ /* @__PURE__ */ (0, C.jsx)(kFe, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, C.jsx)(NFe, {
+ e.uninstall ? /* @__PURE__ */ (0, C.jsx)(MFe, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function AFe({ receipt: e, reopenTutorial: t }) {
- let n = yA();
+function kFe({ receipt: e, reopenTutorial: t }) {
+ let n = bA();
return /* @__PURE__ */ (0, C.jsx)("section", {
"aria-label": "安装教程",
className: "w-full",
- children: /* @__PURE__ */ (0, C.jsxs)(bA, { children: [/* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(xA, { children: [/* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "安装教程",
children: /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
@@ -73274,61 +73342,61 @@ function AFe({ receipt: e, reopenTutorial: t }) {
...Y(n.busy === "reopen"),
children: "重新打开教程"
})
- }) }), n.error ? /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(AA, { children: n.error }) }) : null] })
+ }) }), n.error ? /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(jA, { children: n.error }) }) : null] })
});
}
-function jFe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e.mode), [i, a] = (0, S.useState)(e.interval_hours), o = yA(e.error), s = (r) => {
+function AFe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e.mode), [i, a] = (0, S.useState)(e.interval_hours), o = bA(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => U("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "下载完成后在这里确认重启安装。" : void 0 : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, C.jsxs)(EA, { children: [
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: OFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: DFe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ o.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: o.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
+ /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
disabled: !e.available,
...Y(o.busy === "save"),
@@ -73337,19 +73405,19 @@ function jFe({ initial: e, receipt: t }) {
]
});
}
-function MFe({ facts: e }) {
- return /* @__PURE__ */ (0, C.jsx)(TA, {
+function jFe({ facts: e }) {
+ return /* @__PURE__ */ (0, C.jsx)(EA, {
title: "运行信息",
- children: /* @__PURE__ */ (0, C.jsx)(NA, { children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(PA, {
+ children: /* @__PURE__ */ (0, C.jsx)(PA, { children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(FA, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, C.jsx)(MA, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, C.jsx)(NA, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function NFe({ uninstall: e, receipt: t }) {
+function MFe({ uninstall: e, receipt: t }) {
let [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(""), o = () => void Rs({
title: "卸载 Peach",
danger: !0,
@@ -73363,33 +73431,33 @@ function NFe({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
id: "uninstallPeach",
title: "卸载 Peach",
children: [
- e.available ? /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(kA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) }) : null,
- /* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ e.available ? /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(AA, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) }) : null,
+ /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "完全卸载",
description: "同时删除设置、本地数据库、观看记录、凭据和缓存",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "完全卸载",
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r
})
}) }),
- /* @__PURE__ */ (0, C.jsx)(DA, {
+ /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(FA, {
+ children: /* @__PURE__ */ (0, C.jsx)(IA, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, C.jsx)(lV, {
+ children: c.map((e) => /* @__PURE__ */ (0, C.jsx)(uV, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
}),
- /* @__PURE__ */ (0, C.jsx)(OA, {
+ /* @__PURE__ */ (0, C.jsx)(kA, {
status: s ? /* @__PURE__ */ (0, C.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -73406,23 +73474,23 @@ function NFe({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var GG = /* @__PURE__ */ new Set([
+var KG = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), PFe = [
+]), NFe = [
65,
75,
90
-], KG = 120;
-function FFe({ initial: e, initialJob: t }) {
+], qG = 120;
+function PFe({ initial: e, initialJob: t }) {
let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, S.useState)(""), c = yA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = GG.has(i.state);
+ }), [o, s] = (0, S.useState)(""), c = bA(), l = (0, S.useRef)(!1), u = (0, S.useRef)(!0), d = KG.has(i.state);
(0, S.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -73439,7 +73507,7 @@ function FFe({ initial: e, initialJob: t }) {
(0, S.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, S.useEffect)(() => {
- let e = new AbortController(), t = GG.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = KG.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await H("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -73452,9 +73520,9 @@ function FFe({ initial: e, initialJob: t }) {
let n = await H("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= KG && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= qG && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < KG && (n = setTimeout(c, t));
+ !e.signal.aborted && o < qG && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -73468,62 +73536,62 @@ function FFe({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(V(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, C.jsxs)(NA, { children: [
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsxs)(PA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, C.jsx)(PA, {
+ /* @__PURE__ */ (0, C.jsx)(FA, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
}),
- n.package_kind ? /* @__PURE__ */ (0, C.jsxs)(PA, {
+ n.package_kind ? /* @__PURE__ */ (0, C.jsxs)(FA, {
term: "下载内容",
children: [n.package_kind === "update" ? "应用更新包" : "应用与工具", n.asset_size ? ` · ${(n.asset_size / 1048576).toFixed(1)} MB` : ""]
}) : null
] }),
- n.package_kind === "update" ? /* @__PURE__ */ (0, C.jsx)(kA, { children: "应用更新包复用已安装工具;工具缺失、损坏或版本变化时会另行下载所需工具包。" }) : n.package_kind === "full" ? /* @__PURE__ */ (0, C.jsx)(kA, { children: "本次更新包含媒体工具。" }) : null,
- n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, C.jsxs)(DA, {
+ n.package_kind === "update" ? /* @__PURE__ */ (0, C.jsx)(AA, { children: "应用更新包复用已安装工具;工具缺失、损坏或版本变化时会另行下载所需工具包。" }) : n.package_kind === "full" ? /* @__PURE__ */ (0, C.jsx)(AA, { children: "本次更新包含媒体工具。" }) : null,
+ n.state === "unchecked" && !n.checked_at && !g && i.state === "idle" ? null : /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, C.jsxs)(kA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, C.jsxs)(AA, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, C.jsx)(AA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, C.jsx)(kA, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, C.jsx)(jA, { children: g || n.message }) : n.state === "unchecked" ? null : /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, C.jsx)(AA, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, C.jsx)(jA, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, C.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(vA, {
+ /* @__PURE__ */ (0, C.jsx)(yA, {
label: "更新准备进度",
value: i.progress,
- stops: PFe
+ stops: NFe
}),
- /* @__PURE__ */ (0, C.jsxs)(kA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: _ })
+ /* @__PURE__ */ (0, C.jsxs)(AA, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsxs)(OA, {
- status: /* @__PURE__ */ (0, C.jsx)(MA, {
+ /* @__PURE__ */ (0, C.jsxs)(kA, {
+ status: /* @__PURE__ */ (0, C.jsx)(NA, {
href: n.release_url,
children: "查看发布页"
}),
@@ -73551,11 +73619,11 @@ function FFe({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/remote-reporting-settings.tsx
-function IFe({ value: e, onChange: t, busy: n = !1 }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+function FFe({ value: e, onChange: t, busy: n = !1 }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "发送版本统计与错误诊断(推荐)",
description: "上传版本、系统信息、故障类型、代码位置与发生次数。",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "发送版本统计与错误诊断(推荐)",
isSelected: e.usage && e.errors,
onChange: (n) => t({
@@ -73565,14 +73633,14 @@ function IFe({ value: e, onChange: t, busy: n = !1 }) {
}),
...Y(n)
})
- }) }), e.available ? null : /* @__PURE__ */ (0, C.jsx)(DA, {
+ }) }), e.available ? null : /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(kA, { children: "上传服务未配置。" })
+ children: /* @__PURE__ */ (0, C.jsx)(AA, { children: "上传服务未配置。" })
})] });
}
-function LFe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), i = yA();
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(IFe, {
+function IFe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), i = bA();
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(FFe, {
value: n,
busy: i.busy === "save",
onChange: (e) => {
@@ -73583,15 +73651,15 @@ function LFe({ initial: e, receipt: t }) {
r(e), t("已保存诊断选项");
});
}
- }), i.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ }), i.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: i.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: i.error })
}) : null] });
}
//#endregion
//#region src/react/settings/library-sharing-settings.tsx
-function RFe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(null), [o, s] = (0, S.useState)(!1), [c, l] = (0, S.useState)(!1), u = (0, S.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = yA(), f = (e) => void d.run("save", (t) => U("/api/configuration/library-sharing", {
+function LFe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(null), [o, s] = (0, S.useState)(!1), [c, l] = (0, S.useState)(!1), u = (0, S.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = bA(), f = (e) => void d.run("save", (t) => U("/api/configuration/library-sharing", {
enabled: e,
schema: n.schema,
consent: c,
@@ -73608,28 +73676,28 @@ function RFe({ initial: e, receipt: t }) {
}
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "上传馆藏与口味明细",
description: n.notice,
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "上传馆藏与口味明细",
isSelected: n.enabled,
onChange: (e) => e ? s(!0) : f(!1),
...Y(d.busy === "save")
})
}) }),
- n.available ? null : /* @__PURE__ */ (0, C.jsx)(DA, {
+ n.available ? null : /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(kA, { children: "上传服务未配置。" })
+ children: /* @__PURE__ */ (0, C.jsx)(AA, { children: "上传服务未配置。" })
}),
- n.enabled && n.last_attempt?.status === "failed" ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ n.enabled && n.last_attempt?.status === "failed" ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: "馆藏与口味上传失败,自动重试。" })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: "馆藏与口味上传失败,自动重试。" })
}) : null,
- i ? /* @__PURE__ */ (0, C.jsxs)(DA, {
+ i ? /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
children: [
- /* @__PURE__ */ (0, C.jsxs)(kA, { children: [
+ /* @__PURE__ */ (0, C.jsxs)(AA, { children: [
"当前预览包含 ",
i.data.library.length,
" 部有编号作品、",
@@ -73638,34 +73706,34 @@ function RFe({ initial: e, receipt: t }) {
(i.bytes / 1024).toFixed(1),
" KiB。不含账号、设备、文件路径和浏览器历史记录等个人数据。"
] }),
- /* @__PURE__ */ (0, C.jsx)(FA, {
+ /* @__PURE__ */ (0, C.jsx)(IA, {
summary: "上传数据预览",
defaultOpen: !0,
- children: /* @__PURE__ */ (0, C.jsx)(xG, {
+ children: /* @__PURE__ */ (0, C.jsx)(SG, {
code: u,
language: "json",
label: "馆藏与口味上传预览",
maxCharacters: 24e3
})
}),
- u.length > 24e3 ? /* @__PURE__ */ (0, C.jsx)(kA, { children: "显示前 24,000 个字符,下载可查看完整内容。" }) : null,
+ u.length > 24e3 ? /* @__PURE__ */ (0, C.jsx)(AA, { children: "显示前 24,000 个字符,下载可查看完整内容。" }) : null,
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: p,
children: "下载完整预览"
}),
- n.enabled ? null : /* @__PURE__ */ (0, C.jsx)($P, {
+ n.enabled ? null : /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: c,
onChange: l,
children: "我已查看上传预览,同意上传馆藏与口味明细"
})
]
}) : null,
- d.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ d.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: d.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: d.error })
}) : null,
- /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsxs)(kA, { children: [
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: () => {
@@ -73694,41 +73762,41 @@ function RFe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function zFe({ data: e, receipt: t, panel: n }) {
+function RFe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(n),
+ ...BG(n),
children: [
- e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, C.jsxs)(TA, {
+ e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "数据上传",
- children: [e.remote_reporting ? /* @__PURE__ */ (0, C.jsx)(LFe, {
+ children: [e.remote_reporting ? /* @__PURE__ */ (0, C.jsx)(IFe, {
initial: e.remote_reporting,
receipt: t
}) : null, e.library_sharing ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "border-t border-separator-border",
- children: /* @__PURE__ */ (0, C.jsx)(RFe, {
+ children: /* @__PURE__ */ (0, C.jsx)(LFe, {
initial: e.library_sharing,
receipt: t
})
}) : null]
}) : null,
- e.startup ? /* @__PURE__ */ (0, C.jsx)(BFe, {
+ e.startup ? /* @__PURE__ */ (0, C.jsx)(zFe, {
startup: e.startup,
receipt: t
}) : null,
- e.automatic_updates ? /* @__PURE__ */ (0, C.jsx)(jFe, {
+ e.automatic_updates ? /* @__PURE__ */ (0, C.jsx)(AFe, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, C.jsx)(FFe, {
+ e.updates ? /* @__PURE__ */ (0, C.jsx)(PFe, {
initial: e.updates,
initialJob: e.update_job
}) : null
]
});
}
-function BFe({ startup: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e.enabled), [i, a] = (0, S.useState)(e.silent), [o, s] = (0, S.useState)(e.desktop), c = yA(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+function zFe({ startup: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e.enabled), [i, a] = (0, S.useState)(e.silent), [o, s] = (0, S.useState)(e.desktop), c = bA(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => U("/api/configuration/startup", {
@@ -73738,29 +73806,29 @@ function BFe({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, C.jsxs)(EA, { children: [
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "只启动托盘,不打开网页",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "只启动托盘,不打开网页",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "在桌面创建快捷方式",
description: e.desktop_message || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -73768,11 +73836,11 @@ function BFe({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, C.jsxs)(DA, {
+ e.message || c.error ? /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, C.jsx)(kA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, C.jsx)(AA, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
+ /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
disabled: !e.available,
...Y(c.busy === "save"),
@@ -73783,7 +73851,7 @@ function BFe({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/boardui/components/base/badges/status-dot.tsx
-var qG = cA({
+var JG = lA({
base: "inline-flex size-3 shrink-0 items-center justify-center rounded-full",
halo: {
green: "bg-status-dot-green-halo",
@@ -73796,27 +73864,27 @@ var qG = cA({
indigo: "bg-indigo-500"
}
});
-function VFe({ color: e = "green", className: t, ref: n, ...r }) {
+function BFe({ color: e = "green", className: t, ref: n, ...r }) {
return /* @__PURE__ */ (0, C.jsx)("span", {
ref: n,
"aria-hidden": !0,
- className: sA(qG.base, qG.halo[e], t),
+ className: cA(JG.base, JG.halo[e], t),
...r,
- children: /* @__PURE__ */ (0, C.jsx)("span", { className: sA("size-1.5 rounded-full", qG.dot[e]) })
+ children: /* @__PURE__ */ (0, C.jsx)("span", { className: cA("size-1.5 rounded-full", JG.dot[e]) })
});
}
//#endregion
//#region src/react/components/connection-status.tsx
-function HFe({ online: e }) {
+function VFe({ online: e }) {
return /* @__PURE__ */ (0, C.jsxs)("span", {
"data-mount": e === !0 ? "online" : e === !1 ? "offline" : "unknown",
- className: sA("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", e === !0 ? "text-notification-success-foreground" : e === !1 ? "text-text-error-primary" : "text-text-secondary"),
- children: [/* @__PURE__ */ (0, C.jsx)(VFe, { color: e === void 0 ? "indigo" : "green" }), e === !0 ? "在线" : e === !1 ? "离线" : "未检测"]
+ className: cA("inline-flex items-center gap-1.5 whitespace-nowrap text-body-2-medium", e === !0 ? "text-notification-success-foreground" : e === !1 ? "text-text-error-primary" : "text-text-secondary"),
+ children: [/* @__PURE__ */ (0, C.jsx)(BFe, { color: e === void 0 ? "indigo" : "green" }), e === !0 ? "在线" : e === !1 ? "离线" : "未检测"]
});
}
//#endregion
//#region src/react/restart-redirect.ts
-var JG = 8e3, UFe = [
+var YG = 8e3, HFe = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -73835,34 +73903,34 @@ var JG = 8e3, UFe = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], WFe = [
+], UFe = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function GFe() {
+function WFe() {
return /* @__PURE__ */ (0, C.jsx)("div", {
className: "@container flex flex-col gap-3",
- children: /* @__PURE__ */ (0, C.jsxs)(FA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(IA, {
summary: "CloudDrive 设置帮助",
children: [
- /* @__PURE__ */ (0, C.jsxs)(kA, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, C.jsx)(MA, {
+ /* @__PURE__ */ (0, C.jsxs)(AA, { children: ["先将 CloudDrive2 或 OpenList 中的网盘挂载为本机文件夹,再在这里选择。", /* @__PURE__ */ (0, C.jsx)(NA, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
})] }),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: "文件操作需要挂载工具和网盘账号授予写入权限。光鸭云盘的上传、建文件夹、改名和移动需要 CloudDrive2 v1.1.0 或更高版本,删除和复制暂不支持。" }),
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: "缓存按所在硬盘和可用内存选起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: "文件操作需要挂载工具和网盘账号授予写入权限。光鸭云盘的上传、建文件夹、改名和移动需要 CloudDrive2 v1.1.0 或更高版本,删除和复制暂不支持。" }),
/* @__PURE__ */ (0, C.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: UFe.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
+ children: HFe.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, C.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: WFe.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {
+ children: UFe.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, C.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -73883,7 +73951,7 @@ function GFe() {
/* @__PURE__ */ (0, C.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(MA, {
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: /* @__PURE__ */ (0, C.jsx)(NA, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "完整配置与调优说明"
}) })
@@ -73893,7 +73961,7 @@ function GFe() {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function KFe({ className: e }) {
+function GFe({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -73906,12 +73974,12 @@ function KFe({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-search" })
});
}
-var YG = kt, XG = (e) => so[e] || "database", qFe = (e) => jt.includes(e);
-function JFe({ index: e, cost: t, error: n, onChange: r }) {
+var XG = kt, ZG = (e) => so[e] || "database", KFe = (e) => jt.includes(e);
+function qFe({ index: e, cost: t, error: n, onChange: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-media-read-policy": e,
className: "flex w-full flex-col gap-1.5 @lg:w-48",
- children: [/* @__PURE__ */ (0, C.jsxs)(UF, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(GF, {
"aria-label": `媒体读取策略 ${e + 1}`,
placeholder: "选择读取策略",
isRequired: !0,
@@ -73921,20 +73989,20 @@ function JFe({ index: e, cost: t, error: n, onChange: r }) {
onSelectionChange: (e) => {
(e === "free" || e === "metered") && r(e);
},
- children: [/* @__PURE__ */ (0, C.jsx)(WF, {
+ children: [/* @__PURE__ */ (0, C.jsx)(KF, {
id: "free",
children: "正常读取"
- }), /* @__PURE__ */ (0, C.jsx)(WF, {
+ }), /* @__PURE__ */ (0, C.jsx)(KF, {
id: "metered",
children: "代理流量保护"
})]
- }), n ? /* @__PURE__ */ (0, C.jsx)(AA, { children: n }) : null]
+ }), n ? /* @__PURE__ */ (0, C.jsx)(jA, { children: n }) : null]
});
}
-function YFe() {
- return /* @__PURE__ */ (0, C.jsx)(kA, { children: "按挂载工具实际配置选择;代理流量保护会限制自动媒体读取。" });
+function JFe() {
+ return /* @__PURE__ */ (0, C.jsx)(AA, { children: "按挂载工具实际配置选择;代理流量保护会限制自动媒体读取。" });
}
-function XFe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+function YFe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)([]), [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(null), p = (0, S.useRef)(!1), m = (0, S.useRef)([]);
(0, S.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -73977,7 +74045,7 @@ function XFe({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function ZFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
+function XFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {
let u = (0, S.useRef)(null), d = () => {
let e = u.current;
e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);
@@ -73990,7 +74058,7 @@ function ZFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "媒体目录路径",
@@ -74008,8 +74076,8 @@ function ZFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
className: "flex h-9 shrink-0 items-center",
children: c
}) : null,
- /* @__PURE__ */ (0, C.jsx)(dj, {
- icon: KFe,
+ /* @__PURE__ */ (0, C.jsx)(pj, {
+ icon: GFe,
"aria-label": "选择文件夹",
onClick: o,
...Y(a)
@@ -74017,7 +74085,7 @@ function ZFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
s ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "danger",
iconOnly: !0,
- leadingIcon: Ak,
+ leadingIcon: jk,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -74028,24 +74096,24 @@ function ZFe({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function QFe({ index: e, value: t, onChange: n, options: r = YG }) {
- return /* @__PURE__ */ (0, C.jsx)(UF, {
+function ZFe({ index: e, value: t, onChange: n, options: r = XG }) {
+ return /* @__PURE__ */ (0, C.jsx)(GF, {
className: "w-full @lg:w-60",
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(WF, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(KF, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: XG(e) }), t]
+ children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: ZG(e) }), t]
}, e))
});
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var ZG = [
+var QG = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -74089,13 +74157,13 @@ var ZG = [
["star", "收藏"],
["tags", "主题"]
];
-function $Fe(e) {
+function QFe(e) {
let t = e === "local" ? "" : so[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var QG = "auto";
-function eIe({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = $Fe(n);
+var $G = "auto";
+function $Fe({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = QFe(n);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
ref: i,
variant: "secondary",
@@ -74109,35 +74177,35 @@ function eIe({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, C.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: e || l }), ((e) => e && ZG.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: e || l }), ((e) => e && QG.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: KP,
- children: /* @__PURE__ */ (0, C.jsxs)(TN, {
+ className: JP,
+ children: /* @__PURE__ */ (0, C.jsxs)(DN, {
"aria-label": `${t}可选图标`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, C.jsx)(Hj, {
+ /* @__PURE__ */ (0, C.jsx)(Wj, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, C.jsx)(MN, {
+ /* @__PURE__ */ (0, C.jsx)(PN, {
"aria-label": "可选图标",
- value: s || QG,
- onChange: (e) => c(e === QG ? "" : e),
+ value: s || $G,
+ onChange: (e) => c(e === $G ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: ZG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {
- value: e || QG,
+ children: QG.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(FN, {
+ value: e || $G,
"aria-label": e ? t : u,
className: "flex h-10 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none hover:bg-dropdown-item-hover-background focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-dropdown-item-hover-background data-selected:text-text-primary",
- children: /* @__PURE__ */ (0, C.jsx)(IA, { mark: e || l })
- }, e || QG))
+ children: /* @__PURE__ */ (0, C.jsx)(LA, { mark: e || l })
+ }, e || $G))
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -74159,9 +74227,9 @@ function eIe({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var tIe = "/api/configuration/push-discovery", nIe = "/api/configuration/push-discovery/secret";
-function rIe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = yA(), l = n.media_roots, [u, d] = (0, S.useState)(e), f = (e, n) => {
+var eIe = "/api/configuration/push-discovery", tIe = "/api/configuration/push-discovery/secret";
+function nIe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.prefixes), [o, s] = (0, S.useState)(""), c = bA(), l = n.media_roots, [u, d] = (0, S.useState)(e), f = (e, n) => {
r(e), d(e), a(e.prefixes), s(""), t(n);
}, p = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
@@ -74174,19 +74242,19 @@ function rIe({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => U(tIe, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(V(e)));
+ c.run("save", (e) => U(eIe, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(V(e)));
}, h = () => {
- c.run("secret", (e) => U(nIe, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(V(e)));
+ c.run("secret", (e) => U(tIe, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(V(e)));
}, g = `已入库 ${u.queue.ingested} 个文件` + (u.queue.pending ? `,队列里还有 ${u.queue.pending} 条` : ""), _ = u.local_running ? `正在监视 ${u.local_roots.join("、")}` : u.local_message || "没有运行";
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "自动发现新文件",
onSubmit: m,
children: [
- /* @__PURE__ */ (0, C.jsxs)(EA, { children: [
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "发现新文件后自动入库",
description: u.enabled ? g : void 0,
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "发现新文件后自动入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -74196,10 +74264,10 @@ function rIe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "监视本机文件夹",
description: u.enabled && u.watch_local ? _ : void 0,
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -74209,9 +74277,9 @@ function rIe({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "接收 CloudDrive2 通知",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -74221,34 +74289,34 @@ function rIe({ initial: e, receipt: t }) {
})
})
}),
- u.enabled && u.cloud ? /* @__PURE__ */ (0, C.jsx)(SA, {
+ u.enabled && u.cloud ? /* @__PURE__ */ (0, C.jsx)(CA, {
label: "Webhook 配置",
description: u.config_toml ? "贴进 CloudDrive2「设置 → Webhooks」,需要会员;更换密钥后要重贴。" : u.origin ? "还没有共享密钥,保存配置后生成。" : "要先有 CloudDrive2 能访问的 HTTPS 地址才能生成。"
}) : null
] }),
- u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
children: /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col gap-3",
- children: /* @__PURE__ */ (0, C.jsxs)(FA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(IA, {
summary: "查看配置",
- children: [/* @__PURE__ */ (0, C.jsx)(xG, {
+ children: [/* @__PURE__ */ (0, C.jsx)(SG, {
code: u.config_toml,
language: "toml",
label: "CloudDrive2 配置",
bounded: !1,
copyLabel: "复制配置",
onCopy: () => t("已复制 CloudDrive2 配置")
- }), /* @__PURE__ */ (0, C.jsx)(kA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
+ }), /* @__PURE__ */ (0, C.jsx)(AA, { children: "Windows 桌面版粘贴后显示「无效」时,把这段存成 .toml 文件,放进 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" })]
})
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
children: /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "云端路径前缀" }),
/* @__PURE__ */ (0, C.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -74256,7 +74324,7 @@ function rIe({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -74265,13 +74333,13 @@ function rIe({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => p(t, { prefix: e })
}),
- /* @__PURE__ */ (0, C.jsx)(UF, {
+ /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && p(t, { root: String(e) });
},
- children: l.map((e) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: l.map((e) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: e
}, e))
@@ -74279,7 +74347,7 @@ function rIe({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, C.jsx)(q, {
variant: "danger",
iconOnly: !0,
- leadingIcon: Ak,
+ leadingIcon: jk,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -74298,11 +74366,11 @@ function rIe({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ o || c.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: o || c.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, C.jsxs)(OA, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, C.jsx)(q, {
+ /* @__PURE__ */ (0, C.jsxs)(kA, { children: [u.enabled && u.cloud && u.config_toml ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
onClick: h,
disabled: !n.available,
@@ -74319,7 +74387,7 @@ function rIe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var iIe = (e) => YG.find(([t]) => t === e)?.[1] ?? e, aIe = async (e) => (await U(hFe, { initial: e })).path, $G = (e = "") => ({
+var rIe = (e) => XG.find(([t]) => t === e)?.[1] ?? e, iIe = async (e) => (await U(mFe, { initial: e })).path, eK = (e = "") => ({
path: e,
location: "local",
root: "",
@@ -74327,8 +74395,8 @@ var iIe = (e) => YG.find(([t]) => t === e)?.[1] ?? e, aIe = async (e) => (await
library_icon: "",
cost: "free"
});
-function oIe(e) {
- let t = e.media_sources?.filter((e) => YG.some(([t]) => t === e.location));
+function aIe(e) {
+ let t = e.media_sources?.filter((e) => XG.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
@@ -74336,14 +74404,14 @@ function oIe(e) {
library: e.library || "",
library_icon: e.library_icon || "",
cost: e.cost ?? Nt(e.location)
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => $G(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => eK(e));
}
-var sIe = (e) => !(e instanceof vn) || e.status !== 400 ? null : e.body?.errors ?? null;
-function cIe({ data: e, receipt: t, panel: n }) {
+var oIe = (e) => !(e instanceof vn) || e.status !== 400 ? null : e.body?.errors ?? null;
+function sIe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(n),
+ ...BG(n),
children: [
- e.editable ? /* @__PURE__ */ (0, C.jsx)(lIe, {
+ e.editable ? /* @__PURE__ */ (0, C.jsx)(cIe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, C.jsx)(J, {
@@ -74351,24 +74419,24 @@ function cIe({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
- e.editable ? null : /* @__PURE__ */ (0, C.jsx)(uIe, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, C.jsx)(rIe, {
+ e.editable ? null : /* @__PURE__ */ (0, C.jsx)(lIe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, C.jsx)(nIe, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-function lIe({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = XFe({
- initial: () => oIe(e),
- blank: () => $G(),
- pickFolder: aIe,
+function cIe({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = YFe({
+ initial: () => aIe(e),
+ blank: () => eK(),
+ pickFolder: iIe,
describe: V
- }), [d, f] = (0, S.useState)(!1), [p, m] = (0, S.useState)(!1), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(e.revision), b = yA();
+ }), [d, f] = (0, S.useState)(!1), [p, m] = (0, S.useState)(!1), [h, g] = (0, S.useState)(""), [_, v] = (0, S.useState)(null), y = (0, S.useRef)(e.revision), b = bA();
(0, S.useEffect)(() => {
if (!_) return;
- let e = setTimeout(() => location.assign(_.url), JG);
+ let e = setTimeout(() => location.assign(_.url), YG);
return () => clearTimeout(e);
}, [_]);
let x = (r) => {
@@ -74378,7 +74446,7 @@ function lIe({ data: e, receipt: t }) {
m(!0);
let e = r.currentTarget;
requestAnimationFrame(() => e.querySelector(`[data-media-read-policy="${i}"] button`)?.focus());
- } else g(""), b.run("save", (t) => U(FG, {
+ } else g(""), b.run("save", (t) => U(IG, {
revision: y.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -74387,18 +74455,18 @@ function lIe({ data: e, receipt: t }) {
}, "POST", t), (e) => {
y.current = e.revision, s([]), t("已保存配置"), v(e);
}, (e) => {
- let t = sIe(e);
+ let t = oIe(e);
s(t?.media_dirs ?? []), (!t || t.port) && g(t?.port || V(e));
});
};
- if (_) return /* @__PURE__ */ (0, C.jsx)(TA, {
+ if (_) return /* @__PURE__ */ (0, C.jsx)(EA, {
title: "媒体目录",
- children: /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsxs)(J, {
+ children: /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsxs)(J, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, C.jsx)(wA, {
+ /* @__PURE__ */ (0, C.jsx)(TA, {
href: _.url,
size: "small",
children: "进入馆藏"
@@ -74407,20 +74475,20 @@ function lIe({ data: e, receipt: t }) {
]
}) })
});
- let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => qFe(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ let w = (t) => t ? e.media_sources?.find((e) => e.path === t) : void 0, T = n.some((e) => KFe(e.location)), E = T ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "媒体目录",
onSubmit: x,
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsx)(jA, { children: "媒体目录" }),
+ /* @__PURE__ */ (0, C.jsx)(MA, { children: "媒体目录" }),
/* @__PURE__ */ (0, C.jsx)("div", {
role: "group",
"aria-label": "媒体目录",
className: "flex flex-col gap-3",
- children: n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(ZFe, {
+ children: n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(XFe, {
label: `媒体目录 ${t + 1}`,
path: e.path,
onPath: (e) => r(t, { path: e }),
@@ -74429,9 +74497,9 @@ function lIe({ data: e, receipt: t }) {
picking: c === t,
onPick: () => void l(t),
onRemove: n.length > 1 ? () => a(t) : void 0,
- status: w(e.path) ? /* @__PURE__ */ (0, C.jsx)(eK, { online: w(e.path)?.online }) : null,
+ status: w(e.path) ? /* @__PURE__ */ (0, C.jsx)(tK, { online: w(e.path)?.online }) : null,
children: [
- /* @__PURE__ */ (0, C.jsx)(QFe, {
+ /* @__PURE__ */ (0, C.jsx)(ZFe, {
index: t,
value: e.location,
onChange: (e) => r(t, {
@@ -74439,13 +74507,13 @@ function lIe({ data: e, receipt: t }) {
cost: e === "local" ? "free" : ""
})
}),
- /* @__PURE__ */ (0, C.jsx)(JFe, {
+ /* @__PURE__ */ (0, C.jsx)(qFe, {
index: t,
cost: e.cost,
onChange: (e) => r(t, { cost: e }),
error: p && !e.cost ? "请选择媒体读取策略" : void 0
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
className: "min-w-40 flex-1",
"aria-label": `媒体库名称 ${t + 1}`,
maxLength: 80,
@@ -74453,7 +74521,7 @@ function lIe({ data: e, receipt: t }) {
value: e.library,
onChange: (e) => r(t, { library: e })
}),
- /* @__PURE__ */ (0, C.jsx)(eIe, {
+ /* @__PURE__ */ (0, C.jsx)($Fe, {
label: `媒体库图标 ${t + 1}`,
value: e.library_icon,
kind: e.location,
@@ -74470,17 +74538,17 @@ function lIe({ data: e, receipt: t }) {
})
]
}),
- T ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(YFe, {}), /* @__PURE__ */ (0, C.jsx)(GFe, {})] }) : null,
- E.map((e) => /* @__PURE__ */ (0, C.jsxs)(kA, { children: [
+ T ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(JFe, {}), /* @__PURE__ */ (0, C.jsx)(WFe, {})] }) : null,
+ E.map((e) => /* @__PURE__ */ (0, C.jsxs)(AA, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, C.jsxs)(MA, {
+ /* @__PURE__ */ (0, C.jsxs)(NA, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: d,
onChange: f,
children: "保存后扫描并补全资料"
@@ -74490,7 +74558,7 @@ function lIe({ data: e, receipt: t }) {
title: "没有保存",
children: h
}) : null
- ] }), /* @__PURE__ */ (0, C.jsx)(OA, {
+ ] }), /* @__PURE__ */ (0, C.jsx)(kA, {
status: "保存后 Peach 会重新启动。",
children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
@@ -74500,25 +74568,25 @@ function lIe({ data: e, receipt: t }) {
})]
});
}
-function eK({ online: e }) {
- return /* @__PURE__ */ (0, C.jsx)(HFe, { online: e });
+function tK({ online: e }) {
+ return /* @__PURE__ */ (0, C.jsx)(VFe, { online: e });
}
-function uIe({ data: e }) {
- let t = e.media_sources, n = yA();
- return t ? /* @__PURE__ */ (0, C.jsxs)(TA, {
+function lIe({ data: e }) {
+ let t = e.media_sources, n = bA();
+ return t ? /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, C.jsx)(NA, { children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(PA, {
- term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(IA, { mark: XG(e.location) }), iIe(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(eK, { online: e.online })]
+ /* @__PURE__ */ (0, C.jsx)(PA, { children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(FA, {
+ term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(LA, { mark: ZG(e.location) }), rIe(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(tK, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ n.error ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: n.error })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
+ /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
- onClick: () => void n.run("refresh", (e) => LG(e), (e) => W.setQueryData(IG, e)),
+ onClick: () => void n.run("refresh", (e) => RG(e), (e) => W.setQueryData(LG, e)),
...Y(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -74527,76 +74595,76 @@ function uIe({ data: e }) {
}
//#endregion
//#region src/application/initial-follow-ranges.ts
-var tK = [
+var nK = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
-], dIe = [
+], uIe = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-function fIe({ epoch: e = 0, disabled: t = !1 }) {
+function dIe({ epoch: e = 0, disabled: t = !1 }) {
let n = pt({
- queryKey: yB,
- queryFn: ({ signal: e }) => UDe(e),
+ queryKey: bB,
+ queryFn: ({ signal: e }) => HDe(e),
refetchOnMount: "always"
- }), r = KDe(), i = r.reset;
+ }), r = GDe(), i = r.reset;
(0, S.useEffect)(() => {
i();
}, [e, i]);
let a = n.data, o = r.error || n.error;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "时间轴预览",
description: "按所选间隔抽帧,仅处理本机磁盘上的视频。",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "videoThumbnailSetting",
- children: /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "缩略图采集间隔",
selectedKey: a?.mode || "off",
isDisabled: t || !a || n.isFetching || r.isPending,
onSelectionChange: (e) => {
e !== null && r.mutate(String(e));
},
- children: dIe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: uIe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
})
})
}) }),
- r.isPending || a?.status === "running" ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ r.isPending || a?.status === "running" ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(kA, {
+ children: /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: r.isPending ? "正在保存…" : "正在采集,进度在活动页查看。"
})
}) : null,
- o ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ o ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: V(o) })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: V(o) })
}) : null
] });
}
-function pIe({ receipt: e }) {
+function fIe({ receipt: e }) {
let t = mE();
(0, S.useSyncExternalStore)(t.subscribe, t.version);
let n = pt({
- queryKey: _B,
- queryFn: ({ signal: e }) => bB(e),
+ queryKey: vB,
+ queryFn: ({ signal: e }) => xB(e),
refetchOnMount: "always"
- }), r = xB(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ }), r = SB(), i = n.data?.followInitialDays ?? t.value.followInitialDays, a = r.error || n.error;
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "关注采集",
- children: [/* @__PURE__ */ (0, C.jsxs)(EA, { children: [
- /* @__PURE__ */ (0, C.jsx)(mIe, {}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(pIe, {}),
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "首次采集范围",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "followInitialDaysSetting",
- children: /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "首次采集范围",
selectedKey: String(i),
isDisabled: n.isFetching || r.isPending,
@@ -74605,33 +74673,33 @@ function pIe({ receipt: e }) {
typeof n.followInitialDays == "number" && (t.value.followInitialDays = n.followInitialDays), t.save(), e("已保存首次采集范围");
} });
},
- children: tK.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: nK.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
})
})
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "头像刷新",
children: "每 3 个月"
}),
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "favicon 刷新",
children: "每年"
})
- ] }), a ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ ] }), a ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: V(a) })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: V(a) })
}) : null]
});
}
-function mIe() {
+function pIe() {
let e = pt({
- queryKey: vB,
- queryFn: ({ signal: e }) => HDe(e),
+ queryKey: yB,
+ queryFn: ({ signal: e }) => VDe(e),
refetchOnMount: "always"
- }), t = GDe(), n = e.data, r = (0, S.useRef)($T(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, S.useState)("60"), [o, s] = (0, S.useState)(!1);
+ }), t = WDe(), n = e.data, r = (0, S.useRef)($T(Number(localStorage.getItem("peach.number.followScheduleSetting")), 15, 10080, 60)), [i, a] = (0, S.useState)("60"), [o, s] = (0, S.useState)(!1);
(0, S.useEffect)(() => {
n?.enabled && (r.current = n.interval_minutes, a(String(n.interval_minutes)));
}, [n]);
@@ -74640,12 +74708,12 @@ function mIe() {
!Number.isInteger(e) || e < 15 || e > 10080 ? s(!0) : (s(!1), n?.enabled && !c && e !== n.interval_minutes && (r.current = e, localStorage.setItem("peach.number.followScheduleSetting", String(e)), t.mutate(e)));
}, u = t.error || e.error;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(CA, {
label: "自动检查更新",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
id: "followScheduleSetting",
className: "flex min-w-0 flex-wrap items-center justify-end gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(HU, {
+ children: [/* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "自动检查更新",
isSelected: n?.enabled === !0,
isDisabled: c,
@@ -74654,7 +74722,7 @@ function mIe() {
}
}), n?.enabled ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, C.jsx)(DP, {
type: "number",
inputMode: "numeric",
name: "follow-interval",
@@ -74679,56 +74747,56 @@ function mIe() {
}) : null]
})
}),
- o ? /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(AA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
- t.isPending || n?.running ? /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(kA, {
+ o ? /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(jA, { children: "请输入 15–10080 的整数(分钟)。" }) }) : null,
+ t.isPending || n?.running ? /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
- u ? /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(AA, { children: V(u) }) }) : null
+ u ? /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(jA, { children: V(u) }) }) : null
] });
}
//#endregion
//#region src/react/settings/media-processing-settings.tsx
-var nK = ["media-processing"];
-function hIe({ receipt: e }) {
+var rK = ["media-processing"];
+function mIe({ receipt: e }) {
let t = pt({
- queryKey: nK,
+ queryKey: rK,
queryFn: ({ signal: e }) => H("/api/media-processing", e)
- }), n = yA(), r = n.error || (t.error ? V(t.error) : "");
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ }), n = bA(), r = n.error || (t.error ? V(t.error) : "");
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "视频预览",
children: [
- /* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "生成视频预览",
description: "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。",
- children: /* @__PURE__ */ (0, C.jsx)(HU, {
+ children: /* @__PURE__ */ (0, C.jsx)(UU, {
"aria-label": "生成视频预览",
isSelected: !!t.data && !t.data.metadata_only,
isDisabled: !t.data || t.isFetching || !!n.busy,
onChange: (t) => void n.run("save", (e) => U("/api/media-processing", { metadata_only: !t }, "POST", e), (t) => {
- W.setQueryData(nK, t), W.invalidateQueries({ queryKey: yB }), W.invalidateQueries({ queryKey: fF }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
+ W.setQueryData(rK, t), W.invalidateQueries({ queryKey: bB }), W.invalidateQueries({ queryKey: mF }), e(t.metadata_only ? "已关闭视频预览生成" : "已开启视频预览生成");
})
})
}) }),
- /* @__PURE__ */ (0, C.jsx)(fIe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
- n.busy ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ /* @__PURE__ */ (0, C.jsx)(dIe, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
+ n.busy ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(kA, {
+ children: /* @__PURE__ */ (0, C.jsx)(AA, {
role: "status",
children: "正在保存…"
})
}) : null,
- r ? /* @__PURE__ */ (0, C.jsx)(DA, {
+ r ? /* @__PURE__ */ (0, C.jsx)(OA, {
divided: !0,
- children: /* @__PURE__ */ (0, C.jsx)(AA, { children: r })
+ children: /* @__PURE__ */ (0, C.jsx)(jA, { children: r })
}) : null
]
});
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function gIe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+function hIe({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(DP, {
id: "access-password",
type: "password",
label: e,
@@ -74741,7 +74809,7 @@ function gIe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, C.jsx)(TP, {
+ }), /* @__PURE__ */ (0, C.jsx)(DP, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -74758,13 +74826,13 @@ function gIe({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var _Ie = {
+var gIe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function vIe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1), [f, p] = (0, S.useState)({}), m = (0, S.useRef)(null), h = yA(), g = (e) => {
+function _Ie({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1), [f, p] = (0, S.useState)({}), m = (0, S.useRef)(null), h = bA(), g = (e) => {
e.preventDefault();
let f = {};
n.mode === "password" && !i && (f.current_password = "请输入当前访问密码"), u || ((o.length < 8 || o.length > 256) && (f.password = "访问密码需为 8–256 个字符"), o !== c && (f.confirmation = "两次输入的密码不一致")), p(f), Object.keys(f).length ? requestAnimationFrame(() => m.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : h.run("save", (e) => U("/api/configuration/access", {
@@ -74780,25 +74848,25 @@ function vIe({ initial: e, receipt: t }) {
let t = e instanceof vn ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(V(e));
});
- }, _ = _Ie[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ }, _ = gIe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- _ ? /* @__PURE__ */ (0, C.jsx)(kA, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ _ ? /* @__PURE__ */ (0, C.jsx)(AA, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)($P, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)(TP, {
+ n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)(DP, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -74811,7 +74879,7 @@ function vIe({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, C.jsx)(gIe, {
+ v ? /* @__PURE__ */ (0, C.jsx)(hIe, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -74827,9 +74895,9 @@ function vIe({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
+ }), v ? /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
...Y(h.busy === "save"),
children: "保存配置"
@@ -74838,27 +74906,27 @@ function vIe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/port-settings.tsx
-function yIe({ data: e, receipt: t }) {
- let [n, r] = (0, S.useState)(String(e.port)), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(null), c = yA();
+function vIe({ data: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(String(e.port)), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(null), c = bA();
return (0, S.useEffect)(() => {
if (!o) return;
- let e = setTimeout(() => location.assign(o.url), JG);
+ let e = setTimeout(() => location.assign(o.url), YG);
return () => clearTimeout(e);
- }, [o]), o ? /* @__PURE__ */ (0, C.jsx)(TA, {
+ }, [o]), o ? /* @__PURE__ */ (0, C.jsx)(EA, {
title: "本机访问端口",
- children: /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsxs)(J, {
+ children: /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsxs)(J, {
tone: "success",
title: "配置已保存",
- children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, C.jsx)(wA, {
+ children: ["Peach 正在重新启动。", /* @__PURE__ */ (0, C.jsx)(TA, {
href: o.url,
size: "small",
children: "进入馆藏"
})]
}) })
- }) : /* @__PURE__ */ (0, C.jsxs)(TA, {
+ }) : /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "本机访问端口",
onSubmit: (r) => {
- r.preventDefault(), a(""), c.run("save", (t) => U(FG, {
+ r.preventDefault(), a(""), c.run("save", (t) => U(IG, {
revision: e.revision,
media_dirs: e.media_dirs,
...e.media_sources ? { media_sources: e.media_sources } : {},
@@ -74871,7 +74939,7 @@ function yIe({ data: e, receipt: t }) {
t?.port ? a(t.port) : c.setError(V(e));
});
},
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [/* @__PURE__ */ (0, C.jsx)(DP, {
id: "configPort",
label: "端口",
inputMode: "numeric",
@@ -74884,7 +74952,7 @@ function yIe({ data: e, receipt: t }) {
tone: "error",
title: "没有保存",
children: c.error
- }) : null] }), /* @__PURE__ */ (0, C.jsx)(OA, {
+ }) : null] }), /* @__PURE__ */ (0, C.jsx)(kA, {
status: "保存后 Peach 会重启,并跳转到新地址。",
children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
@@ -74896,19 +74964,19 @@ function yIe({ data: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var bIe = 2e3, xIe = [["quick", "临时链接"], ["named", "命名隧道"]], SIe = {
+var yIe = 2e3, bIe = [["quick", "临时链接"], ["named", "命名隧道"]], xIe = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function CIe({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, S.useState)(t), [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(t.mode), [l, u] = (0, S.useState)(t.hostname), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)({}), h = yA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function SIe({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, S.useState)(t), [a, o] = (0, S.useState)(e), [s, c] = (0, S.useState)(t.mode), [l, u] = (0, S.useState)(t.hostname), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)({}), h = bA(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, S.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- LG(e.signal).then((t) => {
- !e.signal.aborted && t.tunnel && (W.setQueryData(IG, t), i(t.tunnel), o(t.revision));
+ RG(e.signal).then((t) => {
+ !e.signal.aborted && t.tunnel && (W.setQueryData(LG, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, bIe);
+ }, yIe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -74927,26 +74995,26 @@ function CIe({ revision: e, initial: t, receipt: n }) {
n ? m(n) : h.setError(V(e));
});
};
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- r.named_available ? /* @__PURE__ */ (0, C.jsx)(YF, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ r.named_available ? /* @__PURE__ */ (0, C.jsx)(ZF, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: XF,
- children: xIe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(NN, {
+ className: QF,
+ children: bIe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(FN, {
value: e,
- className: ZF,
+ className: $F,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, C.jsx)(kA, { children: SIe[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: xIe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(DP, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -74957,7 +75025,7 @@ function CIe({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "Cloudflare Zero Trust 里指向这台电脑的主机名。"
- }), /* @__PURE__ */ (0, C.jsx)(TP, {
+ }), /* @__PURE__ */ (0, C.jsx)(DP, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -74977,7 +75045,7 @@ function CIe({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, C.jsx)(MA, {
+ children: /* @__PURE__ */ (0, C.jsx)(NA, {
href: r.url,
children: r.url
})
@@ -74987,9 +75055,9 @@ function CIe({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, C.jsxs)(OA, {
+ r.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, C.jsxs)(kA, {
status: r.enabled ? "Peach 重启后自动恢复。" : void 0,
children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: r.named_available ? "secondary" : "primary",
@@ -75006,28 +75074,28 @@ function CIe({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var wIe = [
+var CIe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function TIe({ data: e, receipt: t, panel: n }) {
+function wIe({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(n),
+ ...BG(n),
children: [
- e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(yIe, {
+ e.editable && e.port_editable !== !1 ? /* @__PURE__ */ (0, C.jsx)(vIe, {
data: e,
receipt: t
}) : null,
- e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(EIe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(TIe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, C.jsx)(vIe, {
+ e.access ? /* @__PURE__ */ (0, C.jsx)(_Ie, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, C.jsx)(CIe, {
+ e.tunnel ? /* @__PURE__ */ (0, C.jsx)(SIe, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -75035,9 +75103,9 @@ function TIe({ data: e, receipt: t, panel: n }) {
]
});
}
-function EIe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.mode), [o, s] = (0, S.useState)(""), c = yA();
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+function TIe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.mode), [o, s] = (0, S.useState)(""), c = bA();
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -75049,24 +75117,24 @@ function EIe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, C.jsx)(EA, { children: /* @__PURE__ */ (0, C.jsx)(SA, {
+ /* @__PURE__ */ (0, C.jsx)(DA, { children: /* @__PURE__ */ (0, C.jsx)(CA, {
label: "连接方式",
- children: /* @__PURE__ */ (0, C.jsx)(UF, {
+ children: /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: wIe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: CIe.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, C.jsxs)(DA, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, C.jsxs)(OA, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, C.jsx)(TP, {
+ i === "proxy" ? /* @__PURE__ */ (0, C.jsx)(DP, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -75080,10 +75148,10 @@ function EIe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
+ /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
...Y(c.busy === "save"),
children: "保存配置"
@@ -75093,24 +75161,24 @@ function EIe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var DIe = "将清除这个来源在本机和共享副本中的登录凭据。", OIe = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
-function kIe(e, t) {
+var EIe = "将清除这个来源在本机和共享副本中的登录凭据。", DIe = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
+function OIe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function AIe({ row: e }) {
- if (Zr(e)) return /* @__PURE__ */ (0, C.jsx)(uA, {
+function kIe({ row: e }) {
+ if (Zr(e)) return /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, C.jsx)(uA, {
+ return /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: t,
children: Xr[e.requirement] || ""
});
}
-function jIe({ row: e, readOnly: t, toast: n }) {
+function AIe({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, S.useState)({}), [a, o] = (0, S.useState)(""), s = Zr(e), c = mt({
mutationFn: (t) => jr(e.provider, t),
onSuccess: (e, t) => {
@@ -75127,17 +75195,17 @@ function jIe({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, C.jsxs)(kA, { children: [e.why, e.where ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [" ", /* @__PURE__ */ (0, C.jsx)(MA, {
+ /* @__PURE__ */ (0, C.jsxs)(AA, { children: [e.why, e.where ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [" ", /* @__PURE__ */ (0, C.jsx)(NA, {
href: e.where,
children: "获取凭据"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, C.jsx)(kA, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, C.jsx)(AA, { children: e.howto }) : null,
/* @__PURE__ */ (0, C.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(DP, {
type: "password",
label: n,
- placeholder: kIe(e, n),
+ placeholder: OIe(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -75165,7 +75233,7 @@ function jIe({ row: e, readOnly: t, toast: n }) {
...Y(c.isPending),
onClick: () => void Rs({
title: "清除来源凭据",
- body: DIe,
+ body: EIe,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -75173,11 +75241,11 @@ function jIe({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, C.jsx)(AA, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, C.jsx)(kA, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,
- e.path ? /* @__PURE__ */ (0, C.jsx)(FA, {
+ a ? /* @__PURE__ */ (0, C.jsx)(jA, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, C.jsx)(AA, { children: `${e.shared_fields.join("、")} 使用共享副本中的登录信息,本机没有单独保存。清除时,本机和共享副本中的登录信息都会删除。` }) : null,
+ e.path ? /* @__PURE__ */ (0, C.jsx)(IA, {
summary: "凭据文件",
- children: /* @__PURE__ */ (0, C.jsx)(lV, {
+ children: /* @__PURE__ */ (0, C.jsx)(uV, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -75186,20 +75254,20 @@ function jIe({ row: e, readOnly: t, toast: n }) {
]
});
}
-function MIe({ row: e, readOnly: t, toast: n }) {
+function jIe({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, C.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, C.jsx)(NU, { provider: e.provider })
+ children: /* @__PURE__ */ (0, C.jsx)(PU, { provider: e.provider })
}),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
- /* @__PURE__ */ (0, C.jsx)(AIe, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, C.jsx)(uA, {
+ /* @__PURE__ */ (0, C.jsx)(kIe, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, C.jsx)(dA, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -75208,15 +75276,15 @@ function MIe({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, C.jsx)(kA, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, C.jsx)(AA, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
children: [
r,
- /* @__PURE__ */ (0, C.jsx)(FA, {
+ /* @__PURE__ */ (0, C.jsx)(IA, {
summary: Zr(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !Zr(e),
- children: /* @__PURE__ */ (0, C.jsx)(jIe, {
+ children: /* @__PURE__ */ (0, C.jsx)(AIe, {
row: e,
readOnly: t,
toast: n
@@ -75225,16 +75293,16 @@ function MIe({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "凭据文件权限过宽",
- children: OIe
+ children: DIe
}) : null
]
});
}
-function NIe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
+function MIe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !Zr(e));
- if (!i.length) return /* @__PURE__ */ (0, C.jsx)(mA, {
+ if (!i.length) return /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Jge,
+ icon: qge,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
@@ -75261,24 +75329,24 @@ function NIe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, C.jsx)("div", {
- className: pA({
+ className: mA({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(MIe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, C.jsx)(jIe, {
row: e,
readOnly: t,
toast: n
}, e.provider))
})]
}, e.title)) });
- return r ? /* @__PURE__ */ (0, C.jsx)(TA, {
+ return r ? /* @__PURE__ */ (0, C.jsx)(EA, {
title: "来源凭据",
aside: o || void 0,
- children: /* @__PURE__ */ (0, C.jsx)(DA, { children: s })
+ children: /* @__PURE__ */ (0, C.jsx)(OA, { children: s })
}) : /* @__PURE__ */ (0, C.jsxs)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -75293,15 +75361,15 @@ function NIe({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
}
//#endregion
//#region src/configuration-copy.ts
-var PIe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", FIe = "只填域名,留空用默认地址";
+var NIe = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", PIe = "只填域名,留空用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function IIe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e.sites), i = yA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function FIe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e.sites), i = bA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "作品资料站点",
onSubmit: (e) => {
e.preventDefault();
@@ -75310,11 +75378,11 @@ function IIe({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- /* @__PURE__ */ (0, C.jsx)(kA, { children: PIe }),
- n.map((e) => /* @__PURE__ */ (0, C.jsx)(TP, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: NIe }),
+ n.map((e) => /* @__PURE__ */ (0, C.jsx)(DP, {
id: `entry-link-${e.key}`,
- label: /* @__PURE__ */ (0, C.jsx)(Zve, {
+ label: /* @__PURE__ */ (0, C.jsx)(Xve, {
site: e.key,
label: `${e.label} 地址`
}),
@@ -75324,10 +75392,10 @@ function IIe({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: FIe
+ hint: PIe
}, e.key)),
- i.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, C.jsx)(OA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
+ i.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, C.jsx)(kA, { children: /* @__PURE__ */ (0, C.jsx)(q, {
type: "submit",
...Y(i.busy === "save"),
children: "保存配置"
@@ -75336,34 +75404,34 @@ function IIe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var rK = "/api/configuration/indexers";
-function LIe({ receipt: e }) {
+var iK = "/api/configuration/indexers";
+function IIe({ receipt: e }) {
let t = pt({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => H(rK, e),
+ queryFn: ({ signal: e }) => H(iK, e),
refetchOnMount: "always"
});
- return t.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(RIe, {
+ return t.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: V(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在读取资源搜索设置" }) : t.data ? /* @__PURE__ */ (0, C.jsx)(LIe, {
initial: t.data,
receipt: e
}) : null;
}
-function RIe({ initial: e, receipt: t }) {
- let [n, r] = (0, S.useState)(e.indexers), i = yA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function LIe({ initial: e, receipt: t }) {
+ let [n, r] = (0, S.useState)(e.indexers), i = bA(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, C.jsxs)(TA, {
+ return /* @__PURE__ */ (0, C.jsxs)(EA, {
title: "资源搜索",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => U(rK, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => U(iK, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- /* @__PURE__ */ (0, C.jsxs)(FA, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsxs)(IA, {
summary: "索引器连接帮助",
- children: [/* @__PURE__ */ (0, C.jsx)(kA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" }), /* @__PURE__ */ (0, C.jsx)(MA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(AA, { children: "填写 Prowlarr 或 Jackett 提供的 Torznab 地址和 API key。" }), /* @__PURE__ */ (0, C.jsx)(NA, {
href: "https://github.com/peach-mitao/peach/blob/master/docs/RESOURCE_SEARCH.md",
children: "详细配置说明"
})]
@@ -75371,14 +75439,14 @@ function RIe({ initial: e, receipt: t }) {
n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: `索引器 ${t + 1} Torznab 地址`,
value: e.url,
type: "url",
@@ -75387,7 +75455,7 @@ function RIe({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -75396,13 +75464,13 @@ function RIe({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, C.jsx)($P, {
+ /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用"
}),
- e.api_key_set ? /* @__PURE__ */ (0, C.jsx)($P, {
+ e.api_key_set ? /* @__PURE__ */ (0, C.jsx)(tF, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -75417,8 +75485,8 @@ function RIe({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, C.jsxs)(OA, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
+ i.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, C.jsxs)(kA, { children: [/* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
type: "button",
disabled: !!i.busy || n.length >= e.max_indexers,
@@ -75439,7 +75507,7 @@ function RIe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/source-settings.tsx
-function zIe({ data: e, receipt: t, panel: n }) {
+function RIe({ data: e, receipt: t, panel: n }) {
let r = pt({
queryKey: Wn,
queryFn: ({ signal: e }) => br(e),
@@ -75447,14 +75515,14 @@ function zIe({ data: e, receipt: t, panel: n }) {
refetchOnMount: "always"
});
return /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(n),
+ ...BG(n),
children: [
- /* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(fA, {
+ /* @__PURE__ */ (0, C.jsx)("div", { children: /* @__PURE__ */ (0, C.jsx)(pA, {
href: "/sources",
variant: "secondary",
children: "采集来源与登录状态"
}) }),
- r.data ? /* @__PURE__ */ (0, C.jsx)(NIe, {
+ r.data ? /* @__PURE__ */ (0, C.jsx)(MIe, {
data: r.data,
readOnly: !!e.ledger_read_only,
toast: t,
@@ -75463,24 +75531,24 @@ function zIe({ data: e, receipt: t, panel: n }) {
tone: "error",
title: "来源凭据未取得",
children: V(r.error)
- }) : n?.active === !1 ? null : /* @__PURE__ */ (0, C.jsx)(hA, { label: "正在读取来源凭据" }),
- e.entry_links ? /* @__PURE__ */ (0, C.jsx)(IIe, {
+ }) : n?.active === !1 ? null : /* @__PURE__ */ (0, C.jsx)(gA, { label: "正在读取来源凭据" }),
+ e.entry_links ? /* @__PURE__ */ (0, C.jsx)(FIe, {
initial: e.entry_links,
receipt: t
}) : null,
- /* @__PURE__ */ (0, C.jsx)(LIe, { receipt: t }),
- /* @__PURE__ */ (0, C.jsx)(pIe, { receipt: t })
+ /* @__PURE__ */ (0, C.jsx)(IIe, { receipt: t }),
+ /* @__PURE__ */ (0, C.jsx)(fIe, { receipt: t })
]
});
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function BIe({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
+function zIe({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
let i = pt({
- queryKey: IG,
- queryFn: ({ signal: e }) => LG(e)
+ queryKey: LG,
+ queryFn: ({ signal: e }) => RG(e)
}), a = i.data;
- return a ? /* @__PURE__ */ (0, C.jsx)(HIe, {
+ return a ? /* @__PURE__ */ (0, C.jsx)(VIe, {
data: a,
receipt: e,
reopenTutorial: t,
@@ -75495,9 +75563,9 @@ function BIe({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r })
})
});
}
-var VIe = 0;
-function HIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {
- let [a] = (0, S.useState)(() => `board-tabs-${++VIe}`), [o, s] = (0, S.useState)(r), c = (0, S.useRef)(null), l = (0, S.useRef)(o);
+var BIe = 0;
+function VIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i }) {
+ let [a] = (0, S.useState)(() => `board-tabs-${++BIe}`), [o, s] = (0, S.useState)(r), c = (0, S.useRef)(null), l = (0, S.useRef)(o);
(0, S.useEffect)(() => {
s(r);
}, [r]), (0, S.useLayoutEffect)(() => {
@@ -75527,20 +75595,20 @@ function HIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:
{
title: "媒体库与入库",
body: (e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(e),
- children: [/* @__PURE__ */ (0, C.jsx)(cIe, { ...m }), /* @__PURE__ */ (0, C.jsx)(hIe, { receipt: t })]
+ ...BG(e),
+ children: [/* @__PURE__ */ (0, C.jsx)(sIe, { ...m }), /* @__PURE__ */ (0, C.jsx)(mIe, { receipt: t })]
})
},
{
title: "来源与订阅",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(zIe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(RIe, {
...m,
panel: e
})
},
...g ? [{
title: "下载渠道",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(CFe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(SFe, {
initial: g,
receipt: t,
panel: e
@@ -75548,7 +75616,7 @@ function HIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:
}] : [],
...h ? [{
title: "网络与访问",
- body: (e) => /* @__PURE__ */ (0, C.jsx)(TIe, {
+ body: (e) => /* @__PURE__ */ (0, C.jsx)(wIe, {
...m,
panel: e
})
@@ -75556,8 +75624,8 @@ function HIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:
{
title: "应用与维护",
body: (e) => /* @__PURE__ */ (0, C.jsxs)("div", {
- ...zG(e),
- children: [/* @__PURE__ */ (0, C.jsx)(zFe, { ...m }), /* @__PURE__ */ (0, C.jsx)(kFe, {
+ ...BG(e),
+ children: [/* @__PURE__ */ (0, C.jsx)(RFe, { ...m }), /* @__PURE__ */ (0, C.jsx)(OFe, {
...m,
reopenTutorial: n
})]
@@ -75566,7 +75634,7 @@ function HIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:
{
title: "系统诊断",
body: (e) => /* @__PURE__ */ (0, C.jsx)("div", {
- ...zG(e),
+ ...BG(e),
children: e.active ? i : null
})
}
@@ -75616,7 +75684,7 @@ function HIe({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics:
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var UIe = [
+var HIe = [
[
"strength",
"强度",
@@ -75643,7 +75711,7 @@ var UIe = [
100
]
];
-function WIe({ host: e, spot: t, index: n, glow: r }) {
+function UIe({ host: e, spot: t, index: n, glow: r }) {
let i = Rle[n], a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)("all");
(0, S.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -75721,7 +75789,7 @@ function WIe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function GIe({ host: e }) {
+function WIe({ host: e }) {
let t = e.store.value.homeGlow, n = cE(t.preset);
return /* @__PURE__ */ (0, C.jsxs)("section", {
"data-glow-setting": "",
@@ -75751,7 +75819,7 @@ function GIe({ host: e }) {
}),
/* @__PURE__ */ (0, C.jsx)("div", {
"data-glow-fields": "",
- children: UIe.map(([r, i, a]) => /* @__PURE__ */ (0, C.jsx)(JPe, {
+ children: HIe.map(([r, i, a]) => /* @__PURE__ */ (0, C.jsx)(qPe, {
field: r,
label: i,
max: a,
@@ -75773,7 +75841,7 @@ function GIe({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, C.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-glow-stops": "",
- children: oE.map((n, r) => /* @__PURE__ */ (0, C.jsx)(WIe, {
+ children: oE.map((n, r) => /* @__PURE__ */ (0, C.jsx)(UIe, {
host: e,
spot: n,
index: r,
@@ -75798,7 +75866,7 @@ function GIe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var KIe = {
+var GIe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -75839,22 +75907,22 @@ var KIe = {
optional: !0,
fallback: 60
}
-}, iK = (e) => `peach.number.${e}`;
-function aK(e, t) {
+}, aK = (e) => `peach.number.${e}`;
+function oK(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function oK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = KIe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);
- d.current ||= $T(Number(localStorage.getItem(iK(e))), o, s, n && n > 0 ? n : l);
+function sK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = GIe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, S.useRef)(0);
+ d.current ||= $T(Number(localStorage.getItem(aK(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, S.useState)(n ?? 0), [m, h] = (0, S.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, S.useState)(""), v = (0, S.useRef)(null), y = (0, S.useRef)(i);
y.current = i, (0, S.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let b = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(iK(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(aK(e), String(d.current)), y.current(d.current)));
}, x = (0, S.useRef)(b);
x.current = b, (0, S.useEffect)(() => {
let e = v.current;
@@ -75864,7 +75932,7 @@ function oK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let w = f > 0, T = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(iK(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), w ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(aK(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, E = r || n === null;
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-number-setting": "",
@@ -75901,7 +75969,7 @@ function oK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, C.jsxs)("span", {
"aria-hidden": "true",
- children: [c, aK(Number(m), c) ? ` · ${aK(Number(m), c)}` : ""]
+ children: [c, oK(Number(m), c) ? ` · ${oK(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, C.jsx)("small", {
id: `${e}-error`,
@@ -75915,13 +75983,13 @@ function oK({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function sK(e) {
- let { mutate: t } = xB();
+function cK(e) {
+ let { mutate: t } = SB();
return (0, S.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function cK(e, t, n, r) {
+function lK(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -75931,17 +75999,17 @@ function cK(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var qIe = "__home__", lK = (e) => e === "" ? qIe : e;
-function JIe({ host: e }) {
- let t = sK(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {
- let a = cK(n, e, r, i);
+var KIe = "__home__", uK = (e) => e === "" ? KIe : e;
+function qIe({ host: e }) {
+ let t = cK(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, S.useState)(null), [c, l] = (0, S.useState)(!1), [u, d] = (0, S.useState)(null), [f, p] = (0, S.useState)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(null), g = (e, r, i) => {
+ let a = lK(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => lK(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => uK(e) === o) ?? a[0], y = () => {
h.current && $a(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -75962,7 +76030,7 @@ function JIe({ host: e }) {
}, T = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", lK(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", uK(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -76036,7 +76104,7 @@ function JIe({ host: e }) {
})
]
})]
- }, lK(e))), /* @__PURE__ */ (0, C.jsxs)("div", {
+ }, uK(e))), /* @__PURE__ */ (0, C.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -76069,15 +76137,15 @@ function JIe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": lK(e),
+ "data-sidebar-add-option": uK(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(lK(e)), y(), m.current?.focus();
+ s(uK(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, C.jsx)(cO, { name: n ?? "" }), /* @__PURE__ */ (0, C.jsx)("span", { children: t })]
- }, lK(e)))
+ }, uK(e)))
}) : null]
}), /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -76094,13 +76162,13 @@ function JIe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var uK = [
+var dK = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], YIe = [
+], JIe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -76109,7 +76177,7 @@ var uK = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], XIe = [["desc", "降序"], ["asc", "升序"]], ZIe = [[
+], YIe = [["desc", "降序"], ["asc", "升序"]], XIe = [[
"cover",
"官方封面",
""
@@ -76117,7 +76185,7 @@ var uK = [
"thumbnail",
"预览图",
""
-]], QIe = [
+]], ZIe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -76136,88 +76204,88 @@ var uK = [
"切片",
"隐藏切片"
]
-], $Ie = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", dK = null, fK = {
+], QIe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", fK = null, pK = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, pK = 0, mK = null, hK = /* @__PURE__ */ new Set();
-function eLe(e) {
- return hK.add(e), () => {
- hK.delete(e);
+}, mK = 0, hK = null, gK = /* @__PURE__ */ new Set();
+function $Ie(e) {
+ return gK.add(e), () => {
+ gK.delete(e);
};
}
-function tLe() {
- for (let e of [...hK]) e();
+function eLe() {
+ for (let e of [...gK]) e();
}
-function gK(e) {
- fK = {
- ...fK,
+function _K(e) {
+ pK = {
+ ...pK,
...e
- }, (0, gt.flushSync)(tLe);
+ }, (0, gt.flushSync)(eLe);
}
-async function nLe(e) {
- let t = fK.epoch, n = await e.configurable();
- fK.open && fK.epoch === t && gK({ configurable: n });
+async function tLe(e) {
+ let t = pK.epoch, n = await e.configurable();
+ pK.open && pK.epoch === t && _K({ configurable: n });
}
-function rLe(e = "") {
- let t = dK;
+function nLe(e = "") {
+ let t = fK;
if (!t) return;
- let n = uK.findIndex(([t]) => t === e);
- if (fK.open && !fK.closing) {
- n >= 0 && n !== fK.tab && gK({ tab: n });
+ let n = dK.findIndex(([t]) => t === e);
+ if (pK.open && !pK.closing) {
+ n >= 0 && n !== pK.tab && _K({ tab: n });
return;
}
- Xa(), pK += 1, mK ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = WDe();
- gK({
+ Xa(), mK += 1, hK ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = UDe();
+ _K({
open: !0,
closing: !1,
configurable: null,
- epoch: fK.epoch + 1,
- tab: n >= 0 ? n : fK.tab
+ epoch: pK.epoch + 1,
+ tab: n >= 0 ? n : pK.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), nLe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), tLe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function _K(e = !0) {
- if (!fK.open || fK.closing) return;
- let t = ++pK;
- e && dK?.closed?.(), gK({ closing: !0 });
+function vK(e = !0) {
+ if (!pK.open || pK.closing) return;
+ let t = ++mK;
+ e && fK?.closed?.(), _K({ closing: !0 });
let n = () => {
- t === pK && fK.closing && (gK({
+ t === mK && pK.closing && (_K({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), mK instanceof HTMLElement && document.contains(mK) && mK.focus(), mK = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), hK instanceof HTMLElement && document.contains(hK) && hK.focus(), hK = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var iLe = {
- open: rLe,
- close: _K,
- isOpen: () => fK.open,
+var rLe = {
+ open: nLe,
+ close: vK,
+ isOpen: () => pK.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function aLe(e) {
- return dK = e, iLe;
+function iLe(e) {
+ return fK = e, rLe;
}
-function oLe() {
- let e = (0, S.useSyncExternalStore)(eLe, () => fK);
- return dK ? /* @__PURE__ */ (0, C.jsx)(lLe, {
- host: dK,
+function aLe() {
+ let e = (0, S.useSyncExternalStore)($Ie, () => pK);
+ return fK ? /* @__PURE__ */ (0, C.jsx)(cLe, {
+ host: fK,
view: e
}) : null;
}
-function sLe(e) {
+function oLe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll($Ie)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(QIe)].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 vK = (e) => `settings-tab-${e}`, yK = (e) => `settings-group-${e}`;
-function cLe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var yK = (e) => `settings-tab-${e}`, bK = (e) => `settings-group-${e}`;
+function sLe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(e), l = (0, S.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -76245,7 +76313,7 @@ function cLe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = uK.length, r = t;
+ let n = dK.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -76274,11 +76342,11 @@ function cLe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- uK.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {
+ dK.map(([t, n], r) => /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
role: "tab",
- id: vK(r),
- "aria-controls": yK(r),
+ id: yK(r),
+ "aria-controls": bK(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -76309,17 +76377,17 @@ function cLe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function bK({ index: e, tab: t, children: n }) {
+function xK({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
"data-setting-group": "",
- id: yK(e),
+ id: bK(e),
role: "tabpanel",
- "aria-labelledby": vK(e),
+ "aria-labelledby": yK(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: uK[e][0] }), n]
+ children: [/* @__PURE__ */ (0, C.jsx)("h3", { children: dK[e][0] }), n]
});
}
-function xK({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function SK({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, C.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, C.jsx)("small", {
@@ -76336,7 +76404,7 @@ function xK({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function SK({ title: e, description: t, kind: n, children: r }) {
+function CK({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -76344,7 +76412,7 @@ function SK({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: [/* @__PURE__ */ (0, C.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, C.jsx)("small", { children: t }) : t] }), r]
});
}
-function lLe({ host: e, view: t }) {
+function cLe({ host: e, view: t }) {
(0, S.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -76365,7 +76433,7 @@ function lLe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== fK.tab && (gK({ tab: t }), e.selectSection?.(uK[t][0]));
+ t !== pK.tab && (_K({ tab: t }), e.selectSection?.(dK[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, C.jsx)("section", {
"data-settings-panel": "",
@@ -76376,9 +76444,9 @@ function lLe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: sLe,
+ onKeyDown: oLe,
onClick: (e) => {
- e.target === e.currentTarget && _K();
+ e.target === e.currentTarget && vK();
},
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-settings-card": "",
@@ -76389,33 +76457,33 @@ function lLe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, C.jsx)("h2", {
id: "settingsTitle",
- children: uK[t.tab][0]
- }), /* @__PURE__ */ (0, C.jsx)(AP, {
+ children: dK[t.tab][0]
+ }), /* @__PURE__ */ (0, C.jsx)(MP, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => _K()
+ onPress: () => vK()
})]
}),
- /* @__PURE__ */ (0, C.jsx)(cLe, {
+ /* @__PURE__ */ (0, C.jsx)(sLe, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- _K(!1), e.openConfiguration();
+ vK(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, C.jsxs)(bK, {
+ /* @__PURE__ */ (0, C.jsxs)(xK, {
index: 0,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "主题",
- children: /* @__PURE__ */ (0, C.jsx)(CG, {
+ children: /* @__PURE__ */ (0, C.jsx)(wG, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -76443,7 +76511,7 @@ function lLe({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, C.jsx)(xK, {
+ /* @__PURE__ */ (0, C.jsx)(SK, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -76451,7 +76519,7 @@ function lLe({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, C.jsx)(xK, {
+ /* @__PURE__ */ (0, C.jsx)(SK, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -76459,40 +76527,40 @@ function lLe({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, C.jsx)(GIe, { host: e }),
+ /* @__PURE__ */ (0, C.jsx)(WIe, { host: e }),
/* @__PURE__ */ (0, C.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: /* @__PURE__ */ (0, C.jsx)("b", {
id: "sidebarOrderTitle",
children: "导航入口与顺序"
- }) }), /* @__PURE__ */ (0, C.jsx)(JIe, { host: e })]
+ }) }), /* @__PURE__ */ (0, C.jsx)(qIe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(dLe, {
+ /* @__PURE__ */ (0, C.jsx)(uLe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsx)(fLe, {
+ /* @__PURE__ */ (0, C.jsx)(dLe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsxs)(bK, {
+ /* @__PURE__ */ (0, C.jsxs)(xK, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, C.jsx)(hLe, {
+ /* @__PURE__ */ (0, C.jsx)(mLe, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, C.jsx)(oK, {
+ children: /* @__PURE__ */ (0, C.jsx)(sK, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -76502,24 +76570,24 @@ function lLe({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "口味与记录",
children: /* @__PURE__ */ (0, C.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, C.jsx)(fA, {
+ children: /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
href: "/taste",
- onClick: () => _K(!1),
+ onClick: () => vK(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(bK, {
+ /* @__PURE__ */ (0, C.jsx)(xK, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, C.jsx)(xK, {
+ children: /* @__PURE__ */ (0, C.jsx)(SK, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -76534,7 +76602,7 @@ function lLe({ host: e, view: t }) {
})
});
}
-function uLe(e, t) {
+function lLe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Fo("arrow-up", "arrow-down", "a", {
@@ -76544,17 +76612,17 @@ function uLe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function dLe({ host: e, tab: t, epoch: n }) {
+function uLe({ 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, C.jsxs)(bK, {
+ return /* @__PURE__ */ (0, C.jsxs)(xK, {
index: 1,
tab: t,
children: [
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, C.jsx)(oK, {
+ children: /* @__PURE__ */ (0, C.jsx)(sK, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -76564,24 +76632,24 @@ function dLe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, C.jsx)(wG, {
+ children: [/* @__PURE__ */ (0, C.jsx)(TG, {
id: "defaultSortSetting",
label: "默认排序",
- options: YIe,
+ options: JIe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, C.jsx)(wG, {
+ }), /* @__PURE__ */ (0, C.jsx)(TG, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: XIe,
+ options: YIe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -76589,13 +76657,13 @@ function dLe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => uLe(e, o)
+ decorate: (e) => lLe(e, o)
})]
})
}),
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, C.jsx)(CG, {
+ children: /* @__PURE__ */ (0, C.jsx)(wG, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -76608,16 +76676,16 @@ function dLe({ host: e, tab: t, epoch: n }) {
onChoose: (t) => e.setVideoLayout(t)
})
}),
- /* @__PURE__ */ (0, C.jsx)(mLe, {
+ /* @__PURE__ */ (0, C.jsx)(pLe, {
host: e,
epoch: n
})
]
});
}
-function fLe({ host: e, tab: t, epoch: n }) {
+function dLe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, C.jsxs)(bK, {
+ return /* @__PURE__ */ (0, C.jsxs)(xK, {
index: 2,
tab: t,
children: [
@@ -76625,13 +76693,13 @@ function fLe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "默认图片",
- children: /* @__PURE__ */ (0, C.jsx)(CG, {
+ children: /* @__PURE__ */ (0, C.jsx)(wG, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: ZIe,
+ options: XIe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -76659,7 +76727,7 @@ function fLe({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, C.jsx)(xK, {
+ /* @__PURE__ */ (0, C.jsx)(SK, {
id: "feedAutoScrollSetting",
title: "新作自动滚动",
checked: r.feedAutoScroll,
@@ -76667,7 +76735,7 @@ function fLe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- QIe.map(([t, n, r, i]) => /* @__PURE__ */ (0, C.jsx)(pLe, {
+ ZIe.map(([t, n, r, i]) => /* @__PURE__ */ (0, C.jsx)(fLe, {
host: e,
id: t,
settingKey: n,
@@ -76677,8 +76745,8 @@ function fLe({ host: e, tab: t, epoch: n }) {
]
});
}
-function pLe({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = xB(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {
+function fLe({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = SB(), [o, s] = (0, S.useState)(null), c = (0, S.useRef)(null), l = e.store.value, u = (t) => {
s(t), Ts(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -76702,14 +76770,14 @@ function pLe({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function mLe({ host: e, epoch: t }) {
+function pLe({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, C.jsx)(oK, {
+ children: /* @__PURE__ */ (0, C.jsx)(sK, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: n.hoverDelaySeconds,
@@ -76719,7 +76787,7 @@ function mLe({ host: e, epoch: t }) {
}, t)
})
}),
- /* @__PURE__ */ (0, C.jsx)(xK, {
+ /* @__PURE__ */ (0, C.jsx)(SK, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -76727,7 +76795,7 @@ function mLe({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, C.jsx)(xK, {
+ /* @__PURE__ */ (0, C.jsx)(SK, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -76735,11 +76803,11 @@ function mLe({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, C.jsx)(SK, {
+ /* @__PURE__ */ (0, C.jsx)(CK, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, C.jsx)(oK, {
+ children: /* @__PURE__ */ (0, C.jsx)(sK, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -76751,13 +76819,13 @@ function mLe({ host: e, epoch: t }) {
})
] });
}
-function hLe({ host: e, epoch: t }) {
- let n = e.store.value, r = xB();
- return /* @__PURE__ */ (0, C.jsx)(SK, {
+function mLe({ host: e, epoch: t }) {
+ let n = e.store.value, r = SB();
+ return /* @__PURE__ */ (0, C.jsx)(CK, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, C.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, C.jsx)(oK, {
+ children: /* @__PURE__ */ (0, C.jsx)(sK, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
@@ -76770,68 +76838,68 @@ function hLe({ host: e, epoch: t }) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var CK = "__home__", gLe = {
+var wK = "__home__", hLe = {
creator: 26,
tag: 30,
tech: 16
-}, wK = 180, TK = null, EK = {
+}, TK = 180, EK = null, DK = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, DK = /* @__PURE__ */ new Set();
-function _Le(e) {
- return DK.add(e), () => {
- DK.delete(e);
+}, OK = /* @__PURE__ */ new Set();
+function gLe(e) {
+ return OK.add(e), () => {
+ OK.delete(e);
};
}
-function OK() {
- for (let e of [...DK]) e();
+function kK() {
+ for (let e of [...OK]) e();
}
-var vLe = {
+var _Le = {
render(e) {
- EK = {
- ...EK,
+ DK = {
+ ...DK,
props: e
- }, (0, gt.flushSync)(OK);
+ }, (0, gt.flushSync)(kK);
},
navChanged() {
- EK = {
- ...EK,
- epoch: EK.epoch + 1
- }, (0, gt.flushSync)(OK);
+ DK = {
+ ...DK,
+ epoch: DK.epoch + 1
+ }, (0, gt.flushSync)(kK);
}
};
-function yLe(e) {
- return TK = e, EK = {
- ...EK,
+function vLe(e) {
+ return EK = e, DK = {
+ ...DK,
props: {
content: null,
filters: {},
latest: null
}
- }, vLe;
+ }, _Le;
}
-function bLe() {
- let e = (0, S.useSyncExternalStore)(_Le, () => EK);
- return TK ? /* @__PURE__ */ (0, C.jsx)(xLe, {
- host: TK,
+function yLe() {
+ let e = (0, S.useSyncExternalStore)(gLe, () => DK);
+ return EK ? /* @__PURE__ */ (0, C.jsx)(bLe, {
+ host: EK,
props: e.props,
epoch: e.epoch
}) : null;
}
-function xLe({ host: e, props: t, epoch: n }) {
+function bLe({ host: e, props: t, epoch: n }) {
let r = (0, S.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, C.jsx)(SLe, {
+ /* @__PURE__ */ (0, C.jsx)(xLe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, C.jsx)(wLe, {
+ t.content ? /* @__PURE__ */ (0, C.jsx)(CLe, {
host: e,
content: t.content,
filters: t.filters,
@@ -76839,8 +76907,8 @@ function xLe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function SLe({ host: e, epoch: t, version: n }) {
- let r = sK(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, S.useRef)(null), l = (0, S.useRef)(null), u = bj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || CK : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function xLe({ host: e, epoch: t, version: n }) {
+ let r = cK(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, S.useRef)(null), l = (0, S.useRef)(null), u = Sj(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || wK : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, S.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -76858,7 +76926,7 @@ function SLe({ host: e, epoch: t, version: n }) {
}, _ = (e) => ({
draggable: !0,
onDragStart: (t) => {
- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || CK);
+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || wK);
},
onDragOver: (t) => {
if (f === null || f === e) return;
@@ -76873,7 +76941,7 @@ function SLe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : cK(i, n, e, a);
+ let o = n === null ? null : lK(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -76897,15 +76965,15 @@ function SLe({ host: e, epoch: t, version: n }) {
src: "/peach-logo.png",
alt: ""
}) : /* @__PURE__ */ (0, C.jsx)(cO, { name: r }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
- }, t || CK))
+ }, t || wK))
}), v ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)("span", {
"data-sidebar-glide": "",
"aria-hidden": "true",
ref: l
}), v) : null] });
}
-var kK = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function CLe(e) {
+var AK = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function SLe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -76918,7 +76986,7 @@ function CLe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function wLe({ host: e, content: t, filters: n, latest: r }) {
+function CLe({ 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, S.useLayoutEffect)(() => {
t.kind === "catalog" && Vo(e.scroll, "drawer");
@@ -76927,8 +76995,8 @@ function wLe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? TLe(e, t.facets, n, r, i) : ELe(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, C.jsx)(DLe, {
+ let a = t.kind === "catalog" ? wLe(e, t.facets, n, r, i) : TLe(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, C.jsx)(ELe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -76937,11 +77005,11 @@ function wLe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function TLe(e, t, n, r, i) {
- let a = CLe(r), o = (t, r, i) => {
+function wLe(e, t, n, r, i) {
+ let a = SLe(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = kK(n, r);
- return /* @__PURE__ */ (0, C.jsx)(MK, {
+ let o = AK(n, r);
+ return /* @__PURE__ */ (0, C.jsx)(NK, {
rows: t,
filterKey: r,
multi: i,
@@ -76951,7 +77019,7 @@ function TLe(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = kK(n, l), p = c.some((e) => f.includes(e.value));
+ let f = AK(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -76963,12 +77031,12 @@ function TLe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, C.jsx)(kLe, {
+ body: /* @__PURE__ */ (0, C.jsx)(OLe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: gLe[d],
+ limit: hLe[d],
filterKey: l,
selected: f,
counts: a,
@@ -76983,7 +77051,7 @@ function TLe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(FK, {
+ body: /* @__PURE__ */ (0, C.jsx)(IK, {
host: e,
filters: n
})
@@ -76997,7 +77065,7 @@ function TLe(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(NK, {
+ body: /* @__PURE__ */ (0, C.jsx)(PK, {
rows: t.followTags,
host: e,
selected: null,
@@ -77006,14 +77074,14 @@ function TLe(e, t, n, r, i) {
} : null
];
}
-function ELe(e, t, n) {
- let r = t.providers || [], i = kK(n, "provider"), a = new Set(t.selected);
+function TLe(e, t, n) {
+ let r = t.providers || [], i = AK(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, C.jsx)(MK, {
+ body: /* @__PURE__ */ (0, C.jsx)(NK, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -77027,7 +77095,7 @@ function ELe(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, C.jsx)(FK, {
+ body: /* @__PURE__ */ (0, C.jsx)(IK, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -77037,7 +77105,7 @@ function ELe(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, C.jsx)(NK, {
+ body: /* @__PURE__ */ (0, C.jsx)(PK, {
rows: t.tags,
host: e,
selected: a,
@@ -77046,19 +77114,19 @@ function ELe(e, t, n) {
} : null
];
}
-function AK(e, t) {
+function jK(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function DLe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => AK(e, n)), u = (0, S.useRef)(!1);
+function ELe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, S.useRef)(null), s = (0, S.useRef)(null), [c, l] = (0, S.useState)(() => jK(e, n)), u = (0, S.useRef)(!1);
(0, S.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? AK(e, n) : c;
+ let i = u.current ? jK(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -77090,7 +77158,7 @@ function DLe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, C.jsx)(jK.Provider, {
+ children: /* @__PURE__ */ (0, C.jsx)(MK.Provider, {
value: d,
children: a
})
@@ -77099,15 +77167,15 @@ function DLe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var jK = (0, S.createContext)(() => {});
-function OLe({ dot: e }) {
+var MK = (0, S.createContext)(() => {});
+function DLe({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, C.jsx)(cO, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, C.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, C.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function MK({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function NK({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -77124,7 +77192,7 @@ function MK({ 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, C.jsx)(OLe, { dot: e.dot }),
+ /* @__PURE__ */ (0, C.jsx)(DLe, { dot: e.dot }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -77139,8 +77207,8 @@ function MK({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function kLe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, S.useContext)(jK), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);
+function OLe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, S.useContext)(MK), [d, f] = (0, S.useState)(null), [p, m] = (0, S.useState)(e);
p !== e && (m(e), f(null));
let h = (0, S.useRef)(null), g = (0, S.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, S.useLayoutEffect)(() => {
@@ -77155,7 +77223,7 @@ function kLe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Pa(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(MK, {
+ }, [d, _]), /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(NK, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -77183,7 +77251,7 @@ function kLe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, C.jsx)(cO, { name: "chevron-down" })
}) : null] });
}
-function NK({ rows: e, host: t, selected: n, badges: r }) {
+function PK({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {
@@ -77205,10 +77273,10 @@ function NK({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var PK = (e, t) => e ? Math.min(wK, Number(e) / 60) : t;
-function FK({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [PK(t.dur_min, 0), PK(t.dur_max, wK)]), [c, l] = (0, S.useState)("max");
- i !== r && (a(r), s([PK(t.dur_min, 0), PK(t.dur_max, wK)]));
+var FK = (e, t) => e ? Math.min(TK, Number(e) / 60) : t;
+function IK({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, S.useState)(r), [o, s] = (0, S.useState)(() => [FK(t.dur_min, 0), FK(t.dur_max, TK)]), [c, l] = (0, S.useState)("max");
+ i !== r && (a(r), s([FK(t.dur_min, 0), FK(t.dur_max, TK)]));
let [u, d] = o, f = (0, S.useRef)(null), p = (0, S.useRef)(null), m = (0, S.useRef)(null), h = (0, S.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -77221,11 +77289,11 @@ function FK({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, S.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / wK * 100}%`), e.style.setProperty("--hi", `${d / wK * 100}%`);
+ e.style.setProperty("--lo", `${u / TK * 100}%`), e.style.setProperty("--hi", `${d / TK * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / wK * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / TK * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -77235,7 +77303,7 @@ function FK({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= wK ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= TK ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-sidebar-duration": "",
@@ -77250,7 +77318,7 @@ function FK({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: wK,
+ max: TK,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -77261,7 +77329,7 @@ function FK({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: wK,
+ max: TK,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -77276,18 +77344,18 @@ function FK({ host: e, filters: t, commit: n = e.setDuration }) {
}
//#endregion
//#region src/configuration-skeleton.ts
-var ALe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${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">${vo({
+var kLe = (e, t) => `<section aria-label="${e}" class="flex w-full flex-col gap-2"><p class="w-full px-3 text-body-2-medium text-text-secondary">${e}</p><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${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">${vo({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, IK = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`;
-function jLe(e = "媒体库与入库") {
- let t = `<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(LO).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`, n = ALe("媒体目录", `<div class="flex flex-col gap-3 py-4 pr-3">${IK("媒体目录", "", "ui-configuration-skeleton-select")}${IK("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`);
- return `<div class="peach-react"><div class="ui-configpage">${t}<div class="flex min-w-0 flex-col gap-6">${e === "系统诊断" ? EU() : n}</div></div></div>`;
+})}</div></div></section>`, LK = (e, t = "", n = "ui-configuration-skeleton-toggle") => `<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><span class="skeleton ${n}"></span></div>`;
+function ALe(e = "媒体库与入库") {
+ let t = `<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(LO).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`, n = kLe("媒体目录", `<div class="flex flex-col gap-3 py-4 pr-3">${LK("媒体目录", "", "ui-configuration-skeleton-select")}${LK("媒体库名称", "", "ui-configuration-skeleton-select")}</div>`);
+ return `<div class="peach-react"><div class="ui-configpage">${t}<div class="flex min-w-0 flex-col gap-6">${e === "系统诊断" ? DU() : n}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var LK = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", RK = (e = "60%") => `<span class="${LK} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, zK = "disabled data-skeleton-action", BK = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function MLe() {
+var RK = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", zK = (e = "60%") => `<span class="${RK} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, BK = "disabled data-skeleton-action", VK = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function jLe() {
let e = [
"馆藏视频",
"看过",
@@ -77295,27 +77363,27 @@ function MLe() {
"使用空间"
].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="${LK} 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">${RK("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">${RK("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${BK}" 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">${RK("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="${RK} 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">${zK("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">${zK("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${VK}" 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">${zK("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">${RK()}</span><b class="text-title-2-medium">${RK("3em")}</b><small class="text-caption-1-regular">${RK()}</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">${zK()}</span><b class="text-title-2-medium">${zK("3em")}</b><small class="text-caption-1-regular">${zK()}</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">数据库中的当前统计 · ${RK("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${zK("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="${BK}"><h3 class="text-title-2-medium">${e}</h3><div class="${LK} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${VK}"><h3 class="text-title-2-medium">${e}</h3><div class="${RK} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -77324,11 +77392,11 @@ function MLe() {
"最近看过",
"标签来源"
].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="${LK} 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="${RK} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function NLe() {
+function MLe() {
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 = [
"浏览记录",
"口味维度",
@@ -77336,20 +77404,20 @@ function NLe() {
"私有导出"
].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="${LK} 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">${RK("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">${RK("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${LK} h-6"></div>`).join(""), r = (e) => `<section class="${BK}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${LK} 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="${RK} 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">${zK("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">${zK("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${RK} h-6"></div>`).join(""), r = (e) => `<section class="${VK}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${RK} 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">${bo("全部时间")}<span data-button-group data-split-button data-variant="primary">${vo({
glyph: "compass",
label: "读取浏览器历史",
- attrs: zK
+ attrs: BK
})}${vo({
glyph: "chevron-down",
- attrs: zK
+ attrs: BK
})}</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>
@@ -77367,11 +77435,11 @@ function NLe() {
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">${RK("8em")}</small></div>
+ <small class="text-caption-1-regular">${zK("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="${BK}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${LK} h-72 max-sm:h-48"></div></section>
+ <section class="${VK}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${RK} 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([
"标签",
@@ -77379,20 +77447,20 @@ function NLe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${LK} 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="${RK} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function PLe() {
+function NLe() {
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="${LK} 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">${RK("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${RK("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">${RK("75%")}</span>
+ <span class="${RK} 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">${zK("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${zK("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">${zK("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">${RK("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${RK("8em")}</span>
+ <b class="text-title-2-medium">${zK("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${zK("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -77401,27 +77469,27 @@ function PLe() {
variant: "secondary",
size: "small",
label: e,
- attrs: zK
+ attrs: BK
})).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">${RK("4em")}</strong></div><p class="text-body-regular text-text-secondary">${RK("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">${zK("4em")}</strong></div><p class="text-body-regular text-text-secondary">${zK("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 ${zK} class="h-7.5 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 ${BK} class="h-7.5 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function FLe() {
+function PLe() {
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="${LK} 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">${RK("80%")}</h3><p class="text-body-2-regular">${RK("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${RK} 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">${zK("80%")}</h3><p class="text-body-2-regular">${zK("60%")}</p></div>
</div>
<footer class="flex justify-end">${vo({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: zK
+ attrs: BK
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -77431,24 +77499,24 @@ function FLe() {
}
//#endregion
//#region src/board-skeleton.ts
-var VK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HK = () => `${VK("80%")}${VK("48%")}`, UK = (e, t) => e.repeat(t), WK = "disabled data-skeleton-action", GK = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, KK = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, ILe = "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", qK = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var HK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, UK = () => `${HK("80%")}${HK("48%")}`, WK = (e, t) => e.repeat(t), GK = "disabled data-skeleton-action", KK = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, qK = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, FLe = "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", JK = () => `<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="${ILe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${GK("3em")}</b></div>`).join("")}</div>`, JK = [
+].map((e) => `<div class="${FLe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${KK("3em")}</b></div>`).join("")}</div>`, YK = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"]
-], LLe = (e = "") => JK.some(([t]) => t === e) ? e : "list", YK = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${JK.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, XK = (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>`, RLe = ({ table: e, sort: t, dir: n }) => {
+], ILe = (e = "") => YK.some(([t]) => t === e) ? e : "list", XK = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${YK.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, ZK = (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>`, LLe = ({ table: e, sort: t, dir: n }) => {
let r = bn.find(([e]) => e === t)[1];
- return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${GK("132px")}</span></span>${vo({
+ return `<div class="flex flex-wrap items-center gap-2 ui-follow-skeleton-toolbar"><span class="contents max-sm:flex max-sm:min-w-0 max-sm:flex-1 max-sm:flex-col"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${KK("132px")}</span></span>${vo({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: WK
+ attrs: GK
})}<span data-follow-toolbar-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span data-button-group role="group">${vo({
variant: "ghost",
glyph: "layout-grid",
@@ -77465,42 +77533,42 @@ var VK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HK
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: WK
+ attrs: GK
})}</span></div>`;
-}, ZK = () => `<span class="flex shrink-0 items-center gap-1">${vo({
+}, QK = () => `<span class="flex shrink-0 items-center gap-1">${vo({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: WK
+ attrs: GK
})}${vo({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: WK
-})}</span>`, zLe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${XK()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${GK("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${KK(14, 14)}</span>${KK(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${GK("113px")}</span>${ZK()}</span></div>`, QK = (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>${KK(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${GK("92px")}</b>${vo({
+ attrs: GK
+})}</span>`, RLe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${ZK()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${KK("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${qK(14, 14)}</span>${qK(48, 24)}<span data-follow-source-controls class="contents max-sm:flex max-sm:w-full max-sm:flex-wrap max-sm:items-center max-sm:gap-1.5"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${KK("113px")}</span>${QK()}</span></div>`, $K = (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>${qK(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${KK("92px")}</b>${vo({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: WK
-})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${KK(14, 14)}${KK(14, 14)}</span>${vo({
+ attrs: GK
+})}<span data-follow-author-controls class="contents max-sm:flex max-sm:w-full max-sm:items-center max-sm:gap-2"><span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${qK(14, 14)}${qK(14, 14)}</span>${vo({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: WK
+ attrs: GK
})}${vo({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: WK
-})}</span></div><div data-source-divider>${UK(zLe(), e)}</div></section>`, BLe = () => {
+ attrs: GK
+})}</span></div><div data-source-divider>${WK(RLe(), e)}</div></section>`, zLe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, VLe = [
+}, BLe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -77508,64 +77576,64 @@ var VK = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, HK
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], HLe = {
+], VLe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, ULe = "<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>", WLe = (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>${VLe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${HLe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${ULe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${UK(`<tr>${[
- XK(),
- `<span class="flex min-w-0 items-center gap-2">${KK(32, 32, !0)}${GK("5em")}</span>`,
- GK("10em"),
- `<span class="flex items-center gap-1.5">${KK(14, 14)}${GK("4em")}</span>`,
- KK(48, 24),
- GK("113px"),
- ZK()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, GLe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${GK("111px")}</span>${bo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${KK(204, 32)}</div>`, KLe = () => `<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">${GK("120px")}</h3>${[
+}, HLe = "<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>", ULe = (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>${BLe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${VLe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${HLe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${WK(`<tr>${[
+ ZK(),
+ `<span class="flex min-w-0 items-center gap-2">${qK(32, 32, !0)}${KK("5em")}</span>`,
+ KK("10em"),
+ `<span class="flex items-center gap-1.5">${qK(14, 14)}${KK("4em")}</span>`,
+ qK(48, 24),
+ KK("113px"),
+ QK()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, WLe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${KK("111px")}</span>${bo(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${qK(204, 32)}</div>`, GLe = () => `<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">${KK("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${GK(e)}</span>`).join("")}</div>`, qLe = (e) => {
- let t = LLe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qK()}<div class="flex flex-col gap-6">${YK(t)}<div class="flex flex-col gap-4">${KLe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = wn(e.followSort, e.followDir), i = e.followPageSize || BLe(), a = n ? WLe(i, r) : `${XK("全选本页")}<div class="flex flex-col gap-3">${QK(3)}${QK(4)}${QK(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${qK()}<div class="flex flex-col gap-6">${YK(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"}">${RLe({
+].map((e) => `<span class="text-body-medium">${KK(e)}</span>`).join("")}</div>`, KLe = (e) => {
+ let t = ILe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${JK()}<div class="flex flex-col gap-6">${XK(t)}<div class="flex flex-col gap-4">${GLe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = wn(e.followSort, e.followDir), i = e.followPageSize || zLe(), a = n ? ULe(i, r) : `${ZK("全选本页")}<div class="flex flex-col gap-3">${$K(3)}${$K(4)}${$K(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${JK()}<div class="flex flex-col gap-6">${XK(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"}">${LLe({
table: n,
...r
- })}${a}${GLe(n, i)}</div></div></div></div></div>`;
+ })}${a}${WLe(n, i)}</div></div></div></div></div>`;
};
-function JLe() {
- 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">${VK("85%")}${VK("65%")}${UK(HK(), 4)}</div></aside></div>`;
+function qLe() {
+ 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">${HK("85%")}${HK("65%")}${WK(UK(), 4)}</div></aside></div>`;
}
-function YLe(e, t = {}) {
+function JLe(e, t = {}) {
let n = "";
- if (e === "/stats") n = MLe();
- else if (e === "/jav") n = ONe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
- else if (e === "/taste") n = NLe();
- else if (e === "/subscriptions") n = qLe(t);
- else if (e === "/settings/library" || e === "/settings/diagnostics") n = jLe(e === "/settings/diagnostics" ? "系统诊断" : "媒体库与入库");
+ if (e === "/stats") n = jLe();
+ else if (e === "/jav") n = DNe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");
+ else if (e === "/taste") n = MLe();
+ else if (e === "/subscriptions") n = KLe(t);
+ else if (e === "/settings/library" || e === "/settings/diagnostics") n = ALe(e === "/settings/diagnostics" ? "系统诊断" : "媒体库与入库");
else if (e === "/tasks") n = `<div class="ui-activitypage">${[
"正在进行",
"本次未执行",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${VK("35%")}${HK()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = PLe();
- else if (e === "/quality-goals") n = FLe();
- else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${VK("200px")}</div></header><div class="ui-playlistcards">${UK(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${HK()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="ui-activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content ui-skeleton-lines">${HK("35%")}${UK()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = NLe();
+ else if (e === "/quality-goals") n = PLe();
+ else if (e === "/playlists") n = `<section class="ui-playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate ui-skeleton-lines"><span>新播放列表</span>${HK("200px")}</div></header><div class="ui-playlistcards">${WK(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy ui-skeleton-lines">${UK()}</div></div></article>`, 6)}</div></section>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var $K = (e) => ["follow-item", e], XLe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, ZLe = "/api/follow/save", QLe = "/api/follow/media/hide", eq = class extends Error {
+var eq = (e) => ["follow-item", e], YLe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, XLe = "/api/follow/save", ZLe = "/api/follow/media/hide", tq = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function tq(e, t) {
- let n = await H(XLe(e), t);
+async function nq(e, t) {
+ let n = await H(YLe(e), t);
for (let t of n.groups || []) {
let r = ui(t).find((t) => t.id === e);
if (r) return {
@@ -77575,9 +77643,9 @@ async function tq(e, t) {
aliases: n.author_aliases || []
};
}
- throw new eq();
+ throw new tq();
}
-function $Le(e) {
+function QLe(e) {
for (let [, t] of W.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = ui(t.group).find((t) => t.id === e);
@@ -77588,20 +77656,20 @@ function $Le(e) {
}
return null;
}
-async function nq(e, t) {
- let n = $K(e.id), r = di(e.id), i = W.getQueryData(ai) ? null : W.fetchQuery({
+async function rq(e, t) {
+ let n = eq(e.id), r = di(e.id), i = W.getQueryData(ai) ? null : W.fetchQuery({
queryKey: ai,
queryFn: () => oi(t)
}), a = r ? {
...r,
item: r.item
- } : W.getQueryData(n) ?? $Le(e.id);
+ } : W.getQueryData(n) ?? QLe(e.id);
a ? W.setQueryData(n, a) : await W.fetchQuery({
queryKey: n,
- queryFn: () => tq(e.id, t)
+ queryFn: () => nq(e.id, t)
}), await i;
}
-function eRe(e, t, n, r) {
+function $Le(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 && yi(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,
@@ -77616,32 +77684,32 @@ function eRe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var tRe = (e) => ui(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), nRe = {
+var eRe = (e) => ui(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), tRe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, rRe = {
+}, nRe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function iRe(e) {
+function rRe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return nRe[t] || t;
+ return tRe[t] || t;
} catch {
return "外部文件页";
}
}
-function rq(e, t) {
- return rRe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function iq(e, t) {
+ return nRe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function aRe(e, t, n = "") {
+function iRe(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;
@@ -77650,54 +77718,54 @@ function aRe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var oRe = (e) => String(e.name || "").trim(), iq = (e, t) => e.tag_types?.[t] || "unknown", sRe = /* @__PURE__ */ new Set([
+var aRe = (e) => String(e.name || "").trim(), aq = (e, t) => e.tag_types?.[t] || "unknown", oRe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function cRe(e, t) {
- let n = iq(e, t);
- return `r34-${sRe.has(n) ? n : "general"}`;
+function sRe(e, t) {
+ let n = aq(e, t);
+ return `r34-${oRe.has(n) ? n : "general"}`;
}
-var aq = [
+var oq = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function lRe(e, t) {
+function cRe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = aq.indexOf(iq(e, t));
- return n < 0 ? aq.length : n;
+ let n = oq.indexOf(aq(e, t));
+ return n < 0 ? oq.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function oq(e, t) {
+function sq(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 uRe = (e, t) => ({
+var lRe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), sq = (e) => e?.size ? { size: e.size } : {};
-function dRe(e, t) {
+}), cq = (e) => e?.size ? { size: e.size } : {};
+function uRe(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: rq(t, e),
- ...sq(t)
+ source: iq(t, e),
+ ...cq(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: rq(a, e),
- ...sq(a)
+ source: iq(a, e),
+ ...cq(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -77705,7 +77773,7 @@ function dRe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var fRe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cq = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Go(e, {
+var dRe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", lq = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Go(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -77713,7 +77781,7 @@ var fRe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cq
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), pRe = [
+}), fRe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -77723,40 +77791,40 @@ var fRe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", cq
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], mRe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
+], pRe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${B(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${pRe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${fRe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${B(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
<div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>
- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, hRe = {
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, mRe = {
...Object.fromEntries(Object.keys(LO).map((e) => [`/settings/${e}`, () => Wo()])),
- "/data-cleanup": () => aV(),
- "/resource-sync": () => aV(),
- "/review": () => mRe(),
+ "/data-cleanup": () => oV(),
+ "/resource-sync": () => oV(),
+ "/review": () => pRe(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${cq("正在读取采集来源", {
+ ${lq("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function lq(e, { followLayout: t, followSort: n, followDir: r }) {
- return YLe(e, {
+function uq(e, { followLayout: t, followSort: n, followDir: r }) {
+ return JLe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (hRe[e] ?? (() => cq("正在读取页面")))();
+ }) || (mRe[e] ?? (() => lq("正在读取页面")))();
}
-var uq = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function dq(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = uq(t);
+var dq = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function fq(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = dq(t);
(!r || r !== n) && (e.innerHTML = t, $o(e));
}
//#endregion
//#region src/react/components/related-section.tsx
-function fq({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
+function pq({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, ...o }) {
let s = (0, S.useCallback)((e) => {
e && ($o(e), t(e));
}, [t]);
@@ -77769,15 +77837,15 @@ function fq({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, C.jsx)(OI, {
+ children: /* @__PURE__ */ (0, C.jsx)(AI, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, C.jsx)(mA, {
+ children: /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: s_e,
+ icon: o_e,
title: "暂无接着看的内容",
children: "可以回到列表挑选其他作品。"
})
@@ -77791,7 +77859,7 @@ function fq({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
}
//#endregion
//#region src/react/components/detail-continuation.tsx
-function pq({ queue: e, children: t, editionCards: n }) {
+function mq({ queue: e, children: t, editionCards: n }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-detail-continuation": "",
"data-edition-cards": n == null ? void 0 : Math.min(3, n),
@@ -77800,7 +77868,7 @@ function pq({ queue: e, children: t, editionCards: n }) {
}
//#endregion
//#region src/react/components/media-carousel.tsx
-function mq({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function hq({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, S.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, S.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -77880,7 +77948,7 @@ function mq({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, C.jsx)(gRe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, C.jsx)(hRe, {
item: e,
selected: r === t,
onSelect: n,
@@ -77899,7 +77967,7 @@ function mq({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function gRe({ item: e, selected: t, onSelect: n, render: r }) {
+function hRe({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(typeof IntersectionObserver > "u");
return (0, S.useEffect)(() => {
if (!i.current || a) return;
@@ -77926,14 +77994,14 @@ function gRe({ item: e, selected: t, onSelect: n, render: r }) {
}
//#endregion
//#region src/react/follow-detail/follow-related.ts
-var _Re = (e, t, n) => [
+var gRe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function hq(e, t, n, r) {
+function gq(e, t, n, r) {
let i = new Set((t.group ? ui(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 = ui(e);
@@ -77948,7 +78016,7 @@ function hq(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 vRe(e, t, n, r) {
+async function _Re(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
...vi(i),
status: "new",
@@ -77962,29 +78030,29 @@ async function vRe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return hq(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && hq(o, e, t, n).length < n && await s("", 0), {
+ return gq(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && gq(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
//#endregion
//#region src/react/follow-detail/follow-detail-page.tsx
-var gq = (e) => Number(e) > 0, yRe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var _q = (e) => Number(e) > 0, vRe = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), _q = z("external-link", "ui-externalmark");
-function bRe(e) {
+}), vq = z("external-link", "ui-externalmark");
+function yRe(e) {
let { id: t, actions: n } = e, r = pt({
- queryKey: $K(t),
- queryFn: ({ signal: e }) => tq(t, e)
+ queryKey: eq(t),
+ queryFn: ({ signal: e }) => nq(t, e)
}), i = pt({
queryKey: ai,
queryFn: ({ signal: e }) => oi(e)
}), a = (0, S.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, S.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, C.jsx)(CRe, {
+ return r.data ? /* @__PURE__ */ (0, C.jsx)(SRe, {
...e,
data: r.data,
- context: uRe(r.data, a),
+ context: lRe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, C.jsx)("div", {
@@ -77993,9 +78061,9 @@ function bRe(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, C.jsx)(vq, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(yq, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? xRe(r.error) ? /* @__PURE__ */ (0, C.jsx)(SRe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(OI, {
+ children: r.isError ? bRe(r.error) ? /* @__PURE__ */ (0, C.jsx)(xRe, { onBack: n.close }) : /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -78003,8 +78071,8 @@ function bRe(e) {
})
});
}
-var xRe = (e) => e instanceof eq || e instanceof vn && e.status === 404;
-function SRe({ onBack: e }) {
+var bRe = (e) => e instanceof tq || e instanceof vn && e.status === 404;
+function xRe({ onBack: e }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -78013,7 +78081,7 @@ function SRe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: ko("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var vq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var yq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -78022,8 +78090,8 @@ var vq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function CRe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = eRe(c, l, n, i), d = kRe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, S.useState)({
+function SRe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = $Le(c, l, n, i), d = ORe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, S.useState)({
key: "",
kind: ""
}), h = {
@@ -78043,20 +78111,20 @@ function CRe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? tRe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(Sq, {
+ let g = !u.embedded.length && u.collection ? eRe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, C.jsx)(Cq, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(Sq, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, C.jsx)(Cq, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, C.jsx)(ERe, {
+ }) : /* @__PURE__ */ (0, C.jsx)(TRe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -78066,14 +78134,14 @@ function CRe({ 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, C.jsx)(TRe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(wRe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, C.jsx)(DRe, {
+ }, f), /* @__PURE__ */ (0, C.jsx)(ERe, {
item: c,
data: e,
context: t,
@@ -78083,9 +78151,9 @@ function CRe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, C.jsx)(pq, {
+ }), /* @__PURE__ */ (0, C.jsx)(mq, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(wRe, {
+ children: a > 0 ? /* @__PURE__ */ (0, C.jsx)(CRe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -78095,23 +78163,23 @@ function CRe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function wRe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function CRe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = pt({
- queryKey: _Re(e.item.id, t, n),
- queryFn: ({ signal: r }) => vRe(e, t, n, r)
- }), [s] = (0, S.useState)(() => cq("正在读取推荐", {
+ queryKey: gRe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => _Re(e, t, n, r)
+ }), [s] = (0, S.useState)(() => lq("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, S.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: () => !1
- }), [a]), l = hq(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {
+ }), [a]), l = gq(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, C.jsx)(fq, {
+ return /* @__PURE__ */ (0, C.jsx)(pq, {
"data-follow-related": "",
wireDrag: i.wireDrag,
busy: o.isPending,
@@ -78120,11 +78188,11 @@ function wRe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, C.jsx)(AH, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, C.jsx)(jH, {
variant: "next",
group: e,
media: t,
- authorSources: oq(e.primary, u),
+ authorSources: sq(e.primary, u),
context: d,
selected: !1,
selectMode: !1,
@@ -78137,8 +78205,8 @@ function wRe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function TRe({ 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, S.useRef)(null), p = dRe(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, S.useState)(g), b = (0, S.useRef)({
+function wRe({ 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, S.useRef)(null), p = uRe(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, S.useState)(g), b = (0, S.useRef)({
item: e,
selected: o
}), x = (0, S.useRef)(i.failed);
@@ -78152,14 +78220,14 @@ function TRe({ 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, C.jsx)(vq, { onClose: n.close }),
+ /* @__PURE__ */ (0, C.jsx)(yq, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, C.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void xH(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void SH(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -78167,10 +78235,10 @@ function TRe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: rI(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: aI(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, C.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, C.jsx)(mq, {
+ u ? /* @__PURE__ */ (0, C.jsx)(hq, {
items: c,
position: l,
onSelect: r,
@@ -78187,11 +78255,11 @@ function TRe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var yq = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var bq = ({ kind: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: z(e === "image" ? "image-off" : "play") }
});
-function bq({ src: e }) {
+function xq({ src: e }) {
let [t, n] = (0, S.useState)(!1);
return t ? null : /* @__PURE__ */ (0, C.jsx)("img", {
src: e,
@@ -78201,27 +78269,27 @@ function bq({ src: e }) {
onError: () => n(!0)
});
}
-function xq(e) {
+function Sq(e) {
return (0, S.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function ERe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = yi(e), a = xq(n);
- return /* @__PURE__ */ (0, C.jsx)(sL, {
+function TRe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = yi(e), a = Sq(n);
+ return /* @__PURE__ */ (0, C.jsx)(cL, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${aI(e.primary)} · ${i.length} 个视频`,
+ summary: `${sI(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = aRe(e, n, i ? n.provider_label : ""), o = i ? rI(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, C.jsxs)(cL, {
+ let i = e.duplicates.includes(n), a = iRe(e, n, i ? n.provider_label : ""), o = i ? aI(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, C.jsxs)(lL, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(bq, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(yq, { kind: "video" }), gq(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {
+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(xq, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(bq, { kind: "video" }), _q(n.duration) ? /* @__PURE__ */ (0, C.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: on(n.duration)
@@ -78239,15 +78307,15 @@ function ERe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, C.jsx)("time", {
dateTime: n.published_at || "",
- children: mI(n)
+ children: gI(n)
})]
})]
}, n.id);
})
});
}
-function Sq({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = xq(r), c = [];
+function Cq({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = Sq(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -78257,26 +78325,26 @@ function Sq({ 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, C.jsx)(sL, {
+ return /* @__PURE__ */ (0, C.jsx)(cL, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${aI(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, C.jsx)(owe, {
+ summary: `${sI(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, C.jsx)(awe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, C.jsxs)(cL, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, C.jsxs)(lL, {
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, C.jsx)(bq, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(yq, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, C.jsx)(xq, { src: n.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(bq, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, C.jsx)("b", {
"data-middle-truncate": "",
- children: oRe(n)
+ children: aRe(n)
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78284,13 +78352,13 @@ function Sq({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function ERe({ 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 = dI(d, e), p = lI(e, oq(e, t.sources), n), m = p.credited ? "" : e.author && en(e.author) !== en(p.author) ? e.author : "", h = fI(e, n), g = lRe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = pI(d, e), p = dI(e, sq(e, t.sources), n), m = p.credited ? "" : e.author && en(e.author) !== en(p.author) ? e.author : "", h = mI(e, n), g = cRe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78306,7 +78374,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: uI(d, e) + B(aI(e)) }
+ dangerouslySetInnerHTML: { __html: fI(d, e) + B(sI(e)) }
}), e.url ? /* @__PURE__ */ (0, C.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -78314,7 +78382,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: _q }
+ dangerouslySetInnerHTML: { __html: vq }
}) : null]
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -78322,8 +78390,8 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, C.jsx)("span", { children: mI(e) }),
- gq(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: on(e.duration) }) : null,
+ /* @__PURE__ */ (0, C.jsx)("span", { children: gI(e) }),
+ _q(e.duration) ? /* @__PURE__ */ (0, C.jsx)("span", { children: on(e.duration) }) : null,
f ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -78340,7 +78408,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, C.jsxs)(OH, {
+ children: p.entityName ? /* @__PURE__ */ (0, C.jsxs)(kH, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -78372,7 +78440,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, C.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, C.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, C.jsx)(ORe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, C.jsx)(DRe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, C.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -78395,9 +78463,9 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [iRe(e), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [rRe(e), /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: _q }
+ dangerouslySetInnerHTML: { __html: vq }
})]
}, e))
}) : null,
@@ -78497,7 +78565,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(bq, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(yRe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, C.jsx)(xq, { src: e.thumb_url }) : /* @__PURE__ */ (0, C.jsx)(vRe, { name: "image-off" }), /* @__PURE__ */ (0, C.jsx)("i", { dangerouslySetInnerHTML: { __html: z("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78511,7 +78579,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
- "data-tag-cat": cRe(e, t),
+ "data-tag-cat": sRe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -78521,7 +78589,7 @@ function DRe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function ORe({ text: e }) {
+function DRe({ text: e }) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);
return (0, S.useLayoutEffect)(() => {
let e = t.current;
@@ -78544,8 +78612,8 @@ function ORe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function kRe(e, t, n) {
- let r = e.id, i = $K(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {
+function ORe(e, t, n) {
+ let r = e.id, i = eq(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -78564,7 +78632,7 @@ function kRe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && AW(), t.toast(fRe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && jW(), t.toast(dRe(n), { undo: i === "saved" ? void 0 : async () => {
await U(Bn, {
item: r,
to: i
@@ -78574,7 +78642,7 @@ function kRe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = mt({
- mutationFn: () => U(ZLe, { item: r }),
+ mutationFn: () => U(XLe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -78582,7 +78650,7 @@ function kRe(e, t, n) {
onSettled: () => l("save", !1)
}), m = mt({
mutationFn: async ({ index: e, hidden: t }) => {
- await U(QLe, {
+ await U(ZLe, {
item: r,
media: e,
hidden: t
@@ -78598,12 +78666,12 @@ function kRe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = pt({
- queryKey: INe(r),
- queryFn: ({ signal: e }) => zNe(r, e)
+ queryKey: FNe(r),
+ queryFn: ({ signal: e }) => RNe(r, e)
}).data?.want ?? null, g = mt({
- mutationFn: async (e) => (e ? await kW([e.id]) : await OW({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await AW([e.id]) : await kW({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), AW();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), jW();
},
onError: d,
onSettled: () => l("want", !1)
@@ -78643,7 +78711,7 @@ function kRe(e, t, n) {
}
//#endregion
//#region src/react/components/identity-cell.tsx
-function Cq({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+function wq({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${B(dn(t.name))}</span>` + ma({
@@ -78686,7 +78754,7 @@ function Cq({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: s
});
}
-function wq({ people: e, onOpen: t }) {
+function Tq({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
@@ -78720,7 +78788,7 @@ function wq({ people: e, onOpen: t }) {
}
//#endregion
//#region src/react/components/folded-title.ts
-function Tq(e) {
+function Eq(e) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(!1);
return (0, S.useLayoutEffect)(() => {
let e = t.current;
@@ -78738,7 +78806,7 @@ function Tq(e) {
}
//#endregion
//#region src/react/components/source-picture.tsx
-function Eq({ item: e, image: t, thumbnail: n = !1 }) {
+function Dq({ item: e, image: t, thumbnail: n = !1 }) {
let r = t === "cover" && e.has_cover, i = !r && (t !== "cover" || e.source_image), a = pt({
queryKey: [
"jav-image",
@@ -78781,9 +78849,9 @@ function Eq({ item: e, image: t, thumbnail: n = !1 }) {
}
//#endregion
//#region src/react/item-detail/catalog-picture.tsx
-function Dq({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function Oq({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(Eq, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, C.jsx)(Dq, {
item: {
code: e.code,
has_cover: !1,
@@ -78816,47 +78884,47 @@ function Dq({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}
//#endregion
//#region src/react/jav-detail/jav-detail.ts
-var Oq = (e) => ["jav-detail", e], kq = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), ARe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Aq = (e, t) => W.ensureQueryData({
- queryKey: Oq(e.code),
- queryFn: () => kq(e.code, t),
+var kq = (e) => ["jav-detail", e], Aq = (e, t, n = !1) => H(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), kRe = (e, t, n, r = !1) => H(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), jq = (e, t) => W.ensureQueryData({
+ queryKey: kq(e.code),
+ queryFn: () => Aq(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function jRe(e, t) {
+function ARe(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;
}
//#endregion
//#region src/react/item-detail/external-playback.tsx
-var jq = "peach.external-player.v1", Mq = [
+var Mq = "peach.external-player.v1", Nq = [
["m3u", "M3U 播放列表"],
["vlc-ios", "VLC(iPhone / iPad)"],
["iina", "IINA(Mac)"]
];
-function MRe(e, t, n) {
+function jRe(e, t, n) {
return e === "vlc-ios" ? `vlc-x-callback://x-callback-url/stream?url=${encodeURIComponent(t)}` : e === "iina" ? `iina://weblink?url=${encodeURIComponent(t)}` : n;
}
-function Nq({ id: e }) {
+function Pq({ id: e }) {
let [t, n] = (0, S.useState)(() => {
try {
- return Mq.find(([e]) => e === localStorage.getItem(jq))?.[0] || "m3u";
+ return Nq.find(([e]) => e === localStorage.getItem(Mq))?.[0] || "m3u";
} catch {
return "m3u";
}
- }), [r, i] = (0, S.useState)(null), a = yA();
- return /* @__PURE__ */ (0, C.jsxs)("details", { children: [/* @__PURE__ */ (0, C.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, C.jsxs)(DA, { children: [
- /* @__PURE__ */ (0, C.jsx)(wG, {
+ }), [r, i] = (0, S.useState)(null), a = bA();
+ return /* @__PURE__ */ (0, C.jsxs)("details", { children: [/* @__PURE__ */ (0, C.jsx)("summary", { children: "外部播放器 / VR" }), /* @__PURE__ */ (0, C.jsxs)(OA, { children: [
+ /* @__PURE__ */ (0, C.jsx)(TG, {
id: `external-player-${e}`,
label: "此设备的外部播放器",
- options: Mq,
+ options: Nq,
value: t,
epoch: 0,
onPick: (e) => {
- let t = Mq.find(([t]) => t === e)?.[0] || "m3u";
+ let t = Nq.find(([t]) => t === e)?.[0] || "m3u";
n(t);
try {
- localStorage.setItem(jq, t);
+ localStorage.setItem(Mq, t);
} catch {}
}
}),
@@ -78869,43 +78937,43 @@ function Nq({ id: e }) {
})),
children: "生成播放链接"
}),
- a.error ? /* @__PURE__ */ (0, C.jsx)(AA, { children: a.error }) : null,
+ a.error ? /* @__PURE__ */ (0, C.jsx)(jA, { children: a.error }) : null,
r ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)("a", {
- href: MRe(t, r.url, r.playlist),
+ href: jRe(t, r.url, r.playlist),
rel: "noreferrer",
- children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${Mq.find(([e]) => e === t)?.[1]}`
+ children: t === "m3u" ? "下载 M3U 播放列表" : `打开 ${Nq.find(([e]) => e === t)?.[1]}`
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "网络播放地址",
value: r.url,
isReadOnly: !0
}),
- /* @__PURE__ */ (0, C.jsx)(kA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
+ /* @__PURE__ */ (0, C.jsx)(AA, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })
] }) : null
] })] }, e);
}
//#endregion
//#region src/react/components/overlay-host.ts
-function NRe(e) {
+function MRe(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 PRe(e) {
+function NRe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return NRe(n ?? t.body);
+ return MRe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var FRe = "/api/cover-crop", IRe = (e, t) => U(FRe, {
+var PRe = "/api/cover-crop", FRe = (e, t) => U(PRe, {
code: e,
box: t
});
//#endregion
//#region src/react/cover-crop/cover-crop-page.tsx
-function Pq({ className: e }) {
+function Fq({ className: e }) {
return /* @__PURE__ */ (0, C.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -78918,7 +78986,7 @@ function Pq({ className: e }) {
children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-crop" })
});
}
-function LRe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function IRe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, S.useState)(!1), o = (0, S.useRef)(null);
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("button", {
ref: o,
@@ -78929,15 +78997,15 @@ function LRe({ 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, C.jsx)(Pq, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, C.jsx)(NS, {
- getContainer: () => PRe(o.current),
- children: /* @__PURE__ */ (0, C.jsx)(EP, {
+ children: /* @__PURE__ */ (0, C.jsx)(Fq, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, C.jsx)(MS, {
+ getContainer: () => NRe(o.current),
+ children: /* @__PURE__ */ (0, C.jsx)(OP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, C.jsx)(RRe, {
+ children: /* @__PURE__ */ (0, C.jsx)(LRe, {
code: e,
coverUrl: t,
box: n,
@@ -78947,9 +79015,9 @@ function LRe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function RRe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = eF(), f = mt({
- mutationFn: (t) => IRe(e, t),
+function LRe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, S.useState)(null), [s, c] = (0, S.useState)(null), [l, u] = (0, S.useState)(!0), d = nF(), f = mt({
+ mutationFn: (t) => FRe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -78961,19 +79029,19 @@ function RRe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : VAe(e, ra);
- c(BH(t, e, null));
+ } : BAe(e, ra);
+ c(VH(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, C.jsx)(DP, { children: /* @__PURE__ */ (0, C.jsx)(Pq, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, C.jsx)(kP, { children: /* @__PURE__ */ (0, C.jsx)(Fq, { className: "size-6" }) }),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(Hj, {
+ /* @__PURE__ */ (0, C.jsx)(Wj, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -78988,8 +79056,8 @@ function RRe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(dj, {
- icon: Dk,
+ /* @__PURE__ */ (0, C.jsx)(pj, {
+ icon: Ok,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -78999,24 +79067,24 @@ function RRe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, C.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, C.jsx)(GH, {
+ children: /* @__PURE__ */ (0, C.jsx)(KH, {
src: t,
aspect: l ? ra : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- RH(e) && p(e);
+ zH(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, C.jsx)(HU, {
+ children: [/* @__PURE__ */ (0, C.jsx)(UU, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(BH(s, a, ra));
+ u(e), e && s && a && c(VH(s, a, ra));
},
children: /* @__PURE__ */ (0, C.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -79045,14 +79113,14 @@ function RRe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}
//#endregion
//#region src/react/item-detail/item-detail-page.tsx
-var Fq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var Iq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z(e) }
-}), Iq = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+}), Lq = ({ html: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), Lq = (e) => Number(e) > 0 ? cn(Number(e)) : "大小未知";
-function zRe(e) {
+}), Rq = (e) => Number(e) > 0 ? cn(Number(e)) : "大小未知";
+function RRe(e) {
let { queue: t, actions: n } = e, r = pt({
queryKey: t ? vD(t) : ["item-queue", "none"],
queryFn: ({ signal: n }) => CD(t, e.helpers, n),
@@ -79070,9 +79138,9 @@ function zRe(e) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, C.jsx)(Rq, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
+ children: [/* @__PURE__ */ (0, C.jsx)(zq, { onClose: n.close }), /* @__PURE__ */ (0, C.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ children: e ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: Pt(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -79082,13 +79150,13 @@ function zRe(e) {
})
});
}
- return /* @__PURE__ */ (0, C.jsx)(BRe, {
+ return /* @__PURE__ */ (0, C.jsx)(zRe, {
...e,
item: Lfe(o.data, i),
queue: i
}, o.data.id);
}
-var Rq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var zq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -79097,8 +79165,8 @@ var Rq = ({ onClose: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function BRe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = nze(t, r, i.tagLabel), o = (0, S.useRef)(t);
+function zRe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = tze(t, r, i.tagLabel), o = (0, S.useRef)(t);
(0, S.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, S.useEffect)(() => {
@@ -79113,7 +79181,7 @@ function BRe(e) {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, C.jsx)(VRe, {
+ children: [/* @__PURE__ */ (0, C.jsx)(BRe, {
item: t,
gate: s,
helpers: i,
@@ -79126,22 +79194,22 @@ function BRe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, C.jsx)(KRe, {
+ }), /* @__PURE__ */ (0, C.jsx)(GRe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, C.jsx)(pq, {
+ }), /* @__PURE__ */ (0, C.jsx)(mq, {
editionCards: n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, C.jsx)(URe, {
+ queue: n ? /* @__PURE__ */ (0, C.jsx)(HRe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, C.jsx)(tze, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, C.jsx)(eze, {
...e,
item: n ? {
...t,
@@ -79150,12 +79218,12 @@ function BRe(e) {
}) : null
})] });
}
-function VRe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function BRe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, S.useState)(t ? "" : "auto"), c = (0, S.useRef)(null), [l, u] = (0, S.useState)(-2), d = (0, S.useRef)(!1), f = pt({
- queryKey: Oq(e.code || ""),
+ queryKey: kq(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, kq(e.code, t, n);
+ return d.current = !1, Aq(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -79200,26 +79268,26 @@ function VRe({ 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, C.jsx)(Rq, { onClose: r.close }),
+ /* @__PURE__ */ (0, C.jsx)(zq, { onClose: r.close }),
h ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, C.jsx)(Fq, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}),
- l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(Dq, {
+ l === -2 ? null : /* @__PURE__ */ (0, C.jsx)(Oq, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
}, l),
- /* @__PURE__ */ (0, C.jsx)(mq, {
+ /* @__PURE__ */ (0, C.jsx)(hq, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, C.jsx)(Dq, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, C.jsx)(Oq, {
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,
@@ -79244,7 +79312,7 @@ function VRe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "重试样图"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, C.jsx)(HRe, {
+ t === "offline" ? /* @__PURE__ */ (0, C.jsx)(VRe, {
item: e,
badge: y,
helpers: n,
@@ -79255,14 +79323,14 @@ function VRe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, C.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, C.jsx)(Nq, { id: e.id })
+ /* @__PURE__ */ (0, C.jsx)(Pq, { id: e.id })
]
}) : t === "online" ? /* @__PURE__ */ (0, C.jsxs)("div", {
id: "onlineGate",
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, C.jsx)(Iq, { html: y }),
+ /* @__PURE__ */ (0, C.jsx)(Lq, { html: y }),
/* @__PURE__ */ (0, C.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -79277,12 +79345,12 @@ function VRe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, C.jsx)(Iq, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", Lq(e.size)] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Lq, { html: y }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["点此开始拉流 · ", Rq(e.size)] })]
}) : null
]
});
}
-function HRe({ item: e, badge: t, helpers: n, actions: r }) {
+function VRe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, S.useState)(!1), [o, s] = (0, S.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -79293,7 +79361,7 @@ function HRe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, C.jsx)(Iq, { html: t }),
+ /* @__PURE__ */ (0, C.jsx)(Lq, { html: t }),
/* @__PURE__ */ (0, C.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: n.offlineReason(e.location || "") }),
/* @__PURE__ */ (0, C.jsx)("button", {
@@ -79307,8 +79375,8 @@ function HRe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function URe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = $fe(e), a = (0, S.useRef)(null), o = GRe(e, t, r), s = (0, S.useRef)(o);
+function HRe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = $fe(e), a = (0, S.useRef)(null), o = WRe(e, t, r), s = (0, S.useRef)(o);
s.current = o;
let c = (0, S.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -79316,7 +79384,7 @@ function URe({ 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 = WRe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)("button", {
+ }, [n, e.kind]), l = URe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -79335,7 +79403,7 @@ function URe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, C.jsx)(sL, {
+ return /* @__PURE__ */ (0, C.jsx)(cL, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -79348,7 +79416,7 @@ function URe({ queue: e, itemId: t, helpers: n, actions: r }) {
"data-queue-edition": "",
children: i.edition_label
}) : null, s = e.kind === "playlist" && Ife(i);
- return /* @__PURE__ */ (0, C.jsxs)(cL, {
+ return /* @__PURE__ */ (0, C.jsxs)(lL, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -79358,25 +79426,25 @@ function URe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Iq, { html: Ta(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {
+ pic: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Lq, { html: Ta(i, n.javImage()) }), /* @__PURE__ */ (0, C.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: on(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, C.jsx)(Iq, { html: Oa(i) }),
+ lead: /* @__PURE__ */ (0, C.jsx)(Lq, { html: Oa(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, C.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, C.jsxs)("span", {
@@ -79393,7 +79461,7 @@ function URe({ queue: e, itemId: t, helpers: n, actions: r }) {
})
});
}
-function WRe(e, t) {
+function URe(e, t) {
let n = mt({ mutationFn: (t) => U(yD, {
action: "create",
name: t,
@@ -79407,7 +79475,7 @@ function WRe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function GRe(e, t, n) {
+function WRe(e, t, n) {
let r = vD({
kind: "playlist",
playlistId: e.playlistId
@@ -79470,7 +79538,7 @@ function GRe(e, t, n) {
}
};
}
-function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function GRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-side": "",
@@ -79478,7 +79546,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(qRe, {
+ /* @__PURE__ */ (0, C.jsx)(KRe, {
item: e,
queue: t,
helpers: r,
@@ -79490,7 +79558,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, C.jsx)(YRe, {
+ /* @__PURE__ */ (0, C.jsx)(JRe, {
item: e,
write: n
}),
@@ -79501,7 +79569,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Fq, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: "monitor" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -79509,11 +79577,11 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Fq, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: Lq(e.size) })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: "hard-drive" }), /* @__PURE__ */ (0, C.jsx)("span", { children: Rq(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Fq, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: "calendar" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
@@ -79521,29 +79589,29 @@ function KRe({ 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, C.jsx)(Fq, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: "globe" }), /* @__PURE__ */ (0, C.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsx)(XRe, {
+ /* @__PURE__ */ (0, C.jsx)(YRe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, C.jsx)(ZRe, {
+ /* @__PURE__ */ (0, C.jsx)(XRe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, C.jsx)(hL, {
- assetIds: mL([e], r.javImage()),
+ /* @__PURE__ */ (0, C.jsx)(gL, {
+ assetIds: hL([e], r.javImage()),
onComplete: () => {
W.invalidateQueries({ queryKey: _D(e.id) });
}
}),
- /* @__PURE__ */ (0, C.jsx)($Re, { item: e }),
- e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(Nq, { id: e.id }, e.id) : null,
+ /* @__PURE__ */ (0, C.jsx)(QRe, { item: e }),
+ e.medium === "video" && e.location !== "online" ? /* @__PURE__ */ (0, C.jsx)(Pq, { id: e.id }, e.id) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79557,7 +79625,7 @@ function KRe({ 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, C.jsx)(Fq, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79569,7 +79637,7 @@ function KRe({ 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, C.jsx)(Fq, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79580,7 +79648,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79591,7 +79659,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "eye" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "eye" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79602,7 +79670,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79611,7 +79679,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "playlist" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "playlist" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79622,7 +79690,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "sparkles" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
@@ -79633,11 +79701,11 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "trash" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(eze, {
+ /* @__PURE__ */ (0, C.jsx)($Re, {
item: e,
open: s,
write: n
@@ -79648,7 +79716,7 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, C.jsx)(Fq, { name: "sperm" }),
+ /* @__PURE__ */ (0, C.jsx)(Iq, { name: "sperm" }),
/* @__PURE__ */ (0, C.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, C.jsx)("b", {
className: "mono",
@@ -79661,8 +79729,8 @@ function KRe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function qRe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = Tq(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + epe(e, t);
+function KRe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = Eq(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + epe(e, t);
return /* @__PURE__ */ (0, C.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -79689,11 +79757,11 @@ function qRe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: o ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: o ? "chevron-up" : "chevron-down" })
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, C.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, C.jsx)(LRe, {
+ children: /* @__PURE__ */ (0, C.jsx)(IRe, {
code: e.cover_key || e.code || "",
coverUrl: ua(e),
box: e.poster_box || null,
@@ -79705,7 +79773,7 @@ function qRe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, C.jsx)(JRe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, C.jsx)(qRe, {
id: e.id,
actions: r,
onStatus: i
@@ -79715,7 +79783,7 @@ function qRe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function JRe({ id: e, actions: t, onStatus: n }) {
+function qRe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, S.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -79745,10 +79813,10 @@ function JRe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "folder-sync" })
})] });
}
-function YRe({ item: e, write: t }) {
+function JRe({ item: e, write: t }) {
let n = TD(e.rating);
return /* @__PURE__ */ (0, C.jsxs)("div", {
id: "detailRating",
@@ -79772,7 +79840,7 @@ function YRe({ item: e, write: t }) {
"aria-label": e === n ? `取消评分(当前 ${e} 星)` : `评为 ${e} 星`,
...t.busyAttrs(`rate:${e}`),
onClick: () => t.rate(e),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "star" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "star" })
}, e))
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-rating-value": "",
@@ -79781,10 +79849,10 @@ function YRe({ item: e, write: t }) {
})]
});
}
-function XRe({ item: e, actions: t }) {
+function YRe({ item: e, actions: t }) {
let n = (0, S.useMemo)(() => Bfe(e), [e]), [r, i] = (0, S.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, C.jsx)(Cq, {
+ return /* @__PURE__ */ (0, C.jsx)(wq, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -79816,7 +79884,7 @@ function XRe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, C.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "user-round" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "user-round" })
}), /* @__PURE__ */ (0, C.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -79828,7 +79896,7 @@ function XRe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: Ck,
+ trailingIcon: wk,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -79847,13 +79915,13 @@ function XRe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, C.jsx)(wq, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(Tq, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function ZRe({ item: e, write: t, helpers: n, actions: r }) {
+function XRe({ item: e, write: t, helpers: n, actions: r }) {
let i = Wfe(e, n);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-stage-tags": "",
@@ -79874,16 +79942,16 @@ function ZRe({ item: e, write: t, helpers: n, actions: r }) {
"aria-label": `删除标签 ${n.tagLabel(e.k)}`,
...t.busyAttrs(`tag:${e.k}`),
onClick: () => t.removeTag(e),
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "x" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, C.jsx)(QRe, {
+ }, e.k)), /* @__PURE__ */ (0, C.jsx)(ZRe, {
item: e,
write: t,
helpers: n
})]
});
}
-function QRe({ item: e, write: t, helpers: n }) {
+function ZRe({ item: e, write: t, helpers: n }) {
let r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(!1), [s, c] = (0, S.useState)(!1), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), [p, m] = (0, S.useState)(-1), h = (0, S.useCallback)(() => {
i.current && $a(i.current), c(!1);
}, []);
@@ -79933,7 +80001,7 @@ function QRe({ item: e, write: t, helpers: n }) {
"aria-pressed": i,
onClick: () => v(t, i),
children: [
- /* @__PURE__ */ (0, C.jsx)(Fq, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, C.jsx)(Iq, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, C.jsx)("span", {
"data-pick-name": "",
children: n.tagLabel(t.k)
@@ -79956,7 +80024,7 @@ function QRe({ item: e, write: t, helpers: n }) {
onClick: () => {
i.current && (Qa(i.current), c(!0), u(""), f(""), m(-1), requestAnimationFrame(() => a.current?.focus()));
},
- children: /* @__PURE__ */ (0, C.jsx)(Fq, { name: "plus" })
+ children: /* @__PURE__ */ (0, C.jsx)(Iq, { name: "plus" })
}), /* @__PURE__ */ (0, C.jsxs)("div", {
ref: i,
id: "tagPicker",
@@ -79966,7 +80034,7 @@ function QRe({ item: e, write: t, helpers: n }) {
hidden: !0,
children: [/* @__PURE__ */ (0, C.jsxs)("label", {
"data-tag-search": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Fq, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: "search" }), /* @__PURE__ */ (0, C.jsx)("input", {
ref: a,
id: "tagPickSearch",
maxLength: 80,
@@ -80007,7 +80075,7 @@ function QRe({ item: e, write: t, helpers: n }) {
onClick: () => {
h(), t.addTag(g.create);
},
- children: [/* @__PURE__ */ (0, C.jsx)(Fq, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(Iq, { name: "plus" }), /* @__PURE__ */ (0, C.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -80022,7 +80090,7 @@ function QRe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function $Re({ item: e }) {
+function QRe({ item: e }) {
let t = ipe(e);
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-trace": "",
@@ -80057,7 +80125,7 @@ function $Re({ item: e }) {
})]
});
}
-function eze({ item: e, open: t, write: n }) {
+function $Re({ item: e, open: t, write: n }) {
let [r, i] = (0, S.useState)(e.like_reason || ""), a = (0, S.useRef)(null);
(0, S.useEffect)(() => {
t && a.current?.focus();
@@ -80096,12 +80164,12 @@ function eze({ item: e, open: t, write: n }) {
})]
});
}
-function tze(e) {
+function eze(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = pt({
queryKey: Ofe(t.id, n),
queryFn: async ({ signal: e }) => (await H(Afe(t.id, n), e)).items || []
}), [o] = (0, S.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, C.jsx)(fq, {
+ return /* @__PURE__ */ (0, C.jsx)(pq, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -80109,7 +80177,7 @@ function tze(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, C.jsx)(wz, {
+ children: a.data ? /* @__PURE__ */ (0, C.jsx)(Tz, {
mode: "items",
variant: "next",
items: a.data,
@@ -80122,10 +80190,10 @@ function tze(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, C.jsx)(Iq, { html: o })
+ }) : /* @__PURE__ */ (0, C.jsx)(Lq, { html: o })
});
}
-function nze(e, t, n) {
+function tze(e, t, n) {
let r = e.id, i = _D(r), [a, o] = (0, S.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -80267,10 +80335,10 @@ function nze(e, t, n) {
}
//#endregion
//#region src/react/jav-detail/review-cache.ts
-var zq = "peach.jav-reviews.v1";
-function Bq() {
+var Bq = "peach.jav-reviews.v1";
+function Vq() {
try {
- let e = localStorage.getItem(zq) || "[]";
+ let e = localStorage.getItem(Bq) || "[]";
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")) : [];
@@ -80278,21 +80346,21 @@ function Bq() {
return [];
}
}
-function rze(e, t) {
+function nze(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
- }, ...Bq().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(zq, i);
+ }, ...Vq().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(Bq, i);
} catch {}
}
-function ize(e, t) {
- let n = Bq(), r = [], i = Infinity;
+function rze(e, t) {
+ let n = Vq(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !FW(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !IW(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -80300,17 +80368,17 @@ function ize(e, t) {
saved: i
} : void 0;
}
-function aze(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && FW(Date.parse(e.checked_at || "") || t, n));
+function ize(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && IW(Date.parse(e.checked_at || "") || t, n));
}
//#endregion
//#region src/react/jav-detail/jav-detail-page.tsx
-function oze(e) {
+function aze(e) {
let t = (0, S.useRef)(!1), n = pt({
- queryKey: Oq(e.code),
+ queryKey: kq(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, kq(e.code, n, r);
+ return t.current = !1, Aq(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -80320,21 +80388,21 @@ function oze(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, C.jsx)(sze, {
+ children: n.data ? /* @__PURE__ */ (0, C.jsx)(oze, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, C.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Vq, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(OI, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Hq, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, C.jsx)(AI, {
message: V(n.error),
onRetry: r
}) : null]
})
});
}
-var Vq = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
+var Hq = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -80343,7 +80411,7 @@ var Vq = ({ close: e }) => /* @__PURE__ */ (0, C.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: z("x") }
});
-function sze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function oze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, S.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, S.useEffect)(() => {
@@ -80363,13 +80431,13 @@ function sze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(t.want_id), p = yA(), m = () => {
- p.run("want", async (e) => d ? (await kW([d], e), null) : (await OW({ code: t.code }, e)).want.id, (t) => {
- f(t), W.setQueryData(Oq(e), (e) => e && {
+ ], [l, u] = (0, S.useState)(null), [d, f] = (0, S.useState)(t.want_id), p = bA(), m = () => {
+ p.run("want", async (e) => d ? (await AW([d], e), null) : (await kW({ code: t.code }, e)).want.id, (t) => {
+ f(t), W.setQueryData(kq(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), AW(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), jW(), W.invalidateQueries({ queryKey: ["feed-new"] }), W.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
@@ -80378,24 +80446,24 @@ function sze({ 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, C.jsx)(Vq, { close: n.close }),
+ /* @__PURE__ */ (0, C.jsx)(Hq, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, C.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, C.jsx)(Hq, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, C.jsx)(Uq, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(uze, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(Eq, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, C.jsx)(lze, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, C.jsx)(Dq, {
item: t,
image: o === -1 ? "cover" : String(o)
}, o),
- /* @__PURE__ */ (0, C.jsx)(mq, {
+ /* @__PURE__ */ (0, C.jsx)(hq, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, C.jsx)(Eq, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, C.jsx)(Dq, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -80409,32 +80477,32 @@ function sze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, C.jsx)(cze, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(Wq, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, C.jsx)(sze, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(Gq, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Uq, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Wq, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, C.jsx)(Uq, {
+ }), /* @__PURE__ */ (0, C.jsx)(Wq, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, C.jsx)(lze, {
+ /* @__PURE__ */ (0, C.jsx)(cze, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, C.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Uq, {
+ children: [/* @__PURE__ */ (0, C.jsx)(Wq, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, C.jsx)(Uq, {
+ }), /* @__PURE__ */ (0, C.jsx)(Wq, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -80498,7 +80566,7 @@ function sze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
}),
t.source_url ? /* @__PURE__ */ (0, C.jsx)(q, {
variant: "secondary",
- trailingIcon: jk,
+ trailingIcon: Mk,
onClick: () => window.open(t.source_url, "_blank", "noopener,noreferrer"),
children: "作品来源"
}) : null
@@ -80508,12 +80576,12 @@ function sze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, C.jsx)(dze, {
+ /* @__PURE__ */ (0, C.jsx)(uze, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, C.jsx)(fze, {
+ /* @__PURE__ */ (0, C.jsx)(dze, {
item: t,
actions: n,
readOnly: r
@@ -80521,24 +80589,24 @@ function sze({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, C.jsx)(wW, {
+ /* @__PURE__ */ (0, C.jsx)(TW, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var Hq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
+var Uq = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: z(e) }
-}), Uq = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {
+}), Wq = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, C.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, C.jsx)(Hq, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, C.jsx)(Uq, { name: e }), /* @__PURE__ */ (0, C.jsx)("span", { children: n })]
}) : null;
-function cze({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = Tq(e.title), a = e.title === e.code ? "" : e.title;
+function sze({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = Eq(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, C.jsx)("h1", {
@@ -80564,12 +80632,12 @@ function cze({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, C.jsx)(Hq, { name: n ? "chevron-up" : "chevron-down" })
+ children: /* @__PURE__ */ (0, C.jsx)(Uq, { name: n ? "chevron-up" : "chevron-down" })
})
})]
});
}
-function Wq({ score: e, review: t = !1 }) {
+function Gq({ score: e, review: t = !1 }) {
let n = Math.max(0, Math.min(5, e));
return /* @__PURE__ */ (0, C.jsxs)("div", {
"data-item-rating": "",
@@ -80593,10 +80661,10 @@ function Wq({ score: e, review: t = !1 }) {
"data-on": String(t === 1),
children: /* @__PURE__ */ (0, C.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, C.jsx)(Hq, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [/* @__PURE__ */ (0, C.jsx)(Uq, { name: "star" }), /* @__PURE__ */ (0, C.jsx)("span", {
"data-rating-fill": "",
style: { width: `${t * 100}%` },
- children: /* @__PURE__ */ (0, C.jsx)(Hq, { name: "star" })
+ children: /* @__PURE__ */ (0, C.jsx)(Uq, { name: "star" })
})]
})
}, e);
@@ -80607,7 +80675,7 @@ function Wq({ score: e, review: t = !1 }) {
})]
});
}
-function lze({ item: e, navigate: t }) {
+function cze({ item: e, navigate: t }) {
let n = (e, n) => t(Kt(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, C.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -80616,14 +80684,14 @@ function lze({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, C.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(Cq, {
+ children: i.map((r) => /* @__PURE__ */ (0, C.jsx)(wq, {
kind: t,
person: {
...r,
id: r.id ?? null
},
onOpen: n,
- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, C.jsx)(nU, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, C.jsx)(rU, {
code: e.code,
person: r,
detail: !0
@@ -80640,7 +80708,7 @@ function lze({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, C.jsx)(wq, {
+ }), /* @__PURE__ */ (0, C.jsx)(Tq, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -80649,7 +80717,7 @@ function lze({ item: e, navigate: t }) {
})]
});
}
-function uze({ src: e }) {
+function lze({ src: e }) {
let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(!1), [i, a] = (0, S.useState)(0);
return (0, S.useLayoutEffect)(() => {
let n = t.current, i = document.createElement("video");
@@ -80673,8 +80741,8 @@ function uze({ src: e }) {
}) : null
});
}
-function dze({ code: e, count: t, released: n }) {
- let r = T(), [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => ize(e, n), [e, n]), s = (0, S.useRef)(!1), c = ht({
+function uze({ code: e, count: t, released: n }) {
+ let r = T(), [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => rze(e, n), [e, n]), s = (0, S.useRef)(!1), c = ht({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -80683,12 +80751,12 @@ function dze({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => aze(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => ize(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await ARe(e, n, t, s.current);
- if (rze(e, i), !i.ok || i.cache_stale) {
+ let i = await kRe(e, n, t, s.current);
+ if (nze(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,
@@ -80698,7 +80766,7 @@ function dze({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: jRe
+ getNextPageParam: ARe
});
(0, S.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -80706,10 +80774,10 @@ function dze({ code: e, count: t, released: n }) {
let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? V(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, C.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, C.jsxs)(FA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(IA, {
trailing: !0,
summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
- /* @__PURE__ */ (0, C.jsx)(Oge, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, C.jsx)(Dge, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -80746,7 +80814,7 @@ function dze({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, C.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(Wq, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, C.jsx)(Gq, {
score: Number(e.score),
review: !0
}) : null,
@@ -80801,21 +80869,21 @@ function dze({ code: e, count: t, released: n }) {
})
});
}
-function fze({ item: e, actions: t, readOnly: n }) {
+function dze({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, S.useState)(!1), a = pt({
- queryKey: ej,
+ queryKey: nj,
enabled: r,
- queryFn: ({ signal: e }) => H(`${$A}?limit=50`, e)
+ queryFn: ({ signal: e }) => H(`${tj}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, S.useState)(!1);
return /* @__PURE__ */ (0, C.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, C.jsx)(FA, {
+ children: /* @__PURE__ */ (0, C.jsx)(IA, {
trailing: !0,
- summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Hq, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Uq, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, C.jsx)(VW, {
+ children: s ? /* @__PURE__ */ (0, C.jsx)(HW, {
want: {
id: 0,
code: e.code,
@@ -80833,31 +80901,31 @@ function fze({ item: e, actions: t, readOnly: n }) {
}
//#endregion
//#region src/react/stage/stage-player.ts
-var Gq = null, Kq = null, qq = null, Jq = null, Yq = null, Xq = !1, Zq = 0, Qq = null, $q = () => !1, eJ = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function pze(e, t) {
- Gq = e, $q = () => t.isOpen(), Qq = () => t.requestClose(), Yue({
+var Kq = null, qq = null, Jq = null, Yq = null, Xq = null, Zq = !1, Qq = 0, $q = null, eJ = () => !1, tJ = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function fze(e, t) {
+ Kq = e, eJ = () => t.isOpen(), $q = () => t.requestClose(), Yue({
...e.player,
stage: () => document.getElementById("stage")
}), Xue({
- inMiniplayer: (e) => Kq?.player === e,
- kind: (e) => Kq?.player === e ? Kq.kind : qq?.kind ?? Jq?.kind ?? "item",
- expand: () => bJ(),
- toMiniplayer: () => xJ()
- }), tJ || (tJ = !0, addEventListener("pagehide", () => tD()));
-}
-var tJ = !1;
-function nJ() {
- if (!Gq) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return Gq;
-}
-function rJ(e) {
- Jq = e;
-}
-var mze = () => Jq;
-function iJ(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = eJ(n, r.id, i?.index ?? null);
- if (Kq && Kq.key === a) return gze(e, Kq);
- Kq && yJ();
+ inMiniplayer: (e) => qq?.player === e,
+ kind: (e) => qq?.player === e ? qq.kind : Jq?.kind ?? Yq?.kind ?? "item",
+ expand: () => xJ(),
+ toMiniplayer: () => SJ()
+ }), nJ || (nJ = !0, addEventListener("pagehide", () => tD()));
+}
+var nJ = !1;
+function rJ() {
+ if (!Kq) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return Kq;
+}
+function iJ(e) {
+ Yq = e;
+}
+var pze = () => Yq;
+function aJ(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = tJ(n, r.id, i?.index ?? null);
+ if (qq && qq.key === a) return hze(e, qq);
+ qq && bJ();
let o = {
player: null,
kind: n,
@@ -80865,7 +80933,7 @@ function iJ(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- qq = o;
+ Jq = 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 = cD(s, {
@@ -80875,42 +80943,42 @@ function iJ(e, t) {
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- qq === o && (o.player = e);
+ Jq === o && (o.player = e);
},
- handedOff: (e) => Kq?.player === e
+ handedOff: (e) => qq?.player === e
});
return () => {
- let e = !!o.player && Kq?.player === o.player;
- qq === o && (qq = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), tD());
+ let e = !!o.player && qq?.player === o.player;
+ Jq === o && (Jq = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), tD());
};
}
-async function hze(e, t, n) {
+async function mze(e, t, n) {
let r = await Lt(`/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 nJ().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(nJ().player.offlineReason(String(r.location || "")));
+ let i = await rJ().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.location || "")] === !1) throw Error(rJ().player.offlineReason(String(r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- rJ(a);
- let o = iJ(t, {
+ iJ(a);
+ let o = aJ(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && Jq === a && oJ(!0), o(), Jq === a && rJ(null));
+ s || (s = !0, e && Yq === a && sJ(!0), o(), Yq === a && iJ(null));
};
}
-function gze(e, t) {
+function hze(e, t) {
let { player: n } = t;
- _J(t), Kq = null, vJ(), n.el().classList.remove("vjs-peach-mini"), afe(e), e.append(n.el()), LE(n);
+ vJ(t), qq = null, yJ(), n.el().classList.remove("vjs-peach-mini"), afe(e), e.append(n.el()), LE(n);
let r = {
player: n,
kind: t.kind,
@@ -80918,23 +80986,23 @@ function gze(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- qq = r;
+ Jq = r;
let i = ofe(n, e);
return RE(n), () => {
- qq === r && (qq = null), i(), Kq?.player !== n && (IE() === n && LE(null), ZE(n), tD());
+ Jq === r && (Jq = null), i(), qq?.player !== n && (IE() === n && LE(null), ZE(n), tD());
};
}
-var aJ = () => {
- let e = qq?.player;
+var oJ = () => {
+ let e = Jq?.player;
return e && !e.isDisposed() ? e : null;
};
-function oJ(e) {
- let t = Xq;
- Xq = !1, Kq?.pending && yJ();
- let n = qq, r = n?.player, i = Jq;
- if (!n || !r || r.isDisposed() || !i || !Yq) return;
- let a = nJ().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && bze({
+function sJ(e) {
+ let t = Zq;
+ Zq = !1, qq?.pending && bJ();
+ let n = Jq, r = n?.player, i = Yq;
+ if (!n || !r || r.isDisposed() || !i || !Xq) return;
+ let a = rJ().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && yze({
player: r,
kind: n.kind,
item: n.item,
@@ -80942,46 +81010,46 @@ function oJ(e) {
key: n.key
}, i);
}
-function sJ(e, t) {
- Xq = !1, Kq && (Kq.kind === e && Kq.item.id === t ? (Kq.pending = !0, vJ()) : yJ());
+function cJ(e, t) {
+ Zq = !1, qq && (qq.kind === e && qq.item.id === t ? (qq.pending = !0, yJ()) : bJ());
}
-function cJ(e) {
- Yq = e, Yq && hJ();
+function lJ(e) {
+ Xq = e, Xq && gJ();
}
-var lJ = () => !!Kq && !Kq.pending && !Kq.player.isDisposed();
-function _ze() {
- return lJ() ? Yq?.frame.querySelector("video") ?? null : null;
+var uJ = () => !!qq && !qq.pending && !qq.player.isDisposed();
+function gze() {
+ return uJ() ? Xq?.frame.querySelector("video") ?? null : null;
}
-function vze() {
- return $q() ? document.getElementById("stage")?.querySelector("video") ?? null : aJ()?.el().querySelector("video") ?? _ze();
+function _ze() {
+ return eJ() ? document.getElementById("stage")?.querySelector("video") ?? null : oJ()?.el().querySelector("video") ?? gze();
}
-function uJ(e) {
- Yq && (Yq.title.textContent = e.title || "", Yq.sub.textContent = e.sub || "", Yq.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function dJ(e) {
+ Xq && (Xq.title.textContent = e.title || "", Xq.sub.textContent = e.sub || "", Xq.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function dJ(e = Kq?.item) {
- if (!Yq) return;
- let t = Yq.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- Yq.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function fJ(e = qq?.item) {
+ if (!Xq) return;
+ let t = Xq.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ Xq.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function fJ() {
- let e = Kq?.player;
- if (!e || e.isDisposed() || !Yq) return;
+function pJ() {
+ let e = qq?.player;
+ if (!e || e.isDisposed() || !Xq) return;
let t = e.paused();
- Yq.play.setAttribute("aria-label", t ? "播放" : "暂停"), Yq.play.querySelector("[data-icon-swap]") || (Yq.play.innerHTML = Fo("player-pause", "player-play", t ? "b" : "a")), Io(Yq.play, t ? "b" : "a");
+ Xq.play.setAttribute("aria-label", t ? "播放" : "暂停"), Xq.play.querySelector("[data-icon-swap]") || (Xq.play.innerHTML = Fo("player-pause", "player-play", t ? "b" : "a")), Io(Xq.play, t ? "b" : "a");
}
-function pJ() {
- let e = Kq?.player;
- if (!e || e.isDisposed() || !Yq) return;
- let t = an(Kq?.item.duration) || an(e.duration());
- Yq.time.textContent = `${sn(e.currentTime())} / ${t ? sn(t) : "0:00"}`;
-}
-var mJ = () => Math.max(1, Number(nJ().player.settings().seekSeconds) || 10);
-function hJ() {
- if (!Yq || !Gq) return;
- let e = mJ();
- for (let [t, n] of [[Yq.back, `后退 ${e} 秒`], [Yq.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
-}
-function gJ(e) {
+function mJ() {
+ let e = qq?.player;
+ if (!e || e.isDisposed() || !Xq) return;
+ let t = an(qq?.item.duration) || an(e.duration());
+ Xq.time.textContent = `${sn(e.currentTime())} / ${t ? sn(t) : "0:00"}`;
+}
+var hJ = () => Math.max(1, Number(rJ().player.settings().seekSeconds) || 10);
+function gJ() {
+ if (!Xq || !Kq) return;
+ let e = hJ();
+ for (let [t, n] of [[Xq.back, `后退 ${e} 秒`], [Xq.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function _J(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -80993,17 +81061,17 @@ function gJ(e) {
"play",
"pause",
"ended"
- ], fJ), t([
+ ], pJ), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], pJ), t("loadedmetadata", () => dJ()), fJ(), pJ(), dJ(), hJ();
+ ], mJ), t("loadedmetadata", () => fJ()), pJ(), mJ(), fJ(), gJ();
}
-function _J(e) {
+function vJ(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function yze() {
- let e = Yq?.root;
+function vze() {
+ let e = Xq?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -81011,8 +81079,8 @@ function yze() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function vJ() {
- let e = Yq?.root;
+function yJ() {
+ let e = Xq?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -81023,73 +81091,73 @@ function vJ() {
e.style.transform = "";
}
}
-function bze(e, t) {
- if (!Yq) return;
+function yze(e, t) {
+ if (!Xq) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- Kq = n, Zq++, e.player.el().classList.add("vjs-peach-mini"), Yq.frame.prepend(e.player.el()), uJ(t), gJ(n), yze(), RE(e.player);
-}
-function yJ() {
- let e = Kq;
- e && _J(e), Kq = null, Zq++;
- let t = e?.player ?? null;
- t && IE() === t && LE(null), ZE(t), t && tD(), Yq?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), FE(), vJ();
+ qq = n, Qq++, e.player.el().classList.add("vjs-peach-mini"), Xq.frame.prepend(e.player.el()), dJ(t), _J(n), vze(), RE(e.player);
}
function bJ() {
- if (!lJ() || !Kq) return;
- let { kind: e, item: t, mediaIndex: n } = Kq;
- nJ().expand(e, t.id, n);
+ let e = qq;
+ e && vJ(e), qq = null, Qq++;
+ let t = e?.player ?? null;
+ t && IE() === t && LE(null), ZE(t), t && tD(), Xq?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), FE(), yJ();
}
function xJ() {
- lJ() && !$q() ? bJ() : $q() && aJ() && Qq && (Xq = !0, Qq());
+ if (!uJ() || !qq) return;
+ let { kind: e, item: t, mediaIndex: n } = qq;
+ rJ().expand(e, t.id, n);
}
-function xze() {
- let e = Kq?.player;
+function SJ() {
+ uJ() && !eJ() ? xJ() : eJ() && oJ() && $q && (Zq = !0, $q());
+}
+function bze() {
+ let e = qq?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function SJ(e) {
- let t = Kq?.player;
+function CJ(e) {
+ let t = qq?.player;
if (!t || t.isDisposed()) return;
- let n = an(t.duration()) || an(Kq?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + mJ() * e);
+ let n = an(t.duration()) || an(qq?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + hJ() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function CJ(e) {
- return !(!lJ() || !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 || nJ().sourceOffline(String(e.location ?? "")));
-}
-async function Sze(e) {
- if (!lJ() || !Kq || !Yq) return;
- let t = ++Zq, n = await Lt(`/api/item?id=${e}`).catch(() => null);
- if (t !== Zq || !lJ() || !Kq || !Yq || !n || n.error) return;
- if (!CJ(n)) {
- nJ().openItem(e);
+function wJ(e) {
+ return !(!uJ() || !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 || rJ().sourceOffline(String(e.location ?? "")));
+}
+async function xze(e) {
+ if (!uJ() || !qq || !Xq) return;
+ let t = ++Qq, n = await Lt(`/api/item?id=${e}`).catch(() => null);
+ if (t !== Qq || !uJ() || !qq || !Xq || !n || n.error) return;
+ if (!wJ(n)) {
+ rJ().openItem(e);
return;
}
- let r = Kq;
- _J(r), IE() === r.player && LE(null), ZE(r.player), tD(), Yq.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = qq;
+ vJ(r), IE() === r.player && LE(null), ZE(r.player), tD(), Xq.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", Yq.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", Xq.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- uJ(a), cD(i, {
+ dJ(a), cD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== Zq) {
+ if (t !== Qq) {
r && IE() === r && LE(null), ZE(r);
return;
}
if (!r) {
- yJ(), nJ().openItem(e);
+ bJ(), rJ().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -81098,26 +81166,26 @@ async function Sze(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: eJ("item", n.id, null),
+ key: tJ("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- Kq = i, gJ(i);
+ qq = i, _J(i);
}
- }), dJ(n);
+ }), fJ(n);
}
//#endregion
//#region src/react/stage/miniplayer.tsx
-var wJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
+var TJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })
-}), Cze = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, TJ = (e) => (t) => {
+}), Sze = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, EJ = (e) => (t) => {
t.stopPropagation(), e();
-}, wze = (0, S.memo)(function() {
+}, Cze = (0, S.memo)(function() {
let e = (0, S.useRef)(null), t = (0, S.useRef)(null), n = (0, S.useRef)(null), r = (0, S.useRef)(null), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)(null), c = (0, S.useRef)(null), l = (0, S.useRef)(null);
- return (0, S.useLayoutEffect)(() => (cJ({
+ return (0, S.useLayoutEffect)(() => (lJ({
root: e.current,
frame: n.current,
play: r.current,
@@ -81127,7 +81195,7 @@ var wJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => cJ(null)), []), (0, S.useEffect)(() => Eze(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {
+ }), () => lJ(null)), []), (0, S.useEffect)(() => Tze(e.current, t.current), []), /* @__PURE__ */ (0, C.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -81151,24 +81219,24 @@ var wJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: TJ(bJ),
- children: /* @__PURE__ */ (0, C.jsx)(wJ, { name: "maximize-2" })
+ onClick: EJ(xJ),
+ children: /* @__PURE__ */ (0, C.jsx)(TJ, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: TJ(yJ),
- children: /* @__PURE__ */ (0, C.jsx)(wJ, { name: "x" })
+ onClick: EJ(bJ),
+ children: /* @__PURE__ */ (0, C.jsx)(TJ, { name: "x" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: TJ(() => SJ(-1)),
- children: /* @__PURE__ */ (0, C.jsx)(wJ, { name: "rotate-ccw" })
+ onClick: EJ(() => CJ(-1)),
+ children: /* @__PURE__ */ (0, C.jsx)(TJ, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: r,
@@ -81177,16 +81245,16 @@ var wJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: TJ(xze),
- dangerouslySetInnerHTML: Cze
+ onClick: EJ(bze),
+ dangerouslySetInnerHTML: Sze
}),
/* @__PURE__ */ (0, C.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: TJ(() => SJ(1)),
- children: /* @__PURE__ */ (0, C.jsx)(wJ, { name: "rotate-cw" })
+ onClick: EJ(() => CJ(1)),
+ children: /* @__PURE__ */ (0, C.jsx)(TJ, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, C.jsx)("span", {
ref: i,
@@ -81203,7 +81271,7 @@ var wJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => bJ(),
+ onClick: () => xJ(),
children: [/* @__PURE__ */ (0, C.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -81217,7 +81285,7 @@ var wJ = ({ name: e }) => /* @__PURE__ */ (0, C.jsx)("svg", {
})
});
});
-function Tze(e, t, n) {
+function wze(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
@@ -81239,7 +81307,7 @@ function Tze(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function Eze(e, t) {
+function Tze(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 = {
@@ -81265,7 +81333,7 @@ function Eze(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), Tze(e, i.dx, i.dy));
+ }, 0), wze(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -81277,49 +81345,49 @@ function Eze(e, t) {
}
//#endregion
//#region src/react/stage/stage.tsx
-var EJ = null, DJ = null, OJ = /* @__PURE__ */ new Set(), kJ = 0, AJ = null, jJ = !1, MJ = !1, NJ = () => {
+var DJ = null, OJ = null, kJ = /* @__PURE__ */ new Set(), AJ = 0, jJ = null, MJ = !1, NJ = !1, PJ = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function PJ() {
- if (!EJ) throw Error("舞台还没有接上宿主(configureStage)");
- return EJ;
+function FJ() {
+ if (!DJ) throw Error("舞台还没有接上宿主(configureStage)");
+ return DJ;
}
-function Dze(e) {
- return OJ.add(e), () => {
- OJ.delete(e);
+function Eze(e) {
+ return kJ.add(e), () => {
+ kJ.delete(e);
};
}
-function Oze() {
- for (let e of [...OJ]) e();
+function Dze() {
+ for (let e of [...kJ]) e();
}
-function FJ() {
- (0, gt.flushSync)(Oze);
+function IJ() {
+ (0, gt.flushSync)(Dze);
}
-function kze({ view: e }) {
- return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(Aze, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(wze, {})] });
+function Oze({ view: e }) {
+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [e ? /* @__PURE__ */ (0, C.jsx)(kze, { view: e }, e.generation) : null, /* @__PURE__ */ (0, C.jsx)(Cze, {})] });
}
-var IJ = () => /* @__PURE__ */ (0, C.jsx)("div", {
+var LJ = () => /* @__PURE__ */ (0, C.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: JLe() }
+ dangerouslySetInnerHTML: { __html: qLe() }
});
-function LJ(e) {
+function RJ(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 Aze({ view: e }) {
+function kze({ view: e }) {
let t = (0, S.useRef)(null);
(0, S.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), RJ());
+ t.target === e && (t.preventDefault(), zJ());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, C.jsx)(zRe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, C.jsx)(oze, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, C.jsx)(bRe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, C.jsx)(RRe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, C.jsx)(aze, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, C.jsx)(yRe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, C.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -81327,20 +81395,20 @@ function Aze({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), RJ());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), zJ());
},
onPointerDown: (e) => {
- MJ = LJ(e);
+ NJ = RJ(e);
},
onClick: (e) => {
- MJ && LJ(e) && RJ();
+ NJ && RJ(e) && zJ();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(IJ, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, C.jsx)(LJ, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, C.jsx)(IJ, {})
+ children: /* @__PURE__ */ (0, C.jsx)(LJ, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, C.jsx)("div", {
"data-stage-scroll": "",
@@ -81352,14 +81420,14 @@ function Aze({ view: e }) {
]
});
}
-function RJ() {
- DJ && !jJ && (jJ = !0, DJ.request.actions.close());
+function zJ() {
+ OJ && !MJ && (MJ = !0, OJ.request.actions.close());
}
-function zJ(e, t) {
- let n = NJ();
+function BJ(e, t) {
+ let n = PJ();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function BJ(e) {
+function VJ(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -81367,30 +81435,30 @@ function BJ(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: RJ
+ close: zJ
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => PJ().player.settings(), i = () => DJ?.request === e;
+ }, r = () => FJ().player.settings(), i = () => OJ?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: RJ,
+ close: zJ,
present: (e, t) => {
let n = e.performers;
- rJ({
+ iJ({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), zJ(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), BJ(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => iJ(e, {
+ mountPlayer: (e, t, r, i) => aJ(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -81408,18 +81476,18 @@ function BJ(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: RJ,
+ close: zJ,
present: (e, t) => {
- rJ({
+ iJ({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), zJ(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), BJ(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => iJ(e, {
+ mountPlayer: (e, t, r, i) => aJ(e, {
kind: "follow",
item: t,
media: r,
@@ -81436,50 +81504,50 @@ function BJ(e) {
}
};
}
-function jze(e, t) {
+function Aze(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"), DJ?.generation === t && DJ.phase === "reveal" && (DJ = {
- ...DJ,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), OJ?.generation === t && OJ.phase === "reveal" && (OJ = {
+ ...OJ,
phase: "content"
- }, FJ());
+ }, IJ());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function VJ(e) {
- let t = NJ();
- return !DJ || DJ.content.kind !== e || jJ || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function HJ(e) {
+ let t = PJ();
+ return !OJ || OJ.content.kind !== e || MJ || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function Mze(e) {
- let t = VJ(e.kind);
+async function jze(e) {
+ let t = HJ(e.kind);
if (t) {
- await Pze(e, t);
+ await Nze(e, t);
return;
}
- DJ && HJ({ miniplayer: !1 });
- let n = ++kJ, r = new AbortController();
- AJ = r, jJ = !1, MJ = !1, e.kind === "jav" ? yJ() : sJ(e.kind, e.id ?? NaN);
- let i = BJ(e);
- DJ = {
+ OJ && UJ({ miniplayer: !1 });
+ let n = ++AJ, r = new AbortController();
+ jJ = r, MJ = !1, NJ = !1, e.kind === "jav" ? bJ() : cJ(e.kind, e.id ?? NaN);
+ let i = VJ(e);
+ OJ = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? zfe(i.props, r.signal) : i.kind === "jav" ? Aq(i.props, r.signal) : nq(i.props, r.signal);
- if (n !== kJ || DJ?.request !== e) {
+ let a = i.kind === "item" ? zfe(i.props, r.signal) : i.kind === "jav" ? jq(i.props, r.signal) : rq(i.props, r.signal);
+ if (n !== AJ || OJ?.request !== e) {
await a.catch(() => {});
return;
}
- let o = Nze(i);
- DJ = {
- ...DJ,
+ let o = Mze(i);
+ OJ = {
+ ...OJ,
phase: o ? "content" : "skeleton"
- }, FJ();
- let s = NJ();
+ }, IJ();
+ let s = PJ();
if (!s) {
await a.catch(() => {});
return;
@@ -81490,46 +81558,46 @@ async function Mze(e) {
} catch {
if (r.signal.aborted) return;
}
- if (n !== kJ || !DJ || o) return;
+ if (n !== AJ || !OJ || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- DJ = {
- ...DJ,
+ OJ = {
+ ...OJ,
phase: c ? "content" : "reveal"
- }, FJ(), c || jze(s, n), Ho(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, IJ(), c || Aze(s, n), Ho(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
(l === s || !s.contains(l)) && s.querySelector("#closeStage")?.focus();
}
-function Nze(e) {
- if (e.kind === "jav") return !!W.getQueryData(Oq(e.props.code));
- if (e.kind === "follow") return !!W.getQueryData($K(e.props.id));
+function Mze(e) {
+ if (e.kind === "jav") return !!W.getQueryData(kq(e.props.code));
+ if (e.kind === "follow") return !!W.getQueryData(eq(e.props.id));
let { queue: t, id: n } = e.props, r = t ? W.getQueryData(vD(t)) : null;
if (t && !r) return !1;
let i = r ? wD(r, n) : n;
return i != null && !!W.getQueryData(_D(i));
}
-async function Pze(e, t) {
- let n = ++kJ;
- AJ?.abort();
+async function Nze(e, t) {
+ let n = ++AJ;
+ jJ?.abort();
let r = new AbortController();
- AJ = r, MJ = !1;
- let i = BJ(e);
+ jJ = r, NJ = !1;
+ let i = VJ(e);
try {
- i.kind === "item" ? await zfe(i.props, r.signal) : i.kind === "jav" ? await Aq(i.props, r.signal) : await nq(i.props, r.signal);
+ i.kind === "item" ? await zfe(i.props, r.signal) : i.kind === "jav" ? await jq(i.props, r.signal) : await rq(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== kJ || !DJ || VJ(e.kind) !== t) return;
- e.kind === "jav" ? yJ() : sJ(e.kind, e.id ?? NaN), Cc(t), FE(), DJ = {
- ...DJ,
+ if (n !== AJ || !OJ || HJ(e.kind) !== t) return;
+ e.kind === "jav" ? bJ() : cJ(e.kind, e.id ?? NaN), Cc(t), FE(), OJ = {
+ ...OJ,
request: e,
content: i,
phase: "content"
- }, FJ(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ho(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, IJ(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ho(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 Fze() {
- let e = NJ();
+function Pze() {
+ let e = PJ();
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();
@@ -81539,85 +81607,85 @@ function Fze() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function HJ({ miniplayer: e = !0 } = {}) {
- if (kJ++, AJ?.abort(), AJ = null, oJ(e), !DJ) return;
- let t = NJ();
- t && Cc(t), FE(), t?.open && t.close(), DJ = null, jJ = !1, MJ = !1, FJ(), rJ(null), document.body.removeAttribute("data-detail-open");
+function UJ({ miniplayer: e = !0 } = {}) {
+ if (AJ++, jJ?.abort(), jJ = null, sJ(e), !OJ) return;
+ let t = PJ();
+ t && Cc(t), FE(), t?.open && t.close(), OJ = null, MJ = !1, NJ = !1, IJ(), iJ(null), document.body.removeAttribute("data-detail-open");
}
-function Ize(e) {
- DJ && (DJ = {
- ...DJ,
- content: DJ.content.kind === "item" ? {
+function Fze(e) {
+ OJ && (OJ = {
+ ...OJ,
+ content: OJ.content.kind === "item" ? {
kind: "item",
props: {
- ...DJ.content.props,
+ ...OJ.content.props,
...e
}
- } : DJ.content.kind === "jav" ? DJ.content : {
+ } : OJ.content.kind === "jav" ? OJ.content : {
kind: "follow",
props: {
- ...DJ.content.props,
+ ...OJ.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, FJ());
+ }, IJ());
}
-function Lze() {
- let e = mze(), t = e?.kind === "item" ? e.item : null, n = t ? Ea(t, PJ().player.settings().javImage) : "";
+function Ize() {
+ let e = pze(), t = e?.kind === "item" ? e.item : null, n = t ? Ea(t, FJ().player.settings().javImage) : "";
if (!n) return;
- let r = aJ();
+ let r = oJ();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var Rze = {
- open: Mze,
- update: Ize,
- exit: Fze,
- dispose: HJ,
- requestClose: RJ,
- repaintPoster: Lze,
- isOpen: () => !!DJ,
- showing: () => DJ && VJ(DJ.content.kind) ? DJ.content.kind : null,
- activeVideo: () => vze(),
- mountWallPlayer: hze,
+var Lze = {
+ open: jze,
+ update: Fze,
+ exit: Pze,
+ dispose: UJ,
+ requestClose: zJ,
+ repaintPoster: Ize,
+ isOpen: () => !!OJ,
+ showing: () => OJ && HJ(OJ.content.kind) ? OJ.content.kind : null,
+ activeVideo: () => _ze(),
+ mountWallPlayer: mze,
toggleTheater: () => {
- DJ && Ede(!PJ().player.settings().theaterMode);
+ OJ && Ede(!FJ().player.settings().theaterMode);
},
- toggleMiniplayer: () => xJ(),
- closeMiniplayer: () => yJ(),
- miniplayerActive: () => lJ(),
- miniplayerTakesCard: (e) => CJ(e),
+ toggleMiniplayer: () => SJ(),
+ closeMiniplayer: () => bJ(),
+ miniplayerActive: () => uJ(),
+ miniplayerTakesCard: (e) => wJ(e),
miniplayerPlay: (e) => {
- Sze(e);
+ xze(e);
}
};
-function zze(e) {
- return EJ = e, pze(e, {
- isOpen: () => !!DJ,
- requestClose: RJ
- }), Rze;
+function Rze(e) {
+ return DJ = e, fze(e, {
+ isOpen: () => !!OJ,
+ requestClose: zJ
+ }), Lze;
}
-function Bze() {
- let e = (0, S.useSyncExternalStore)(Dze, () => DJ);
- return EJ ? /* @__PURE__ */ (0, C.jsx)(kze, { view: e }) : null;
+function zze() {
+ let e = (0, S.useSyncExternalStore)(Eze, () => OJ);
+ return DJ ? /* @__PURE__ */ (0, C.jsx)(Oze, { view: e }) : null;
}
//#endregion
//#region src/react/stats/stats.ts
-var Vze = "/api/stats", UJ = ["stats"], WJ = (e) => H(Vze, e);
-async function Hze(e) {
+var Bze = "/api/stats", WJ = ["stats"], GJ = (e) => H(Bze, e);
+async function Vze(e) {
await W.fetchQuery({
- queryKey: UJ,
- queryFn: () => WJ(e)
+ queryKey: WJ,
+ queryFn: () => GJ(e)
});
}
-var GJ = (e) => e != null && Number.isFinite(e), KJ = (e) => GJ(e) ? e.toLocaleString() : "未取得", Uze = (e, t) => GJ(e) && GJ(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, qJ = (e, t) => {
- let n = Uze(e, t);
- return !n && GJ(e) && e > 0 && GJ(t) && t > 0 ? "<1%" : `${n}%`;
-}, JJ = (e) => {
- if (!GJ(e)) return "未取得";
+var KJ = (e) => e != null && Number.isFinite(e), qJ = (e) => KJ(e) ? e.toLocaleString() : "未取得", Hze = (e, t) => KJ(e) && KJ(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, JJ = (e, t) => {
+ let n = Hze(e, t);
+ return !n && KJ(e) && e > 0 && KJ(t) && t > 0 ? "<1%" : `${n}%`;
+}, YJ = (e) => {
+ if (!KJ(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)} 分钟`;
-}, YJ = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, XJ = (e) => (e.max_reached || 0) * 100, Wze = (e) => e.kind === "online" ? "在线直接观看" : YJ(e) < XJ(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Gze = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function Kze(e, t = 6) {
+}, XJ = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, ZJ = (e) => (e.max_reached || 0) * 100, Uze = (e) => e.kind === "online" ? "在线直接观看" : XJ(e) < ZJ(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Wze = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function Gze(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);
@@ -81627,7 +81695,7 @@ function Kze(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var qze = (e) => Math.max(1, ...e) * 1.1, Jze = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, Yze = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Xze = {
+var Kze = (e) => Math.max(1, ...e) * 1.1, qze = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, Jze = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Yze = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -81635,18 +81703,18 @@ var qze = (e) => Math.max(1, ...e) * 1.1, Jze = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, Zze = (e) => e.map((e) => ({
- name: Xze[e.k] ?? e.k,
+}, Xze = (e) => e.map((e) => ({
+ name: Yze[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), Qze = {
+})).sort((e, t) => t.value - e.value), Zze = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, ZJ = (e, t = {}) => e.map((e) => ({
+}, QJ = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), $ze = (e) => ZJ(e, Qze), eBe = [
+})), Qze = (e) => QJ(e, Zze), $ze = [
[
1,
1,
@@ -81682,49 +81750,49 @@ var qze = (e) => Math.max(1, ...e) * 1.1, Jze = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], tBe = (e) => eBe.map(([t, n, r]) => ({
+], eBe = (e) => $ze.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), nBe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function QJ(e) {
- return typeof e == "string" && nBe.includes(e);
+})), tBe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function $J(e) {
+ return typeof e == "string" && tBe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var rBe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function $J(e) {
- return typeof e == "string" && rBe.has(e);
-}
+var nBe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
function eY(e) {
- return typeof e == "string" && e.startsWith("data-");
+ return typeof e == "string" && nBe.has(e);
}
function tY(e) {
+ return typeof e == "string" && e.startsWith("data-");
+}
+function nY(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($J(n) || eY(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (eY(n) || tY(n)) && (t[n] = e[n]);
return t;
}
-function nY(e) {
+function rY(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, S.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return tY(t);
+ return nY(t);
}
- return typeof e == "object" && !Array.isArray(e) ? tY(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? nY(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function rY(e) {
+function iY(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($J(n) || eY(n) || QJ(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (eY(n) || tY(n) || $J(n)) && (t[n] = e[n]);
return t;
}
-function iBe(e) {
- return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? rY(e.props) : typeof e == "object" && !Array.isArray(e) ? rY(e) : null;
+function rBe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, S.isValidElement)(e) ? iY(e.props) : typeof e == "object" && !Array.isArray(e) ? iY(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var aBe = [
+var iBe = [
"children",
"width",
"height",
@@ -81734,25 +81802,25 @@ var aBe = [
"title",
"desc"
];
-function iY() {
- return iY = Object.assign ? Object.assign.bind() : function(e) {
+function aY() {
+ return aY = 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;
- }, iY.apply(null, arguments);
+ }, aY.apply(null, arguments);
}
-function oBe(e, t) {
+function aBe(e, t) {
if (e == null) return {};
- var n, r, i = sBe(e, t);
+ var n, r, i = oBe(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 sBe(e, t) {
+function oBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81761,14 +81829,14 @@ function sBe(e, t) {
}
return n;
}
-var aY = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = oBe(e, aBe), d = a || {
+var oY = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
+ var n = e.children, r = e.width, i = e.height, a = e.viewBox, o = e.className, s = e.style, c = e.title, l = e.desc, u = aBe(e, iBe), d = a || {
width: r,
height: i,
x: 0,
y: 0
- }, f = $v("recharts-surface", o);
- return /*#__PURE__*/ S.createElement("svg", iY({}, rY(u), {
+ }, f = Qv("recharts-surface", o);
+ return /*#__PURE__*/ S.createElement("svg", aY({}, iY(u), {
className: f,
width: r,
height: i,
@@ -81776,26 +81844,26 @@ var aY = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ S.createElement("title", null, c), /*#__PURE__*/ S.createElement("desc", null, l), n);
-}), cBe = ["children", "className"];
-function oY() {
- return oY = Object.assign ? Object.assign.bind() : function(e) {
+}), sBe = ["children", "className"];
+function sY() {
+ return sY = 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;
- }, oY.apply(null, arguments);
+ }, sY.apply(null, arguments);
}
-function lBe(e, t) {
+function cBe(e, t) {
if (e == null) return {};
- var n, r, i = uBe(e, t);
+ var n, r, i = lBe(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 uBe(e, t) {
+function lBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -81804,54 +81872,54 @@ function uBe(e, t) {
}
return n;
}
-var sY = /*#__PURE__*/ S.forwardRef((e, t) => {
- var n = e.children, r = e.className, i = lBe(e, cBe), a = $v("recharts-layer", r);
- return /*#__PURE__*/ S.createElement("g", oY({ className: a }, rY(i), { ref: t }), n);
+var cY = /*#__PURE__*/ S.forwardRef((e, t) => {
+ var n = e.children, r = e.className, i = cBe(e, sBe), a = Qv("recharts-layer", r);
+ return /*#__PURE__*/ S.createElement("g", sY({ className: a }, iY(i), { ref: t }), n);
});
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function cY(e) {
+function lY(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var dBe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function lY(e) {
+var uBe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function uY(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : dBe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : uBe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function uY(e) {
+function dY(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function dY(e) {
+function fY(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function fBe(e) {
- return e == null ? "" : fY(e);
+function dBe(e) {
+ return e == null ? "" : pY(e);
}
-function fY(e) {
+function pY(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(fY).join(",");
- if (dY(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(pY).join(",");
+ if (fY(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function pY(e) {
- if (Array.isArray(e)) return e.map(uY);
+function mY(e) {
+ if (Array.isArray(e)) return e.map(dY);
if (typeof e == "symbol") return [e];
- e = fBe(e);
+ e = dBe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -81879,86 +81947,86 @@ function pY(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function mY(e, t, n) {
+function hY(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (cY(t)) return n;
+ if (lY(t)) return n;
let r = e[t];
- return r === void 0 ? lY(t) && !Object.hasOwn(e, t) ? mY(e, pY(t), n) : n : r;
+ return r === void 0 ? uY(t) && !Object.hasOwn(e, t) ? hY(e, mY(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = uY(t));
+ typeof t == "number" && (t = dY(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return pBe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), cY(t)) return n;
+ if (Array.isArray(t)) return fBe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), lY(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function pBe(e, t, n) {
+function fBe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || cY(t[e])) return n;
+ if (r == null || lY(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var mBe = 4;
-function hY(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : mBe), n = Math.round(e * t) / t;
+var pBe = 4;
+function gY(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : pBe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function gY(e) {
+function _Y(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + hY(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + gY(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var _Y = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, vY = (e) => typeof e == "number" && e != +e, yY = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, bY = (e) => (typeof e == "number" || e instanceof Number) && !vY(e), xY = (e) => bY(e) || typeof e == "string", hBe = 0, SY = (e) => {
- var t = ++hBe;
+var vY = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, yY = (e) => typeof e == "number" && e != +e, bY = (e) => typeof e == "string" && e.length > 1 && e.indexOf("%") === e.length - 1, xY = (e) => (typeof e == "number" || e instanceof Number) && !yY(e), SY = (e) => xY(e) || typeof e == "string", mBe = 0, CY = (e) => {
+ var t = ++mBe;
return `${e || ""}${t}`;
-}, CY = function(e, t) {
+}, wY = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
- if (!bY(e) && typeof e != "string") return n;
+ if (!xY(e) && typeof e != "string") return n;
var i;
- if (yY(e)) {
+ if (bY(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return vY(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, wY = (e) => {
+ return yY(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, TY = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function TY(e, t, n) {
- return bY(e) && bY(t) ? hY(e + n * (t - e)) : t;
-}
function EY(e, t, n) {
- if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : mY(e, t)) === n);
+ return xY(e) && xY(t) ? gY(e + n * (t - e)) : t;
+}
+function DY(e, t, n) {
+ if (e && e.length) return e.find((e) => e && (typeof t == "function" ? t(e) : hY(e, t)) === n);
}
-var DY = (e) => e == null, OY = (e) => DY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function kY(e) {
+var OY = (e) => e == null, kY = (e) => OY(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function AY(e) {
return e != null;
}
-function AY() {}
+function jY() {}
//#endregion
//#region node_modules/recharts/es6/cartesian/cartesianViewBoxToTrapezoid.js
-function jY(e) {
+function MY(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -81970,7 +82038,7 @@ function jY(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function MY(e, t) {
+function NY(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -81980,30 +82048,30 @@ function MY(e, t) {
}
return n;
}
-function NY(e) {
+function PY(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MY(Object(n), !0).forEach(function(t) {
- gBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MY(Object(n)).forEach(function(t) {
+ t % 2 ? NY(Object(n), !0).forEach(function(t) {
+ hBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NY(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function gBe(e, t, n) {
- return (t = _Be(t)) in e ? Object.defineProperty(e, t, {
+function hBe(e, t, n) {
+ return (t = gBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function _Be(e) {
- var t = vBe(e, "string");
+function gBe(e) {
+ var t = _Be(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function vBe(e, t) {
+function _Be(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -82013,8 +82081,8 @@ function vBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var PY = (e) => {
- var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = jY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
+var FY = (e) => {
+ var t = e.viewBox, n = e.position, r = e.offset, i = r === void 0 ? 0 : r, a = e.parentViewBox, o = e.clamp, s = MY(t), c = s.x, l = s.y, u = s.height, d = s.upperWidth, f = s.lowerWidth, p = c, m = c + (d - f) / 2, h = (p + m) / 2, g = (d + f) / 2, _ = p + d / 2, v = u >= 0 ? 1 : -1, y = v * i, b = v > 0 ? "end" : "start", x = v > 0 ? "start" : "end", S = d >= 0 ? 1 : -1, C = S * i, w = S > 0 ? "end" : "start", T = S > 0 ? "start" : "end", E = a;
if (n === "top") {
var D = {
x: p + d / 2,
@@ -82055,98 +82123,98 @@ var PY = (e) => {
width: g,
height: u
} : {};
- return n === "insideLeft" ? NY({
+ return n === "insideLeft" ? PY({
x: h + C,
y: l + u / 2,
horizontalAnchor: T,
verticalAnchor: "middle"
- }, j) : n === "insideRight" ? NY({
+ }, j) : n === "insideRight" ? PY({
x: h + g - C,
y: l + u / 2,
horizontalAnchor: w,
verticalAnchor: "middle"
- }, j) : n === "insideTop" ? NY({
+ }, j) : n === "insideTop" ? PY({
x: p + d / 2,
y: l + y,
horizontalAnchor: "middle",
verticalAnchor: x
- }, j) : n === "insideBottom" ? NY({
+ }, j) : n === "insideBottom" ? PY({
x: m + f / 2,
y: l + u - y,
horizontalAnchor: "middle",
verticalAnchor: b
- }, j) : n === "insideTopLeft" ? NY({
+ }, j) : n === "insideTopLeft" ? PY({
x: p + C,
y: l + y,
horizontalAnchor: T,
verticalAnchor: x
- }, j) : n === "insideTopRight" ? NY({
+ }, j) : n === "insideTopRight" ? PY({
x: p + d - C,
y: l + y,
horizontalAnchor: w,
verticalAnchor: x
- }, j) : n === "insideBottomLeft" ? NY({
+ }, j) : n === "insideBottomLeft" ? PY({
x: m + C,
y: l + u - y,
horizontalAnchor: T,
verticalAnchor: b
- }, j) : n === "insideBottomRight" ? NY({
+ }, j) : n === "insideBottomRight" ? PY({
x: m + f - C,
y: l + u - y,
horizontalAnchor: w,
verticalAnchor: b
- }, j) : n && typeof n == "object" && (bY(n.x) || yY(n.x)) && (bY(n.y) || yY(n.y)) ? NY({
- x: c + CY(n.x, g),
- y: l + CY(n.y, u),
+ }, j) : n && typeof n == "object" && (xY(n.x) || bY(n.x)) && (xY(n.y) || bY(n.y)) ? PY({
+ x: c + wY(n.x, g),
+ y: l + wY(n.y, u),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, j) : NY({
+ }, j) : PY({
x: _,
y: l + u / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, j);
-}, yBe = [
+}, vBe = [
"top",
"left",
"right",
"bottom"
];
-function FY(e) {
- return e == null ? !1 : typeof e == "object" || yBe.includes(e);
+function IY(e) {
+ return e == null ? !1 : typeof e == "object" || vBe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/context/legendPortalContext.js
-var IY = /*#__PURE__*/ (0, S.createContext)(null), bBe = () => (0, S.useContext)(IY);
+var LY = /*#__PURE__*/ (0, S.createContext)(null), yBe = () => (0, S.useContext)(LY);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function LY(e) {
+function RY(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var RY = Math.cos, zY = Math.sin, BY = Math.sqrt, VY = Math.PI;
-VY / 2;
-var HY = 2 * VY, UY = Math.PI, WY = 2 * UY, GY = 1e-6, xBe = WY - GY;
-function KY(e) {
+var zY = Math.cos, BY = Math.sin, VY = Math.sqrt, HY = Math.PI;
+HY / 2;
+var UY = 2 * HY, WY = Math.PI, GY = 2 * WY, KY = 1e-6, bBe = GY - KY;
+function qY(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function SBe(e) {
+function xBe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return KY;
+ if (t > 15) return qY;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var qY = class {
+var JY = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? KY : SBe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? qY : xBe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -82167,18 +82235,18 @@ var qY = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > GY) {
- if (!(Math.abs(u * s - c * l) > GY) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > KY) {
+ if (!(Math.abs(u * s - c * l) > KY) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let 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((UY - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > GY && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let 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((WY - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > KY && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let 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;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > GY || Math.abs(this._y1 - l) > GY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % WY + WY), d > xBe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > GY && this._append`A${n},${n},0,${+(d >= UY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > KY || Math.abs(this._y1 - l) > KY) && this._append`L${c},${l}`, n && (d < 0 && (d = d % GY + GY), d > bBe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > KY && this._append`A${n},${n},0,${+(d >= WY)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -82187,10 +82255,10 @@ var qY = class {
return this._;
}
};
-qY.prototype;
+JY.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function JY(e) {
+function YY(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -82201,18 +82269,18 @@ function JY(e) {
t = e;
}
return e;
- }, () => new qY(t);
+ }, () => new JY(t);
}
Array.prototype.slice;
-function YY(e) {
+function XY(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function XY(e) {
+function SBe(e) {
this._context = e;
}
-XY.prototype = {
+SBe.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -82236,7 +82304,7 @@ XY.prototype = {
}
};
function ZY(e) {
- return new XY(e);
+ return new SBe(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
@@ -82249,19 +82317,19 @@ function wBe(e) {
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
function TBe(e, t) {
- var n = LY(!0), r = null, i = ZY, a = null, o = JY(s);
- e = typeof e == "function" ? e : e === void 0 ? CBe : LY(e), t = typeof t == "function" ? t : t === void 0 ? wBe : LY(t);
+ var n = RY(!0), r = null, i = ZY, a = null, o = YY(s);
+ e = typeof e == "function" ? e : e === void 0 ? CBe : RY(e), t = typeof t == "function" ? t : t === void 0 ? wBe : RY(t);
function s(s) {
- var c, l = (s = YY(s)).length, u, d = !1, f;
+ var c, l = (s = XY(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LY(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RY(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LY(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RY(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : LY(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : RY(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -82271,10 +82339,10 @@ function TBe(e, t) {
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
function QY(e, t, n) {
- var r = null, i = LY(!0), a = null, o = ZY, s = null, c = JY(l);
- e = typeof e == "function" ? e : e === void 0 ? CBe : LY(+e), t = typeof t == "function" ? t : LY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? wBe : LY(+n);
+ var r = null, i = RY(!0), a = null, o = ZY, s = null, c = YY(l);
+ e = typeof e == "function" ? e : e === void 0 ? CBe : RY(+e), t = typeof t == "function" ? t : RY(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? wBe : RY(+n);
function l(l) {
- var u, d, f, p = (l = YY(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = XY(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -82291,17 +82359,17 @@ function QY(e, t, n) {
return TBe().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LY(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RY(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LY(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RY(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : LY(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : RY(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LY(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RY(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LY(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RY(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : LY(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : RY(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -82309,7 +82377,7 @@ function QY(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : LY(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : RY(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -82354,45 +82422,45 @@ function OBe(e) {
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
var $Y = { draw(e, t) {
- let n = BY(t / VY);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, HY);
+ let n = VY(t / HY);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, UY);
} }, kBe = { draw(e, t) {
- let n = BY(t / 5) / 2;
+ let n = VY(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, ABe = BY(1 / 3), jBe = ABe * 2, MBe = { draw(e, t) {
- let n = BY(t / jBe), r = n * ABe;
+} }, ABe = VY(1 / 3), jBe = ABe * 2, MBe = { draw(e, t) {
+ let n = VY(t / jBe), r = n * ABe;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
} }, NBe = { draw(e, t) {
- let n = BY(t), r = -n / 2;
+ let n = VY(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, PBe = .8908130915292852, FBe = zY(VY / 10) / zY(7 * VY / 10), IBe = zY(HY / 10) * FBe, LBe = -RY(HY / 10) * FBe, RBe = { draw(e, t) {
- let n = BY(t * PBe), r = IBe * n, i = LBe * n;
+} }, PBe = .8908130915292852, FBe = BY(HY / 10) / BY(7 * HY / 10), IBe = BY(UY / 10) * FBe, LBe = -zY(UY / 10) * FBe, RBe = { draw(e, t) {
+ let n = VY(t * PBe), r = IBe * n, i = LBe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = HY * t / 5, o = RY(a), s = zY(a);
+ let a = UY * t / 5, o = zY(a), s = BY(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, eX = BY(3), zBe = { draw(e, t) {
- let n = -BY(t / (eX * 3));
+} }, eX = VY(3), zBe = { draw(e, t) {
+ let n = -VY(t / (eX * 3));
e.moveTo(0, n * 2), e.lineTo(-eX * n, -n), e.lineTo(eX * n, -n), e.closePath();
-} }, tX = -.5, nX = BY(3) / 2, rX = 1 / BY(12), BBe = (rX / 2 + 1) * 3, VBe = { draw(e, t) {
- let n = BY(t / BBe), r = n / 2, i = n * rX, a = r, o = n * rX + n, s = -a, c = o;
+} }, tX = -.5, nX = VY(3) / 2, rX = 1 / VY(12), BBe = (rX / 2 + 1) * 3, VBe = { draw(e, t) {
+ let n = VY(t / BBe), r = n / 2, i = n * rX, a = r, o = n * rX + n, s = -a, c = o;
e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(tX * r - nX * i, nX * r + tX * i), e.lineTo(tX * a - nX * o, nX * a + tX * o), e.lineTo(tX * s - nX * c, nX * s + tX * c), e.lineTo(tX * r + nX * i, tX * i - nX * r), e.lineTo(tX * a + nX * o, tX * o - nX * a), e.lineTo(tX * s + nX * c, tX * c - nX * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
function HBe(e, t) {
- let n = null, r = JY(i);
- e = typeof e == "function" ? e : LY(e || $Y), t = typeof t == "function" ? t : LY(t === void 0 ? 64 : +t);
+ let n = null, r = YY(i);
+ e = typeof e == "function" ? e : RY(e || $Y), t = typeof t == "function" ? t : RY(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LY(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RY(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : LY(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : RY(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
@@ -82732,19 +82800,19 @@ function dVe(e) {
return t.key = e, t;
}
function fVe() {
- var e = LY([]), t = uX, n = lX, r = uVe;
+ var e = RY([]), t = uX, n = lX, r = uVe;
function i(i) {
var a = Array.from(e.apply(this, arguments), dVe), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = YY(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = XY(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : LY(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : RY(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : LY(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : RY(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? uX : typeof e == "function" ? e : LY(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? uX : typeof e == "function" ? e : RY(Array.from(e)), i) : t;
}, i.offset = function(e) {
return arguments.length ? (n = e ?? lX, i) : n;
}, i;
@@ -82873,7 +82941,7 @@ var wVe = {
symbolStar: RBe,
symbolTriangle: zBe,
symbolWye: VBe
-}, TVe = Math.PI / 180, EVe = (e) => wVe[`symbol${OY(e)}`] || $Y, DVe = (e, t, n) => {
+}, TVe = Math.PI / 180, EVe = (e) => wVe[`symbol${kY(e)}`] || $Y, DVe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
@@ -82887,7 +82955,7 @@ var wVe = {
default: return Math.PI * e * e / 4;
}
}, OVe = (e, t) => {
- wVe[`symbol${OY(e)}`] = t;
+ wVe[`symbol${kY(e)}`] = t;
}, kVe = (e) => {
var t = e.type, n = t === void 0 ? "circle" : t, r = e.size, i = r === void 0 ? 64 : r, a = e.sizeType, o = a === void 0 ? "area" : a, s = vVe(vVe({}, SVe(e, gVe)), {}, {
type: n,
@@ -82898,9 +82966,9 @@ var wVe = {
var l = () => {
var e = EVe(c), t = HBe().type(e).size(DVe(i, o, c))();
if (t !== null) return t;
- }, u = s.className, d = s.cx, f = s.cy, p = rY(s);
- return bY(d) && bY(f) && bY(i) ? /*#__PURE__*/ S.createElement("path", dX({}, p, {
- className: $v("recharts-symbols", u),
+ }, u = s.className, d = s.cx, f = s.cy, p = iY(s);
+ return xY(d) && xY(f) && xY(i) ? /*#__PURE__*/ S.createElement("path", dX({}, p, {
+ className: Qv("recharts-symbols", u),
transform: `translate(${d}, ${f})`,
d: l()
})) : null;
@@ -82914,14 +82982,14 @@ var AVe = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, fX = (e,
if (/*#__PURE__*/ (0, S.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- QJ(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ $J(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
}, jVe = (e, t, n) => (r) => (e(t, n, r), null), pX = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- QJ(i) && typeof a == "function" && (r ||= {}, r[i] = jVe(a, t, n));
+ $J(i) && typeof a == "function" && (r ||= {}, r[i] = jVe(a, t, n));
}), r;
};
//#endregion
@@ -83097,7 +83165,7 @@ function GVe(e) {
marginRight: 4
};
return t.map((t, r) => {
- var d = t.formatter || i, f = $v({
+ var d = t.formatter || i, f = Qv({
"recharts-legend-item": !0,
[`legend-item-${r}`]: !0,
inactive: t.inactive
@@ -83110,7 +83178,7 @@ function GVe(e) {
className: f,
style: l,
key: `legend-item-${r}`
- }, pX(e, t, r)), /*#__PURE__*/ S.createElement(aY, {
+ }, pX(e, t, r)), /*#__PURE__*/ S.createElement(oY, {
width: n,
height: n,
viewBox: c,
@@ -83175,7 +83243,7 @@ function vX(e) {
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
function XVe(e) {
return function(t) {
- return mY(t, e);
+ return hY(t, e);
};
}
//#endregion
@@ -83461,10 +83529,10 @@ function LHe(e) {
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
function RHe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && lY(t) && !(t in Object(e)) ? pY(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && uY(t) && !(t in Object(e)) ? mY(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = uY(n[e]);
+ let t = dY(n[e]);
if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || LHe(r)) && IHe(t) && Number(t) < r.length)) return !1;
r = r[t];
}
@@ -83477,10 +83545,10 @@ function zHe(e, t) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = uY(e);
+ case "number": e = dY(e);
}
return t = PHe(t), function(n) {
- let r = mY(n, e);
+ let r = hY(n, e);
return r === void 0 ? RHe(n, e) : t === void 0 ? r === void 0 : jHe(r, t);
};
}
@@ -83519,7 +83587,7 @@ function PX(e) {
var t = (0, S.useContext)(jX), n = (0, S.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
} : NX, [t, e]);
- return (0, AL.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : WHe, t ? t.store.getState : NX, t ? t.store.getState : NX, n, GHe);
+ return (0, jL.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : WHe, t ? t.store.getState : NX, t ? t.store.getState : NX, n, GHe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
@@ -83663,7 +83731,7 @@ var oUe = (e, t, n) => {
return 0;
}, sUe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, cUe = /^\w*$/;
function lUe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || dY(e) ? !0 : typeof e == "string" && (cUe.test(e) || !sUe.test(e)) || t != null && Object.hasOwn(t, e);
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || fY(e) ? !0 : typeof e == "string" && (cUe.test(e) || !sUe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
@@ -83679,7 +83747,7 @@ function uUe(e, t, n, r) {
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
}, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || lUe(e) ? e : {
key: e,
- path: pY(e)
+ path: mY(e)
}));
return e.map((e) => ({
original: e,
@@ -84992,22 +85060,22 @@ function hGe(e, t) {
return (t === "string" ? String : Number)(e);
}
function nQ(e, t, n) {
- return DY(e) || DY(t) ? n : xY(t) ? mY(e, t, n) : typeof t == "function" ? t(e) : n;
+ return OY(e) || OY(t) ? n : SY(t) ? hY(e, t, n) : typeof t == "function" ? t(e) : n;
}
var gGe = (e, t, n) => {
if (t && n) {
var r = n.width, i = n.height, a = t.align, o = t.verticalAlign, s = t.layout, c = t.position, l = t.offset, u = l === void 0 ? 0 : l;
if (c != null) {
- if (FY(c)) {
- if (c === "top" && bY(e.top)) return tQ(tQ({}, e), {}, { top: e.top + (i || 0) + u });
- if (c === "bottom" && bY(e.bottom)) return tQ(tQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
- if (c === "left" && bY(e.left)) return tQ(tQ({}, e), {}, { left: e.left + (r || 0) + u });
- if (c === "right" && bY(e.right)) return tQ(tQ({}, e), {}, { right: e.right + (r || 0) + u });
+ if (IY(c)) {
+ if (c === "top" && xY(e.top)) return tQ(tQ({}, e), {}, { top: e.top + (i || 0) + u });
+ if (c === "bottom" && xY(e.bottom)) return tQ(tQ({}, e), {}, { bottom: e.bottom + (i || 0) + u });
+ if (c === "left" && xY(e.left)) return tQ(tQ({}, e), {}, { left: e.left + (r || 0) + u });
+ if (c === "right" && xY(e.right)) return tQ(tQ({}, e), {}, { right: e.right + (r || 0) + u });
}
return e;
}
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && bY(e[a])) return tQ(tQ({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && bY(e[o])) return tQ(tQ({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && xY(e[a])) return tQ(tQ({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && xY(e[o])) return tQ(tQ({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
}, rQ = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", _Ge = (e, t, n, r) => {
@@ -85019,7 +85087,7 @@ var gGe = (e, t, n) => {
var r = e.duplicateDomain, i = e.type, a = e.range, o = e.scale, s = e.realScaleType, c = e.isCategorical, l = e.categoricalDomain, u = e.tickCount, d = e.ticks, f = e.niceTicks, p = e.axisType;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? _Y(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? vY(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
return $Z(i) ? {
coordinate: i + h,
@@ -85027,7 +85095,7 @@ var gGe = (e, t, n) => {
offset: h,
index: t
} : null;
- }).filter(kY) : c && l ? l.map((e, t) => {
+ }).filter(AY) : c && l ? l.map((e, t) => {
var n = o.map(e);
return $Z(n) ? {
coordinate: n + h,
@@ -85035,7 +85103,7 @@ var gGe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(kY) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(AY) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
return $Z(n) ? {
coordinate: n + h,
@@ -85043,7 +85111,7 @@ var gGe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(kY) : o.domain().map((e, t) => {
+ }).filter(AY) : o.domain().map((e, t) => {
var n = o.map(e);
return $Z(n) ? {
coordinate: n + h,
@@ -85051,11 +85119,11 @@ var gGe = (e, t, n) => {
index: t,
offset: h
} : null;
- }).filter(kY);
+ }).filter(AY);
}, yGe = (e, t) => {
- if (!t || t.length !== 2 || !bY(t[0]) || !bY(t[1])) return e;
+ if (!t || t.length !== 2 || !xY(t[0]) || !xY(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
- return (!bY(e[0]) || e[0] < n) && (i[0] = n), (!bY(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
+ return (!xY(e[0]) || e[0] < n) && (i[0] = n), (!xY(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
}, bGe = {
sign: (e) => {
var t = e.length;
@@ -85064,7 +85132,7 @@ var gGe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = vY(c) ? l : c;
+ var c = s[1], l = s[0], u = yY(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
@@ -85081,7 +85149,7 @@ var gGe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = vY(o[1]) ? o[0] : o[1];
+ var s = yY(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
@@ -85092,7 +85160,7 @@ var gGe = (e, t, n) => {
return i.forEach((n, r) => {
n.forEach((n, i) => {
var a = nQ(e[i], t[r], 0);
- Array.isArray(a) && a.length === 2 && bY(a[0]) && bY(a[1]) && (n[0] = a[0], n[1] = a[1]);
+ Array.isArray(a) && a.length === 2 && xY(a[0]) && xY(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
@@ -85102,22 +85170,22 @@ function iQ(e) {
function aQ(e) {
var t = e.axis, n = e.ticks, r = e.bandSize, i = e.entry, a = e.index, o = e.dataKey;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !DY(i[t.dataKey])) {
- var s = EY(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !OY(i[t.dataKey])) {
+ var s = DY(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = nQ(i, DY(o) ? t.dataKey : o), l = t.scale.map(c);
- return bY(l) ? l : null;
+ var c = nQ(i, OY(o) ? t.dataKey : o), l = t.scale.map(c);
+ return xY(l) ? l : null;
}
var oQ = (e) => {
var t = e.axis, n = e.ticks, r = e.offset, i = e.bandSize, a = e.entry, o = e.index;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
var s = nQ(a, t.dataKey, t.scale.domain()[o]);
- if (DY(s)) return null;
+ if (OY(s)) return null;
var c = t.scale.map(s);
- return bY(c) ? c - i / 2 + r : null;
+ return xY(c) ? c - i / 2 + r : null;
}, SGe = (e) => {
var t = e.numericAxis, n = t.scale.domain();
if (t.type === "number") {
@@ -85126,7 +85194,7 @@ var oQ = (e) => {
}
return n[0];
}, CGe = (e) => {
- var t = e.flat(2).filter(bY);
+ var t = e.flat(2).filter(xY);
return [Math.min(...t), Math.max(...t)];
}, wGe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], TGe = (e, t, n) => {
if (e != null && Object.keys(e).length !== 0) return wGe(Object.keys(e).reduce((r, i) => {
@@ -85270,9 +85338,9 @@ var hQ = X([
dQ
], (e, t, n) => ({
height: e.height,
- x: bY(e.x) ? e.x : t.left,
- y: bY(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
- width: bY(e.width) ? e.width : t.width
+ x: xY(e.x) ? e.x : t.left,
+ y: xY(e.y) ? e.y : t.top + t.height + t.brushBottom - (n?.bottom || 0),
+ width: xY(e.width) ? e.width : t.width
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
@@ -85343,7 +85411,7 @@ var bQ = function(e, t) {
height: -1
}
}, qGe = (e, t, n) => {
- var r = n.width, i = r === void 0 ? xQ.width : r, a = n.height, o = a === void 0 ? xQ.height : a, s = n.aspect, c = n.maxHeight, l = yY(i) ? e : Number(i), u = yY(o) ? t : Number(o);
+ var r = n.width, i = r === void 0 ? xQ.width : r, a = n.height, o = a === void 0 ? xQ.height : a, s = n.aspect, c = n.maxHeight, l = bY(i) ? e : Number(i), u = bY(o) ? t : Number(o);
return s && s > 0 && (l ? u = l / s : u && (l = u * s), c && u != null && u > c && (u = c)), {
calculatedWidth: l,
calculatedHeight: u
@@ -85359,7 +85427,7 @@ var bQ = function(e, t) {
height: 0,
overflowY: "visible"
}, ZGe = {}, QGe = (e) => {
- var t = e.width, n = e.height, r = yY(t), i = yY(n);
+ var t = e.width, n = e.height, r = bY(t), i = bY(n);
return r && i ? JGe : r ? YGe : i ? XGe : ZGe;
};
function $Ge(e) {
@@ -85525,7 +85593,7 @@ var CQ = () => (0, S.useContext)(mKe), _Ke = /*#__PURE__*/ (0, S.forwardRef)((e,
});
}, []);
(0, S.useEffect)(() => {
- if (b.current == null || typeof ResizeObserver > "u") return AY;
+ if (b.current == null || typeof ResizeObserver > "u") return jY;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -85552,7 +85620,7 @@ var CQ = () => (0, S.useContext)(mKe), _Ke = /*#__PURE__*/ (0, S.forwardRef)((e,
}), A = k.calculatedWidth, j = k.calculatedHeight;
return bQ(D < 0 || O < 0 || A != null && A > 0 || j != null && j > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", A, j, a, o, c, l, n), /*#__PURE__*/ S.createElement("div", SQ({
id: m ? `${m}` : void 0,
- className: $v("recharts-responsive-container", h),
+ className: Qv("recharts-responsive-container", h),
style: nKe(nKe({}, v), {}, {
width: a,
height: o,
@@ -85581,7 +85649,7 @@ var CQ = () => (0, S.useContext)(mKe), _Ke = /*#__PURE__*/ (0, S.forwardRef)((e,
aspect: e.aspect,
maxHeight: e.maxHeight
}), s = o.calculatedWidth, c = o.calculatedHeight;
- return bY(s) && bY(c) ? /*#__PURE__*/ S.createElement(gKe, {
+ return xY(s) && xY(c) ? /*#__PURE__*/ S.createElement(gKe, {
width: s,
height: c
}, e.children) : /*#__PURE__*/ S.createElement(_Ke, SQ({}, e, {
@@ -85974,7 +86042,7 @@ function uqe(e) {
return e === "left" || e === "right" || e === "insideLeft" || e === "insideRight" ? "vertical" : "horizontal";
}
function dqe(e, t) {
- return t == null ? null : FY(t) ? qKe(e) : HGe(e);
+ return t == null ? null : IY(t) ? qKe(e) : HGe(e);
}
function fqe(e, t, n) {
return e === "top" ? { top: n.height + t } : e === "bottom" ? { top: -n.height - t } : e === "left" ? { left: n.width + t } : e === "right" ? { left: -n.width - t } : {};
@@ -86036,9 +86104,9 @@ var _qe = {
offset: 0
};
function vqe(e) {
- var t = mX(e, _qe), n = e.layout && e.layout !== "auto" ? e.layout : uqe(t.position), r = mUe(), i = bBe(), a = bKe(), o = PX((e) => dqe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || FY(t.position)), f = XKe(CUe([r]), 2), p = f[0], m = f[1], h = EQ(), g = DQ();
+ var t = mX(e, _qe), n = e.layout && e.layout !== "auto" ? e.layout : uqe(t.position), r = mUe(), i = yBe(), a = bKe(), o = PX((e) => dqe(e, t.position)), s = t.width, c = t.height, l = t.wrapperStyle, u = t.portal, d = u == null && (t.position == null || IY(t.position)), f = XKe(CUe([r]), 2), p = f[0], m = f[1], h = EQ(), g = DQ();
if (h == null || g == null || t.position != null && o == null) return null;
- var _ = gqe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : PY({
+ var _ = gqe(n, c, s, h - (a?.left || 0) - (a?.right || 0)), v = t.position == null ? null : FY({
viewBox: o ?? {
x: 0,
y: 0,
@@ -86180,7 +86248,7 @@ function kqe(e) {
if (Array.isArray(e)) return e;
}
function Aqe(e) {
- return Array.isArray(e) && xY(e[0]) && xY(e[1]) ? e.join(" ~ ") : e;
+ return Array.isArray(e) && SY(e[0]) && SY(e[1]) ? e.join(" ~ ") : e;
}
var BQ = {
separator: " : ",
@@ -86225,7 +86293,7 @@ var Mqe = (e) => {
className: "recharts-tooltip-item",
key: `tooltip-item-${t}`,
style: p
- }, xY(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, xY(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, SY(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, SY(u) ? /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-separator" }, n) : null, /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ S.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ S.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -86233,7 +86301,7 @@ var Mqe = (e) => {
}, t);
}
return null;
- }, _ = zQ(zQ({}, BQ.contentStyle), r), v = zQ({ margin: 0 }, o), y = !DY(f), b = y ? f : "", x = $v("recharts-default-tooltip", u), C = $v("recharts-tooltip-label", d);
+ }, _ = zQ(zQ({}, BQ.contentStyle), r), v = zQ({ margin: 0 }, o), y = !OY(f), b = y ? f : "", x = Qv("recharts-default-tooltip", u), C = Qv("recharts-tooltip-label", d);
y && p && s != null && (b = p(f, s));
var w = h ? {
role: "status",
@@ -86249,16 +86317,16 @@ var Mqe = (e) => {
}, VQ = "recharts-tooltip-wrapper", Nqe = { visibility: "hidden" };
function Pqe(e) {
var t = e.coordinate, n = e.translateX, r = e.translateY;
- return $v(VQ, {
- [`${VQ}-right`]: bY(n) && t && bY(t.x) && n >= t.x,
- [`${VQ}-left`]: bY(n) && t && bY(t.x) && n < t.x,
- [`${VQ}-bottom`]: bY(r) && t && bY(t.y) && r >= t.y,
- [`${VQ}-top`]: bY(r) && t && bY(t.y) && r < t.y
+ return Qv(VQ, {
+ [`${VQ}-right`]: xY(n) && t && xY(t.x) && n >= t.x,
+ [`${VQ}-left`]: xY(n) && t && xY(t.x) && n < t.x,
+ [`${VQ}-bottom`]: xY(r) && t && xY(t.y) && r >= t.y,
+ [`${VQ}-top`]: xY(r) && t && xY(t.y) && r < t.y
});
}
function Fqe(e) {
var t = e.allowEscapeViewBox, n = e.coordinate, r = e.key, i = e.offset, a = e.position, o = e.reverseDirection, s = e.tooltipDimension, c = e.viewBox, l = e.viewBoxDimension;
- if (a && bY(a[r])) return a[r];
+ if (a && xY(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
if (t[r]) return o[r] ? u : d;
var f = c[r];
@@ -86580,7 +86648,7 @@ var uJe = {
curveStepBefore: cVe
}, GQ = (e) => $Z(e.x) && $Z(e.y), dJe = (e) => e.base != null && GQ(e.base) && GQ(e), KQ = (e) => e.x, qQ = (e) => e.y, fJe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${OY(e)}`;
+ var n = `curve${kY(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
var r = uJe[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
@@ -86595,7 +86663,7 @@ var uJe = {
var d, f = i.map((e, t) => oJe(oJe({}, e), {}, { base: a[t] }));
return d = o === "vertical" ? QY().y(qQ).x1(KQ).x0((e) => e.base.x) : QY().x(KQ).y1(qQ).y0((e) => e.base.y), d.defined(dJe).curve(l)(c ? f.filter(dJe) : f);
}
- return (o === "vertical" && bY(a) ? QY().y(qQ).x1(KQ).x0(a) : bY(a) ? QY().x(KQ).y1(qQ).y0(a) : TBe().x(KQ).y(qQ)).defined(GQ).curve(l)(u);
+ return (o === "vertical" && xY(a) ? QY().y(qQ).x1(KQ).x0(a) : xY(a) ? QY().x(KQ).y1(qQ).y0(a) : TBe().x(KQ).y(qQ)).defined(GQ).curve(l)(u);
}, JQ = (e) => {
var t = e.className, n = e.points, r = e.path, i = e.pathRef, a = kQ();
if ((!n || !n.length) && !r) return null;
@@ -86606,8 +86674,8 @@ var uJe = {
layout: e.layout || a,
connectNulls: e.connectNulls
}, s = n && n.length ? mJe(o) : r;
- return /*#__PURE__*/ S.createElement("path", WQ({}, tY(e), fX(e), {
- className: $v("recharts-curve", t),
+ return /*#__PURE__*/ S.createElement("path", WQ({}, nY(e), fX(e), {
+ className: Qv("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
@@ -86699,8 +86767,8 @@ var CJe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, wJe = (e) => {
width: u,
height: f
}, m);
- return !bY(n) || !bY(i) || !bY(u) || !bY(f) || !bY(o) || !bY(c) ? null : /*#__PURE__*/ S.createElement("path", YQ({}, rY(h), {
- className: $v("recharts-cross", p),
+ return !xY(n) || !xY(i) || !xY(u) || !xY(f) || !xY(o) || !xY(c) ? null : /*#__PURE__*/ S.createElement("path", YQ({}, iY(h), {
+ className: Qv("recharts-cross", p),
d: CJe(n, i, u, f, o, c)
}));
};
@@ -86924,7 +86992,7 @@ var GJe = class {
return 0;
}
getInterpolated() {
- return this.easing(TY(this.getFrom(), this.getTo(), this.getProgress()));
+ return this.easing(EY(this.getFrom(), this.getTo(), this.getProgress()));
}
}, qJe = class {
setTimeout(e) {
@@ -86995,7 +87063,7 @@ function nYe(e) {
f || g(ZQ);
}, [f]), (0, S.useEffect)(() => {
var e = FJe(o);
- return !f || !i || e == null ? AY : p(new qJe(), new KJe({
+ return !f || !i || e == null ? jY : p(new qJe(), new KJe({
animationId: n,
easing: e,
animationDuration: a,
@@ -87020,8 +87088,8 @@ function nYe(e) {
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
function rYe(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(SY(t)), r = (0, S.useRef)(e);
- return r.current !== e && (n.current = SY(t), r.current = e), n.current;
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, S.useRef)(CY(t)), r = (0, S.useRef)(e);
+ return r.current !== e && (n.current = CY(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
@@ -87142,7 +87210,7 @@ function $Q(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var jYe = (e, t, n, r, i) => {
- var a = hY(n), o = hY(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+ var a = gY(n), o = gY(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -87153,44 +87221,44 @@ var jYe = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = gY(cYe ||= $Q([
+ d = _Y(cYe ||= $Q([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += gY(lYe ||= $Q([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += _Y(lYe ||= $Q([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += gY(uYe ||= $Q([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += _Y(uYe ||= $Q([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += gY(dYe ||= $Q([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += _Y(dYe ||= $Q([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += gY(fYe ||= $Q([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += _Y(fYe ||= $Q([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += gY(pYe ||= $Q([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += _Y(pYe ||= $Q([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += gY(mYe ||= $Q([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += _Y(mYe ||= $Q([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += gY(hYe ||= $Q([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += _Y(hYe ||= $Q([
"A ",
",",
",0,0,",
@@ -87200,8 +87268,8 @@ var jYe = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = gY(gYe ||= $Q(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = gY(_Ye ||= $Q([
+ d = _Y(gYe ||= $Q(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = _Y(_Ye ||= $Q([
"M ",
",",
" h ",
@@ -87243,16 +87311,16 @@ var jYe = (e, t, n, r, i) => {
u
]), "rectangle-");
if (o !== +o || s !== +s || c !== +c || l !== +l || c === 0 || l === 0) return null;
- var C = $v("recharts-rectangle", d);
+ var C = Qv("recharts-rectangle", d);
if (!g) {
- var w = rY(t);
+ var w = iY(t);
w.radius;
var T = CYe(w, oYe);
return /*#__PURE__*/ S.createElement("path", QQ({}, T, {
- x: hY(o),
- y: hY(s),
- width: hY(c),
- height: hY(l),
+ x: gY(o),
+ y: gY(s),
+ width: gY(c),
+ height: gY(l),
radius: typeof u == "number" ? u : void 0,
className: C,
d: jYe(o, s, c, l, u)
@@ -87268,12 +87336,12 @@ var jYe = (e, t, n, r, i) => {
isActive: g,
begin: m
}, (e) => {
- var r = TY(E, c, e), i = TY(D, l, e), a = TY(O, o, e), d = TY(k, s, e);
+ var r = EY(E, c, e), i = EY(D, l, e), a = EY(O, o, e), d = EY(k, s, e);
n.current && (_.current = r, v.current = i, y.current = a, b.current = d);
var f = h ? e > 0 ? {
transition: M,
strokeDasharray: j
- } : { strokeDasharray: A } : { strokeDasharray: j }, p = rY(t);
+ } : { strokeDasharray: A } : { strokeDasharray: j }, p = iY(t);
p.radius;
var m = CYe(p, sYe);
return /*#__PURE__*/ S.createElement("path", QQ({}, m, {
@@ -87423,7 +87491,7 @@ function i$() {
function a$(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) => {
+var $Ye = (e, t) => vY(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.angle, a = e.sign, o = e.isExternal, s = e.cornerRadius, c = e.cornerIsExternal, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / t$, d = c ? i : i + a * u, f = r$(t, n, l, d), p = r$(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
@@ -87432,7 +87500,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
theta: u
};
}, eXe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = $Ye(a, o), c = a + s, l = r$(t, n, i, a), u = r$(t, n, i, c), d = gY(KYe ||= a$([
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = $Ye(a, o), c = a + s, l = r$(t, n, i, a), u = r$(t, n, i, c), d = _Y(KYe ||= a$([
"M ",
",",
"\n A ",
@@ -87445,7 +87513,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
var f = r$(t, n, r, a), p = r$(t, n, r, c);
- d += gY(qYe ||= a$([
+ d += _Y(qYe ||= a$([
"L ",
",",
"\n A ",
@@ -87456,14 +87524,14 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += gY(JYe ||= a$([
+ } else d += _Y(JYe ||= a$([
"L ",
",",
" Z"
]), t, n);
return d;
}, tXe = (e) => {
- var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = _Y(l - c), d = o$({
+ var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.cornerRadius, o = e.forceCornerRadius, s = e.cornerIsExternal, c = e.startAngle, l = e.endAngle, u = vY(l - c), d = o$({
cx: t,
cy: n,
radius: i,
@@ -87480,7 +87548,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), g = h.circleTangency, _ = h.lineTangency, v = h.theta, y = s ? Math.abs(c - l) : Math.abs(c - l) - m - v;
- if (y < 0) return o ? gY(YYe ||= a$([
+ if (y < 0) return o ? _Y(YYe ||= a$([
"M ",
",",
"\n a",
@@ -87498,7 +87566,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
startAngle: c,
endAngle: l
});
- var b = gY(XYe ||= a$([
+ var b = _Y(XYe ||= a$([
"M ",
",",
"\n A",
@@ -87540,7 +87608,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
cornerIsExternal: s
}), E = T.circleTangency, D = T.lineTangency, O = T.theta, k = s ? Math.abs(c - l) : Math.abs(c - l) - w - O;
if (k < 0 && a === 0) return `${b}L${t},${n}Z`;
- b += gY(ZYe ||= a$([
+ b += _Y(ZYe ||= a$([
"L",
",",
"\n A",
@@ -87561,7 +87629,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
",",
"Z"
]), D.x, D.y, a, a, +(u < 0), E.x, E.y, r, r, +(k > 180), +(u > 0), S.x, S.y, a, a, +(u < 0), C.x, C.y);
- } else b += gY(QYe ||= a$([
+ } else b += _Y(QYe ||= a$([
"L",
",",
"Z"
@@ -87580,7 +87648,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
}, s$ = (e) => {
var t = mX(e, nXe), n = t.cx, r = t.cy, i = t.innerRadius, a = t.outerRadius, o = t.cornerRadius, s = t.forceCornerRadius, c = t.cornerIsExternal, l = t.startAngle, u = t.endAngle, d = t.className;
if (a < i || l === u) return null;
- var f = $v("recharts-sector", d), p = a - i, m = CY(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? tXe({
+ var f = Qv("recharts-sector", d), p = a - i, m = wY(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? tXe({
cx: n,
cy: r,
innerRadius: i,
@@ -87598,7 +87666,7 @@ var $Ye = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 359.999), o$ = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ S.createElement("path", i$({}, rY(t), {
+ return /*#__PURE__*/ S.createElement("path", i$({}, iY(t), {
className: f,
d: h
}));
@@ -87637,7 +87705,7 @@ function rXe(e, t, n) {
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
function iXe(e) {
- return dY(e) ? NaN : Number(e);
+ return fY(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
@@ -87746,7 +87814,7 @@ function _Xe(e, t, n) {
if (Array.isArray(e) && e.length === 2) {
var i = f$(e, 2), a = i[0], o = i[1], s, c;
if (a === "auto") t != null && (s = Math.min(...t));
- else if (bY(a)) s = a;
+ else if (xY(a)) s = a;
else if (typeof a == "function") try {
t != null && (s = a(t?.[0]));
} catch {}
@@ -87759,7 +87827,7 @@ function _Xe(e, t, n) {
}
} else s = t?.[0];
if (o === "auto") t != null && (c = Math.max(...t));
- else if (bY(o)) c = o;
+ else if (xY(o)) c = o;
else if (typeof o == "function") try {
t != null && (c = o(t?.[1]));
} catch {}
@@ -88426,9 +88494,9 @@ var zXe = {
uQ,
hQ
], zYe), VXe = X([M$, N$], (e, t) => {
- if (e != null) return CY(e.innerRadius, t, 0);
+ if (e != null) return wY(e.innerRadius, t, 0);
}), HXe = X([M$, N$], (e, t) => {
- if (e != null) return CY(e.outerRadius, t, t * .8);
+ if (e != null) return wY(e.outerRadius, t, t * .8);
}), UXe = X([M$], (e) => e == null ? [0, 0] : [e.startAngle, e.endAngle]), WXe = X([A$, UXe], D$), GXe = X([
N$,
VXe,
@@ -88446,8 +88514,8 @@ var zXe = {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var o = t.cx, s = t.cy, c = t.startAngle, l = t.endAngle;
return {
- cx: CY(o, i, i / 2),
- cy: CY(s, a, a / 2),
+ cx: wY(o, i, i / 2),
+ cy: wY(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -90886,7 +90954,7 @@ var M1e = /* @__PURE__ */ s({
function N1e(e) {
var t = M1e;
if (e in t && typeof t[e] == "function") return t[e]();
- var n = `scale${OY(e)}`;
+ var n = `scale${kY(e)}`;
if (n in t && typeof t[n] == "function") return t[n]();
}
function P1e(e, t, n) {
@@ -90902,7 +90970,7 @@ function R0(e, t, n, r) {
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
function F1e(e) {
- return `scale${OY(e)}`;
+ return `scale${kY(e)}`;
}
function I1e(e) {
return F1e(e) in M1e;
@@ -91153,7 +91221,7 @@ var Y0 = (e) => e.graphicalItems.cartesianItems, n0e = X([F$, I$], J0), X0 = (e,
s0e
], l0e);
function n2(e) {
- if (xY(e) || e instanceof Date) {
+ if (SY(e) || e instanceof Date) {
var t = Number(e);
if ($Z(t)) return t;
}
@@ -91167,7 +91235,7 @@ function u0e(e) {
if (n != null) return [n, n];
}
function r2(e) {
- return e.map(n2).filter(kY);
+ return e.map(n2).filter(AY);
}
function d0e(e, t) {
var n = n2(e), r = n2(t);
@@ -91184,7 +91252,7 @@ function p0e(e, t) {
function m0e(e, t, n) {
if (!n || !n.length) return [];
var r;
- if (typeof t == "number" && !vY(t)) r = t;
+ if (typeof t == "number" && !yY(t)) r = t;
else if (Array.isArray(t)) {
var i = r2(t);
i.length > 0 && (r = Math.max(...i));
@@ -91272,11 +91340,11 @@ var i2 = (e) => q0(e, H$(e), U$(e)), a2 = X([i2], (e) => e?.dataKey), h0e = X([
], p2, { memoizeOptions: { resultEqualityCheck: B$ } });
function x0e(e) {
var t = e.value;
- if (xY(t) || t instanceof Date) return t;
+ if (SY(t) || t instanceof Date) return t;
}
var S0e = (e, t, n) => {
var r = e.map(x0e).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && wY(r)) ? aXe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && TY(r)) ? aXe(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
}, C0e = (e) => e.referenceElements.dots, m2 = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), w0e = X([
C0e,
F$,
@@ -91399,7 +91467,7 @@ var F0e = (e, t) => {
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = CY(n, e * a), s = e * a / 2;
+ var o = wY(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
@@ -91574,7 +91642,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
}, c2e = (e, t, n, r) => {
if (n != null) {
var i = n.allowDuplicatedCategory, a = n.type, o = n.dataKey, s = rQ(e, r), c = t.map((e) => e.value), l = c.filter((e) => e != null);
- if (o && s && a === "category" && i && wY(l)) return c;
+ if (o && s && a === "category" && i && TY(l)) return c;
}
}, k2 = X([
OQ,
@@ -91618,7 +91686,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
}), u2e = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
var l = rQ(e, c), u = t.type, d = t.ticks, f = t.tickCount, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? _Y(a[0] - a[1]) * 2 * m : m;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? vY(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
@@ -91628,7 +91696,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
value: e,
offset: m
} : null;
- }).filter(kY) : l && s ? s.map((e, t) => {
+ }).filter(AY) : l && s ? s.map((e, t) => {
var n = r.map(e);
return $Z(n) ? {
coordinate: n + m,
@@ -91636,7 +91704,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(kY) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(AY) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
return $Z(n) ? {
coordinate: n + m,
@@ -91644,7 +91712,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(kY) : r.domain().map((e, t) => {
+ }).filter(AY) : r.domain().map((e, t) => {
var n = r.map(e);
return $Z(n) ? {
coordinate: n + m,
@@ -91652,7 +91720,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
index: t,
offset: m
} : null;
- }).filter(kY);
+ }).filter(AY);
}
}, d2e = X([
OQ,
@@ -91667,7 +91735,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
], u2e), f2e = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
var s = rQ(e, o), c = t.tickCount, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? _Y(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ return l = o === "angleAxis" && r?.length >= 2 ? vY(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
return $Z(r) ? {
coordinate: r + l,
@@ -91675,7 +91743,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(kY) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(AY) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
return $Z(r) ? {
coordinate: r + l,
@@ -91683,7 +91751,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(kY) : n.domain().map((e, t) => {
+ }).filter(AY) : n.domain().map((e, t) => {
var r = n.map(e);
return $Z(r) ? {
coordinate: r + l,
@@ -91691,7 +91759,7 @@ var D2 = (e, t) => t, O2 = (e, t, n) => n, Y0e = X(fQ, D2, O2, (e, t, n) => e.fi
index: t,
offset: l
} : null;
- }).filter(kY);
+ }).filter(AY);
}
}, A2 = X([
OQ,
@@ -91753,7 +91821,7 @@ function _2e(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var v2e = (e, t) => {
var n, r = Number(t);
- if (!(vY(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+ if (!(yY(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
}, y2e = (e) => e.tooltip.settings, N2 = {
active: !1,
index: null,
@@ -92042,7 +92110,7 @@ var n4e = (e, t, n, r, i, a, o) => {
var s = n.chartData, c = n.computedData, l = n.dataStartIndex, u = n.dataEndIndex;
return e.reduce((e, n) => {
var d = n.dataDefinedOnItem, f = n.settings, p = t4e(d, s), m = Array.isArray(p) ? dGe(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _;
- return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = EY(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
+ return r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? (_ = DY(m, r, i), _ ??= a(m, t, c, g)) : _ = a(m, t, c, g), Array.isArray(_) ? _.forEach((t) => {
var n = e4e(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = K2e(K2e({}, f), {}, {
name: r,
unit: n?.unit,
@@ -92172,7 +92240,7 @@ var n4e = (e, t, n, r, i, a, o) => {
var c = t.type, l = rQ(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? _Y(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? vY(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
return $Z(n) ? {
coordinate: n + d,
@@ -92180,7 +92248,7 @@ var n4e = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(kY) : r.domain().map((e, t) => {
+ }).filter(AY) : r.domain().map((e, t) => {
var n = r.map(e);
return $Z(n) ? {
coordinate: n + d,
@@ -92188,7 +92256,7 @@ var n4e = (e, t, n, r, i, a, o) => {
index: t,
offset: d
} : null;
- }).filter(kY);
+ }).filter(AY);
}
}
}), K2 = X([
@@ -92390,9 +92458,9 @@ var z4e = (e, t, n, r, i) => {
].some((e) => (r ? e >= t : e > t) && e <= n), c = 0; c < a; c++) {
var l = c > 0 ? n[c - 1]?.coordinate : n[a - 1]?.coordinate, u = n[c]?.coordinate, d = c >= a - 1 ? n[0]?.coordinate : n[c + 1]?.coordinate, f = void 0;
if (l != null && u != null && d != null) {
- if (_Y(u - l) !== _Y(d - u)) {
+ if (vY(u - l) !== vY(d - u)) {
var p = [];
- if (_Y(d - u) === _Y(i[1] - i[0])) {
+ if (vY(d - u) === vY(i[1] - i[0])) {
f = d;
var m = u + i[1] - i[0];
p[0] = Math.min(m, (m + l) / 2), p[1] = Math.max(m, (m + l) / 2);
@@ -92692,10 +92760,10 @@ function v3e(e) {
var b = typeof s == "object" && "className" in s ? s.className : void 0, x = o4(o4(o4(o4({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), nY(s)), {}, {
+ }, i), p), rY(s)), {}, {
payload: d,
payloadIndex: f,
- className: $v("recharts-tooltip-cursor", b)
+ className: Qv("recharts-tooltip-cursor", b)
});
return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ S.createElement(_3e, {
cursor: s,
@@ -92804,7 +92872,7 @@ var b3e = /*#__PURE__*/ (0, S.createContext)(null), x3e = () => (0, S.useContext
})))(), 1)).default, s4 = new S3e(), c4 = "recharts.syncEvent.tooltip", C3e = "recharts.syncEvent.brush", l4 = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!vY(n)) return e[n];
+ if (!yY(n)) return e[n];
}
}, w3e = RZ({
name: "options",
@@ -92910,7 +92978,7 @@ function R3e(e, t) {
function z3e() {
var e = PX(S$), t = PX(C$), n = MX(), r = PX(NXe), i = PX(G2), a = kQ(), o = TQ(), s = PX((e) => e.rootProps.className);
(0, S.useEffect)(() => {
- if (e == null) return AY;
+ if (e == null) return jY;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (c.payload.active === !1) n(F2({
@@ -92995,7 +93063,7 @@ function z3e() {
function B3e() {
var e = PX(S$), t = PX(C$), n = MX();
(0, S.useEffect)(() => {
- if (e == null) return AY;
+ if (e == null) return jY;
var r = (r, i, a) => {
t !== a && e === r && n(A3e(i));
};
@@ -93451,7 +93519,7 @@ var g4 = class e {
return r == null ? e.NaN : new e(parseFloat(r), i ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, vY(e) && (this.unit = ""), t !== "" && !j6e.test(t) && (this.num = NaN, this.unit = ""), F6e(t) && (this.num = I6e(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, yY(e) && (this.unit = ""), t !== "" && !j6e.test(t) && (this.num = NaN, this.unit = ""), F6e(t) && (this.num = I6e(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -93469,7 +93537,7 @@ var g4 = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return vY(this.num);
+ return yY(this.num);
}
};
b6e = g4, E6e(g4, "NaN", new b6e(NaN, ""));
@@ -93601,7 +93669,7 @@ var Q6e = /[ \f\n\r\t\v\u2028\u2029]+/, $6e = (e) => {
var t = e.children, n = e.breakAll, r = e.style;
try {
var i = [];
- return DY(t) || (i = n ? t.toString().split("") : t.toString().split(Q6e)), {
+ return OY(t) || (i = n ? t.toString().split("") : t.toString().split(Q6e)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: p4(e, r).width
@@ -93616,7 +93684,7 @@ function e8e(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
function t8e(e) {
- return DY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+ return OY(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var n8e = (e, t, n, r) => e.reduce((e, i) => {
var a = i.word, o = i.width, s = e[e.length - 1];
@@ -93639,7 +93707,7 @@ var n8e = (e, t, n, r) => e.reduce((e, i) => {
var l = n8e(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || r8e(l).width > Number(a), l];
}, o8e = (e, t, n, r, i) => {
- var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = bY(a), u = String(o), d = n8e(t, r, n, i);
+ var a = e.maxLines, o = e.children, s = e.style, c = e.breakAll, l = xY(a), u = String(o), d = n8e(t, r, n, i);
if (!l || i || !(d.length > a || r8e(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
var g = Math.floor((f + p) / 2), _ = K6e(a8e(u, g - 1, c, s, a, r, n, i), 2), v = _[0], y = _[1], b = K6e(a8e(u, g, c, s, a, r, n, i), 1)[0];
@@ -93651,7 +93719,7 @@ var n8e = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, s8e = (e) => [{
- words: DY(e) ? [] : e.toString().split(Q6e),
+ words: OY(e) ? [] : e.toString().split(Q6e),
width: void 0
}], c8e = (e) => {
var t = e.width, n = e.scaleToFit, r = e.children, i = e.style, a = e.breakAll, o = e.maxLines;
@@ -93700,8 +93768,8 @@ var n8e = (e, t, n, r) => e.reduce((e, i) => {
d.style,
d.width
]), p = d.dx, m = d.dy, h = d.angle, g = d.className, _ = d.breakAll, v = W6e(d, U6e);
- if (!xY(r) || !xY(i) || f.length === 0) return null;
- var y = Number(r) + (bY(p) ? p : 0), b = Number(i) + (bY(m) ? m : 0);
+ if (!SY(r) || !SY(i) || f.length === 0) return null;
+ var y = Number(r) + (xY(p) ? p : 0), b = Number(i) + (xY(m) ? m : 0);
if (!$Z(y) || !$Z(b)) return null;
var x;
switch (u) {
@@ -93716,13 +93784,13 @@ var n8e = (e, t, n, r) => e.reduce((e, i) => {
var C = [], w = f[0];
if (c && w != null) {
var T = w.width, E = d.width;
- C.push(`scale(${bY(E) && bY(T) ? E / T : 1})`);
+ C.push(`scale(${xY(E) && xY(T) ? E / T : 1})`);
}
- return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", v4({}, rY(v), {
+ return h && C.push(`rotate(${h}, ${y}, ${b})`), C.length && (v.transform = C.join(" ")), /*#__PURE__*/ S.createElement("text", v4({}, iY(v), {
ref: t,
x: y,
y: b,
- className: $v("recharts-text", g),
+ className: Qv("recharts-text", g),
textAnchor: l,
fill: s.includes("url") ? l8e : s
}), f.map((e, t) => {
@@ -93827,7 +93895,7 @@ var y8e = /*#__PURE__*/ (0, S.createContext)(null), b8e = (e) => {
return /*#__PURE__*/ S.createElement(y8e.Provider, { value: c }, s);
}, x8e = () => {
var e = (0, S.useContext)(y8e), t = TQ();
- return e || (t ? jY(t) : void 0);
+ return e || (t ? MY(t) : void 0);
}, S8e = /*#__PURE__*/ (0, S.createContext)(null), C8e = (e) => {
var t = e.cx, n = e.cy, r = e.innerRadius, i = e.outerRadius, a = e.startAngle, o = e.endAngle, s = e.clockWise, c = e.children, l = (0, S.useMemo)(() => ({
cx: t,
@@ -93851,9 +93919,9 @@ var y8e = /*#__PURE__*/ (0, S.createContext)(null), b8e = (e) => {
var e = (0, S.useContext)(S8e), t = PX(P$);
return e || t;
}, T8e = (e) => {
- var t = e.value, n = e.formatter, r = DY(e.children) ? t : e.children;
+ var t = e.value, n = e.formatter, r = OY(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, S4 = (e) => e != null && typeof e == "function", E8e = (e, t) => _Y(t - e) * Math.min(Math.abs(t - e), 360), D8e = (e, t, n, r, i) => {
+}, S4 = (e) => e != null && typeof e == "function", E8e = (e, t) => vY(t - e) * Math.min(Math.abs(t - e), 360), D8e = (e, t, n, r, i) => {
var a = e.offset, o = e.className, s = i.cx, c = i.cy, l = i.innerRadius, u = i.outerRadius, d = i.startAngle, f = i.endAngle, p = i.clockWise, m = (l + u) / 2, h = E8e(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
@@ -93870,10 +93938,10 @@ var y8e = /*#__PURE__*/ (0, S.createContext)(null), b8e = (e) => {
v = h <= 0 ? v : !v;
var y = r$(s, c, m, _), b = r$(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, C = DY(e.id) ? SY("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, C = OY(e.id) ? CY("recharts-radial-line-") : e.id;
return /*#__PURE__*/ S.createElement("text", x4({}, r, {
dominantBaseline: "central",
- className: $v("recharts-radial-bar-label", o)
+ className: Qv("recharts-radial-bar-label", o)
}), /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("path", {
id: C,
d: x
@@ -93914,7 +93982,7 @@ var y8e = /*#__PURE__*/ (0, S.createContext)(null), b8e = (e) => {
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, C4 = (e) => e != null && "cx" in e && bY(e.cx), k8e = {
+}, C4 = (e) => e != null && "cx" in e && xY(e.cx), k8e = {
angle: 0,
offset: 5,
zIndex: w$.label,
@@ -93934,12 +94002,12 @@ function A8e(e) {
};
}
function w4(e) {
- var t = mX(e, k8e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = w8e(), p = x8e(), m = n == null ? i === "center" ? p : f ?? p : C4(n) ? n : jY(n), h, g, _ = A8e(m);
- if (!m || DY(a) && DY(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;
+ var t = mX(e, k8e), n = t.viewBox, r = t.parentViewBox, i = t.position, a = t.value, o = t.children, s = t.content, c = t.className, l = c === void 0 ? "" : c, u = t.textBreakAll, d = t.labelRef, f = w8e(), p = x8e(), m = n == null ? i === "center" ? p : f ?? p : C4(n) ? n : MY(n), h, g, _ = A8e(m);
+ if (!m || OY(a) && OY(o) && !/*#__PURE__*/ (0, S.isValidElement)(s) && typeof s != "function") return null;
var v = C4(m) && (i === "insideStart" || i === "insideEnd" || i === "end");
if (C4(m)) v || (g = O8e(m, t.offset, t.position));
else if (_) {
- var y = PY({
+ var y = FY({
viewBox: _,
position: i,
offset: t.offset,
@@ -93964,10 +94032,10 @@ function w4(e) {
var C = p8e(b, f8e);
if (h = /*#__PURE__*/ (0, S.createElement)(s, C), /*#__PURE__*/ (0, S.isValidElement)(h)) return h;
} else h = T8e(t);
- var w = rY(t);
+ var w = iY(t);
return v && C4(m) ? D8e(t, i, h, w, m) : g == null ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: t.zIndex }, /*#__PURE__*/ S.createElement(y4, x4({
ref: d,
- className: $v("recharts-label", l)
+ className: Qv("recharts-label", l)
}, w, g, {
textAnchor: e8e(w.textAnchor) ? w.textAnchor : g.textAnchor,
breakAll: u
@@ -93980,7 +94048,7 @@ var j8e = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ S.createElement(w4, x4({ key: "label-implicit" }, r)) : xY(e) ? /*#__PURE__*/ S.createElement(w4, x4({
+ return e === !0 ? /*#__PURE__*/ S.createElement(w4, x4({ key: "label-implicit" }, r)) : SY(e) ? /*#__PURE__*/ S.createElement(w4, x4({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, S.isValidElement)(e) ? e.type === w4 ? /*#__PURE__*/ (0, S.cloneElement)(e, b4({ key: "label-implicit" }, r)) : /*#__PURE__*/ S.createElement(w4, x4({
@@ -94049,9 +94117,9 @@ function D4(e) {
var t = e.valueAccessor, n = t === void 0 ? R8e : t, r = I8e(e, P8e), i = r.dataKey;
r.clockWise;
var a = r.id, o = r.textBreakAll, s = r.zIndex, c = I8e(r, F8e), l = H8e(), u = U8e(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s ?? w$.label }, /*#__PURE__*/ S.createElement(sY, { className: "recharts-label-list" }, d.map((e, t) => {
- var s = DY(i) ? n(e, t) : nQ(e.payload, i), l = DY(a) ? {} : { id: `${a}-${t}` };
- return /*#__PURE__*/ S.createElement(w4, T4({ key: `label-${t}` }, rY(e), c, l, {
+ return !d || !d.length ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s ?? w$.label }, /*#__PURE__*/ S.createElement(cY, { className: "recharts-label-list" }, d.map((e, t) => {
+ var s = OY(i) ? n(e, t) : nQ(e.payload, i), l = OY(a) ? {} : { id: `${a}-${t}` };
+ return /*#__PURE__*/ S.createElement(w4, T4({ key: `label-${t}` }, iY(e), c, l, {
fill: r.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -94121,7 +94189,7 @@ var Y8e = (e) => e != null && e.x === +e.x && e.y === +e.y, X8e = function() {
}, A4 = (e, t) => {
var n = X8e(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => gY(G8e ||= J8e([
+ var r = n.map((e) => e.reduce((e, t, n) => _Y(G8e ||= J8e([
"",
"",
"",
@@ -94135,23 +94203,23 @@ var Y8e = (e) => e != null && e.x === +e.x && e.y === +e.y, X8e = function() {
}, Q8e = (e) => {
var t = e.points, n = e.className, r = e.baseLinePoints, i = e.connectNulls, a = K8e(e, W8e);
if (!t || !t.length) return null;
- var o = $v("recharts-polygon", n);
+ var o = Qv("recharts-polygon", n);
if (r && r.length) {
var s = a.stroke && a.stroke !== "none", c = Z8e(t, r, i);
- return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", k4({}, rY(a), {
+ return /*#__PURE__*/ S.createElement("g", { className: o }, /*#__PURE__*/ S.createElement("path", k4({}, iY(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ S.createElement("path", k4({}, rY(a), {
+ })), s ? /*#__PURE__*/ S.createElement("path", k4({}, iY(a), {
fill: "none",
d: A4(t, i)
- })) : null, s ? /*#__PURE__*/ S.createElement("path", k4({}, rY(a), {
+ })) : null, s ? /*#__PURE__*/ S.createElement("path", k4({}, iY(a), {
fill: "none",
d: A4(r, i)
})) : null);
}
var l = A4(t, i);
- return /*#__PURE__*/ S.createElement("path", k4({}, rY(a), {
+ return /*#__PURE__*/ S.createElement("path", k4({}, iY(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -94169,8 +94237,8 @@ function j4() {
}, j4.apply(null, arguments);
}
var M4 = (e) => {
- var t = e.cx, n = e.cy, r = e.r, i = e.className, a = $v("recharts-dot", i);
- return bY(t) && bY(n) && bY(r) ? /*#__PURE__*/ S.createElement("circle", j4({}, tY(e), fX(e), {
+ var t = e.cx, n = e.cy, r = e.r, i = e.className, a = Qv("recharts-dot", i);
+ return xY(t) && xY(n) && xY(r) ? /*#__PURE__*/ S.createElement("circle", j4({}, nY(e), fX(e), {
className: a,
cx: t,
cy: n,
@@ -94376,7 +94444,7 @@ var g5e = (e, t, n, r) => {
}, _5e = (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 = V4({}, tY(e));
+ var s = V4({}, nY(e));
return /*#__PURE__*/ S.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
var a = r$(t, n, r, e), o = r$(t, n, i, e);
return /*#__PURE__*/ S.createElement("line", B4({ key: `line-${e}` }, s, {
@@ -94387,17 +94455,17 @@ var g5e = (e, t, n, r) => {
}));
}));
}, v5e = (e) => {
- var t = e.cx, n = e.cy, r = e.radius, i = V4({}, tY(e));
+ var t = e.cx, n = e.cy, r = e.radius, i = V4({}, nY(e));
return /*#__PURE__*/ S.createElement("circle", B4({}, i, {
- className: $v("recharts-polar-grid-concentric-circle", e.className),
+ className: Qv("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
}, y5e = (e) => {
- var t = e.radius, n = V4({}, tY(e));
+ var t = e.radius, n = V4({}, nY(e));
return /*#__PURE__*/ S.createElement("path", B4({}, n, {
- className: $v("recharts-polar-grid-concentric-polygon", e.className),
+ className: Qv("recharts-polar-grid-concentric-polygon", e.className),
d: g5e(t, e.cx, e.cy, e.polarAngles)
}));
}, b5e = (e) => {
@@ -94598,7 +94666,7 @@ function B5e(e) {
var t = e.type, r = q4(e, j5e), i = O$(n, "radiusAxis", t);
if (i != null) return K4(K4({}, r), {}, { type: i });
}, [e, n]);
- return (0, S.useEffect)(() => r == null ? AY : (t(E5e(r)), () => {
+ return (0, S.useEffect)(() => r == null ? jY : (t(E5e(r)), () => {
t(D5e(r));
}), [t, r]), null;
}
@@ -94629,7 +94697,7 @@ var V5e = (e, t, n, r) => {
clockWise: !1
};
}, W5e = (e, t) => {
- var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = q4(e, M5e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = r$(n, r, s[0], i), l = r$(n, r, s[1], i), u = K4(K4(K4({}, tY(o)), {}, { fill: "none" }, tY(a)), {}, {
+ var n = e.cx, r = e.cy, i = e.angle, a = e.axisLine, o = q4(e, M5e), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = r$(n, r, s[0], i), l = r$(n, r, s[1], i), u = K4(K4(K4({}, nY(o)), {}, { fill: "none" }, nY(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
@@ -94637,7 +94705,7 @@ var V5e = (e, t, n, r) => {
});
return /*#__PURE__*/ S.createElement("line", G4({ className: "recharts-polar-radius-axis-line" }, u));
}, G5e = (e, t, n) => /*#__PURE__*/ S.isValidElement(e) ? /*#__PURE__*/ S.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ S.createElement(y4, G4({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), K5e = (e, t) => {
- var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = q4(e, N5e), s = H5e(e.orientation), c = tY(o), l = nY(a), u = t.map((t, o) => {
+ var n = e.angle, r = e.tickFormatter, i = e.stroke, a = e.tick, o = q4(e, N5e), s = H5e(e.orientation), c = nY(o), l = rY(a), u = t.map((t, o) => {
var u = V5e(t, e.angle, e.cx, e.cy), d = K4(K4(K4(K4({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
@@ -94645,17 +94713,17 @@ var V5e = (e, t, n, r) => {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ S.createElement(sY, G4({
- className: $v("recharts-polar-radius-axis-tick", W4(a)),
+ return /*#__PURE__*/ S.createElement(cY, G4({
+ className: Qv("recharts-polar-radius-axis-tick", W4(a)),
key: `tick-${t.coordinate}`
}, pX(e, t, o)), G5e(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ S.createElement(sY, { className: "recharts-polar-radius-axis-ticks" }, u);
+ return /*#__PURE__*/ S.createElement(cY, { className: "recharts-polar-radius-axis-ticks" }, u);
}, q5e = (e) => {
var t = e.radiusAxisId, n = PX(P$), r = PX((e) => R4(e, "radiusAxis", t)), i = PX((e) => z4(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = K4(K4({}, e), {}, { scale: r }, n), o = a.tick, s = a.axisLine;
- return /*#__PURE__*/ S.createElement(i4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(sY, { className: $v("recharts-polar-radius-axis", z5e, a.className) }, s && W5e(a, i), o && K5e(a, i), /*#__PURE__*/ S.createElement(C8e, U5e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(N8e, { label: a.label }), a.children)));
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: a.zIndex }, /*#__PURE__*/ S.createElement(cY, { className: Qv("recharts-polar-radius-axis", z5e, a.className) }, s && W5e(a, i), o && K5e(a, i), /*#__PURE__*/ S.createElement(C8e, U5e(a.angle, a.cx, a.cy, i), /*#__PURE__*/ S.createElement(N8e, { label: a.label }), a.children)));
};
function J5e(e) {
var t = mX(e, E$);
@@ -94759,7 +94827,7 @@ function o7e(e) {
var t = e.type, r = t7e(e, Y5e), i = O$(n, "angleAxis", t);
if (i != null) return Y4(Y4({}, r), {}, { type: i });
}, [e, n]), i = r === PX((e) => A$(e, r?.id));
- return (0, S.useEffect)(() => r == null ? AY : (t(O5e(r)), () => {
+ return (0, S.useEffect)(() => r == null ? jY : (t(O5e(r)), () => {
t(k5e(r));
}), [t, r]), i ? e.children : null;
}
@@ -94780,7 +94848,7 @@ var s7e = (e, t) => {
}, u7e = (e) => {
var t = e.cx, n = e.cy, r = e.radius, i = e.axisLineType, a = e.axisLine, o = e.ticks;
if (!a) return null;
- var s = Y4(Y4({}, tY(e)), {}, { fill: "none" }, tY(a));
+ var s = Y4(Y4({}, nY(e)), {}, { fill: "none" }, nY(a));
if (i === "circle") return /*#__PURE__*/ S.createElement(M4, J4({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
@@ -94792,9 +94860,9 @@ var s7e = (e, t) => {
var t = e.tick, n = e.tickProps, r = e.value;
return t ? /*#__PURE__*/ S.isValidElement(t) ? /*#__PURE__*/ S.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ S.createElement(y4, J4({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
}, f7e = (e) => {
- var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = tY(e);
+ var t = e.tick, n = e.tickLine, r = e.tickFormatter, i = e.stroke, a = e.ticks, o = nY(e);
o.ref;
- var s = t7e(o, X5e), c = nY(t), l = Y4(Y4({}, s), {}, { fill: "none" }, tY(n)), u = a.map((a, o) => {
+ var s = t7e(o, X5e), c = rY(t), l = Y4(Y4({}, s), {}, { fill: "none" }, nY(n)), u = a.map((a, o) => {
var u = s7e(a, e), d = c7e(a, e.orientation), f = l7e(a), p = Y4(Y4(Y4({}, s), {}, {
textAnchor: d,
verticalAnchor: f,
@@ -94806,8 +94874,8 @@ var s7e = (e, t) => {
x: u.x2,
y: u.y2
});
- return /*#__PURE__*/ S.createElement(sY, J4({
- className: $v("recharts-polar-angle-axis-tick", W4(t)),
+ return /*#__PURE__*/ S.createElement(cY, J4({
+ className: Qv("recharts-polar-angle-axis-tick", W4(t)),
key: `tick-${a.coordinate}`
}, pX(e, a, o)), n && /*#__PURE__*/ S.createElement("line", J4({ className: "recharts-polar-angle-axis-tick-line" }, l, u)), /*#__PURE__*/ S.createElement(d7e, {
tick: t,
@@ -94815,7 +94883,7 @@ var s7e = (e, t) => {
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ S.createElement(sY, { className: "recharts-polar-angle-axis-ticks" }, u);
+ return /*#__PURE__*/ S.createElement(cY, { className: "recharts-polar-angle-axis-ticks" }, u);
}, p7e = (e) => {
var t = e.angleAxisId, n = PX(P$), r = PX((e) => R4(e, "angleAxis", t)), i = _Q(), a = PX((e) => a5e(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
@@ -94823,7 +94891,7 @@ var s7e = (e, t) => {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ S.createElement(i4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(sY, { className: $v("recharts-polar-angle-axis", a7e, o.className) }, /*#__PURE__*/ S.createElement(u7e, o), /*#__PURE__*/ S.createElement(f7e, o)));
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: o.zIndex }, /*#__PURE__*/ S.createElement(cY, { className: Qv("recharts-polar-angle-axis", a7e, o.className) }, /*#__PURE__*/ S.createElement(u7e, o), /*#__PURE__*/ S.createElement(f7e, o)));
};
function X4(e) {
var t = mX(e, T$);
@@ -94884,13 +94952,13 @@ var m7e = /* @__PURE__ */ o(((e) => {
if (e === _7e && Array.isArray(Z4)) return Z4;
var t = [];
return S.Children.forEach(e, (e) => {
- DY(e) || ((0, h7e.isFragment)(e) ? t = t.concat(v7e(e.props.children)) : t.push(e));
+ OY(e) || ((0, h7e.isFragment)(e) ? t = t.concat(v7e(e.props.children)) : t.push(e));
}), Z4 = t, _7e = e, t;
};
function y7e(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => g7e(e)) : [g7e(t)], v7e(e).forEach((e) => {
- var t = mY(e, "type.displayName") || mY(e, "type.name");
+ var t = hY(e, "type.displayName") || hY(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
@@ -94960,7 +95028,7 @@ function k7e(e) {
}
function $4(e) {
var t = e.option, n = e.DefaultShape, r = e.shapeProps, i = e.activeClassName, a = i === void 0 ? "recharts-active-shape" : i, o = e.inActiveClassName, s = o === void 0 ? "recharts-shape" : o, c = O7e(r), l = /*#__PURE__*/ (0, S.isValidElement)(t) ? D7e(t, r) : t === n ? /*#__PURE__*/ S.createElement(n, r) : typeof t == "function" ? t(r, c) : typeof t == "object" ? /*#__PURE__*/ S.createElement(n, T7e(t, r)) : /*#__PURE__*/ S.createElement(n, r);
- return k7e(r) ? /*#__PURE__*/ S.createElement(sY, { className: a }, l) : /*#__PURE__*/ S.createElement(sY, { className: s }, l);
+ return k7e(r) ? /*#__PURE__*/ S.createElement(cY, { className: a }, l) : /*#__PURE__*/ S.createElement(cY, { className: s }, l);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
@@ -95268,7 +95336,7 @@ function Q7e(e, t) {
function $7e(e) {
if (Array.isArray(e)) return e;
}
-var e9e = S.useId ?? (() => J7e(S.useState(() => SY("uid-")), 1)[0]);
+var e9e = S.useId ?? (() => J7e(S.useState(() => CY("uid-")), 1)[0]);
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
function t9e(e, t) {
@@ -95436,7 +95504,7 @@ function x9e(e) {
var t = e.option, n = e.dotProps, r = e.className;
if (/*#__PURE__*/ (0, S.isValidElement)(t)) return /*#__PURE__*/ (0, S.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = $v(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
+ var i = Qv(r, typeof t == "boolean" ? "" : t.className), a = n ?? {};
a.points;
var o = y9e(a, m9e);
return /*#__PURE__*/ S.createElement(M4, h3({}, o, { className: i }));
@@ -95447,7 +95515,7 @@ function S9e(e, t) {
function g3(e) {
var t = e.points, n = e.dot, r = e.className, i = e.dotClassName, a = e.dataKey, o = e.baseProps, s = e.needClip, c = e.clipPathId, l = e.zIndex, u = l === void 0 ? w$.scatter : l;
if (!S9e(t, n)) return null;
- var d = Q4(n), f = iBe(n), p = t.map((e, r) => {
+ var d = Q4(n), f = rBe(n), p = t.map((e, r) => {
var s = m3(m3(m3({ r: 3 }, o), f), {}, {
index: r,
cx: e.x ?? void 0,
@@ -95464,7 +95532,7 @@ function g3(e) {
className: i
});
}), m = {};
- return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(i4, { zIndex: u }, /*#__PURE__*/ S.createElement(sY, h3({ className: r }, m), p));
+ return s && c != null && (m.clipPath = `url(#clipPath-${d ? "" : "dots-"}${c})`), /*#__PURE__*/ S.createElement(i4, { zIndex: u }, /*#__PURE__*/ S.createElement(cY, h3({ className: r }, m), p));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -95679,8 +95747,8 @@ var U9e = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), nY(i)), fX(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(M4, s);
- return /*#__PURE__*/ S.createElement(sY, {
+ }), rY(i)), fX(i)), c = /*#__PURE__*/ (0, S.isValidElement)(i) ? /*#__PURE__*/ (0, S.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ S.createElement(M4, s);
+ return /*#__PURE__*/ S.createElement(cY, {
className: "recharts-active-dot",
clipPath: o
}, c);
@@ -95689,7 +95757,7 @@ function x3(e) {
var t = e.points, n = e.mainColor, r = e.activeDot, i = e.itemDataKey, a = e.clipPath, o = e.zIndex, s = o === void 0 ? w$.activeDot : o, c = PX(Y2), l = R9e();
if (t == null || l == null) return null;
var u = t.find((e) => l.includes(e.payload));
- return DY(u) ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s }, /*#__PURE__*/ S.createElement(U9e, {
+ return OY(u) ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: s }, /*#__PURE__*/ S.createElement(U9e, {
point: u,
childIndex: Number(c),
mainColor: n,
@@ -95871,7 +95939,7 @@ var met = (e) => {
}, het = /*#__PURE__*/ S.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: AY,
+ getPosition: jY,
settings: {
stroke: n,
strokeWidth: r,
@@ -95891,7 +95959,7 @@ var met = (e) => {
function get(e) {
var t = e.points, n = e.props, r = n.dot, i = n.dataKey;
n.id;
- var a = tY(fet(n, oet));
+ var a = nY(fet(n, oet));
return /*#__PURE__*/ S.createElement(g3, {
points: t,
dot: r,
@@ -95904,7 +95972,7 @@ function get(e) {
function _et(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 = nQ(e, n.dataKey, r), d = nQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? p9e(d) : d, m = DY(p) ? 0 : t.scale.map(p) ?? 0;
+ var a = nQ(e, n.dataKey, r), d = nQ(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? p9e(d) : d, m = OY(p) ? 0 : t.scale.map(p) ?? 0;
Array.isArray(d) && d.length >= 2 && (c = !0), l.push(w3(w3({}, r$(o, s, m, f)), {}, {
name: a,
value: d,
@@ -95918,7 +95986,7 @@ function _et(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = DY(n) ? 0 : t.scale.map(n) ?? 0;
+ var n = e.value[0], r = OY(n) ? 0 : t.scale.map(n) ?? 0;
d.push(w3(w3({}, e), {}, { radius: r }, r$(o, s, r, e.angle)));
} else d.push(e);
}), {
@@ -95950,7 +96018,7 @@ function vet(e) {
function yet(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__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, w3(w3({}, r), {}, { points: t })) : typeof i == "function" ? i(w3(w3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(Q8e, C3({}, rY(r), {
+ var i = r.shape, a = r.isRange, o = r.connectNulls, s = /*#__PURE__*/ S.isValidElement(i) ? /*#__PURE__*/ S.cloneElement(i, w3(w3({}, r), {}, { points: t })) : typeof i == "function" ? i(w3(w3({}, r), {}, { points: t })) : /*#__PURE__*/ S.createElement(Q8e, C3({}, iY(r), {
onMouseEnter: (e) => {
var t = r.onMouseEnter;
t && t(r, e);
@@ -95963,17 +96031,17 @@ function yet(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ S.createElement(sY, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(get, {
+ return /*#__PURE__*/ S.createElement(cY, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ S.createElement(get, {
props: r,
points: t
}));
}
var bet = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [w3(w3({}, e.next), {}, {
- x: TY(e.prev.x, e.next.x, t),
- y: TY(e.prev.y, e.next.y, t)
+ x: EY(e.prev.x, e.next.x, t),
+ y: EY(e.prev.y, e.next.y, t)
})] : [w3(w3({}, e.next), {}, {
- x: TY(e.next.cx, e.next.x, t),
- y: TY(e.next.cy, e.next.y, t)
+ x: EY(e.next.cx, e.next.x, t),
+ y: EY(e.next.cy, e.next.y, t)
})]);
function xet(e) {
var t = e.props, n = e.previousPointsRef, r = e.previousBaseLinePointsRef, i = t.points, a = t.baseLinePoints, o = t.isAnimationActive, s = t.animationBegin, c = t.animationDuration, l = t.animationEasing, u = t.animationMatchBy, d = t.animationInterpolateFn, f = t.onAnimationStart, p = t.onAnimationEnd, m = c3(t, r), h = m.startValue, g = s3(h ?? null, a, u), _ = l3(f, p), v = _.isAnimating, y = _.handleAnimationStart, b = _.handleAnimationEnd, x = MQ();
@@ -96030,8 +96098,8 @@ var wet = {
function Tet(e) {
var t = e.hide, n = e.className, r = e.points;
if (t) return null;
- var i = $v("recharts-radar", n);
- return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(sY, { className: i }, /*#__PURE__*/ S.createElement(Cet, e)), /*#__PURE__*/ S.createElement(x3, {
+ var i = Qv("recharts-radar", n);
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(cY, { className: i }, /*#__PURE__*/ S.createElement(Cet, e)), /*#__PURE__*/ S.createElement(x3, {
points: r,
mainColor: T3(e.stroke, e.fill),
itemDataKey: e.dataKey,
@@ -96150,7 +96218,7 @@ function Let(e) {
}
var Ret = (e, t, n) => {
var r = n ?? e;
- if (!DY(r)) return CY(r, t, 0);
+ if (!OY(r)) return wY(r, t, 0);
}, zet = (e, t, n) => {
var r = {}, i = e.filter(z$), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
@@ -96217,7 +96285,7 @@ function Uet(e, t) {
function Wet(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = CY(e, n, 0, !0), s, c = [];
+ var o = wY(e, n, 0, !0), s, c = [];
if ($Z(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
@@ -96237,7 +96305,7 @@ function Wet(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = CY(t, n, 0, !0);
+ var p = wY(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m = Math.round(m));
@@ -96255,7 +96323,7 @@ function Wet(e, t, n, r, i) {
}
}
var Get = (e, t, n, r, i, a, o) => {
- var s = DY(o) ? t : o, c = Wet(n, r, i === a ? a : i, e, s);
+ var s = OY(o) ? t : o, c = Wet(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => O3(O3({}, e), {}, { position: O3(O3({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Ket = (e, t) => {
var n = L$(t);
@@ -96362,7 +96430,7 @@ var A3 = X([(e, t) => j$(e, t), (e, t) => R4(e, "radiusAxis", t)], (e, t) => {
j3,
rtt
], (e, t, n, r, i, a, o) => {
- var s = DY(o) ? t : o;
+ var s = OY(o) ? t : o;
return e === "centric" ? sQ(n, r, !0) ?? s ?? 0 : sQ(i, a, !0) ?? s ?? 0;
}),
Qet,
@@ -96534,7 +96602,7 @@ function btt(e) {
return /*#__PURE__*/ S.createElement(V8e, { value: t ? i : void 0 }, r);
}
function xtt(e) {
- var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = L3(n, dtt), f = tY(d), p = PX(Y2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = L3(n, ftt), v = e3(m, n.dataKey, u), y = t3(g), b = n3(h, n.dataKey, u);
+ var t = e.sectors, n = e.allOtherRadialBarProps, r = e.showLabels, i = e.animationElapsedTime, a = e.isAnimating, o = e.isEntrance, s = n.shape, c = n.activeShape, l = n.cornerRadius, u = n.id, d = L3(n, dtt), f = nY(d), p = PX(Y2), m = n.onMouseEnter, h = n.onClick, g = n.onMouseLeave, _ = L3(n, ftt), v = e3(m, n.dataKey, u), y = t3(g), b = n3(h, n.dataKey, u);
return t == null ? null : /*#__PURE__*/ S.createElement(btt, {
showLabels: r,
sectors: t
@@ -96560,9 +96628,9 @@ function xtt(e) {
}), /*#__PURE__*/ S.createElement(O4, { label: n.label }), n.children);
}
var Stt = (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "removed" ? [] : e.status === "matched" ? [I3(I3({}, e.next), {}, {
- startAngle: TY(e.prev.startAngle, e.next.startAngle, t),
- endAngle: TY(e.prev.endAngle, e.next.endAngle, t)
-})] : [I3(I3({}, e.next), {}, { endAngle: TY(e.next.startAngle, e.next.endAngle, t) })]);
+ startAngle: EY(e.prev.startAngle, e.next.startAngle, t),
+ endAngle: EY(e.prev.endAngle, e.next.endAngle, t)
+})] : [I3(I3({}, e.next), {}, { endAngle: EY(e.next.startAngle, e.next.endAngle, t) })]);
function Ctt(e) {
var t = e.props, n = e.previousSectorsRef, r = t.sectors, i = t.isAnimationActive, a = t.animationBegin, o = t.animationDuration, s = t.animationEasing, c = t.onAnimationStart, l = t.onAnimationEnd, u = l3(c, l), d = u.isAnimating, f = u.handleAnimationStart, p = u.handleAnimationEnd, m = MQ();
return m == null ? null : /*#__PURE__*/ S.createElement(u3, {
@@ -96602,7 +96670,7 @@ function Ttt(e) {
var Ett = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.sectors, r = e.stroke, i = e.strokeWidth, a = e.name, o = e.hide, s = e.fill, c = e.tooltipType, l = e.formatter, u = {
dataDefinedOnItem: n,
- getPosition: AY,
+ getPosition: jY,
settings: {
graphicalItemId: e.id,
stroke: r,
@@ -96622,14 +96690,14 @@ var Ett = /*#__PURE__*/ S.memo((e) => {
}), Dtt = class extends S.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var t = this.props.cornerRadius, n = nY(this.props.background);
+ var t = this.props.cornerRadius, n = rY(this.props.background);
return /*#__PURE__*/ S.createElement(i4, { zIndex: utt(this.props.background, w$.barBackground) }, e.map((e, r) => {
e.value;
var i = e.background, a = L3(e, ptt);
if (!i) return null;
var o = I3(I3(I3(I3(I3({ cornerRadius: jet(t) }, a), {}, { fill: "#eee" }, i), n), pX(this.props, e, r)), {}, {
index: r,
- className: $v("recharts-radial-bar-background-sector", String(n?.className)),
+ className: Qv("recharts-radial-bar-background-sector", String(n?.className)),
option: i,
isActive: !1
});
@@ -96639,8 +96707,8 @@ var Ett = /*#__PURE__*/ S.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 = $v("recharts-area", r);
- return /*#__PURE__*/ S.createElement(i4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(sY, { className: a }, i && /*#__PURE__*/ S.createElement(sY, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(sY, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement(wtt, this.props))));
+ var a = Qv("recharts-area", r);
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: this.props.zIndex }, /*#__PURE__*/ S.createElement(cY, { className: a }, i && /*#__PURE__*/ S.createElement(cY, { className: "recharts-radial-bar-background" }, this.renderBackground(n)), /*#__PURE__*/ S.createElement(cY, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ S.createElement(wtt, this.props))));
}
};
function Ott(e) {
@@ -96715,7 +96783,7 @@ function ktt(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = _Y(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = vY(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -96738,7 +96806,7 @@ function ktt(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = _Y(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = vY(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -96906,7 +96974,7 @@ function qtt(e) {
if (Array.isArray(e)) return e;
}
var Jtt = /*#__PURE__*/ (0, S.createContext)(void 0), Ytt = (e) => {
- var t = e.children, n = Htt((0, S.useState)(`${SY("recharts")}-clip`), 1)[0], r = y3();
+ var t = e.children, n = Htt((0, S.useState)(`${CY("recharts")}-clip`), 1)[0], r = y3();
if (r == null) return null;
var i = r.x, a = r.y, o = r.width, s = r.height;
return /*#__PURE__*/ S.createElement(Jtt.Provider, { value: n }, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: n }, /*#__PURE__*/ S.createElement("rect", {
@@ -97034,8 +97102,8 @@ var rnt = (e, t) => {
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
}, snt = (e, t, n, r, i, a, o) => {
- var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = xY(s);
- return xY(c) ? int(c, u, r, a, t, n) : d ? ant(s, u, r, i, e, n) : l != null && l.length === 2 ? ont(l, u, r, new Ztt({
+ var s = o.x, c = o.y, l = o.segment, u = o.ifOverflow, d = SY(s);
+ return SY(c) ? int(c, u, r, a, t, n) : d ? ant(s, u, r, i, e, n) : l != null && l.length === 2 ? ont(l, u, r, new Ztt({
x: e,
y: t
})) : null;
@@ -97053,7 +97121,7 @@ function lnt(e) {
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var g = m.x, _ = m.y, v = h.x, y = h.y, b = $tt($tt({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, rY(e)), {}, {
+ var g = m.x, _ = m.y, v = h.x, y = h.y, b = $tt($tt({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, iY(e)), {}, {
x1: g,
y1: _,
x2: v,
@@ -97064,7 +97132,7 @@ function lnt(e) {
x2: v,
y2: y
});
- return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(sY, { className: $v("recharts-reference-line", i) }, rnt(r, b), /*#__PURE__*/ S.createElement(b8e, V3({}, x, {
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(cY, { className: Qv("recharts-reference-line", i) }, rnt(r, b), /*#__PURE__*/ S.createElement(b8e, V3({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ S.createElement(M8e, { label: e.label }), e.children)));
@@ -97348,7 +97416,7 @@ function Dnt(e, t, n, r, i, a) {
function K3(e, t, n) {
var r = e.tick, i = e.ticks, a = e.viewBox, o = e.minTickGap, s = e.orientation, c = e.interval, l = e.tickFormatter, u = e.unit, d = e.angle;
if (!i || !i.length || !r) return [];
- if (bY(c) || HQ.isSsr) return ynt(i, bY(c) ? c : 0) ?? [];
+ if (xY(c) || HQ.isSsr) return ynt(i, xY(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? p4(u, {
fontSize: t,
letterSpacing: n
@@ -97364,7 +97432,7 @@ function K3(e, t, n) {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? _Y(_.coordinate - g.coordinate) : 1, y = vnt(a, v, p);
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? vY(_.coordinate - g.coordinate) : 1, y = vnt(a, v, p);
return c === "equidistantPreserveStart" ? bnt(v, y, h, i, o) : c === "equidistantPreserveEnd" ? xnt(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? Dnt(v, y, h, i, o, c === "preserveStartEnd") : Ent(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
@@ -97560,7 +97628,7 @@ var Y3 = {
function Jnt(e) {
var t = e.x, n = e.y, r = e.width, i = e.height, a = e.orientation, o = e.mirror, s = e.axisLine, c = e.otherSvgProps;
if (!s) return null;
- var l = J3(J3(J3({}, c), tY(s)), {}, { fill: "none" });
+ var l = J3(J3(J3({}, c), nY(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = J3(J3({}, l), {}, {
@@ -97578,10 +97646,10 @@ function Jnt(e) {
y2: n + i
});
}
- return /*#__PURE__*/ S.createElement("line", q3({}, l, { className: $v("recharts-cartesian-axis-line", mY(s, "className")) }));
+ return /*#__PURE__*/ S.createElement("line", q3({}, l, { className: Qv("recharts-cartesian-axis-line", hY(s, "className")) }));
}
function Ynt(e, t, n, r, i, a, o, s, c) {
- var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = bY(e.tickCoord) ? e.tickCoord : e.coordinate;
+ var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = xY(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
l = u = e.coordinate, f = n + +!s * i, d = f - h * g, m = d - h * c, p = _;
@@ -97623,12 +97691,12 @@ function Znt(e, t) {
}
}
function Qnt(e) {
- var t = e.option, n = e.tickProps, r = e.value, i, a = $v(n.className, "recharts-cartesian-axis-tick-value");
+ var t = e.option, n = e.tickProps, r = e.value, i, a = Qv(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ S.isValidElement(t)) i = /*#__PURE__*/ S.cloneElement(t, J3(J3({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(J3(J3({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = $v(o, W4(t))), i = /*#__PURE__*/ S.createElement(y4, q3({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Qv(o, W4(t))), i = /*#__PURE__*/ S.createElement(y4, q3({}, n, { className: o }), r);
}
return i;
}
@@ -97657,7 +97725,7 @@ function $nt(e) {
t,
r,
n
- ]), (0, S.useEffect)(() => r == null || n == null ? AY : () => {
+ ]), (0, S.useEffect)(() => r == null || n == null ? jY : () => {
i(Nnt({
axisId: r,
axisType: n
@@ -97669,14 +97737,14 @@ function $nt(e) {
]), null;
}
var ert = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = K3(J3(J3({}, x), {}, { ticks: r }), y, b), D = tY(x), O = nY(i), k = e8e(D.textAnchor) ? D.textAnchor : Xnt(d, f), A = Znt(d, f), j = {};
+ var n = e.ticks, r = n === void 0 ? [] : n, i = e.tick, a = e.tickLine, o = e.stroke, s = e.tickFormatter, c = e.unit, l = e.padding, u = e.tickTextProps, d = e.orientation, f = e.mirror, p = e.x, m = e.y, h = e.width, g = e.height, _ = e.tickSize, v = e.tickMargin, y = e.fontSize, b = e.letterSpacing, x = e.getTicksConfig, C = e.events, w = e.axisType, T = e.axisId, E = K3(J3(J3({}, x), {}, { ticks: r }), y, b), D = nY(x), O = rY(i), k = e8e(D.textAnchor) ? D.textAnchor : Xnt(d, f), A = Znt(d, f), j = {};
typeof a == "object" && (j = a);
var M = J3(J3({}, D), {}, { fill: "none" }, j), N = E.map((e) => J3({ entry: e }, Ynt(e, p, m, h, g, d, _, f, v))), P = N.map((e) => {
var t = e.entry, n = e.line;
- return /*#__PURE__*/ S.createElement(sY, {
+ return /*#__PURE__*/ S.createElement(cY, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, a && /*#__PURE__*/ S.createElement("line", q3({}, M, n, { className: $v("recharts-cartesian-axis-tick-line", mY(a, "className")) })));
+ }, a && /*#__PURE__*/ S.createElement("line", q3({}, M, n, { className: Qv("recharts-cartesian-axis-tick-line", hY(a, "className")) })));
}), F = N.map((e, t) => {
var n = e.entry, r = e.tick, a = J3(J3({}, J3(J3(J3(J3({ verticalAnchor: A }, D), {}, {
textAnchor: k,
@@ -97689,7 +97757,7 @@ var ert = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
tickFormatter: s,
padding: l
}, u), {}, { angle: u?.angle ?? D.angle ?? 0 })), O);
- return /*#__PURE__*/ S.createElement(sY, q3({
+ return /*#__PURE__*/ S.createElement(cY, q3({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
}, pX(C, n, t)), i && /*#__PURE__*/ S.createElement(Qnt, {
@@ -97735,7 +97803,7 @@ var ert = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
}
}
}, [f, h]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(sY, { className: $v("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(Jnt, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ S.createElement(i4, { zIndex: e.zIndex }, /*#__PURE__*/ S.createElement(cY, { className: Qv("recharts-cartesian-axis", a) }, /*#__PURE__*/ S.createElement(Jnt, {
x: e.x,
y: e.y,
width: r,
@@ -97743,7 +97811,7 @@ var ert = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: tY(e)
+ otherSvgProps: nY(e)
}), /*#__PURE__*/ S.createElement(ert, {
ref: v,
axisType: c,
@@ -97889,7 +97957,7 @@ function mrt(e) {
if (/*#__PURE__*/ S.isValidElement(t)) r = /*#__PURE__*/ S.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = tY($3(n, irt)) ?? {};
+ var i = n.x1, a = n.y1, o = n.x2, s = n.y2, c = n.key, l = nY($3(n, irt)) ?? {};
l.offset;
var u = $3(l, art), d = Array.isArray(u.strokeDasharray) ? u.strokeDasharray.join(",") : u.strokeDasharray;
r = /*#__PURE__*/ S.createElement("line", Q3({}, u, {
@@ -98028,17 +98096,17 @@ var yrt = (e, t) => {
};
function Srt(e) {
var t = EQ(), n = DQ(), r = yKe(), i = Z3(Z3({}, mX(e, xrt)), {}, {
- x: bY(e.x) ? e.x : r.left,
- y: bY(e.y) ? e.y : r.top,
- width: bY(e.width) ? e.width : r.width,
- height: bY(e.height) ? e.height : r.height
+ x: xY(e.x) ? e.x : r.left,
+ y: xY(e.y) ? e.y : r.top,
+ width: xY(e.width) ? e.width : r.width,
+ height: xY(e.height) ? e.height : r.height
}), a = i.xAxisId, o = i.yAxisId, s = i.x, c = i.y, l = i.width, u = i.height, d = i.syncWithTicks, f = i.horizontalValues, p = i.verticalValues, m = _Q(), h = PX((e) => l2e(e, "xAxis", a, m)), g = PX((e) => l2e(e, "yAxis", o, m)), _ = rrt(), v = {
stroke: i.stroke ?? _.grid.stroke,
strokeWidth: i.strokeWidth ?? _.grid.strokeWidth,
strokeOpacity: i.strokeOpacity ?? _.grid.strokeOpacity,
strokeDasharray: i.strokeDasharray ?? _.grid.strokeDasharray
};
- if (!eQ(l) || !eQ(u) || !bY(s) || !bY(c)) return null;
+ if (!eQ(l) || !eQ(u) || !xY(s) || !xY(c)) return null;
var y = i.verticalCoordinatesGenerator || yrt, b = i.horizontalCoordinatesGenerator || brt, x = i.horizontalPoints, C = i.verticalPoints;
if ((!x || !x.length) && typeof b == "function") {
var w = f && f.length, T = b({
@@ -98171,7 +98239,7 @@ function Nrt(e) {
var t = (0, S.useRef)(0), n = (0, S.useRef)(0), r = (0, S.useRef)(!1), i = (0, S.useRef)(e);
return i.current !== e && (t.current = n.current, i.current = e), (0, S.useCallback)((e, i) => {
if (r.current) return null;
- var a = Math.min(hY(t.current + e * i), i);
+ var a = Math.min(gY(t.current + e * i), i);
return e > 0 && i > 0 && (n.current = Math.max(n.current, a), a >= i) ? (r.current = !0, null) : a;
}, []);
}
@@ -98291,7 +98359,7 @@ var Jrt = X([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function Yrt(e) {
- var t = nY(e), n = 3, r = 2;
+ var t = rY(e), n = 3, r = 2;
if (t != null) {
var i = t.r, a = t.strokeWidth, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -98422,21 +98490,21 @@ var s6 = {
if (t === 1) return e.flatMap((e) => e.status === "removed" ? [] : [e.next]);
var n = ait(e), r = [];
for (var i of e) if (i.status === "matched") r.push(o6(o6({}, i.next), {}, {
- x: TY(i.prev.x, i.next.x, t),
- y: TY(i.prev.y, i.next.y, t)
+ x: EY(i.prev.x, i.next.x, t),
+ y: EY(i.prev.y, i.next.y, t)
}));
else if (i.status === "added") {
if (i.next.x != null) {
var a = i.next.x - n;
r.push(o6(o6({}, i.next), {}, {
- x: TY(a, i.next.x, t),
+ x: EY(a, i.next.x, t),
y: i.next.y
}));
} else r.push(i.next);
} else if (i.status === "removed" && i.prev.x != null) {
var o = i.prev.x + n;
r.push(o6(o6({}, i.prev), {}, {
- x: TY(i.prev.x, o, t),
+ x: EY(i.prev.x, o, t),
y: i.prev.y
}));
}
@@ -98470,7 +98538,7 @@ var s6 = {
}, sit = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: AY,
+ getPosition: jY,
settings: {
stroke: r,
strokeWidth: i,
@@ -98491,7 +98559,7 @@ var s6 = {
function cit(e) {
var t = e.clipPathId, n = e.points, r = e.props, i = r.dot, a = r.dataKey, o = r.needClip;
r.id;
- var s = tY(a6(r, Xrt));
+ var s = nY(a6(r, Xrt));
return /*#__PURE__*/ S.createElement(g3, {
points: n,
dot: i,
@@ -98524,7 +98592,7 @@ function lit(e) {
return /*#__PURE__*/ S.createElement(E4, { value: t ? i : void 0 }, n);
}
function uit(e) {
- var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = o6(o6({}, rY(a6(i, Zrt))), {}, {
+ var t = e.clipPathId, n = e.pathRef, r = e.points, i = e.props, a = e.animationElapsedTime, o = e.isAnimating, s = e.isEntrance, c = e.visibleLength, l = i.type, u = i.layout, d = i.connectNulls, f = i.needClip, p = i.shape, m = i.strokeDasharray, h = o6(o6({}, iY(a6(i, Zrt))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: f ? `url(#clipPath-${t})` : void 0,
@@ -98601,8 +98669,8 @@ var pit = (e, t) => ({
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.top, c = e.left, l = e.width, u = e.height, d = e.id, f = e.needClip, p = e.zIndex;
if (t) return null;
- var m = $v("recharts-line", i), h = d, g = Yrt(n), _ = g.r, v = g.strokeWidth, y = Q4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ S.createElement(i4, { zIndex: p }, /*#__PURE__*/ S.createElement(sY, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {
+ var m = Qv("recharts-line", i), h = d, g = Yrt(n), _ = g.r, v = g.strokeWidth, y = Q4(n), b = _ * 2 + v, x = f ? `url(#clipPath-${y ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: p }, /*#__PURE__*/ S.createElement(cY, { className: m }, f && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {
clipPathId: h,
xAxisId: a,
yAxisId: o
@@ -98669,11 +98737,11 @@ function git(e) {
entry: e,
index: c
}),
- y: (DY(l) ? null : r.scale.map(l)) ?? null,
+ y: (OY(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = DY(l) ? null : n.scale.map(l), d = aQ({
+ var u = OY(l) ? null : n.scale.map(l), d = aQ({
axis: r,
ticks: a,
bandSize: s,
@@ -98757,7 +98825,7 @@ var yit = (e, t, n) => j2(e, "xAxis", c6(e, t), n), bit = (e, t, n) => A2(e, "xA
X([u6, Eit], (e, t) => {
if (e != null && e.stackId != null && t != null) {
var n = t[e.stackId];
- if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(kY);
+ if (n != null) return n.graphicalItems.map((e) => e.dataKey).filter(AY);
}
})
], (e, t, n, r, i, a, o, s, c, l, u) => {
@@ -98819,7 +98887,7 @@ function Mit(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.x, o = r[r.length - 1]?.x;
if (!$Z(a) || !$Z(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
- return bY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), bY(c) ? /*#__PURE__*/ S.createElement("rect", {
+ return xY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), xY(c) ? /*#__PURE__*/ S.createElement("rect", {
x: a < o ? a : a - s,
y: 0,
width: s,
@@ -98830,7 +98898,7 @@ function Nit(e) {
var t = e.alpha, n = e.baseLine, r = e.points, i = e.strokeWidth, a = r[0]?.y, o = r[r.length - 1]?.y;
if (!$Z(a) || !$Z(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
- return bY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), bY(c) ? /*#__PURE__*/ S.createElement("rect", {
+ return xY(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), xY(c) ? /*#__PURE__*/ S.createElement("rect", {
x: 0,
y: a < o ? a : a - s,
width: c + (i ? parseInt(`${i}`, 10) : 1),
@@ -98852,7 +98920,7 @@ function Pit(e) {
});
}
function Fit(e) {
- var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = Ait(e, Oit), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = e9e(), h = d.id, g = d.baseLine, _ = tY(Ait(d, kit)), v = /*#__PURE__*/ S.createElement(JQ, d6({}, d, {
+ var t = e.animationElapsedTime, n = t === void 0 ? 1 : t, r = e.isAnimating, i = r !== void 0 && r, a = e.isEntrance, o = a !== void 0 && a, s = e.layout, c = e.isRange, l = e.stroke, u = e.connectNulls, d = Ait(e, Oit), f = s === "vertical" ? "vertical" : "horizontal", p = u ?? !1, m = e9e(), h = d.id, g = d.baseLine, _ = nY(Ait(d, kit)), v = /*#__PURE__*/ S.createElement(JQ, d6({}, d, {
id: h,
baseLine: g,
connectNulls: p,
@@ -98876,13 +98944,13 @@ function Fit(e) {
stroke: l,
points: g
}));
- return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(sY, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(Pit, {
+ return o && (i || n < 1) ? /*#__PURE__*/ S.createElement(cY, null, /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement("clipPath", { id: m }, /*#__PURE__*/ S.createElement(Pit, {
alpha: n,
points: d.points ?? [],
baseLine: g,
layout: f,
strokeWidth: d.strokeWidth
- }))), /*#__PURE__*/ S.createElement(sY, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);
+ }))), /*#__PURE__*/ S.createElement(cY, { clipPath: `url(#${m})` }, v, y, b)) : /*#__PURE__*/ S.createElement(S.Fragment, null, v, y, b);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Area.js
@@ -98979,8 +99047,8 @@ var Wit = {
animationEasing: "ease",
animationMatchBy: a3,
animationInterpolateFn: (e, t) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => e.status === "matched" ? [p6(p6({}, e.next), {}, {
- x: TY(e.prev.x, e.next.x, t),
- y: TY(e.prev.y, e.next.y, t)
+ x: EY(e.prev.x, e.next.x, t),
+ y: EY(e.prev.y, e.next.y, t)
})] : e.status === "added" ? [e.next] : []),
connectNulls: !1,
dot: !1,
@@ -99014,7 +99082,7 @@ var Git = (e) => {
}, Kit = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.data, r = e.stroke, i = e.strokeWidth, a = e.fill, o = e.name, s = e.hide, c = e.unit, l = e.formatter, u = e.tooltipType, d = e.id, f = {
dataDefinedOnItem: n,
- getPosition: AY,
+ getPosition: jY,
settings: {
stroke: r,
strokeWidth: i,
@@ -99033,7 +99101,7 @@ var Git = (e) => {
return /*#__PURE__*/ S.createElement(r3, { tooltipEntrySettings: f });
});
function qit(e) {
- var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = tY(r);
+ var t = e.clipPathId, n = e.points, r = e.props, i = r.needClip, a = r.dot, o = r.dataKey, s = nY(r);
return /*#__PURE__*/ S.createElement(g3, {
points: n,
dot: a,
@@ -99066,7 +99134,7 @@ function Jit(e) {
return /*#__PURE__*/ S.createElement(E4, { value: t ? r : void 0 }, n);
}
function Yit(e) {
- var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Rit(a, Iit), _ = p6(p6({}, rY(g)), {}, {
+ var t = e.points, n = e.baseLine, r = e.needClip, i = e.clipPathId, a = e.props, o = e.animationElapsedTime, s = e.isAnimating, c = e.isEntrance, l = a.layout, u = a.type, d = a.stroke, f = a.connectNulls, p = a.isRange, m = a.shape, h = a.id, g = Rit(a, Iit), _ = p6(p6({}, iY(g)), {}, {
id: h,
points: t,
connectNulls: f,
@@ -99079,7 +99147,7 @@ function Yit(e) {
isAnimating: s,
isEntrance: c
});
- return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(sY, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement($4, {
+ return /*#__PURE__*/ S.createElement(S.Fragment, null, t?.length > 1 && /*#__PURE__*/ S.createElement(cY, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ S.createElement($4, {
option: m,
DefaultShape: Wit.shape,
shapeProps: _
@@ -99090,7 +99158,7 @@ function Yit(e) {
}));
}
function Xit(e, t, n) {
- return bY(e) ? TY(bY(t) ? t : void 0, e, n) : DY(e) || vY(e) ? TY(bY(t) ? t : void 0, 0, n) : e;
+ return xY(e) ? EY(xY(t) ? t : void 0, e, n) : OY(e) || yY(e) ? EY(xY(t) ? t : void 0, 0, n) : e;
}
function Zit(e) {
var t = e.needClip, n = e.clipPathId, r = e.props, i = e.previousPointsRef, a = e.previousBaselineRef, o = r.points, s = r.baseLine, c = r.isAnimationActive, l = r.animationBegin, u = r.animationDuration, d = r.animationEasing, f = r.animationMatchBy, p = r.animationInterpolateFn, m = (0, S.useMemo)(() => ({
@@ -99144,8 +99212,8 @@ var $it = class extends S.PureComponent {
render() {
var e = this.props, t = e.hide, n = e.dot, r = e.points, i = e.className, a = e.top, o = e.left, s = e.needClip, c = e.xAxisId, l = e.yAxisId, u = e.width, d = e.height, f = e.id, p = e.baseLine, m = e.zIndex;
if (t) return null;
- var h = $v("recharts-area", i), g = f, _ = Yrt(n), v = _.r, y = _.strokeWidth, b = Q4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;
- return /*#__PURE__*/ S.createElement(i4, { zIndex: m }, /*#__PURE__*/ S.createElement(sY, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {
+ var h = Qv("recharts-area", i), g = f, _ = Yrt(n), v = _.r, y = _.strokeWidth, b = Q4(n), x = v * 2 + y, C = s ? `url(#clipPath-${b ? "" : "dots-"}${g})` : void 0;
+ return /*#__PURE__*/ S.createElement(i4, { zIndex: m }, /*#__PURE__*/ S.createElement(cY, { className: h }, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {
clipPathId: g,
xAxisId: c,
yAxisId: l
@@ -99205,7 +99273,7 @@ function eat(e) {
}
var tat = (e, t, n, r, i) => {
var a = n ?? t;
- if (bY(a)) return a;
+ if (xY(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
if (o.type === "number") {
var c = Math.max(s[0], s[1]), l = Math.min(s[0], s[1]);
@@ -99339,8 +99407,8 @@ function g6(e) {
var uat = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
- if (bY(e)) return e;
- var i = bY(n) || DY(n);
+ if (xY(e)) return e;
+ var i = xY(n) || OY(n);
return i ? e(n, r) : (!i && oat(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
}, dat = (e, t, n) => n, _6 = X([Y0, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), fat = X([_6], (e) => e?.maxBarSize), pat = (e, t, n, r) => r, mat = X([
@@ -99364,7 +99432,7 @@ var uat = function(e) {
if (r == null) return 0;
var i = c6(e, t), a = l6(e, t);
if (i == null || a == null) return 0;
- var o = OQ(e), s = _$(e), c = r.maxBarSize, l = DY(c) ? s : c, u, d;
+ var o = OQ(e), s = _$(e), c = r.maxBarSize, l = OY(c) ? s : c, u, d;
return o === "horizontal" ? (u = j2(e, "xAxis", i, n), d = A2(e, "xAxis", i, n)) : (u = j2(e, "yAxis", a, n), d = A2(e, "yAxis", a, n)), sQ(u, d, !0) ?? l ?? 0;
}, vat = (e, t, n) => {
var r = OQ(e), i = c6(e, t), a = l6(e, t);
@@ -99467,7 +99535,7 @@ var Cat = /*#__PURE__*/ (0, S.createContext)(void 0), wat = (e) => {
}
}, Dat = (e) => {
var t = e.index, n = xat(e, bat), r = Eat(t);
- return /*#__PURE__*/ S.createElement(sY, v6({
+ return /*#__PURE__*/ S.createElement(cY, v6({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
@@ -99609,7 +99677,7 @@ var Uat = (e) => {
}, Wat = /*#__PURE__*/ S.memo((e) => {
var t = e.dataKey, n = e.stroke, r = e.strokeWidth, i = e.fill, a = e.name, o = e.hide, s = e.unit, c = e.formatter, l = e.tooltipType, u = e.id, d = {
dataDefinedOnItem: void 0,
- getPosition: AY,
+ getPosition: jY,
settings: {
stroke: n,
strokeWidth: r,
@@ -99630,7 +99698,7 @@ var Uat = (e) => {
function Gat(e) {
var t = PX(Y2), n = e.data, r = e.dataKey, i = e.background, a = e.allOtherBarProps, o = a.onMouseEnter, s = a.onMouseLeave, c = a.onClick, l = x6(a, Oat), u = e3(o, r, a.id), d = t3(s), f = n3(c, r, a.id);
if (!i || n == null) return null;
- var p = nY(i);
+ var p = rY(i);
return /*#__PURE__*/ S.createElement(i4, { zIndex: utt(i, w$.barBackground) }, n.map((e, n) => {
e.value;
var a = e.background;
@@ -99708,7 +99776,7 @@ function Jat(e) {
}));
}
function Yat(e) {
- var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = tY(n) ?? {}, s = o.id, c = x6(o, Aat), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = x6(n, jat), g = e3(f, u, s), _ = t3(m), v = n3(p, u, s);
+ var t = e.data, n = e.props, r = e.animationElapsedTime, i = e.isAnimating, a = e.isEntrance, o = nY(n) ?? {}, s = o.id, c = x6(o, Aat), l = n.shape, u = n.dataKey, d = n.activeBar, f = n.onMouseEnter, p = n.onClick, m = n.onMouseLeave, h = x6(n, jat), g = e3(f, u, s), _ = t3(m), v = n3(p, u, s);
return t ? /*#__PURE__*/ S.createElement(S.Fragment, null, t.map((e, t) => /*#__PURE__*/ S.createElement(Dat, y6({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
@@ -99740,22 +99808,22 @@ function Yat(e) {
}
var Xat = (e, t, n) => e == null ? [] : t === 1 ? e.flatMap((e) => e.status === "removed" ? [] : [e.next]) : e.flatMap((e) => {
if (e.status === "removed") return n === "horizontal" ? [b6(b6({}, e.prev), {}, {
- height: TY(e.prev.height, 0, t),
- y: TY(e.prev.y, e.prev.y + e.prev.height, t)
- })] : [b6(b6({}, e.prev), {}, { width: TY(e.prev.width, 0, t) })];
+ height: EY(e.prev.height, 0, t),
+ y: EY(e.prev.y, e.prev.y + e.prev.height, t)
+ })] : [b6(b6({}, e.prev), {}, { width: EY(e.prev.width, 0, t) })];
if (e.status === "matched") return [b6(b6({}, e.next), {}, {
- x: TY(e.prev.x, e.next.x, t),
- y: TY(e.prev.y, e.next.y, t),
- width: TY(e.prev.width, e.next.width, t),
- height: TY(e.prev.height, e.next.height, t)
+ x: EY(e.prev.x, e.next.x, t),
+ y: EY(e.prev.y, e.next.y, t),
+ width: EY(e.prev.width, e.next.width, t),
+ height: EY(e.prev.height, e.next.height, t)
})];
var r = e.next;
return n === "horizontal" ? [b6(b6({}, r), {}, {
- height: TY(0, r.height, t),
- y: TY(r.stackedBarStart, r.y, t)
+ height: EY(0, r.height, t),
+ y: EY(r.stackedBarStart, r.y, t)
})] : [b6(b6({}, r), {}, {
- width: TY(0, r.width, t),
- x: TY(r.stackedBarStart, r.x, t)
+ width: EY(0, r.width, t),
+ x: EY(r.stackedBarStart, r.x, t)
})];
});
function Zat(e) {
@@ -99777,7 +99845,7 @@ function Zat(e) {
animationInterpolateFn: c,
animationMatchBy: t.animationMatchBy,
layout: l
- }, (e, n, r) => /*#__PURE__*/ S.createElement(sY, null, /*#__PURE__*/ S.createElement(Yat, {
+ }, (e, n, r) => /*#__PURE__*/ S.createElement(cY, null, /*#__PURE__*/ S.createElement(Yat, {
props: t,
data: e,
animationElapsedTime: n,
@@ -99804,15 +99872,15 @@ var $at = 0, eot = (e, t) => {
render() {
var e = this.props, t = e.hide, n = e.data, r = e.dataKey, i = e.className, a = e.xAxisId, o = e.yAxisId, s = e.needClip, c = e.background, l = e.id;
if (t || n == null) return null;
- var u = $v("recharts-bar", i), d = l;
- return /*#__PURE__*/ S.createElement(sY, {
+ var u = Qv("recharts-bar", i), d = l;
+ return /*#__PURE__*/ S.createElement(cY, {
className: u,
id: l
}, s && /*#__PURE__*/ S.createElement("defs", null, /*#__PURE__*/ S.createElement(r6, {
clipPathId: d,
xAxisId: a,
yAxisId: o
- })), /*#__PURE__*/ S.createElement(sY, {
+ })), /*#__PURE__*/ S.createElement(cY, {
className: "recharts-bar-rectangles",
clipPath: s ? `url(#clipPath-${d})` : void 0
}, /*#__PURE__*/ S.createElement(Gat, {
@@ -99888,13 +99956,13 @@ function iot(e) {
index: n
}), S = k ?? O ?? void 0, C = o.size;
var A = O - k;
- if (w = vY(A) ? 0 : A, T = {
+ if (w = yY(A) ? 0 : A, T = {
x: v,
y: m.top,
width: C,
height: m.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = _Y(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = vY(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
@@ -99913,7 +99981,7 @@ function iot(e) {
width: m.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var P = _Y(C || D) * (Math.abs(D) - Math.abs(C));
+ var P = vY(C || D) * (Math.abs(D) - Math.abs(C));
C += P;
}
}
@@ -100122,7 +100190,7 @@ var xot = (e) => {
y: p.y,
width: f.width,
height: f.height,
- className: $v(`recharts-${u} ${u}`, n),
+ className: Qv(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: d,
axisType: u,
@@ -100307,7 +100375,7 @@ function Pot(e) {
tickTextProps: r === "auto" ? { width: void 0 } : { width: r },
width: d.width,
height: d.height,
- className: $v(`recharts-${u} ${u}`, n),
+ className: Qv(`recharts-${u} ${u}`, n),
viewBox: s,
ticks: p,
axisType: u,
@@ -100859,7 +100927,7 @@ var yst = {
var n = EQ(), r = DQ(), i = iJe();
if (!eQ(n) || !eQ(r)) return null;
var a = e.children, o = e.otherAttributes, s = e.title, c = e.desc, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(aY, K6({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ S.createElement(oY, K6({}, o, {
title: s,
desc: c,
role: u,
@@ -100873,7 +100941,7 @@ var yst = {
var t = e.children, n = PX(yQ);
if (!n) return null;
var r = n.width, i = n.height, a = n.y, o = n.x;
- return /*#__PURE__*/ S.createElement(aY, {
+ return /*#__PURE__*/ S.createElement(oY, {
width: r,
height: i,
x: o,
@@ -101193,10 +101261,10 @@ var Kst = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
reactEvent: e
}));
}, [C, p]), de = Gst(v);
- return /*#__PURE__*/ S.createElement(b3e.Provider, { value: T }, /*#__PURE__*/ S.createElement(IY.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {
+ return /*#__PURE__*/ S.createElement(b3e.Provider, { value: T }, /*#__PURE__*/ S.createElement(LY.Provider, { value: O }, /*#__PURE__*/ S.createElement(de, {
width: M ?? g?.width,
height: N ?? g?.height,
- className: $v("recharts-wrapper", r),
+ className: Qv("recharts-wrapper", r),
style: jst({
position: "relative",
cursor: "default",
@@ -101249,7 +101317,7 @@ function Yst(e, t) {
return n;
}
var Xst = /*#__PURE__*/ (0, S.forwardRef)((e, t) => {
- var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = tY(Jst(e, qst));
+ var n = e.width, r = e.height, i = e.responsive, a = e.children, o = e.className, s = e.style, c = e.compact, l = e.title, u = e.desc, d = nY(Jst(e, qst));
return c ? /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(NQ, {
width: n,
height: r
@@ -101663,7 +101731,7 @@ var Mct = ["axis", "item"], Nct = Oct(Oct({}, $6), {}, {
//#endregion
//#region src/react/charts/cn.ts
function e8(...e) {
- return sA($v(e));
+ return cA(Qv(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
@@ -103211,7 +103279,7 @@ var Olt = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, C.jsxs)(C.Fr
m8.Bar = clt, m8.XAxis = llt, m8.YAxis = ult, m8.Grid = dlt, m8.Tooltip = flt, m8.Legend = plt, m8.Brush = d8;
//#endregion
//#region src/react/charts/chart-card.tsx
-var h8 = `${pA({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var h8 = `${mA({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function g8({ title: e, children: t }) {
return /* @__PURE__ */ (0, C.jsxs)("section", {
className: h8,
@@ -103649,7 +103717,7 @@ function Qlt({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, C.jsx)(Ck, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, C.jsx)(wk, { "aria-hidden": !0 })
}) : null]
});
}
@@ -103863,15 +103931,15 @@ var mut = [
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
function gut({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
- let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = Kze(t);
+ let [i, a] = (0, S.useState)(-1), [o, s] = (0, S.useState)(-1), c = Gze(t);
if (!c.length) return /* @__PURE__ */ (0, C.jsx)(g8, {
title: e,
children: n
});
- let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = qze(c.map((e) => e.value)), m = c.map((e, t) => ({
+ let l = o >= 0 ? o : i, u = c.reduce((e, t) => e + t.value, 0), d = c[l], f = (e) => a((t) => t === e ? -1 : e), p = Kze(c.map((e) => e.value)), m = c.map((e, t) => ({
slice: C8(t),
value: e.value,
- arc: Jze(e.value, p)
+ arc: qze(e.value, p)
}));
return /* @__PURE__ */ (0, C.jsxs)("section", {
className: h8,
@@ -103882,7 +103950,7 @@ function gut({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, C.jsxs)("h3", {
className: "flex items-center gap-1.5 text-title-2-medium wrap-anywhere text-text-primary",
- children: [d?.mark ? /* @__PURE__ */ (0, C.jsx)(IA, { mark: d.mark }) : null, d ? d.name : e]
+ children: [d?.mark ? /* @__PURE__ */ (0, C.jsx)(LA, { mark: d.mark }) : null, d ? d.name : e]
}), /* @__PURE__ */ (0, C.jsx)("b", {
className: "text-display-4-medium tabular-nums text-text-primary",
children: (d ? d.value : u).toLocaleString()
@@ -103905,7 +103973,7 @@ function gut({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, C.jsx)(A8.RadialBar, {
dataKey: "arc",
- barSize: Yze(c.length),
+ barSize: Jze(c.length),
radialBarProps: {
shape: (e) => /* @__PURE__ */ (0, C.jsx)(s$, {
...e,
@@ -103941,7 +104009,7 @@ function gut({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
className: `mt-0.5 size-3 shrink-0 rounded-sm ${mut[t % 6]}`
}), /* @__PURE__ */ (0, C.jsxs)("span", {
className: "inline-flex min-w-0 items-start gap-1.5 wrap-anywhere",
- children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(IA, { mark: e.mark }) : null, e.name]
+ children: [e.mark ? /* @__PURE__ */ (0, C.jsx)(LA, { mark: e.mark }) : null, e.name]
})]
}),
/* @__PURE__ */ (0, C.jsx)("b", {
@@ -103960,7 +104028,7 @@ function gut({ title: e, rows: t, empty: n, unit: r = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var _ut = 10, j8 = x8[5], vut = x8[4], yut = `${pA()} flex flex-col gap-4`, M8 = "添加媒体目录或关注来源后,这里会显示馆藏统计。", but = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", xut = "开始播放后,这里会显示最近的真实观看证据。", Sut = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", Cut = "添加媒体目录后,这里会显示存储空间。", wut = "把媒体目录归进媒体库后,这里会按库显示视频数。", Tut = "探测时长后,这里会显示时长分布。", Eut = "探测画质后,这里会显示画质分布。", Dut = "开始播放后,这里会显示播放落在一周的哪些时段。", Out = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
+var _ut = 10, j8 = x8[5], vut = x8[4], yut = `${mA()} flex flex-col gap-4`, M8 = "添加媒体目录或关注来源后,这里会显示馆藏统计。", but = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", xut = "开始播放后,这里会显示最近的真实观看证据。", Sut = "补充作品资料或手动添加标签后,这里会显示各个标签来源对应的视频数量。", Cut = "添加媒体目录后,这里会显示存储空间。", wut = "把媒体目录归进媒体库后,这里会按库显示视频数。", Tut = "探测时长后,这里会显示时长分布。", Eut = "探测画质后,这里会显示画质分布。", Dut = "开始播放后,这里会显示播放落在一周的哪些时段。", Out = "开始播放后,这里会显示每个作品播了几次。", N8 = (e, t) => Math.min(Math.max(e, 0), t);
function P8({ term: e, value: t }) {
return /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -103969,7 +104037,7 @@ function P8({ term: e, value: t }) {
children: e
}), /* @__PURE__ */ (0, C.jsx)("b", {
className: "text-title-3-medium tabular-nums text-text-primary",
- children: KJ(t)
+ children: qJ(t)
})]
});
}
@@ -103981,14 +104049,14 @@ function F8({ term: e, value: t, total: n }) {
className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",
children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e }), /* @__PURE__ */ (0, C.jsxs)("b", {
className: "tabular-nums",
- children: [KJ(t), GJ(t) ? /* @__PURE__ */ (0, C.jsx)("span", {
+ children: [qJ(t), KJ(t) ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: qJ(t, n)
+ children: JJ(t, n)
}) : null]
})]
- }), /* @__PURE__ */ (0, C.jsx)(vA, {
- label: `${e}:${KJ(t)} / ${n.toLocaleString()}`,
- value: GJ(t) ? N8(t, r) : 0,
+ }), /* @__PURE__ */ (0, C.jsx)(yA, {
+ label: `${e}:${qJ(t)} / ${n.toLocaleString()}`,
+ value: KJ(t) ? N8(t, r) : 0,
max: r
})]
});
@@ -104053,7 +104121,7 @@ function kut({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: $ze(e.by_length),
+ rows: Qze(e.by_length),
empty: Tut
}),
/* @__PURE__ */ (0, C.jsx)(E8, {
@@ -104061,7 +104129,7 @@ function kut({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: j8,
- rows: ZJ(e.by_quality),
+ rows: QJ(e.by_quality),
empty: Eut
}),
/* @__PURE__ */ (0, C.jsx)(E8, {
@@ -104070,20 +104138,20 @@ function kut({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: j8,
layout: "horizontal",
- rows: Zze(e.by_medium),
+ rows: Xze(e.by_medium),
empty: M8
})
]
})]
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: s_e,
+ icon: o_e,
title: "还没有视频",
actions: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [t ? /* @__PURE__ */ (0, C.jsx)(q, {
size: "small",
onClick: n,
children: "添加媒体目录"
- }) : null, /* @__PURE__ */ (0, C.jsx)(fA, {
+ }) : null, /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
href: "/subscriptions?tab=add",
size: "small",
@@ -104109,7 +104177,7 @@ function Aut({ data: e }) {
unit: "个作品",
series: "作品",
color: vut,
- rows: tBe(e.replays),
+ rows: eBe(e.replays),
empty: Out
})] });
}
@@ -104163,11 +104231,11 @@ function Mut({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [cn(n), /* @__PURE__ */ (0, C.jsx)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: qJ(n, t)
+ children: JJ(n, t)
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, C.jsx)(vA, {
+ t == null ? null : /* @__PURE__ */ (0, C.jsx)(yA, {
label: `${e.label}空间使用率`,
value: N8(n, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -104189,9 +104257,9 @@ function Nut({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col",
children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(Mut, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Nk,
+ icon: Pk,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, C.jsx)(q, {
size: "small",
@@ -104227,11 +104295,11 @@ function Put({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, `${e.k}:${r}`))
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Ik,
+ icon: Lk,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, C.jsx)(fA, {
+ actions: /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -104244,7 +104312,7 @@ function Fut({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = YJ(e);
+ let t = XJ(e);
return /* @__PURE__ */ (0, C.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -104252,7 +104320,7 @@ function Fut({ rows: e }) {
children: [/* @__PURE__ */ (0, C.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, C.jsx)("a", {
- href: Gze(e),
+ href: Wze(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
@@ -104262,25 +104330,25 @@ function Fut({ rows: e }) {
children: [e.creator ? /* @__PURE__ */ (0, C.jsx)("span", {
className: "min-w-0 wrap-anywhere",
children: e.creator
- }) : null, /* @__PURE__ */ (0, C.jsx)("span", { children: Wze(e) })]
+ }) : null, /* @__PURE__ */ (0, C.jsx)("span", { children: Uze(e) })]
})]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, C.jsx)(vA, {
+ children: [/* @__PURE__ */ (0, C.jsx)(yA, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, C.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${XJ(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${ZJ(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Pk,
+ icon: Fk,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, C.jsx)(fA, {
+ actions: /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
href: "/",
size: "small",
@@ -104308,7 +104376,7 @@ function Iut({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, C.jsx)(vA, {
+ /* @__PURE__ */ (0, C.jsx)(yA, {
label: `${e.k} 覆盖视频`,
value: N8(e.assets, Math.max(t, 1)),
max: Math.max(t, 1)
@@ -104319,11 +104387,11 @@ function Iut({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Ik,
+ icon: Lk,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, C.jsx)(fA, {
+ actions: /* @__PURE__ */ (0, C.jsx)(pA, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
@@ -104333,13 +104401,13 @@ function Iut({ sources: e, videos: t }) {
});
}
function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, C.jsx)(hP, {
+ return /* @__PURE__ */ (0, C.jsx)(_P, {
id: e,
- className: qB({
+ className: JB({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, C.jsx)(ZB, {
+ children: /* @__PURE__ */ (0, C.jsx)(QB, {
label: t,
icon: i,
accent: a,
@@ -104350,32 +104418,32 @@ function R8({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
}
function Lut(e) {
let t = pt({
- queryKey: UJ,
- queryFn: ({ signal: e }) => WJ(e)
+ queryKey: WJ,
+ queryFn: ({ signal: e }) => GJ(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
+ if (!n) return /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? V(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 = GJ(n.tag_cov) ? qJ(n.tag_cov, n.attribution.videos) : "未取得", c = `${KJ(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
- return /* @__PURE__ */ (0, C.jsxs)(gA, { 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 = KJ(n.tag_cov) ? JJ(n.tag_cov, n.attribution.videos) : "未取得", c = `${qJ(n.tag_cov)} / ${n.attribution.videos.toLocaleString()}`;
+ return /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
/* @__PURE__ */ (0, C.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `数据库中的当前统计 · ${a.toLocaleString()} 个视频 · ${cn(o)}`
}),
- /* @__PURE__ */ (0, C.jsxs)(pP, {
+ /* @__PURE__ */ (0, C.jsxs)(hP, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, C.jsxs)(mP, {
+ /* @__PURE__ */ (0, C.jsxs)(gP, {
"aria-label": "统计视图",
- className: JB,
+ className: YB,
children: [
/* @__PURE__ */ (0, C.jsx)(R8, {
id: "inventory",
label: "馆藏视频",
- icon: kk,
+ icon: Ak,
accent: 0,
figure: a.toLocaleString(),
detail: cn(o)
@@ -104383,15 +104451,15 @@ function Lut(e) {
/* @__PURE__ */ (0, C.jsx)(R8, {
id: "viewing",
label: "看过",
- icon: Ige,
+ icon: Fge,
accent: 1,
- figure: KJ(r.played),
- detail: JJ(r.play_seconds)
+ figure: qJ(r.played),
+ detail: YJ(r.play_seconds)
}),
/* @__PURE__ */ (0, C.jsx)(R8, {
id: "coverage",
label: "内容标签",
- icon: Ik,
+ icon: Lk,
accent: 2,
figure: s,
detail: c
@@ -104399,27 +104467,27 @@ function Lut(e) {
/* @__PURE__ */ (0, C.jsx)(R8, {
id: "storage",
label: "使用空间",
- icon: Nk,
+ icon: Pk,
accent: 3,
figure: `${i.online.toLocaleString()} 个卷`,
detail: i.measured ? `已用 ${cn(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "inventory",
children: /* @__PURE__ */ (0, C.jsx)(kut, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, C.jsxs)(gP, {
+ /* @__PURE__ */ (0, C.jsxs)(vP, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, C.jsx)(L8, {
headline: /* @__PURE__ */ (0, C.jsx)(I8, {
term: "观看",
- figure: KJ(r.played),
+ figure: qJ(r.played),
unit: "个作品有播放记录"
}),
children: /* @__PURE__ */ (0, C.jsxs)("div", {
@@ -104461,7 +104529,7 @@ function Lut(e) {
})
}), /* @__PURE__ */ (0, C.jsx)(Aut, { data: n })]
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "coverage",
children: /* @__PURE__ */ (0, C.jsx)(L8, {
headline: /* @__PURE__ */ (0, C.jsx)(I8, {
@@ -104472,7 +104540,7 @@ function Lut(e) {
children: /* @__PURE__ */ (0, C.jsx)(jut, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "storage",
children: /* @__PURE__ */ (0, C.jsx)(L8, {
headline: /* @__PURE__ */ (0, C.jsx)(I8, {
@@ -104488,35 +104556,35 @@ function Lut(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(pP, {
+ /* @__PURE__ */ (0, C.jsxs)(hP, {
defaultSelectedKey: "tags",
- className: `${pA({ padding: "none" })} flex flex-col`,
+ className: `${mA({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, C.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, C.jsxs)(JF, {
+ children: /* @__PURE__ */ (0, C.jsxs)(XF, {
"aria-label": "统计维度",
- className: XF,
+ className: QF,
children: [
- /* @__PURE__ */ (0, C.jsx)(hP, {
+ /* @__PURE__ */ (0, C.jsx)(_P, {
id: "tags",
- className: ZF,
+ className: $F,
children: "内容标签"
}),
- /* @__PURE__ */ (0, C.jsx)(hP, {
+ /* @__PURE__ */ (0, C.jsx)(_P, {
id: "recent",
- className: ZF,
+ className: $F,
children: "最近看过"
}),
- /* @__PURE__ */ (0, C.jsx)(hP, {
+ /* @__PURE__ */ (0, C.jsx)(_P, {
id: "sources",
- className: ZF,
+ className: $F,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, C.jsx)(Put, {
@@ -104524,12 +104592,12 @@ function Lut(e) {
...e
})
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, C.jsx)(Fut, { rows: n.recent })
}),
- /* @__PURE__ */ (0, C.jsx)(gP, {
+ /* @__PURE__ */ (0, C.jsx)(vP, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, C.jsx)(Iut, {
@@ -104941,7 +105009,7 @@ function xdt(e) {
}) : q8(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var Sdt = JJ, Cdt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), wdt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+var Sdt = YJ, Cdt = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), wdt = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
function Tdt(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;
@@ -105659,7 +105727,7 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
}
});
return /* @__PURE__ */ (0, C.jsxs)("section", {
- className: `${pA()} flex flex-col gap-4`,
+ className: `${mA()} flex flex-col gap-4`,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
@@ -105689,7 +105757,7 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
});
},
children: [
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "浏览器名称",
value: o,
onChange: s,
@@ -105697,7 +105765,7 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
isRequired: !0,
isDisabled: u.isPending
}),
- /* @__PURE__ */ (0, C.jsx)(TP, {
+ /* @__PURE__ */ (0, C.jsx)(DP, {
label: "资料目录或历史文件",
value: c,
onChange: l,
@@ -105735,7 +105803,7 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: /* @__PURE__ */ (0, C.jsx)(Ok, {
+ children: /* @__PURE__ */ (0, C.jsx)(kk, {
"aria-hidden": !0,
className: "size-4"
})
@@ -105773,7 +105841,7 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
size: "small",
...Y(u.isPending),
iconOnly: !0,
- leadingIcon: e.enabled ? Qge : Fk,
+ leadingIcon: e.enabled ? Zge : Ik,
"aria-label": `${e.enabled ? "停止读取" : "启用"} ${e.name}`,
onClick: () => {
e.enabled ? Rs({
@@ -105793,7 +105861,7 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Ak,
+ leadingIcon: jk,
...Y(u.isPending),
"aria-label": `删除 ${e.name}`,
onClick: () => {
@@ -105818,11 +105886,11 @@ function bft({ browsers: e, sources: t, range: n, children: r }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var xft = 10, Z8 = sA(qP, JP, "text-body-2-medium"), Q8 = `${pA()} flex flex-col gap-4`, Sft = "rounded-xl bg-background-primary-default p-3", Cft = "读取运行 Peach 的这台电脑上的浏览历史与书签", wft = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", Tft = "馆藏中暂时没有与你浏览过的内容相符的标签。", Eft = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", Dft = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", Oft = "采集浏览记录后,这里会列出浏览过的标签。", kft = "采集浏览记录后,这里会列出浏览过的创作者。", Aft = "采集浏览记录后,这里会列出常访问的网站。", jft = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Mft = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Nft = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Pft = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", Fft = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", Ift = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Lft = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Rft = "peach-taste-guide-dismissed";
+var xft = 10, Z8 = cA(YP, XP, "text-body-2-medium"), Q8 = `${mA()} flex flex-col gap-4`, Sft = "rounded-xl bg-background-primary-default p-3", Cft = "读取运行 Peach 的这台电脑上的浏览历史与书签", wft = "导入或读取浏览记录后,这里会列出记录来自哪些设备。", Tft = "馆藏中暂时没有与你浏览过的内容相符的标签。", Eft = "读取浏览记录后,这里会按类别汇总你浏览过的内容。", Dft = "这些标签出现在浏览记录中,Peach 的观看或评价记录中尚未出现这些标签", Oft = "采集浏览记录后,这里会列出浏览过的标签。", kft = "采集浏览记录后,这里会列出浏览过的创作者。", Aft = "采集浏览记录后,这里会列出常访问的网站。", jft = "在 Peach 里播放或评价作品后,这里会列出对应的标签。", Mft = "在 Peach 里播放或评价作品后,这里会列出对应的创作者。", Nft = "在 Peach 里播放或评价作品后,这里会列出对应的女优。", Pft = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器记录」。", Fft = "记录在其他设备上:导出文件后,选择「导入历史文件」或「导入书签文件」。书签支持浏览器导出的 HTML 文件和 Chromium Bookmarks JSON 文件。", Ift = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Lft = "删除这个来源的已导入记录,原始文件保留。若浏览器仍启用,下次读取会再次导入。", Rft = "peach-taste-guide-dismissed";
function $8({ icon: e, term: t, figure: n, detail: r, detailTitle: i, accent: a }) {
return /* @__PURE__ */ (0, C.jsx)("div", {
- className: qB(),
- children: /* @__PURE__ */ (0, C.jsx)(ZB, {
+ className: JB(),
+ children: /* @__PURE__ */ (0, C.jsx)(QB, {
label: t,
icon: e,
accent: a,
@@ -105851,14 +105919,14 @@ function zft({ name: e, domain: t }) {
}
function Bft({ html: e }) {
return /* @__PURE__ */ (0, C.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 ${UU}`,
+ 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 ${WU}`,
dangerouslySetInnerHTML: { __html: e }
});
}
function Vft({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, C.jsx)(mA, {
+ if (!e.length) return /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Rk,
+ icon: zk,
title: "记录还不够",
children: r
});
@@ -105908,7 +105976,7 @@ function Vft({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: Tdt(e)
})]
}),
- o ? /* @__PURE__ */ (0, C.jsx)(Tk, {
+ o ? /* @__PURE__ */ (0, C.jsx)(Ek, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -105929,20 +105997,20 @@ function Vft({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function Hft({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, C.jsxs)(pP, {
- className: `${pA({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, C.jsxs)(hP, {
+ className: `${mA({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, C.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, C.jsx)(JF, {
+ children: /* @__PURE__ */ (0, C.jsx)(XF, {
"aria-label": e,
- className: XF,
- children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(hP, {
+ className: QF,
+ children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(_P, {
id: e.id,
- className: ZF,
+ className: $F,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(gP, {
+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(vP, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
children: /* @__PURE__ */ (0, C.jsx)(Vft, {
@@ -106021,14 +106089,14 @@ function Uft({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular wrap-anywhere text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, C.jsx)(Tk, {
+ }), /* @__PURE__ */ (0, C.jsx)(Ek, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Rk,
+ icon: zk,
title: "还没有可探索的入口",
children: Tft
})
@@ -106044,11 +106112,11 @@ function Wft({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, C.jsx)("div", {
- className: pA({
+ className: mA({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, C.jsxs)(FA, {
+ children: /* @__PURE__ */ (0, C.jsxs)(IA, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
@@ -106117,7 +106185,7 @@ function Gft({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, C.jsx)(q, {
- leadingIcon: Ok,
+ leadingIcon: kk,
title: Cft,
onClick: t,
...Y(e),
@@ -106125,7 +106193,7 @@ function Gft({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
}), /* @__PURE__ */ (0, C.jsx)(q, {
ref: i,
iconOnly: !0,
- leadingIcon: Ck,
+ leadingIcon: wk,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": a,
@@ -106134,14 +106202,14 @@ function Gft({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
e || o(!0);
}
})]
- }), /* @__PURE__ */ (0, C.jsx)(fN, {
+ }), /* @__PURE__ */ (0, C.jsx)(mN, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: KP,
- children: /* @__PURE__ */ (0, C.jsxs)(CF, {
+ className: JP,
+ children: /* @__PURE__ */ (0, C.jsxs)(TF, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [
@@ -106149,7 +106217,7 @@ function Gft({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
type: "button",
className: Z8,
onClick: () => s(t),
- children: [/* @__PURE__ */ (0, C.jsx)(Ok, {
+ children: [/* @__PURE__ */ (0, C.jsx)(kk, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器记录"]
@@ -106158,7 +106226,7 @@ function Gft({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
type: "button",
className: Z8,
onClick: () => s(n),
- children: [/* @__PURE__ */ (0, C.jsx)(a_e, {
+ children: [/* @__PURE__ */ (0, C.jsx)(i_e, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -106167,7 +106235,7 @@ function Gft({ busy: e, onRefresh: t, onImport: n, onImportBookmarks: r }) {
type: "button",
className: Z8,
onClick: () => s(r),
- children: [/* @__PURE__ */ (0, C.jsx)(Tge, {
+ children: [/* @__PURE__ */ (0, C.jsx)(wge, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入书签文件"]
@@ -106199,10 +106267,10 @@ function Kft({ sources: e, browsers: t, window: n, toast: r }) {
children: [
/* @__PURE__ */ (0, C.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, C.jsx)(a_e, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, C.jsx)(i_e, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, C.jsx)(kk, {
+ }) : /* @__PURE__ */ (0, C.jsx)(Ak, {
"aria-hidden": !0,
className: "size-4"
})
@@ -106223,7 +106291,7 @@ function Kft({ sources: e, browsers: t, window: n, toast: r }) {
"aria-label": `移除 ${e.profile}`,
className: "shrink-0",
iconOnly: !0,
- leadingIcon: Ak,
+ leadingIcon: jk,
...Y(i.isPending),
onClick: () => {
i.isPending || Rs({
@@ -106235,9 +106303,9 @@ function Kft({ sources: e, browsers: t, window: n, toast: r }) {
}
})
]
- }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }, e.source_key)) }) : t.length ? null : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: kk,
+ icon: Ak,
title: "还没有数据源",
children: wft
})]
@@ -106248,7 +106316,7 @@ function qft(e) {
queryKey: K8(a),
queryFn: ({ signal: e }) => mdt(a, e),
placeholderData: de
- }), { job: f, running: p, outcome: m, start: h } = fV({
+ }), { job: f, running: p, outcome: m, start: h } = pV({
queryKey: ddt,
queryFn: ({ signal: e }) => hdt(e),
start: () => _dt(a),
@@ -106267,42 +106335,42 @@ function qft(e) {
}, v = () => {
p || h.isPending || (h.reset(), h.mutate());
}, y = d.data;
- if (!y) return /* @__PURE__ */ (0, C.jsx)(gA, { children: /* @__PURE__ */ (0, C.jsx)(J, {
+ if (!y) return /* @__PURE__ */ (0, C.jsx)(_A, { children: /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
title: "口味分析读取失败",
children: d.error ? V(d.error) : "读取口味分析失败"
}) });
let b = y.summary || {}, x = y.coverage || {}, w = y.rankings || {}, T = y.storage || {}, E = Cdt(w.browser_categories || []), D = Odt(E).length > 0, O = y.gaps || [], k = x.tagged || 0, A = x.identified || 0, j = h.error ? V(h.error) : g.error ? V(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, C.jsxs)(gA, { children: [
- /* @__PURE__ */ (0, C.jsxs)(pP, {
+ return /* @__PURE__ */ (0, C.jsxs)(_A, { children: [
+ /* @__PURE__ */ (0, C.jsxs)(hP, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, C.jsxs)(JF, {
+ children: [/* @__PURE__ */ (0, C.jsxs)(XF, {
"aria-label": "口味分析的数据来源",
- className: XF,
- children: [/* @__PURE__ */ (0, C.jsx)(hP, {
+ className: QF,
+ children: [/* @__PURE__ */ (0, C.jsx)(_P, {
id: "browser",
- className: ZF,
+ className: $F,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, C.jsx)(hP, {
+ }), /* @__PURE__ */ (0, C.jsx)(_P, {
id: "peach",
- className: ZF,
+ className: $F,
children: "Peach 观看与评价"
})]
}), /* @__PURE__ */ (0, C.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, C.jsx)(UF, {
+ /* @__PURE__ */ (0, C.jsx)(GF, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: fdt.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(WF, {
+ children: fdt.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(KF, {
id: e,
children: t
}, e))
@@ -106341,12 +106409,12 @@ function qft(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- p ? /* @__PURE__ */ (0, C.jsx)(jF, {
+ p ? /* @__PURE__ */ (0, C.jsx)(NF, {
label: f?.message || "正在读取浏览记录并更新口味分析",
value: f?.checked,
total: f?.total
}) : null,
- g.isPending ? /* @__PURE__ */ (0, C.jsx)(jF, { label: "正在导入口味数据" }) : null,
+ g.isPending ? /* @__PURE__ */ (0, C.jsx)(NF, { label: "正在导入口味数据" }) : null,
j ? /* @__PURE__ */ (0, C.jsx)(J, {
tone: "error",
children: j
@@ -106357,16 +106425,16 @@ function qft(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, C.jsxs)(gP, {
+ /* @__PURE__ */ (0, C.jsxs)(vP, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: JB,
+ className: YB,
children: [
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 0,
- icon: Pk,
+ icon: Fk,
term: "浏览记录",
figure: Number(b.history_visits || 0).toLocaleString(),
detail: xdt(b),
@@ -106374,20 +106442,20 @@ function qft(e) {
}),
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 1,
- icon: Ik,
+ icon: Lk,
term: "口味维度",
figure: E.length.toLocaleString(),
detail: E[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 2,
- icon: Rk,
+ icon: zk,
term: "浏览线索",
figure: O.length.toLocaleString()
}),
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 3,
- icon: Tge,
+ icon: wge,
term: "浏览器书签",
figure: Number(b.bookmarks || 0).toLocaleString(),
detail: `${Number(T.exports || 0).toLocaleString()} 份私有导出 · ${cn(T.bytes || 0)}`
@@ -106418,9 +106486,9 @@ function qft(e) {
children: E.length ? /* @__PURE__ */ (0, C.jsx)(_ft, {
rows: E,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, C.jsx)(mA, {
+ }) : /* @__PURE__ */ (0, C.jsx)(hA, {
shell: "plain",
- icon: Rk,
+ icon: zk,
title: "暂无口味维度",
children: Eft
})
@@ -106497,35 +106565,35 @@ function qft(e) {
})
]
}),
- /* @__PURE__ */ (0, C.jsxs)(gP, {
+ /* @__PURE__ */ (0, C.jsxs)(vP, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, C.jsxs)("div", {
- className: JB,
+ className: YB,
children: [
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 0,
- icon: Ige,
+ icon: Fge,
term: "Peach 看过",
figure: Number(b.peach_items || 0).toLocaleString(),
detail: Sdt(b.peach_seconds || 0)
}),
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 1,
- icon: i_e,
+ icon: r_e,
term: "喜欢",
figure: Number(b.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 2,
- icon: r_e,
+ icon: n_e,
term: "不合口味",
figure: Number(b.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, C.jsx)($8, {
accent: 3,
- icon: Ik,
+ icon: Lk,
term: "有标签",
figure: k.toLocaleString()
})
@@ -106629,7 +106697,7 @@ function Jft({ term: e, value: t, rest: n }) {
children: `${n.toLocaleString()} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, C.jsx)(vA, {
+ }), /* @__PURE__ */ (0, C.jsx)(yA, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -106733,7 +106801,7 @@ function ipt({ kind: e, q: t, scope: n, view: r, category: i }, a) {
</div>
${e === "tags" ? t5(Qft, n, "词表") : e === "performers" || e === "creators" ? t5($ft, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t5(Zft, e, "公司类型") : ""}
${e === "tags" ? rpt(r) : ""}
- ${e === "performers" && n !== "online" ? Pke(i) : ""}
+ ${e === "performers" && n !== "online" ? Nke(i) : ""}
${Ko({
kind: e,
layout: a,
@@ -106818,13 +106886,13 @@ function upt(e) {
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
function dpt({ epoch: e }) {
- let t = (0, S.useContext)(VF), n = jO(), r = n.pathname.split("/").filter(Boolean)[0];
+ let t = (0, S.useContext)(UF), n = jO(), r = n.pathname.split("/").filter(Boolean)[0];
return r5(e, (e, i) => {
t && lpt(t, r, n.search, i);
}, { shown: () => upt(`/${r}`) }), null;
}
function fpt() {
- let e = BF(), t = (0, S.useSyncExternalStore)(hl, cpt), n = (0, S.useRef)(t);
+ let e = HF(), t = (0, S.useSyncExternalStore)(hl, cpt), n = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
n.current !== t && (n.current = t, window.location.pathname === "/tags" && ck(n5(), { selectMode: t }));
}, [t]), /* @__PURE__ */ (0, C.jsx)(dpt, { epoch: e }, e);
@@ -106895,7 +106963,7 @@ async function _pt(e, t, n, r, i, a, o) {
}));
}
function vpt({ target: e }) {
- let t = (0, S.useContext)(VF), n = BF(), r = jO();
+ let t = (0, S.useContext)(UF), n = HF(), r = jO();
return r5(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
@@ -107020,8 +107088,8 @@ function Tpt(e, t) {
}
let { pathname: o, search: s } = _k.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = sW(s);
- o5 = !0, vk(cW(e, t), { replace: !0 });
+ let { kind: e, view: t } = cW(s);
+ o5 = !0, vk(lW(e, t), { replace: !0 });
return;
}
let c = o5;
@@ -107034,7 +107102,7 @@ function Ept(e) {
return Ut(e) || e === "/trash" || UO(e) || e === "/immerse" || !!ppt(e);
}
function Dpt() {
- let e = (0, S.useContext)(VF), t = BF(), n = (0, S.useSyncExternalStore)(hl, bpt), r = jO(), i = (0, S.useRef)(null), a = (0, S.useRef)({
+ let e = (0, S.useContext)(UF), t = HF(), n = (0, S.useSyncExternalStore)(hl, bpt), r = jO(), i = (0, S.useRef)(null), a = (0, S.useRef)({
mounted: !0,
queued: !1
});
@@ -107073,15 +107141,15 @@ function Opt() {
});
};
}, [e]);
- let n = (0, S.useContext)(VF), r = document.getElementById("javLibraryHeader"), i = Ut(e) && new URLSearchParams(t).get("jav") === "1";
+ let n = (0, S.useContext)(UF), r = document.getElementById("javLibraryHeader"), i = Ut(e) && new URLSearchParams(t).get("jav") === "1";
return (0, S.useLayoutEffect)(() => {
if (r) return r.hidden = !i, () => {
r.hidden = !0;
};
}, [r, i]), UO(e) && !age(e) ? null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [
/* @__PURE__ */ (0, C.jsx)(Dpt, {}, e === "/junk-files" ? "/junk-files" : "/"),
- Ut(e) ? /* @__PURE__ */ (0, C.jsx)(eCe, {}) : null,
- i && r && n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(tPe, {
+ Ut(e) ? /* @__PURE__ */ (0, C.jsx)($Se, {}) : null,
+ i && r && n ? (0, gt.createPortal)(/* @__PURE__ */ (0, C.jsx)(ePe, {
navigate: n.navigate,
receipt: (e) => n.receipt(e)
}), r) : null
@@ -107100,7 +107168,7 @@ async function jpt(e, t) {
let n = s5(), r = e.follow;
if (!n || !r || r.refresh()) return;
let i = ll;
- e.surfaceChanged("follow", "/follow"), dq(n, r.skeleton()), await sk("/follow", r.props(), {
+ e.surfaceChanged("follow", "/follow"), fq(n, r.skeleton()), await sk("/follow", r.props(), {
container: n,
isCurrent: t,
place: Apt
@@ -107117,8 +107185,8 @@ function Mpt() {
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
function Npt() {
- let e = (0, S.useContext)(VF);
- return r5(BF(), (t, n) => {
+ let e = (0, S.useContext)(UF);
+ return r5(HF(), (t, n) => {
e && jpt(e, n);
}, {
shown: Mpt,
@@ -107133,7 +107201,7 @@ function Ppt(e) {
}
async function Fpt(e, t) {
let n = s5();
- n && (e.surfaceChanged("playlists", "/playlists"), dq(n, lq("/playlists", {
+ n && (e.surfaceChanged("playlists", "/playlists"), fq(n, uq("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -107146,13 +107214,13 @@ async function Fpt(e, t) {
}));
}
function Ipt() {
- let e = (0, S.useContext)(VF), t = (0, S.useSyncExternalStore)(hl, kpt), n = (0, S.useRef)(t);
+ let e = (0, S.useContext)(UF), t = (0, S.useSyncExternalStore)(hl, kpt), n = (0, S.useRef)(t);
return (0, S.useEffect)(() => {
if (n.current === t) return;
n.current = t;
let e = s5();
Ppt(e) && ck(e, { revision: t });
- }, [t]), r5(BF(), (t, n) => {
+ }, [t]), r5(HF(), (t, n) => {
e && Fpt(e, n);
}, { shown: () => {
let e = s5();
@@ -107166,13 +107234,13 @@ function Lpt() {
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
function Rpt() {
- let e = (0, S.useContext)(VF);
- return RF(() => {
+ let e = (0, S.useContext)(UF);
+ return BF(() => {
e?.openImmerse(Lpt());
}, !0), null;
}
function zpt() {
- return /* @__PURE__ */ (0, C.jsx)(Rpt, {}, BF());
+ return /* @__PURE__ */ (0, C.jsx)(Rpt, {}, HF());
}
//#endregion
//#region src/react/router/pages/managed.tsx
@@ -107183,7 +107251,7 @@ var Bpt = [
], Vpt = () => il > 0, Hpt = () => (0, S.useSyncExternalStore)(hl, Vpt), c5 = !1, Upt = () => mE().value.followLayout === "table" ? "table" : "default", l5 = () => new URLSearchParams(window.location.search);
function Wpt(e) {
let t = l5();
- return lq(e, {
+ return uq(e, {
followLayout: Upt(),
followSort: t.get("sort") || "",
followDir: t.get("dir") || ""
@@ -107206,7 +107274,7 @@ async function Kpt(e, t) {
if (e === "/jav") {
let e = await u5(t);
return t.live ? {
- tab: hW(l5().get("tab")),
+ tab: gW(l5().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -107223,7 +107291,7 @@ async function Kpt(e, t) {
if (e === "/review") {
let e = l5().get("category") || "", n = await u5(t);
return t.live ? {
- category: Kz(e) ? e : "",
+ category: qz(e) ? e : "",
...Gpt(n, "/review")
} : null;
}
@@ -107259,8 +107327,8 @@ var d5 = () => {
"/subscriptions"
]);
async function Ypt(e, t, n) {
- if (e === "/jav" && hW(l5().get("tab")) === "library") {
- _k.replace(TNe(window.location.search));
+ if (e === "/jav" && gW(l5().get("tab")) === "library") {
+ _k.replace(wNe(window.location.search));
return;
}
if (e === "/subscriptions" && l5().get("tab") === "wants") {
@@ -107292,7 +107360,7 @@ async function Ypt(e, t, n) {
jav: ""
} }), t.clearSearch());
let i = e === "/data-cleanup" && c5;
- i && (c5 = !1), dq(r, Wpt(e));
+ i && (c5 = !1), fq(r, Wpt(e));
let a = await Kpt(e, n);
if (!a) return;
let o = await sk(e, a, {
@@ -107311,7 +107379,7 @@ async function Ypt(e, t, n) {
i && f5("resource-sync");
}
function p5({ path: e }) {
- let t = BF();
+ let t = HF();
jO();
let n = UO(_k.navigation.location.pathname), r = (0, S.useRef)(n ? null : t), i = (0, S.useRef)(n);
!n && (!i.current || r.current === null) && (r.current = t), i.current = n;
@@ -107322,7 +107390,7 @@ function p5({ path: e }) {
}, `${a} ${r.current ?? "covered"}`);
}
function Xpt({ path: e, covered: t }) {
- let n = (0, S.useContext)(VF), r = Hpt(), i = (0, S.useRef)(null);
+ let n = (0, S.useContext)(UF), r = Hpt(), i = (0, S.useRef)(null);
return (0, S.useEffect)(() => {
e.startsWith("/settings/") && ck(document.getElementById("stats"), { section: tge(e) });
}, [e]), (0, S.useEffect)(() => {
@@ -107371,13 +107439,13 @@ function Qpt(e, t, n) {
var m5 = (e) => ({
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: e }),
prefetch: async (t, n) => {
- await Promise.all([gFe(n), ...e === "/settings/diagnostics" ? [eMe(n)] : []]);
+ await Promise.all([hFe(n), ...e === "/settings/diagnostics" ? [$je(n)] : []]);
},
- page: (t, n, r) => /* @__PURE__ */ (0, C.jsx)(BIe, {
+ page: (t, n, r) => /* @__PURE__ */ (0, C.jsx)(zIe, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
section: e === "/settings/diagnostics" ? "系统诊断" : t.section ?? "",
- diagnostics: /* @__PURE__ */ (0, C.jsx)(oMe, {
+ diagnostics: /* @__PURE__ */ (0, C.jsx)(aMe, {
navigate: r,
openItem: n.openItem,
receipt: (e) => n.receipt(e),
@@ -107389,8 +107457,8 @@ var m5 = (e) => ({
}), h5 = {
"/jav": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/jav" }),
- prefetch: (e, t) => ePe(e.tab, t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(aPe, {
+ prefetch: (e, t) => $Ne(e.tab, t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(iPe, {
...e,
navigate: t.navigate,
receipt: (e) => t.receipt(e)
@@ -107398,7 +107466,7 @@ var m5 = (e) => ({
},
"/stats": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/stats" }),
- prefetch: (e, t) => Hze(t),
+ prefetch: (e, t) => Vze(t),
page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(Lut, {
tagLabel: Oc,
onTag: t.openTag,
@@ -107420,8 +107488,8 @@ var m5 = (e) => ({
},
"/review": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/review" }),
- prefetch: (e, t) => FDe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(zPe, {
+ prefetch: (e, t) => PDe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(RPe, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -107432,8 +107500,8 @@ var m5 = (e) => ({
},
"/data-cleanup": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/data-cleanup" }),
- prefetch: (e, t) => yOe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(wke, {
+ prefetch: (e, t) => vOe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, C.jsx)(Cke, {
failure: t.failure,
open: (e) => Qpt(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
@@ -107441,8 +107509,8 @@ var m5 = (e) => ({
},
"/duplicates": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/duplicates" }),
- prefetch: (e, t) => oDe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)($je, {
+ prefetch: (e, t) => aDe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(Qje, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
@@ -107450,19 +107518,19 @@ var m5 = (e) => ({
},
"/quality-goals": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/quality-goals" }),
- prefetch: (e, t) => gDe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(SPe, {
+ prefetch: (e, t) => hDe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(xPe, {
openItem: t.openItem,
- javTitleHtml: Sk,
- javDisplayName: xk,
+ javTitleHtml: Ck,
+ javDisplayName: Sk,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
})
},
"/sources": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/sources" }),
- prefetch: (e, t) => KPe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(oFe, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => GPe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(aFe, { toast: (e) => t.toast(e) })
},
"/settings/library": m5("/settings/library"),
"/settings/subscriptions": m5("/settings/subscriptions"),
@@ -107472,13 +107540,13 @@ var m5 = (e) => ({
"/settings/diagnostics": m5("/settings/diagnostics"),
"/tasks": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/tasks" }),
- prefetch: (e, t) => Ive(t),
- page: () => /* @__PURE__ */ (0, C.jsx)(sye, {})
+ prefetch: (e, t) => Fve(t),
+ page: () => /* @__PURE__ */ (0, C.jsx)(oye, {})
},
"/subscriptions": {
element: /* @__PURE__ */ (0, C.jsx)(p5, { path: "/subscriptions" }),
prefetch: (e, t) => zr(t, e.tab),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(HMe, {
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(VMe, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -107490,8 +107558,8 @@ var m5 = (e) => ({
}, g5 = (e) => Object.hasOwn(h5, e), $pt = { "/resource-sync": { element: /* @__PURE__ */ (0, C.jsx)(Zpt, {}) } }, emt = { "/immerse": { element: /* @__PURE__ */ (0, C.jsx)(zpt, {}) } }, _5 = {
"/playlists": {
element: /* @__PURE__ */ (0, C.jsx)(Ipt, {}),
- prefetch: (e, t) => cPe(t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(bPe, {
+ prefetch: (e, t) => sPe(t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(yPe, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -107502,12 +107570,12 @@ var m5 = (e) => ({
"/follow": {
element: /* @__PURE__ */ (0, C.jsx)(Npt, {}),
prefetch: (e, t) => si(e, t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(EAe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(TAe, { ...e })
}
}, tmt = (e) => Object.hasOwn(_5, e), v5 = {
element: /* @__PURE__ */ (0, C.jsx)(fpt, {}),
- prefetch: (e, t) => Gke(e, t),
- page: (e, t) => /* @__PURE__ */ (0, C.jsx)(iNe, {
+ prefetch: (e, t) => Wke(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, C.jsx)(rNe, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -107528,8 +107596,8 @@ var m5 = (e) => ({
"/tags": v5
}, b5 = {
element: /* @__PURE__ */ (0, C.jsx)(ypt, {}),
- prefetch: (e) => Nke(e),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(Uje, { ...e })
+ prefetch: (e) => Mke(e),
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(Hje, { ...e })
}, x5 = {
"/performers/*": b5,
"/studios/*": b5,
@@ -107541,29 +107609,29 @@ var m5 = (e) => ({
"/": {
element: /* @__PURE__ */ (0, C.jsx)(Opt, {}),
prefetch: (e, t) => yfe(e, t),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(wz, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(Tz, { ...e })
},
"/junk-files": {
element: /* @__PURE__ */ (0, C.jsx)(Opt, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, C.jsx)(yNe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(vNe, { ...e })
}
-}, nmt = (e) => Object.hasOwn(S5, e), rmt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(ASe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(uV, { ...e }), imt = {
+}, nmt = (e) => Object.hasOwn(S5, e), rmt = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(kSe, { ...e }) : /* @__PURE__ */ (0, C.jsx)(dV, { ...e }), imt = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, C.jsx)(vCe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(_Ce, { ...e })
},
"feed-new": {
- prefetch: (e) => kke(e),
- page: (e) => /* @__PURE__ */ (0, C.jsx)(sMe, { ...e })
+ prefetch: (e) => Oke(e),
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(oMe, { ...e })
},
"library-processing": {
- prefetch: (e, t) => gF(t),
+ prefetch: (e, t) => vF(t),
page: (e) => /* @__PURE__ */ (0, C.jsx)(rmt, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, C.jsx)(dFe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, C.jsx)(uFe, { ...e })
}
}, amt = (e) => Object.hasOwn(imt, e), omt = {
"batch-dock": {
@@ -107584,15 +107652,15 @@ var m5 = (e) => ({
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, C.jsx)(oLe, {})
+ page: () => /* @__PURE__ */ (0, C.jsx)(aLe, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, C.jsx)(bLe, {})
+ page: () => /* @__PURE__ */ (0, C.jsx)(yLe, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, C.jsx)(Bze, {})
+ page: () => /* @__PURE__ */ (0, C.jsx)(zze, {})
}
}, smt = (e) => Object.hasOwn(omt, e), cmt = [
"/",
@@ -107638,7 +107706,7 @@ var gmt = (e, t) => {
C5 = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, C.jsxs)(nF, { children: [/* @__PURE__ */ (0, C.jsx)(uF, {
+ }, n.render(/* @__PURE__ */ (0, C.jsxs)(iF, { children: [/* @__PURE__ */ (0, C.jsx)(fF, {
id: "receipts",
position: "bottom-right",
closeButton: !0,
@@ -107662,7 +107730,7 @@ var gmt = (e, t) => {
success: pmt(t.success, !0),
error: pmt(t.error, !1)
}
- }), /* @__PURE__ */ (0, C.jsx)(uF, {
+ }), /* @__PURE__ */ (0, C.jsx)(fF, {
id: "processing",
position: "bottom-right",
gap: 8,
@@ -107685,7 +107753,7 @@ var gmt = (e, t) => {
})] }));
}, _mt = 6e3, vmt = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? aF.error : aF.success, r = t.action;
+ let n = t.alert ? sF.error : sF.success, r = t.action;
n(/* @__PURE__ */ (0, C.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
@@ -107723,7 +107791,7 @@ function xmt() {
var k5 = null, A5 = null;
function j5(e) {
return k5 ??= (async () => {
- let t = zze(e), n = document.createElement("div");
+ let t = Rze(e), n = document.createElement("div");
return n.dataset.stageHost = "", await O5("stage", n, (e) => (document.body.append(e), e)), A5 = t, t;
})(), k5;
}
@@ -107737,14 +107805,14 @@ function Smt(e) {
var F5 = () => P5, I5 = null, L5 = null;
function Cmt(e) {
return I5 ??= (async () => {
- let t = aLe(e), n = document.createElement("div");
+ let t = iLe(e), n = document.createElement("div");
return n.dataset.settingsHost = "", await O5("settings-panel", n, (e) => (document.body.append(e), e)), L5 = t, t;
})(), I5;
}
var wmt = () => L5, R5 = null, z5 = null;
function Tmt(e) {
return R5 ??= (async () => {
- let t = yLe(e);
+ let t = vLe(e);
return await O5("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), z5 = t, t;
})(), R5;
}
@@ -108312,10 +108380,10 @@ function lht(e) {
}
//#endregion
//#region src/react/entity-page/entity-route.ts
-var Q5 = () => Object.fromEntries(FV.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+var Q5 = () => Object.fromEntries(IV.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
function uht(e, t) {
let n = new URLSearchParams(e), r = Q5();
- for (let e of FV) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+ for (let e of IV) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
...aE(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
@@ -108323,7 +108391,7 @@ function uht(e, t) {
}
function dht(e) {
let t = new URLSearchParams();
- for (let n of FV) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== nE(e.sort || "")) && t.set(n, e[n]);
+ for (let n of IV) e[n] && (n !== "sort" || e[n] !== "new") && (n !== "dir" || e[n] !== nE(e.sort || "")) && t.set(n, e[n]);
return t.toString();
}
function fht(e) {
@@ -108552,7 +108620,7 @@ function Cht(e) {
return e.has_cover ? ba(e, "big") : e.cover_url ? ba(e, "big").replace(/ src="[^"]*"/, ` src="${B(e.cover_url)}" referrerpolicy="no-referrer" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"无封面\" data-drop-class=\"nopic\"") : e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${jo("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>";
}
function wht(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = Cht(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? Sk({
+ let t = [e.performers && `<span class="feednewperformers" title="${B(e.performers)}">${B(e.performers)}</span>`, e.release_date && `<span>${B(e.release_date)}</span>`].filter(Boolean).join(""), n = Cht(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? Ck({
is_jav: !0,
code: e.code,
name: e.code,
@@ -108653,7 +108721,7 @@ function Fht(e, t, n, r = "") {
//#endregion
//#region src/filter-controls-skeleton.ts
function Iht(e, t) {
- let n = "disabled data-skeleton-action", r = t ? `<span data-entity-layout="" class="${QF}" role="radiogroup" aria-label="${B(t.label)}">${t.options.map(([e, r, i]) => `<button type="button" class="${$F}" role="radio" aria-label="${B(r)}" aria-checked="${e === t.value}" data-glass-segment=""${e === t.value ? " data-selected=\"\"" : ""} ${n}>${z(i)}</button>`).join("")}</span>` : "";
+ let n = "disabled data-skeleton-action", r = t ? `<span data-entity-layout="" class="${eI}" role="radiogroup" aria-label="${B(t.label)}">${t.options.map(([e, r, i]) => `<button type="button" class="${tI}" role="radio" aria-label="${B(r)}" aria-checked="${e === t.value}" data-glass-segment=""${e === t.value ? " data-selected=\"\"" : ""} ${n}>${z(i)}</button>`).join("")}</span>` : "";
return `<span data-entity-sorts=""><button type="button" data-entity-batch="" aria-label="换一批" ${n}>${z("shuffle")}</button>${r}${e.map((e) => `<button type="button" data-entity-sort="${B(e.key)}" aria-pressed="${e.pressed}" ${n}>${B(e.label)}${e.dir ? z(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
//#endregion
@@ -108846,7 +108914,7 @@ function Kht(e, t) {
} : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" disabled data-skeleton-action>${z("play")}</button><button type="button" data-media-view="photos" aria-label="照片" disabled data-skeleton-action>${z("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${Z.catalogViews().map((e) => `<button type="button" data-entity-state="${B(e.k)}" aria-pressed="${G.state === e.k}" disabled data-skeleton-action>${B(e.label)}</button>`).join("")}</div>`, a = Fht(e, r, e === "agency" ? Ko({
kind: "performers",
layout: b7.peopleIndexLayout()
- }) : cq("正在读取作品", {
+ }) : lq("正在读取作品", {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
cardRatio: TE(wE({
@@ -109153,7 +109221,7 @@ function agt(e, t, n, r, i = !1) {
};
}
function ogt(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = Uz(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+ let o = n === "follow", s = Wz(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
...agt(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
@@ -109164,7 +109232,7 @@ function sgt(e, t, n, r) {
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: sW(n).view === "dismissed"
+ junkDismissed: cW(n).view === "dismissed"
};
}
//#endregion
@@ -109532,12 +109600,12 @@ function w7(e = "正在读取作品") {
return;
}
let t = R("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";
- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = hNe(sW(location.search)), $o(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && e9({
+ 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 = mNe(cW(location.search)), $o(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", G && e9({
count: null,
...b_t()
})), R("#loadSentinel").hidden = !0, s9()) return;
let r = R("#grid"), i = u9(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== uq(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== M_t()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : C7.setGridCards(i), $o(R("#grid")));
+ (a?.dataset.skeleton !== dq(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== M_t()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : C7.setGridCards(i), $o(R("#grid")));
}
function T7() {
R("#catalogFilter").style.display = "none", $7();
@@ -109558,7 +109626,7 @@ function Agt() {
else if (/^\/assets\/\d+$/.test(e)) T7();
else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) T7();
else if (e === "/junk-files") w7("正在读取垃圾文件");
- else if (e === "/jav" && hW(new URLSearchParams(location.search).get("tab")) === "library") w7("正在读取馆藏");
+ else if (e === "/jav" && gW(new URLSearchParams(location.search).get("tab")) === "library") w7("正在读取馆藏");
else if ($.managedPagePath(e)) {
T7();
let t = R("#stats");
@@ -109573,7 +109641,7 @@ function Agt() {
} else $.routeMeta(e) ? w7() : (a9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0);
}
function jgt() {
- A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => cq(t, {
+ A9.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => lq(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
@@ -109587,7 +109655,7 @@ function jgt() {
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
${A9.followContentSkeletonHtml(void 0, e)}</div></div>`, R("#loadSentinel").innerHTML = jo("继续载入中…"), C7.setGridCards = (e) => Uo(R("#grid"), () => {
R("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), C7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), C7.managementPlaceholder = (e) => lq(e, {
+ }), C7.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), C7.managementPlaceholder = (e) => uq(e, {
followLayout: vgt(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
@@ -109659,7 +109727,7 @@ var D7 = {
mobileFilterPath: void 0
};
function O7({ manage: e = !0, placeholder: t = "" } = {}) {
- R("#stats").hidden = !1, R("#index").hidden = !0, a9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? F7() : (I7(""), T9()), t && dq(R("#stats"), t);
+ R("#stats").hidden = !1, R("#index").hidden = !0, a9(), R("#count").textContent = "", R("#loadSentinel").hidden = !0, e ? F7() : (I7(""), T9()), t && fq(R("#stats"), t);
}
function k7() {
Z.hideCatalogCombo(), T7(), document.body.classList.remove("entity-open", "index-open");
@@ -109834,7 +109902,7 @@ function L7() {
}
function R7(e = "stats") {
let t = $.routePathOf("section", e);
- t ? $.openRoutePath(t) : (G.orient = "", G.state = "ads", ml(), $.route(cW()), A7(), T9(), t9());
+ t ? $.openRoutePath(t) : (G.orient = "", G.state = "ads", ml(), $.route(lW()), A7(), T9(), t9());
}
function z7() {
let e = decodeURIComponent(location.pathname);
@@ -109961,7 +110029,7 @@ function $gt() {
navCatalog: D7.NAV_CATALOG,
themeOptions: due,
videoLayouts: _E,
- followInitialRanges: tK,
+ followInitialRanges: nK,
videoLayout: () => V7(),
setVideoLayout: Jgt,
censored: m9,
@@ -110522,7 +110590,7 @@ function l9() {
});
}
function u9(e = "正在读取作品") {
- return cq(e, {
+ return lq(e, {
cards: !0,
className: "catalog-skeleton postercard-skeleton",
cardRatio: M_t()
@@ -110603,7 +110671,7 @@ async function F_t(e, t) {
}
function I_t() {
return {
- ...sW(location.search),
+ ...cW(location.search),
helpers: Z.junkQueueHelpers,
actions: Z.junkQueueActions,
batchSize: Q.appSettings.batchSize,
@@ -110612,7 +110680,7 @@ function I_t() {
selected: new Set(Vc),
countRow: R("#count"),
settled: O_t,
- skeletonHtml: () => cq("正在读取垃圾文件", {
+ skeletonHtml: () => lq("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
@@ -110648,14 +110716,14 @@ function R_t() {
...r7.activeFilterState(),
jav: z7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), $.navigatePath(cwe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), $.navigatePath(swe(void 0, t));
}), Z.mixRelatedCache = /* @__PURE__ */ new Map(), Z.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, Z.tagList = (e = G.tag) => String(e || "").split(",").filter(Boolean), Z.tagPressed = (e, t) => Z.tagList(e).includes(String(t)), Z.withTagToggled = (e, t) => {
let n = Z.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, Z.gridHelpers = {
badgeHtml: (e, t) => Q.srcBadge(e, t),
- titleHtml: (e, t) => Sk(e, t),
- displayName: (e, t) => xk(e, t),
+ titleHtml: (e, t) => Ck(e, t),
+ displayName: (e, t) => Sk(e, t),
tagLabel: (e) => Oc(e)
}, Z.gridActions = {
wallPlayer: async (e, t, n) => {
@@ -111115,15 +111183,15 @@ function avt() {
function ovt() {
g9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Q.srcBadge(e, t, n),
- titleHtml: (e) => Sk(e),
- displayName: (e) => xk(e),
+ titleHtml: (e) => Ck(e),
+ displayName: (e) => Sk(e),
javImage: () => Q.appSettings.javImage,
tagLabel: (e) => Oc(e),
isDurationTag: (e) => gn.has(e),
tagCandidates: () => g9.facets && g9.facets.tags || [],
sourceOffline: (e) => Q.sourceOffline(e),
offlineReason: (e) => Q.offlineReason(e),
- relatedSkeletonHtml: () => cq("正在读取推荐", {
+ relatedSkeletonHtml: () => lq("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
@@ -111185,7 +111253,7 @@ function ovt() {
filters: () => G,
seekSeconds: () => Q.appSettings.seekSeconds,
sourceOffline: (e) => Q.sourceOffline(e),
- displayName: (e) => xk(e),
+ displayName: (e) => Sk(e),
route: (e) => $.route("/immerse?id=" + e, !0),
closed: () => Y7(),
openItem: (e) => void y9(e),
@@ -111704,7 +111772,7 @@ function Cvt() {
//#region src/application/lifecycle.js
var R9 = { overlayScan: void 0 };
function wvt() {
- tAe(), Ds(document), Aa(document.documentElement, { variant: "page" }), Aa(R("#drawerScroll")), R9.overlayScan = 0, K5.mutation(() => {
+ eAe(), Ds(document), Aa(document.documentElement, { variant: "page" }), Aa(R("#drawerScroll")), R9.overlayScan = 0, K5.mutation(() => {
R9.overlayScan ||= K5.delay(() => {
R9.overlayScan = 0, ws();
});
@@ -111747,9 +111815,9 @@ async function Tvt(e) {
let t = gi(e);
for (let n of ["videos", "images"]) {
if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;
- let r = _i(e, n), i = l.sources.find((e) => e.id === r.source_id), a = lI(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
+ let r = _i(e, n), i = l.sources.find((e) => e.id === r.source_id), a = dI(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;
(n === "images" ? c : s).push({
- value: aI(r),
+ value: sI(r),
id: r.id,
who: a.author,
href: `/posts/${r.id}`,
@@ -111765,7 +111833,7 @@ async function Tvt(e) {
let u = (t[4]?.items || []).map((e) => ({
value: e.k,
href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
- avatarHtml: cI(l.sources.filter((t) => t.author_key === e.key), e.k),
+ avatarHtml: uI(l.sources.filter((t) => t.author_key === e.key), e.k),
subtitle: "关注中的作者"
})), d = /* @__PURE__ */ new Map();
for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {
@@ -112547,9 +112615,9 @@ function Yvt() {
}
function Xvt() {
let e = pt({
- queryKey: RA,
- queryFn: ({ signal: e }) => VA(e),
- refetchInterval: (e) => BA(e.state.data)
+ queryKey: zA,
+ queryFn: ({ signal: e }) => HA(e),
+ refetchInterval: (e) => VA(e.state.data)
}), t = (0, S.useRef)(void 0), [n] = (0, S.useState)(Yvt), r = e.data?.result_versions;
return (0, S.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
@@ -112585,7 +112653,7 @@ function $vt() {
return () => {
r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Zvt(n)));
};
- }, []), /* @__PURE__ */ (0, C.jsx)(KSe, {
+ }, []), /* @__PURE__ */ (0, C.jsx)(GSe, {
actions: e,
processing: !0,
background: e ? /* @__PURE__ */ (0, C.jsx)(Xvt, {}) : null
@@ -112595,7 +112663,7 @@ var $9 = /* @__PURE__ */ new WeakMap();
function eyt(e) {
let t = $9.get(e);
if (t) return t;
- let n = (0, _t.createRoot)(e, qSe);
+ let n = (0, _t.createRoot)(e, KSe);
$9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {