Skip to content

armgit / peach

Public Imported from GitHub
0

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

feat(diagnostics): 提供系统诊断页与库健康清单

longmeidao0e75acc729ec
diff --git a/README.en.md b/README.en.md
index aeb72b656..a6d328f29 100644
--- a/README.en.md
+++ b/README.en.md
@@ -101,7 +101,7 @@ On macOS, replace the last two lines with `uv sync --locked --python 3.14 --extr
LAN access, access passwords, updates and uninstalling are covered in [Operations](docs/OPERATIONS.md).
-Run `peach doctor` to inspect local configuration, the ledger, tools and media mounts. `--json` returns a redacted report; see [Local diagnostics](docs/OPERATIONS.md#本机诊断) for status and actions.
+Open System diagnostics under Configuration → Updates and maintenance to view library health lists, source parsing and cooldowns. `peach doctor` provides the same report; `--json` returns redacted JSON. See [Local diagnostics](docs/OPERATIONS.md#本机诊断) for status and actions.
## FAQ
diff --git a/README.md b/README.md
index f804c50c4..8621d5ee8 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,7 @@ macOS 把后两条换成 `uv sync --locked --python 3.14 --extra macos` 和 `./.
局域网访问、访问密码、更新和卸载见 [运行与配置](docs/OPERATIONS.md)。
-运行 `peach doctor` 可逐项诊断本机配置、账本、工具与挂载;`--json` 输出脱敏报告。状态与处理方式见 [本机诊断](docs/OPERATIONS.md#本机诊断)。
+在配置页「更新与维护」打开系统诊断,可查看库健康清单、来源解析与冷却状态。运行 `peach doctor` 可取得同一份报告;`--json` 输出脱敏 JSON。状态与处理方式见 [本机诊断](docs/OPERATIONS.md#本机诊断)。
## 常见问题
diff --git a/docs/OPERATIONS.md b/docs/OPERATIONS.md
index a581c4d62..af80c9096 100644
--- a/docs/OPERATIONS.md
+++ b/docs/OPERATIONS.md
@@ -157,6 +157,10 @@ Windows 测试包在配置页「更新与维护 → 卸载 Peach」里卸载:
在安装 Peach 的电脑上运行 `peach doctor`,逐项查看版本、配置、账本迁移、工具路径、数据目录写入、媒体挂载、端口和最近一次任务失败。`peach doctor --json` 输出同一份脱敏报告,供本机诊断 API `/api/diagnostics` 使用。
+配置页「更新与维护」可打开 `/diagnostics`。库健康提供识别失败、补资料失败、缺封面、缺时长计数,展开后可打开作品、复制当前清单。每类最多返回 500 条,保留总数;没有番号的作品使用编号。失败来自最近处理任务的问题记录,暂停与未命中记录不计为失败;记录损坏时显示未取得。
+
+minnano-av 与 javdb 使用实际解析并核对身份后落库的记录,显示上次成功时间与冷却截止。一天内有成功证据且未在冷却时显示正常;旧记录保留时间,当前状态为未取得。打开诊断不发起来源抓取。
+
独立包默认诊断配置端口;源码环境有完整 TLS 材料时诊断托盘的 HTTPS 入口(Windows 443、macOS 8443)。直接启动服务时,可用 `--host` 与 `--port` 指定实际监听地址。
`failed` 表示需要处理,命令退出码为 1;`warning` 或 `unknown` 保留具体原因,退出码为 0。诊断只在数据目录创建并清理临时写入探针,不执行迁移或修复。端口正在使用时只报告占用状态,进程归属需另行核对。公开 `/healthz` 只提供状态与原因,完整工具路径只在本机诊断中显示。
diff --git a/docs/PRODUCT_BACKLOG.md b/docs/PRODUCT_BACKLOG.md
index fbd6dc9c1..ff563dd82 100644
--- a/docs/PRODUCT_BACKLOG.md
+++ b/docs/PRODUCT_BACKLOG.md
@@ -25,7 +25,7 @@
| 首次前端导入 | React 导入钩子各有 30 秒上限,普通用例沿用默认超时 | `frontend/test/islands.test.ts` |
| 42、43、64 | 云下载、JavDB 卡片资源、自配 Torznab 搜索、体积和质量筛选及既有来源性质标注已具备;资源搜索正式全量、桌面、手机与 Windows 生产 HTTPS 核验通过,已合入并上线;本地下载、JavBus、真实索引器验收与未来 App 通道仍待补 | `src/peach/resource_search.py`、`src/peach/wants_magnets.py`、活动页资源搜索与来源配置 |
| 46 | 周期挂载快照、故障分类、托盘提示和 NAS 目录过滤已合入,正式全量、桌面、手机与 Windows 生产 HTTPS 核验通过;本地来源目录不存在,115 与 PikPak 可读取;Mac 挂载验收待补 | `src/peach/mount_reachability.py`、`src/peach/platform.py`、API、扫描与托盘回归 |
-| 21、26 | doctor 文本与 JSON、本机诊断 API 和分级健康检查已在 Windows 上线,全量 5953 项及严格 CA 核验通过;统一诊断页与 Mac 验收待补 | `src/peach/diagnostics.py`、`src/peach/health.py`、CLI 与诊断回归 |
+| 21、26 | doctor 与分级健康检查已在 Windows 上线,全量 5953 项及严格 CA 核验通过;统一诊断页、库健康清单和来源证据已实现,页面验收及 Mac 验收待补 | `src/peach/diagnostics.py`、`src/peach/library_diagnostics.py`、诊断页面与回归 |
| 11、20 | CI 已有不检出源码的 wheel 消费冒烟;完整矩阵结果、minimal source 与 artifact-only 验收仍待补齐 | `.github/workflows/test.yml`、`scripts/smoke_wheel.py` |
| 14 | 自动检查与自动下载已实现,默认关闭,安装重启仍由用户确认;macOS 包、签名与局域网配对仍待做 | `src/peach/automatic_updates.py`、配置 API、`maintenance-settings.tsx`、对应后端与前端测试 |
| 操作 1 | 当前实验未复现:备份前、备份内、备份后均为 6164 行,集合摘要一致、逐行差异 0、备份完整性 ok;历史原因未取得 | `attic/evidence/20261002-tag-backup-audit/report-20261002T092121Z.json` 与同目录差异 CSV |
diff --git a/docs/REUSE.md b/docs/REUSE.md
index 6455b4306..5f4f71e2a 100644
--- a/docs/REUSE.md
+++ b/docs/REUSE.md
@@ -6,6 +6,8 @@
已核对 sakuramedia `a10fcef8`(GPL-3.0)的诊断字段与提示组织,仅作产品参考,不复制源码。OpenAver `8cc17e50`(MIT)的 HTTP 健康探针不足以表达分项状态。[fastapi-health 0.4.0](https://pypi.org/project/fastapi-health/)(MIT)在本机 Python 3.14.7 的离线试验中将状态字典视为真值;CLI、分级规则和脱敏仍需本项目处理,因此未引入。
+诊断页复用同一报告、TanStack Query、BoardUI 设置组合件及覆盖式滚动条。库健康参照 javm `dd0e6b62`(MIT)的计数→清单入口,采用 Peach 的资产、封面键与处理日志。来源证据复用 `performer_profile_followup` 成功落库来源与 `scraping_access.cooldown_state`,不复用 HTTP 200 作为内容健康。无新增依赖;本机只读试验已核对现有日志与成功记录。
+
## 资源索引器
来源性质由 `follow_providers.ProviderSpec.nature`、`scraping_access.describe` 与索引器配置投影给页面,分别标账号、公开页面、归档站与自配索引器,不参与身份可信度、优先级或启用状态判定。新增客户端仿真来源须在自己的登记处声明性质。
diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.ts
index a7e40925a..042f6f3ba 100644
--- a/frontend/e2e/smoke.test.ts
+++ b/frontend/e2e/smoke.test.ts
@@ -119,6 +119,7 @@ const ROUTES: readonly Route[] = [
// 名字对不上任何一家时要换成空态;骨架一直留着,读起来就是还在取。
{ path: '/agencies/不存在的事务所', body: (page) => [heading(page, '#index', '找不到这个事务所')] },
{ path: '/configuration', body: configurationBody },
+ { path: '/diagnostics', body: page => [heading(page, '#main', '系统诊断'), page.locator('#stats section[aria-label="库健康"]')] },
{ path: '/activity', body: (page) => [heading(page, '#main', '活动'), heading(page, '#stats', '还没有任务记录')] },
{
path: `/item/${requiredEnv('PEACH_E2E_ITEM')}`,
diff --git a/frontend/src/diagnostics-route.ts b/frontend/src/diagnostics-route.ts
new file mode 100644
index 000000000..9c826cc66
--- /dev/null
+++ b/frontend/src/diagnostics-route.ts
@@ -0,0 +1,6 @@
+/** 系统诊断的路由登记;打开宿主的能力由壳提供。 */
+export function registerDiagnosticsRoute(open: (push: boolean) => Promise<void>): void {
+ const host = window as unknown as { peachRegisterRoute(spec: object): void };
+ host.peachRegisterRoute({ match: '/diagnostics', section: 'configuration', title: '系统诊断', refresh: 'reopen',
+ open: (_params: object, push: boolean) => open(push) });
+}
diff --git a/frontend/src/islands.ts b/frontend/src/islands.ts
index 0269f4382..aa02ce920 100644
--- a/frontend/src/islands.ts
+++ b/frontend/src/islands.ts
@@ -18,6 +18,7 @@ export {
export * from './appearance';
export * from './query';
export * from './history';
+export { registerDiagnosticsRoute } from './diagnostics-route';
export { initBoardControls, syncBoardRange } from './board-controls';
export { transitionTheme } from './theme-transition';
export { sidebarSkeletonHtml } from './sidebar-skeleton';
diff --git a/frontend/src/manage-header.ts b/frontend/src/manage-header.ts
index 640546d4f..d57456179 100644
--- a/frontend/src/manage-header.ts
+++ b/frontend/src/manage-header.ts
@@ -62,7 +62,7 @@ export function manageHeaderView(props: ManageHeaderProps): ManageHeaderView | n
if (!entry) return null;
const crumb = MANAGE_CRUMB_PAGES[props.path] ?? '';
return {
- title: (props.section === 'cleanup' && crumb) || entry[1],
+ title: props.path === '/diagnostics' ? '系统诊断' : (props.section === 'cleanup' && crumb) || entry[1],
crumb,
compact: COMPACT_TITLE_PATHS.has(props.path) || props.section === 'configuration',
lede: props.section !== 'trash' ? { kind: 'none' }
diff --git a/frontend/src/react/diagnostics/diagnostics-page.tsx b/frontend/src/react/diagnostics/diagnostics-page.tsx
new file mode 100644
index 000000000..705bbd3f3
--- /dev/null
+++ b/frontend/src/react/diagnostics/diagnostics-page.tsx
@@ -0,0 +1,101 @@
+import { useState } from 'react';
+import { useQuery } from '@tanstack/react-query';
+import { RiFileListLine } from '@remixicon/react';
+import { Button } from '@/components/base/buttons/button';
+import { errorMessage } from '../../api';
+import { EmptyState } from '../components/empty-state';
+import { useOverlayScrollbar } from '../components/overlay-scrollbar';
+import { Note } from '../components/note';
+import { Disclosure, Fact, FactList, Section, Stack } from '../settings/section';
+import { busyProps, useAction } from '../settings/use-action';
+import { DIAGNOSTICS_KEY, fetchDiagnostics, type DiagnosticCheck, type LibraryGroup } from './diagnostics';
+
+const STATUS: Record<string, string> = { ok: '正常', warning: '需检查', failed: '需处理', unknown: '未取得', disabled: '未配置' };
+const SECTIONS = [
+ ['媒体库与挂载', ['media_mounts', 'data_root']],
+ ['数据库与迁移', ['database', 'schema']],
+ ['工具', ['ffmpeg']],
+ ['配置与访问', ['configured', 'security', 'port', 'version']],
+ ['后台任务', ['tasks']],
+] as const;
+const moment = (value: string) => new Date(value).toLocaleString();
+
+export interface DiagnosticsProps {
+ navigate(path: string): void; configure(section: string): void; openItem(id: number): void;
+ receipt(message: string): void;
+}
+
+function Check({ name, check, navigate, configure }: Pick<DiagnosticsProps, 'navigate' | 'configure'> & {
+ name: string; check: DiagnosticCheck;
+}) {
+ const section = name === 'security' ? '网络与访问' : name === 'configured' ? '通用' : '媒体';
+ return <div className="flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0">
+ <div className="flex flex-wrap items-center justify-between gap-2">
+ <h3 className="text-body-medium text-text-primary">{check.label}</h3>
+ <span className="text-body-2-regular text-text-secondary">{STATUS[check.status] ?? '未取得'}</span>
+ </div>
+ <p className="text-body-regular text-text-primary break-words">{check.reason}</p>
+ {check.action ? <p className="text-body-2-regular text-text-secondary">{check.action}</p> : null}
+ {check.target ? <div><Button size="small" variant="secondary" onClick={() => check.target === '/configuration'
+ ? configure(section) : navigate(check.target!)}>{check.target === '/configuration' ? `打开${section}配置` : '查看任务'}</Button></div> : null}
+ </div>;
+}
+
+function HealthList({ group, openItem, receipt }: Pick<DiagnosticsProps, 'openItem' | 'receipt'> & { group: LibraryGroup }) {
+ const action = useAction();
+ const scroll = useOverlayScrollbar<HTMLUListElement>();
+ const list = group.items.map(row => row.code || `作品 #${row.id}`).join('\n');
+ return <Disclosure summary={`${group.label} · ${group.count === null ? '未取得' : `${group.count} 项`}`}>
+ {group.count === null ? <Note tone="neutral">清单未取得,请重新检查。</Note> : !group.items.length
+ ? <EmptyState icon={RiFileListLine} title="清单为空" shell="plain">没有需要处理的作品。</EmptyState>
+ : <Stack>
+ <div className="flex flex-wrap items-center justify-between gap-2">
+ {group.truncated ? <span className="text-body-2-regular text-text-secondary">当前显示 {group.items.length} 项</span> : null}
+ <Button size="small" variant="secondary" {...busyProps(action.busy === 'copy')} onClick={() => void action.run('copy',
+ () => navigator.clipboard.writeText(list), () => receipt('已复制清单'))}>复制当前清单</Button>
+ </div>
+ {action.error ? <Note tone="error">{action.error}</Note> : null}
+ <div className="relative"><ul ref={scroll} className="flex max-h-80 flex-col gap-2 overflow-y-auto">
+ {group.items.map(row => <li key={row.id}><Button size="small" variant="ghost" onClick={() => openItem(row.id)}>{row.code || `作品 #${row.id}`}</Button></li>)}
+ </ul></div>
+ </Stack>}
+ </Disclosure>;
+}
+
+export function DiagnosticsPage(props: DiagnosticsProps) {
+ const query = useQuery({ queryKey: DIAGNOSTICS_KEY, queryFn: ({ signal }) => fetchDiagnostics(signal), staleTime: 10_000 });
+ const action = useAction();
+ const [refreshError, setRefreshError] = useState('');
+ const refresh = () => void action.run('refresh', async () => {
+ const response = await query.refetch();
+ if (response.error) throw response.error;
+ return response.data;
+ }, () => setRefreshError(''), cause => setRefreshError(errorMessage(cause)));
+ const data = query.data;
+ if (!data) return <div className="configpage"><Note tone="error" title="诊断读取失败"
+ action={<Button variant="secondary" onClick={refresh} {...busyProps(action.busy === 'refresh')}>重新检查</Button>}>
+ {query.error ? errorMessage(query.error) : '诊断报告未取得。'}
+ </Note></div>;
+ return <div className="configpage flex flex-col gap-6">
+ <div className="flex justify-end"><Button variant="secondary" onClick={refresh} {...busyProps(action.busy === 'refresh')}>重新检查</Button></div>
+ {refreshError ? <Note tone="error">{refreshError}</Note> : null}
+ <Section title="库健康"><Stack>
+ {data.library.issue_at ? <p className="text-body-2-regular text-text-secondary">处理记录 · {moment(data.library.issue_at)}</p> : null}
+ {Object.entries(data.library.groups).map(([key, group]) => <HealthList key={key} group={group} {...props} />)}
+ </Stack></Section>
+ {SECTIONS.map(([title, keys]) => <Section key={title} title={title}>
+ {keys.map(key => data.checks[key] ? <Check key={key} name={key} check={data.checks[key]!} {...props} /> : null)}
+ </Section>)}
+ <Section title="来源会话"><Stack>
+ {data.sources.map(source => <div key={source.source} className="flex flex-col gap-2">
+ <h3 className="text-body-medium text-text-primary">{source.label} · {STATUS[source.status]}</h3>
+ <p className="text-body-regular text-text-primary">{source.reason}</p>
+ <FactList>
+ <Fact term="上次解析成功">{source.last_success_at ? moment(source.last_success_at) : '未取得'}</Fact>
+ <Fact term="冷却截止">{source.cooldown_until ? moment(source.cooldown_until) : '未在冷却'}</Fact>
+ </FactList>
+ </div>)}
+ <div><Button size="small" variant="secondary" onClick={() => props.navigate('/scraping')}>打开来源和凭证</Button></div>
+ </Stack></Section>
+ </div>;
+}
diff --git a/frontend/src/react/diagnostics/diagnostics.ts b/frontend/src/react/diagnostics/diagnostics.ts
new file mode 100644
index 000000000..2a7ee115c
--- /dev/null
+++ b/frontend/src/react/diagnostics/diagnostics.ts
@@ -0,0 +1,22 @@
+import { apiGet } from '../../api';
+import { queryClient } from '../query';
+
+export interface DiagnosticCheck {
+ label: string; status: string; reason: string; action: string; target: string | null;
+ details: Record<string, unknown>;
+}
+export interface LibraryGroup {
+ label: string; status: string; count: number | null; items: Array<{ id: number; code: string | null }>;
+ truncated: boolean;
+}
+export interface DiagnosticReport {
+ version: string; status: string; checks: Record<string, DiagnosticCheck>;
+ library: { groups: Record<string, LibraryGroup>; issue_at: string | null };
+ sources: Array<{ source: string; label: string; status: string; reason: string;
+ last_success_at: string | null; cooldown_until: string | null }>;
+}
+export const DIAGNOSTICS_KEY = ['diagnostics'] as const;
+export const fetchDiagnostics = (signal?: AbortSignal) => apiGet<DiagnosticReport>('/api/diagnostics', signal);
+export async function prefetchDiagnostics(signal: AbortSignal): Promise<void> {
+ await queryClient.fetchQuery({ queryKey: DIAGNOSTICS_KEY, queryFn: () => fetchDiagnostics(signal), staleTime: 10_000 });
+}
diff --git a/frontend/src/react/router/managed-routes.tsx b/frontend/src/react/router/managed-routes.tsx
index cea409058..503b93d8b 100644
--- a/frontend/src/react/router/managed-routes.tsx
+++ b/frontend/src/react/router/managed-routes.tsx
@@ -24,6 +24,8 @@ import { prefetchEntityPage, type EntityPageProps } from '../entity-page/entity-
import { EntityPage } from '../entity-page/entity-page-view';
import { prefetchDuplicates } from '../duplicates/duplicates';
import { DuplicatesPage } from '../duplicates/duplicates-page';
+import { prefetchDiagnostics } from '../diagnostics/diagnostics';
+import { DiagnosticsPage } from '../diagnostics/diagnostics-page';
import { prefetchFollowFeed } from '../follow-feed/follow-feed';
import { FollowFeedPage } from '../follow-feed/follow-feed-page';
import { prefetchFollowManage } from '../follow-manage/follow-manage';
@@ -133,6 +135,12 @@ export const MANAGED_ROUTES: ManagedRouteTable = {
<ConfigurationPage receipt={(message) => actions.receipt(message)} reopenTutorial={actions.reopenTutorial} />
),
},
+ '/diagnostics': {
+ prefetch: (_open, signal) => prefetchDiagnostics(signal),
+ page: (_open, actions, go) => <DiagnosticsPage navigate={go} openItem={actions.openItem}
+ receipt={message => actions.receipt(message)}
+ configure={section => { actions.requestConfigurationSection(section); go('/configuration') }} />,
+ },
'/activity': {
prefetch: (_open, signal) => prefetchTasks(signal),
page: (open) => <ActivityPage {...(open.prefill ? { prefill: open.prefill } : {})} />,
diff --git a/frontend/src/react/router/shell-actions.ts b/frontend/src/react/router/shell-actions.ts
index 54335148c..2be960004 100644
--- a/frontend/src/react/router/shell-actions.ts
+++ b/frontend/src/react/router/shell-actions.ts
@@ -84,6 +84,7 @@ export interface ManagedOpenProps {
'/quality-goals': Record<string, never>;
'/scraping': Record<string, never>;
'/configuration': Record<string, never>;
+ '/diagnostics': Record<string, never>;
'/activity': { prefill?: CloudDownloadPrefill };
'/follow-manage': {
tab: string; page: number; sort: string; dir: string; pageSize: number; layout: string;
diff --git a/frontend/src/react/settings/maintenance-settings.tsx b/frontend/src/react/settings/maintenance-settings.tsx
index 4a4db0ad8..ae68fca5c 100644
--- a/frontend/src/react/settings/maintenance-settings.tsx
+++ b/frontend/src/react/settings/maintenance-settings.tsx
@@ -7,6 +7,7 @@ import { Button } from '@/components/base/buttons/button';
import { Checkbox } from '@/components/base/checkbox/checkbox';
import { Select, SelectItem } from '@/components/base/select/select';
import { Switch } from '@/components/base/switch/switch';
+import { LinkButton } from '@/components/base/buttons/link-button';
import { apiSend } from '../../api';
import type {
@@ -27,6 +28,7 @@ export function MaintenanceSettings(
{data.automatic_updates ? <AutomaticUpdates initial={data.automatic_updates} receipt={receipt} /> : null}
{data.updates ? <ReleaseUpdates initial={data.updates} initialJob={data.update_job} /> : null}
<Facts facts={data.facts} />
+ <Section title="系统诊断"><Stack><div><LinkButton href="/diagnostics">打开系统诊断</LinkButton></div></Stack></Section>
<TutorialSettings receipt={receipt} reopenTutorial={reopenTutorial} />
{data.uninstall ? <UninstallSettings uninstall={data.uninstall} receipt={receipt} /> : null}
</div>
diff --git a/frontend/test/diagnostics-route.test.ts b/frontend/test/diagnostics-route.test.ts
new file mode 100644
index 000000000..13c36c189
--- /dev/null
+++ b/frontend/test/diagnostics-route.test.ts
@@ -0,0 +1,14 @@
+import { afterEach, expect, it, vi } from 'vitest';
+import { registerDiagnosticsRoute } from '../src/diagnostics-route';
+
+afterEach(() => vi.unstubAllGlobals());
+it('诊断入口在前端登记并交给壳打开宿主', async () => {
+ const register = vi.fn();
+ vi.stubGlobal('window', { peachRegisterRoute: register });
+ const open = vi.fn(async () => {});
+ registerDiagnosticsRoute(open);
+ const spec = register.mock.calls[0]![0] as { match: string; title: string; open(params: object, push: boolean): Promise<void> };
+ expect([spec.match, spec.title]).toEqual(['/diagnostics', '系统诊断']);
+ await spec.open({}, false);
+ expect(open).toHaveBeenCalledWith(false);
+});
diff --git a/frontend/test/manage-header.test.ts b/frontend/test/manage-header.test.ts
index 7607c4063..dd860d287 100644
--- a/frontend/test/manage-header.test.ts
+++ b/frontend/test/manage-header.test.ts
@@ -14,6 +14,9 @@ const props = (section: string, path: string, patch: Partial<ManageHeaderProps>
({ section, path, sections: SECTIONS, menu: MENU, trash: null, ...patch });
describe('页头判据', () => {
+ it('配置下的诊断入口显示系统诊断标题', () => {
+ expect(manageHeaderView(props('configuration', '/diagnostics'))).toMatchObject({ title: '系统诊断', compact: true });
+ });
it('不在管理区时整块不画', () => {
expect(manageHeaderView(props('', '/'))).toBeNull();
expect(manageHeaderSkeletonHtml(props('', '/'))).toBe('');
diff --git a/frontend/test/react/diagnostics.test.tsx b/frontend/test/react/diagnostics.test.tsx
new file mode 100644
index 000000000..62d904f6c
--- /dev/null
+++ b/frontend/test/react/diagnostics.test.tsx
@@ -0,0 +1,55 @@
+import { notifyManager, QueryClientProvider } from '@tanstack/react-query';
+import { afterEach, expect, it, vi } from 'vitest';
+import { queryClient } from '../../src/react/query';
+import { DiagnosticsPage } from '../../src/react/diagnostics/diagnostics-page';
+import { DIAGNOSTICS_KEY, type DiagnosticReport } from '../../src/react/diagnostics/diagnostics';
+import { buttonNamed, click, fetchMock, mount, settle } from './render';
+
+notifyManager.setScheduler(notify => notify());
+afterEach(() => queryClient.clear());
+const data = (): DiagnosticReport => ({ version: 'test', status: 'warning', checks: {
+ media_mounts: { label: '媒体挂载', status: 'warning', reason: '来源不存在', action: '检查媒体目录', target: '/configuration', details: {} },
+ security: { label: '访问安全', status: 'warning', reason: '密码未开启', action: '开启密码', target: '/configuration', details: {} },
+ data_root: { label: '数据目录', status: 'failed', reason: '没有权限', action: '调整权限', target: null, details: {} },
+}, library: { issue_at: null, groups: {
+ duration: { label: '缺时长', count: 2, status: 'ok', truncated: false, items: [{ id: 1, code: 'ABC-123' }, { id: 2, code: null }] },
+ cover: { label: '缺封面', count: 0, status: 'ok', truncated: false, items: [] },
+} }, sources: [{ source: 'javdb', label: 'javdb', status: 'unknown', reason: '当前解析状态未取得', last_success_at: null, cooldown_until: null }] });
+async function open(report = data()) {
+ queryClient.setQueryData(DIAGNOSTICS_KEY, report);
+ const props = { navigate: vi.fn(), configure: vi.fn(), openItem: vi.fn(), receipt: vi.fn() };
+ const host = await mount(<QueryClientProvider client={queryClient}><DiagnosticsPage {...props} /></QueryClientProvider>);
+ return { host, props };
+}
+it('诊断跳到具体配置分栏,系统权限项只显示动作', async () => {
+ const { host, props } = await open();
+ await click(buttonNamed('打开媒体配置', host));
+ await click(buttonNamed('打开网络与访问配置', host));
+ expect(props.configure.mock.calls).toEqual([['媒体'], ['网络与访问']]);
+ const root = [...host.querySelectorAll('h3')].find(node => node.textContent === '数据目录')!.parentElement!.parentElement!;
+ expect(root.textContent).toContain('调整权限');
+ expect(root.querySelector('button')).toBeNull();
+ expect(host.textContent).toContain('当前解析状态未取得');
+});
+it('展开清单、复制番号与作品编号;零结果有独立空态', async () => {
+ const clipboard = vi.fn(async () => {});
+ vi.stubGlobal('navigator', { clipboard: { writeText: clipboard } });
+ const { host, props } = await open();
+ await click(host.querySelector('summary'));
+ await click(buttonNamed('ABC-123', host));
+ expect(props.openItem).toHaveBeenCalledWith(1);
+ await click(buttonNamed('复制当前清单', host));
+ await settle();
+ expect(clipboard).toHaveBeenCalledWith('ABC-123\n作品 #2');
+ expect(props.receipt).toHaveBeenCalledWith('已复制清单');
+ expect(host.querySelector('[data-empty-state]')?.textContent).toContain('清单为空');
+});
+it('请求失败保留原因和重试入口', async () => {
+ vi.stubGlobal('fetch', fetchMock(403, { detail: '请在运行 Peach 的电脑上打开系统诊断' }));
+ const props = { navigate: vi.fn(), configure: vi.fn(), openItem: vi.fn(), receipt: vi.fn() };
+ const host = await mount(<QueryClientProvider client={queryClient}><DiagnosticsPage {...props} /></QueryClientProvider>);
+ await settle();
+ expect(host.textContent).toContain('诊断读取失败');
+ expect(host.textContent).toContain('请在运行 Peach 的电脑上打开系统诊断');
+ expect(buttonNamed('重新检查', host)).not.toBeNull();
+});
diff --git a/frontend/test/react/maintenance-settings.test.tsx b/frontend/test/react/maintenance-settings.test.tsx
index 00fc65283..3b3aac29c 100644
--- a/frontend/test/react/maintenance-settings.test.tsx
+++ b/frontend/test/react/maintenance-settings.test.tsx
@@ -27,7 +27,7 @@ it('分区依次是自动更新、检查更新、运行信息、安装教程、
};
const host = await mount(<MaintenanceSettings data={data} receipt={vi.fn()} reopenTutorial={vi.fn()} />);
expect([...host.firstElementChild!.children].map((node) => node.getAttribute('aria-label')))
- .toEqual(['自动更新', '检查更新', '运行信息', '安装教程', '卸载 Peach']);
+ .toEqual(['自动更新', '检查更新', '运行信息', '系统诊断', '安装教程', '卸载 Peach']);
const facts = section(host, '运行信息')!;
expect([...facts.querySelectorAll('dt')].map((dt) => dt.textContent)).toEqual(['版本', 'FFmpeg']);
const link = facts.querySelector('a[href="https://ffmpeg.org/download.html"]');
diff --git a/frontend/test/react/managed-routes.test.tsx b/frontend/test/react/managed-routes.test.tsx
index ae28ef884..2ec1e9f46 100644
--- a/frontend/test/react/managed-routes.test.tsx
+++ b/frontend/test/react/managed-routes.test.tsx
@@ -15,6 +15,7 @@ import type {
ScrapingProps, StatsProps, TasteProps,
} from '../../src/react/bundle';
import type { ShellActions } from '../../src/react/router/shell-actions';
+import type { DiagnosticsProps } from '../../src/react/diagnostics/diagnostics-page';
// 首次导入会编译路由表带进来的整棵页面子树,编译等待使用独立的有限窗口;之后每条用例重新装载只重跑模块。
const REACT_IMPORT_TIMEOUT_MS = 30_000;
@@ -339,6 +340,20 @@ function element<P>(path: keyof Loaded['MANAGED_ROUTES'], r: Loaded, open: objec
open, actions, go).props;
}
+it('诊断页先选配置分栏再导航,作品与任务交给共享入口', async () => {
+ const r = await load();
+ const actions = shellActions();
+ const order: string[] = [];
+ const go = vi.fn((path: string) => { order.push(path) });
+ vi.mocked(actions.requestConfigurationSection).mockImplementation(section => { order.push(section) });
+ const props = element<DiagnosticsProps>('/diagnostics', r, {}, actions, go);
+ props.configure('网络与访问');
+ props.openItem(12);
+ props.navigate('/activity');
+ expect(order).toEqual(['网络与访问', '/configuration', '/activity']);
+ expect(actions.openItem).toHaveBeenCalledWith(12);
+});
+
it('统计页:点标签交壳回目录;「添加媒体文件夹」先交页签再换到配置页', async () => {
const r = await load();
const actions = shellActions();
diff --git a/scripts/test_runner.py b/scripts/test_runner.py
index d1a568dfd..5925c7d59 100644
--- a/scripts/test_runner.py
+++ b/scripts/test_runner.py
@@ -99,7 +99,7 @@ SCOPES: dict[str, tuple[str, ...]] = {
"test_resource_identification.py",
"test_agency_entity.py", "test_agency_reject.py", "test_label_maker.py",
"test_seed_pack.py", "test_seed_followup.py"),
- "tooling": ("test_scripts.py", "test_trash_junk.py", "test_auth.py", "test_access.py", "test_cli.py", "test_diagnostics.py", "test_script_policy.py",
+ "tooling": ("test_scripts.py", "test_trash_junk.py", "test_auth.py", "test_access.py", "test_cli.py", "test_diagnostics.py", "test_library_diagnostics.py", "test_script_policy.py",
"test_scan.py", "test_record_rehome.py", "test_wants.py", "test_push_discovery.py", "test_media_probe.py", "test_subtitles.py", "test_onboarding.py", "test_configuration_sources.py", "test_folder_picker.py", "test_ledger_backups.py", "test_clear_camera_filename_codes.py",
"test_agent_worktree.py", "test_test_evidence.py", "test_test_environment.py", "test_dependency_policy.py",
"test_version_bump.py", "test_changelog.py", "test_release_due.py",
diff --git a/src/peach/diagnostics.py b/src/peach/diagnostics.py
index 6c41ecb68..efd9d97aa 100644
--- a/src/peach/diagnostics.py
+++ b/src/peach/diagnostics.py
@@ -183,6 +183,7 @@ def probe_mounts(roots):
def report(settings, snapshot, *, config=None):
+ from . import library_diagnostics
config = config or settings_file.active()
checks = component_checks(settings, snapshot, config=config)
checks.update(data_root=writable_root(config.data_root), port=port_status(settings.host, settings.port),
@@ -191,7 +192,9 @@ def report(settings, snapshot, *, config=None):
details={"peach": __version__, "python": platform.python_version()}))
statuses = {check["status"] for check in checks.values()}
state = "failed" if "failed" in statuses else "warning" if statuses & {"warning", "unknown"} else "ok"
- return {"version": __version__, "status": state, "checks": checks}
+ return {"version": __version__, "status": state, "checks": checks,
+ "library": library_diagnostics.library(settings, config),
+ "sources": library_diagnostics.sources(settings, config)}
def health_components(settings, snapshot):
diff --git a/src/peach/library_diagnostics.py b/src/peach/library_diagnostics.py
new file mode 100644
index 000000000..00e848c5e
--- /dev/null
+++ b/src/peach/library_diagnostics.py
@@ -0,0 +1,148 @@
+"""诊断报告的只读库健康与来源解析证据。"""
+from __future__ import annotations
+
+import json
+import os
+import re
+import sqlite3
+import time
+from contextlib import closing
+from datetime import datetime, timezone
+from urllib.parse import urlsplit
+
+from .catalog_rules import normalise_code_key, release_code_from_text
+from .scraping_access import cooldown_state
+
+LIMIT = 500
+MAX_LOG_BYTES = 8 * 1024 * 1024
+MAX_RECORDS = 50_000
+
+
+def timestamp(value):
+ try:
+ moment = (datetime.fromtimestamp(value, timezone.utc) if isinstance(value, (int, float))
+ else datetime.fromisoformat(str(value).replace("Z", "+00:00")))
+ if moment.tzinfo is None:
+ moment = moment.replace(tzinfo=timezone.utc)
+ return moment.astimezone(timezone.utc).isoformat()
+ except (ValueError, TypeError, OverflowError, OSError):
+ return None
+
+
+def inventory(root):
+ try:
+ with os.scandir(root) as entries:
+ return {entry.name[:-4].casefold() for entry in entries if entry.name.endswith(".jpg")}
+ except FileNotFoundError:
+ return set()
+ except OSError:
+ return None
+
+
+def group(label, rows=None):
+ if rows is None:
+ return {"label": label, "status": "unknown", "count": None, "items": [], "truncated": False}
+ ordered = sorted(rows, key=lambda row: row["id"])
+ return {"label": label, "status": "ok", "count": len(ordered), "items": ordered[:LIMIT],
+ "truncated": len(ordered) > LIMIT}
+
+
+def failures(config):
+ state_path = config.directory("state") / "library-processing.json"
+ try:
+ if state_path.stat().st_size > 1024 * 1024:
+ return None, None
+ state = json.loads(state_path.read_text(encoding="utf-8"))
+ job = state.get("job_id")
+ if not isinstance(job, str) or not re.fullmatch(r"[a-zA-Z0-9_-]{1,64}", job):
+ return None, None
+ path = state_path.parent / f"library-processing-{job}.issues.jsonl"
+ if not path.exists():
+ return ({"identification": set(), "metadata": set()}, timestamp(state.get("finished_at"))) if not state.get("issue_count") else (None, None)
+ if path.stat().st_size > MAX_LOG_BYTES:
+ return None, None
+ result = {"identification": set(), "metadata": set()}
+ with path.open(encoding="utf-8") as handle:
+ for index, line in enumerate(handle):
+ if index >= MAX_RECORDS:
+ return None, None
+ row = json.loads(line)
+ asset_id = row.get("asset_id")
+ if not isinstance(asset_id, int) or isinstance(asset_id, bool) or asset_id <= 0:
+ continue
+ if row.get("severity") not in {"error", "warning"}:
+ continue
+ action = row.get("failed_action")
+ if action == "querying_metadata":
+ result["metadata"].add(asset_id)
+ # reading_local 的其余资产问题由 NFO 解析与番号冲突分支产生。
+ elif action == "reading_local" and row.get("message") not in {"媒体文件不可访问", "本地封面无法读取"}:
+ result["identification"].add(asset_id)
+ return result, timestamp(state.get("finished_at") or state.get("started_at"))
+ except FileNotFoundError:
+ return {"identification": set(), "metadata": set()}, None
+ except (OSError, ValueError, TypeError, AttributeError):
+ return None, None
+
+
+def library(settings, config):
+ groups = {key: group(label) for key, label in (("identification", "识别失败"),
+ ("metadata", "补资料失败"), ("cover", "缺封面"), ("duration", "缺时长"))}
+ try:
+ with closing(sqlite3.connect(settings.db_path.resolve().as_uri() + "?mode=ro", uri=True, timeout=1)) as connection:
+ connection.execute("PRAGMA query_only=ON")
+ rows = connection.execute("SELECT id,code,duration FROM asset WHERE medium='video' "
+ "AND COALESCE(disposal,'') NOT IN ('vanished','trash')").fetchall()
+ except (sqlite3.Error, OSError):
+ return {"groups": groups, "issue_at": None}
+ assets = {}
+ for asset_id, code, duration in rows:
+ candidate = str(code or "")
+ safe_code = release_code_from_text(candidate) if len(candidate) <= 80 else None
+ assets[asset_id] = {"id": asset_id, "code": safe_code or None}
+ groups["duration"] = group("缺时长", [assets[row[0]] for row in rows if not row[2] or row[2] <= 0])
+ covers, posters = inventory(settings.cover_root), inventory(settings.poster_root)
+ if covers is not None and posters is not None:
+ missing = [assets[row[0]] for row in rows
+ if (normalise_code_key(row[1]).casefold() not in covers if row[1]
+ else f"{row[0]}_4" not in posters)]
+ groups["cover"] = group("缺封面", missing)
+ failed, issue_at = failures(config)
+ if failed is not None:
+ for key, label in (("identification", "识别失败"), ("metadata", "补资料失败")):
+ groups[key] = group(label, [assets[value] for value in failed[key] if value in assets])
+ return {"groups": groups, "issue_at": issue_at}
+
+
+def sources(settings, config, *, now=None):
+ now = time.time() if now is None else now
+ success = {"minnano-av": None, "javdb": None}
+ try:
+ with closing(sqlite3.connect(settings.db_path.resolve().as_uri() + "?mode=ro", uri=True, timeout=1)) as connection:
+ connection.execute("PRAGMA query_only=ON")
+ for url, stamp in connection.execute("SELECT source_url,fetched_at FROM performer_profile "
+ "WHERE source LIKE 'auto:performer-profile@%' ORDER BY fetched_at DESC"):
+ if urlsplit(str(url)).hostname in {"minnano-av.com", "www.minnano-av.com"} and timestamp(stamp):
+ success["minnano-av"] = timestamp(stamp)
+ break
+ for raw, stamp in connection.execute("SELECT metadata_json,last_synced_at FROM entity_external_ref "
+ "WHERE provider='javdb' AND external_kind='performer' ORDER BY last_synced_at DESC"):
+ try:
+ source = str(json.loads(raw or "{}").get("source", ""))
+ except (ValueError, AttributeError):
+ continue
+ if (source == "auto:performer-profile" or source.startswith("auto:performer-profile@")) and timestamp(stamp):
+ success["javdb"] = timestamp(stamp)
+ break
+ except (sqlite3.Error, OSError, ValueError):
+ pass
+ result = []
+ for key in success:
+ until, _ = cooldown_state(config.directory("secrets"), key)
+ cooling = now < until < now + 366 * 86400
+ fresh = bool(success[key]) and 0 <= now - datetime.fromisoformat(success[key]).timestamp() <= 86400
+ result.append({"source": key, "label": key, "status": "warning" if cooling else "ok" if fresh else "unknown",
+ "reason": "来源正在冷却" if cooling else "资料解析通过" if fresh else "当前解析状态未取得",
+ "last_success_at": success[key],
+ "cooldown_until": datetime.fromtimestamp(until, timezone.utc).isoformat() if cooling else None})
+ return result
diff --git a/src/peach/routes_configuration.py b/src/peach/routes_configuration.py
index 3f2eb2c52..f3637af67 100644
--- a/src/peach/routes_configuration.py
+++ b/src/peach/routes_configuration.py
@@ -96,7 +96,8 @@ def local_only(request: Request) -> None:
def system_diagnostics(request: Request, args: dict[str, str] = Depends(require_auth)):
"""本机诊断与 doctor JSON 共用报告;媒体来源只读后台快照。"""
from . import diagnostics
- local_only(request)
+ if not local_client(request):
+ raise HTTPException(403, "请在运行 Peach 的电脑上打开系统诊断")
return diagnostics.report(request.app.state.settings, request.app.state.mount_reachability.summary())
diff --git a/src/peach/routes_pages.py b/src/peach/routes_pages.py
index 09d313fd3..21de447ed 100644
--- a/src/peach/routes_pages.py
+++ b/src/peach/routes_pages.py
@@ -880,6 +880,7 @@ def peach_logo(request: Request):
# 配置页是主站里的一屏(island),数据走 `/api/configuration`。未配置时 `index()` 给的是
# 首次运行表单,正好就是「请先完成首次设置」该长的样子。
@router.api_route("/configuration", methods=["GET", "HEAD"])
[email protected]_route("/diagnostics", methods=["GET", "HEAD"])
def client_route(request: Request, item_id: int | None = None,
seed_id: int | None = None, mix_item_id: int | None = None,
part_seed_id: int | None = None, part_item_id: int | None = None,
diff --git a/tests/test_fastapi_api.py b/tests/test_fastapi_api.py
index bca8c0b20..01ec28a50 100644
--- a/tests/test_fastapi_api.py
+++ b/tests/test_fastapi_api.py
@@ -1717,7 +1717,7 @@ class FastApiContractTests(unittest.IsolatedAsyncioTestCase):
"/unseen", "/watch-later", "/flagged", "/junk-files",
"/data-cleanup", "/duplicates", "/quality-goals", "/activity",
"/mix/1/2", "/parts/1/2", "/editions/1/2", "/playlists",
- "/resource-sync",
+ "/resource-sync", "/diagnostics",
"/playlists/1/1", "/follow", "/follow-manage",
"/follow/item/190"):
response = await self.client.get(path)
diff --git a/tests/test_library_diagnostics.py b/tests/test_library_diagnostics.py
new file mode 100644
index 000000000..115b32382
--- /dev/null
+++ b/tests/test_library_diagnostics.py
@@ -0,0 +1,102 @@
+"""库健康只读投影的计数、失败口径、来源证据和脱敏回归。"""
+import json
+import sqlite3
+import tempfile
+import unittest
+from contextlib import closing
+from pathlib import Path
+from unittest.mock import patch
+
+from peach import library_diagnostics as diagnostics
+from peach.config import PeachSettings
+from peach.migrations import upgrade
+from peach.settings_file import PeachConfig
+
+
+class LibraryDiagnosticsTests(unittest.TestCase):
+ def setUp(self):
+ self.temp = tempfile.TemporaryDirectory()
+ self.addCleanup(self.temp.cleanup)
+ self.root = Path(self.temp.name).resolve()
+ self.db = self.root / 'ledger.db'
+ upgrade(self.db, Path(__file__).resolve().parents[1] / 'migrations')
+ self.config = PeachConfig(self.root, self.root / 'config.toml')
+ self.settings = PeachSettings(db_path=self.db, cover_root=self.root / 'covers', poster_root=self.root / 'posters')
+ for name in ('state', 'covers', 'posters'):
+ (self.root / name).mkdir()
+ with closing(sqlite3.connect(self.db)) as connection, connection:
+ for asset_id, code, duration, disposal in ((1, 'ABC-123', 120, None), (2, None, 0, None),
+ (3, 'DEF-456', None, None), (4, None, None, 'vanished')):
+ connection.execute('INSERT INTO asset(id,location,path,name,medium,code,duration,disposal) '
+ "VALUES(?,'local',?,'private-name','video',?,?,?)",
+ (asset_id, f'R:/private/{asset_id}', code, duration, disposal))
+
+ def log(self, records):
+ (self.root / 'state/library-processing.json').write_text(json.dumps(
+ {'job_id': 'safe-job', 'issue_count': len(records), 'started_at': 1_700_000_000}), encoding='utf-8')
+ path = self.root / 'state/library-processing-safe-job.issues.jsonl'
+ path.write_text('\n'.join(json.dumps(row) for row in records), encoding='utf-8')
+ return path
+
+ def test_cover_duration_and_identification_counts_preserve_uncoded_creator_works(self):
+ (self.root / 'covers/abc-123.jpg').write_bytes(b'image')
+ (self.root / 'posters/2_4.jpg').write_bytes(b'image')
+ self.log([{'asset_id': 1, 'severity': 'error', 'failed_action': 'reading_local', 'message': 'NFO parse error'},
+ {'asset_id': 2, 'severity': 'error', 'failed_action': 'reading_local', 'message': '媒体文件不可访问'},
+ {'asset_id': 3, 'severity': 'error', 'failed_action': 'querying_metadata', 'message': 'private-cookie'},
+ {'asset_id': 1, 'severity': 'paused', 'failed_action': 'querying_metadata'},
+ {'asset_id': 2, 'severity': 'info', 'failed_action': 'querying_metadata'}])
+ before = self.db.read_bytes()
+ result = diagnostics.library(self.settings, self.config)
+ groups = result['groups']
+ self.assertEqual({key: value['count'] for key, value in groups.items()},
+ {'identification': 1, 'metadata': 1, 'cover': 1, 'duration': 2})
+ self.assertEqual(groups['duration']['items'][0], {'id': 2, 'code': None})
+ self.assertEqual(groups['cover']['items'], [{'id': 3, 'code': 'DEF-456'}])
+ self.assertIsNotNone(result['issue_at'])
+ self.assertNotIn('private', json.dumps(result))
+ self.assertEqual(before, self.db.read_bytes())
+
+ def test_missing_database_and_broken_or_oversized_logs_are_unknown(self):
+ self.db.unlink()
+ self.assertTrue(all(row['count'] is None for row in diagnostics.library(self.settings, self.config)['groups'].values()))
+ self.assertFalse(self.db.exists())
+ path = self.log([])
+ path.write_text('{unfinished', encoding='utf-8')
+ self.assertIsNone(diagnostics.failures(self.config)[0])
+ with patch.object(diagnostics, 'MAX_LOG_BYTES', 1):
+ self.assertIsNone(diagnostics.failures(self.config)[0])
+
+ def test_job_paths_are_validated_and_missing_problem_logs_are_unknown(self):
+ path = self.log([{'asset_id': 1}])
+ path.unlink()
+ self.assertIsNone(diagnostics.failures(self.config)[0])
+ (self.root / 'state/library-processing.json').write_text('{"job_id":"../secret"}', encoding='utf-8')
+ self.assertIsNone(diagnostics.failures(self.config)[0])
+
+ def test_large_lists_are_bounded_and_keep_the_total(self):
+ result = diagnostics.group('缺时长', [{'id': i, 'code': None} for i in range(1, 601)])
+ self.assertEqual(result['count'], 600)
+ self.assertEqual(len(result['items']), 500)
+ self.assertTrue(result['truncated'])
+
+ def test_sources_require_parsed_profile_provenance_and_show_cooldown(self):
+ with closing(sqlite3.connect(self.db)) as connection, connection:
+ connection.execute("INSERT INTO performer_profile(entity_id,source,source_url,fetched_at) "
+ "VALUES(1,'auto:performer-profile@42','https://www.minnano-av.com/actress1.html','2023-11-14T22:13:20Z')")
+ connection.execute("INSERT INTO entity_external_ref VALUES(1,'javdb','performer','a',?,?)",
+ ('{"source":"manual"}', '2023-11-14T22:13:20Z'))
+ with patch.object(diagnostics, 'cooldown_state', return_value=(0, 0)):
+ result = diagnostics.sources(self.settings, self.config, now=1_700_000_100)
+ self.assertEqual(result[0]['status'], 'ok')
+ self.assertEqual(result[1]['status'], 'unknown')
+ self.assertIsNone(result[1]['last_success_at'])
+ with patch.object(diagnostics, 'cooldown_state', return_value=(1_700_000_200, 1)):
+ cooling = diagnostics.sources(self.settings, self.config, now=1_700_000_100)
+ self.assertEqual(cooling[0]['status'], 'warning')
+ self.assertIsNotNone(cooling[0]['cooldown_until'])
+ self.assertNotIn('actress1', json.dumps(cooling))
+
+ def test_cover_inventory_permission_errors_are_unknown(self):
+ with patch.object(diagnostics.os, 'scandir', side_effect=PermissionError):
+ self.assertIsNone(diagnostics.inventory(self.root))
diff --git a/web/app.js b/web/app.js
index 0ecd301d8..65550bc0e 100644
--- a/web/app.js
+++ b/web/app.js
@@ -20,6 +20,7 @@ import { junkCountSkeletonHtml, junkPath, junkRoute } from './dist/peach-ui.js';
import { catalogSuggestions, catalogEmptyHtml, catalogFilterSkeletonHtml, sidebarTagCounts, sidebarHasCatalogContent, cleanupSkeletonHtml } from './dist/peach-ui.js';
import { dropBars, fetchBars, fetchTopsPage } from './dist/peach-ui.js';
import { loadRouter, managedEntry, openManagedRoute, peachHistory, releaseManagedRoute, shellNavigate, startRouting, updateManagedRoute } from './dist/peach-ui.js';
+import { registerDiagnosticsRoute } from './dist/peach-ui.js';
import { javImageKind, syncJavImages, entitySkeletonHtml } from './dist/peach-ui.js';
import { avatarInner, configureHoverPreview, coverAnchor, coverImage, entityFaceImg, faceBoxAttrs, faceOrigin, facePos, imageFallbackAttrs, installCardArt, logoUrl, refitNativeImages, releaseHoverPreviews, rememberRepresentatives, setHoverState, upgradeCover, wireImageFallbacks } from './dist/peach-ui.js';
import { clickPlayerControl, immerseApi, loadImmerse, loadStage, seekVideoBy, stageApi, toggleVideoPlayback } from './dist/peach-ui.js';
@@ -198,6 +199,7 @@ const ROUTES=[
插在表尾,所以新路由要么是一条新路径,要么比现有条目更具体。 */
const registerRoute=spec=>{ROUTES.push(spec);return spec};
window.peachRegisterRoute=registerRoute;
+registerDiagnosticsRoute(openDiagnostics);
const pageSkeletonHtml=(label,{cards=false,className='',variant='',count,fill,cardRatio,gridClass='',gridSize=''}={})=>
skeletonHtml(label,{variant:variant||(cards?'cards':'panel'),className,gridClass,gridSize,
@@ -301,6 +303,7 @@ const MANAGEMENT_PLACEHOLDERS={
'/follow-manage':()=>`<div class="follow">${pageSkeletonHtml('正在读取关注管理',
{cards:true,count:3,fill:false,className:'followmanage-skeleton'})}</div>`,
'/configuration':()=>configurationSkeletonHtml(),
+ '/diagnostics':()=>configurationSkeletonHtml(),
/* 采集来源是 812px 窄列里一叠同宽的 Fieldset:一块高清封面加六个来源。骨架画四块,
那是首屏装得下的张数;说明那一句是静态文案,与数据无关,立刻显示。 */
'/scraping':()=>`<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
@@ -357,7 +360,7 @@ function renderInitialSurfaceLoading(){
return;
}
const management=new Set(['/stats','/taste','/review','/data-cleanup','/duplicates','/quality-goals','/scraping',
- '/playlists','/resource-sync','/follow','/follow-manage','/configuration','/activity']);
+ '/playlists','/resource-sync','/follow','/follow-manage','/configuration','/diagnostics','/activity']);
if(management.has(path)||path.startsWith('/follow/item/')){
hideDiscoveryBars();
const stats=$('#stats');stats.hidden=false;clearCatalogGrid();
@@ -2003,6 +2006,13 @@ async function openActivity(push=true){
/* 配置页要选中的那一组页签名。页签由 `decorate` 按 `.configgroup` 切出来,它读这个名字
选中对应的那一格,选中之后清空。 */
let configurationRequestedSection='';
+async function openDiagnostics(push=true){
+ releaseHoverPreviews();disposeStage(false);enterManagementSurface();
+ if(push)route('/diagnostics');
+ const surface=claimSurface('/diagnostics');
+ showManagementBody({placeholder:managementPlaceholder('/diagnostics')});
+ await openManagedRoute('/diagnostics',{},managedSurface(surface));
+}
async function openConfiguration(push=true){
releaseHoverPreviews();disposeStage(false);enterManagementSurface();
if(push)route('/configuration');
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 2ae011032..bb8dad909 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.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)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@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-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-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;--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;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--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;--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-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-0{inset-block: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-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-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-4{margin-inline:calc(var(--spacing) * -4)}.-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)}.-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-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-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}.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-0\.5{height:calc(var(--spacing) * .5)}.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-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-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.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-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.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-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.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-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.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-review-cover-narrow{width:var(--container-review-cover-narrow)}.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-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.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)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.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)}.-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-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)}.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-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-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-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-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.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-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-y{border-block-style:var(--tw-border-style);border-block-width:1px}.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-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.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-color:var(--color-border-error-default)}.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,.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)}}.border-transparent{border-color:#0000}.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-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-border-focus-ring{background-color:var(--color-border-focus-ring)}.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-input-disabled-background{background-color:var(--color-input-disabled-background)}.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-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-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-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-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.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-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-right{text-align:right}.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-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}.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-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)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.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-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-border,.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-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-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-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)}.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-25{opacity:.25}.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-\[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-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}.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-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.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\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.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-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-\[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-\[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 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\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-start{justify-content:flex-start}.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\:p-4{padding:calc(var(--spacing) * 4)}.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)}}@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-reverse{flex-direction:row-reverse}.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\: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\:gap-4{gap:calc(var(--spacing) * 4)}}@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\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.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)}.\[\&\>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(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:11px;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}.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]{border-radius:0}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.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:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.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;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);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-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;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]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@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;position:absolute;top:9px;right:9px}.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 [data-previewing] [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]:hover{transform:scale(1.2)}.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]:hover [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]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.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 button[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]>: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 [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;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-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-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.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=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.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]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.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-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]>[data-media-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-card] [data-media-tag]:nth-child(n+2){display:none}.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);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.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;padding-bottom:7px;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));padding-left:calc(var(--railW) + 32px)}}.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-cover]:has(>[data-media-art=cover]){background:var(--page)}.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)}.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-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]{align-self:stretch;align-items:center;width:max-content;max-width:100%;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-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]{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 [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.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=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,.peach-react [data-hero-pop] dd>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;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.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);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]{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}.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]>:is(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:20px;height:20px;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-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-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.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)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.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 :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 10px;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)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.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-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~=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}}.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-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;margin:6px 10px;font-weight:700}.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] 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}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.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-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);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.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(button[data-follow-author],button[data-follow-work]){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}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[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 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:34px;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(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.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]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.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-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.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}.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 [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,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.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]{aspect-ratio:auto 1;height:auto;position:static}.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;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;transform:scale(1.08)}.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-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.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]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;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-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-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);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%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.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-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;color:var(--muted);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-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;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;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [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]{flex:none;width:30px;min-width:0;height:30px;margin:0}.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-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.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;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);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-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.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)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.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-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [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-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [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-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [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:middle;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 [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [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 [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-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 [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-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 [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-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 [data-item-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 [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.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;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]{padding:3px 8px}.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:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.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-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;-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 (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-index-readout]{color:var(--muted)}[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{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[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;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-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:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{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-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-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{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);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;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;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);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:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;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}: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}body[data-detail-open]{overflow:hidden}@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""queue queue";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-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[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;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[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-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[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);word-break:break-all;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-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[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:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[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}@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);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=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~=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~=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~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=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}[data-settings-panel] [data-settings-card][data-settings-card]{--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}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{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}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{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}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-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~=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){[data-settings-panel] [data-settings-card][data-settings-card]{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}[data-settings-panel] [data-settings-nav]>[data-settings-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}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);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~=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~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=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~=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~=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}[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~=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}@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:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[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{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[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}}@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%)}}: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 [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.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-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.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-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.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-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]>: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-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.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-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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}@keyframes spin{to{transform:rotate(360deg)}}[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:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);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{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;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]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;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:16px;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}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@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-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-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;--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;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--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;--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-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-0{inset-block: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-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-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-4{margin-inline:calc(var(--spacing) * -4)}.-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)}.-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-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-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}.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-0\.5{height:calc(var(--spacing) * .5)}.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-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-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.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-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.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-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.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-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.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-review-cover-narrow{width:var(--container-review-cover-narrow)}.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-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.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)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.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)}.-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-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)}.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-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-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-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-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.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-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-y{border-block-style:var(--tw-border-style);border-block-width:1px}.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-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.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-color:var(--color-border-error-default)}.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,.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)}}.border-transparent{border-color:#0000}.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-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-border-focus-ring{background-color:var(--color-border-focus-ring)}.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-input-disabled-background{background-color:var(--color-input-disabled-background)}.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-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-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-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-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.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-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-right{text-align:right}.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-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}.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-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)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.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-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-border,.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-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-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-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)}.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-25{opacity:.25}.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-\[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-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}.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-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.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\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.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-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-\[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-\[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 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\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-start{justify-content:flex-start}.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\:p-4{padding:calc(var(--spacing) * 4)}.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)}}@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-reverse{flex-direction:row-reverse}.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\: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\:gap-4{gap:calc(var(--spacing) * 4)}}@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\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.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)}.\[\&\>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(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:11px;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}.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]{border-radius:0}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.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:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.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;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);border-radius:var(--surface-radius);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-pic]:has(>[data-media-art=cover]){background:0 0}.peach-react [data-media-stack] [data-media-pic]:has(>[data-media-art=cover]){background:var(--page)}.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:inherit;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]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@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;position:absolute;top:9px;right:9px}.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 [data-previewing] [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]:hover{transform:scale(1.2)}.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]:hover [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]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.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 button[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]>: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 [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;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-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-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.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=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.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]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.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-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]>[data-media-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-card] [data-media-tag]:nth-child(n+2){display:none}.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);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.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;padding-bottom:7px;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));padding-left:calc(var(--railW) + 32px)}}.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-cover]:has(>[data-media-art=cover]){background:var(--page)}.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)}.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-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]{align-self:stretch;align-items:center;width:max-content;max-width:100%;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-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]{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 [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.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=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,.peach-react [data-hero-pop] dd>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;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.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);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]{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}.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]>:is(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:20px;height:20px;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-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-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.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)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.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 :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 10px;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)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.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-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~=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}}.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-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;margin:6px 10px;font-weight:700}.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] 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}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.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-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);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.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(button[data-follow-author],button[data-follow-work]){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}.peach-react :is(button[data-follow-author],button[data-follow-work]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is(button[data-follow-author],button[data-follow-work]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work])[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is(button[data-follow-author],button[data-follow-work]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react button[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 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:34px;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(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.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]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.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-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.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}.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 [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,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.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]{aspect-ratio:auto 1;height:auto;position:static}.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;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;transform:scale(1.08)}.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-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.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]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;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-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-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);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%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.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-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;color:var(--muted);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-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;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;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [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]{flex:none;width:30px;min-width:0;height:30px;margin:0}.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-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.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;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);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-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.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)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.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-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [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-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [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-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [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:middle;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 [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [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 [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-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 [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-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 [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-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 [data-item-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 [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{border:1px dashed var(--overlay-10);border-radius:var(--floating-radius);height:46px;color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;background:0 0;align-self:center;padding:0 12px}.peach-react [data-item-detail] [data-cast-more]:hover{background:var(--hover)}.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;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]{padding:3px 8px}.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:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.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-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;-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 (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-index-readout]{color:var(--muted)}[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{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[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;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-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:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{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-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-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{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);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;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;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);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:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;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}: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}body[data-detail-open]{overflow:hidden}@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""queue queue";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-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[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;border-radius:var(--badge-radius);background:#000;position:relative;overflow:hidden}[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-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[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);word-break:break-all;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-stage-grid][data-with-queue]>[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""queue"}[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-stage-grid][data-with-queue]>[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:wrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 0 36px;place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[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}@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);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=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~=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~=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~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=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}[data-settings-panel] [data-settings-card][data-settings-card]{--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}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{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}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{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}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-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~=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){[data-settings-panel] [data-settings-card][data-settings-card]{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}[data-settings-panel] [data-settings-nav]>[data-settings-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}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);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~=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~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=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~=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~=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}[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~=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}@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:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[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{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[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}}@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%)}}: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 [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}.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-filter-glass][data-stuck]:before{content:"";z-index:-1;background:var(--page);pointer-events:none;height:9px;position:absolute;top:-9px;left:-16px;right:-16px;-webkit-mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000);mask-image:linear-gradient(90deg,#0000,#000 24px calc(100% - 24px),#0000)}.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-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.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-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]>: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-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.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-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@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}@keyframes spin{to{transform:rotate(360deg)}}[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:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);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{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;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]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;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:16px;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}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index 7a0558a5e..ba16d5d73 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -21783,10 +21783,10 @@ var f_ = class extends Tg {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function p_(e) {
+function Bee(e) {
return e && e.__esModule ? e.default : e;
}
-function Bee(e, t, n) {
+function Vee(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = vd({
usage: "search",
sensitivity: "base"
@@ -21817,7 +21817,7 @@ function Bee(e, t, n) {
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 = _o(p_(d_), "@react-aria/table"), g = (0, B.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = _o(Bee(d_), "@react-aria/table"), g = (0, B.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -21831,13 +21831,13 @@ function Bee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function m_(e, t, n) {
+function p_(e, t, n) {
let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = no(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Eg.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, B.useRef)(null), h = () => {
if (n.current) {
let e = td(n.current);
if (p === "child") {
if (xi(n.current) && n.current !== yi(ci(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? h_(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? m_(e) : e.firstChild();
if (r) {
zo(r);
return;
@@ -21869,7 +21869,7 @@ function m_(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (zo(n.current), Hc(n.current, { containingElement: Rc(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : h_(a), t && (zo(t), Hc(t, { containingElement: Rc(n.current) })));
+ p === "cell" && l === "rtl" ? (zo(n.current), Hc(n.current, { containingElement: Rc(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : m_(a), t && (zo(t), Hc(t, { containingElement: Rc(n.current) })));
}
break;
}
@@ -21881,7 +21881,7 @@ function m_(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (zo(n.current), Hc(n.current, { containingElement: Rc(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? h_(a) : a.firstChild(), t && (zo(t), Hc(t, { containingElement: Rc(n.current) })));
+ p === "cell" && l === "ltr" ? (zo(n.current), Hc(n.current, { containingElement: Rc(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? m_(a) : a.firstChild(), t && (zo(t), Hc(t, { containingElement: Rc(n.current) })));
}
break;
}
@@ -21926,7 +21926,7 @@ function m_(e, t, n) {
isPressed: _
};
}
-function h_(e) {
+function m_(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -21935,11 +21935,11 @@ function h_(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Vee(e) {
+function Hee(e) {
return e && e.__esModule ? e.default : e;
}
-function Hee(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = m_({
+function Uee(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = p_({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = nc({
@@ -21950,7 +21950,7 @@ function Hee(e, t, n) {
ref: n
}), { focusableProps: l } = is({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !na() && (u = d ? f : "none");
- let p = _o(Vee(d_), "@react-aria/table"), m;
+ let p = _o(Hee(d_), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && na() && (m = `${m}, ${p.format(f)}`));
let h = Gc(m), g = t.collection.size === 0;
return (0, B.useEffect)(() => {
@@ -21972,7 +21972,7 @@ function Hee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Uee(e, t, n) {
+function Wee(e, t, n) {
let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Eg.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Cd({
selectionManager: t.selectionManager,
key: r.key,
@@ -21994,10 +21994,10 @@ function Uee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Wee(e) {
+function Gee(e) {
return e && e.__esModule ? e.default : e;
}
-var g_ = {
+var h_ = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -22007,21 +22007,21 @@ var g_ = {
rtl: "ArrowRight"
}
};
-function Gee(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Uee(e, t, n), { direction: s } = no();
+function Kee(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Wee(e, t, n), { direction: s } = no();
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 = _o(Wee(d_), "@react-aria/table"), u = Ga({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = _o(Gee(d_), "@react-aria/table"), u = Ga({
"aria-label": c ? l.format("collapse") : l.format("expand"),
"aria-labelledby": Ag(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = __(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 = __(t.collection, a);
+ let n = g_(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 = g_(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === g_.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === g_.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 === h_.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === h_.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,
@@ -22049,19 +22049,19 @@ function Gee(e, t, n) {
...o
};
}
-function __(e, t) {
+function g_(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/table/useTableHeaderRow.mjs
-function Kee(e, t, n) {
+function qee(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/table/useTableCell.mjs
-function qee(e, t, n) {
- let { gridCellProps: r, isPressed: i } = m_(e, t, n), a = e.node.column?.key;
+function Jee(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = p_(e, t, n), a = e.node.column?.key;
return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = kg(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
@@ -22069,20 +22069,20 @@ function qee(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function Jee(e) {
+function Yee(e) {
return e && e.__esModule ? e.default : e;
}
-function Yee(e, t) {
+function Xee(e, t) {
let { key: n } = e, { checkboxProps: r } = nee(e, t);
return { checkboxProps: {
...r,
"aria-labelledby": `${r.id} ${Ag(t, n)}`
} };
}
-function Xee(e) {
+function Zee(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": _o(Jee(d_), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": _o(Yee(d_), "@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,
@@ -22091,17 +22091,17 @@ function Xee(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Zee() {
+function Qee() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function v_() {
- return Zee();
+function __() {
+ return Qee();
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Qee = class extends Do {
+var $ee = class extends Do {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -22116,7 +22116,7 @@ var Qee = class extends Do {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new T_(-2);
+ return new w_(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -22223,10 +22223,10 @@ var Qee = class extends Do {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new S_(-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 x_(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, $ee = /*#__PURE__*/ (0, B.createContext)(null), ete = /*#__PURE__*/ (0, B.createContext)(null), y_ = /*#__PURE__*/ (0, B.createContext)(null), b_ = /*#__PURE__*/ (0, B.createContext)(null), tte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- [e, t] = ei(e, t, ete);
+}, ete = /*#__PURE__*/ (0, B.createContext)(null), tte = /*#__PURE__*/ (0, B.createContext)(null), v_ = /*#__PURE__*/ (0, B.createContext)(null), y_ = /*#__PURE__*/ (0, B.createContext)(null), nte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+ [e, t] = ei(e, t, tte);
let n = Bd(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, B.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
@@ -22237,17 +22237,17 @@ var Qee = class extends Do {
i,
a,
o
- ]), c = /*#__PURE__*/ B.createElement(ite.Provider, { value: s }, /*#__PURE__*/ B.createElement(Es, e));
+ ]), c = /*#__PURE__*/ B.createElement(ate.Provider, { value: s }, /*#__PURE__*/ B.createElement(Es, e));
return /*#__PURE__*/ B.createElement(ms, {
content: c,
- createCollection: () => new Qee()
- }, (r) => /*#__PURE__*/ B.createElement(rte, {
+ createCollection: () => new $ee()
+ }, (r) => /*#__PURE__*/ B.createElement(ite, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), nte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}), rte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22256,7 +22256,7 @@ var Qee = class extends Do {
...e,
ref: t
});
-}), x_ = {
+}), b_ = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -22266,9 +22266,9 @@ var Qee = class extends Do {
rtl: "ArrowRight"
}
};
-function rte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+function ite({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
[e, t] = ei(e, t, bo);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, B.useContext)($ee);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, B.useContext)(ete);
t = Yr((0, B.useMemo)(() => Gr(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = yo(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, B.useMemo)(() => r.withExpandedKeys(l), [r, l]);
@@ -22279,7 +22279,7 @@ function rte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Iee(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(Ms), { dragAndDropHooks: _ } = e, { gridProps: v } = Bee({
+ }), f = Iee(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, B.useContext)(Ms), { dragAndDropHooks: _ } = e, { gridProps: v } = Vee({
...s,
layoutDelegate: m,
isVirtualized: p
@@ -22320,7 +22320,7 @@ function rte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === x_.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === x_.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === b_.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === b_.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
@@ -22343,17 +22343,17 @@ function rte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
}));
let F = Bs(e, { global: !0 });
return /*#__PURE__*/ B.createElement(Zr, { values: [
- [y_, f],
- [b_, P],
+ [v_, f],
+ [y_, P],
[hu, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [gu, { render: mte }],
+ [gu, { render: hte }],
[bo, null],
[xo, null]
- ] }, /*#__PURE__*/ B.createElement(Fu, null, /*#__PURE__*/ B.createElement(nte, {
+ ] }, /*#__PURE__*/ B.createElement(Fu, null, /*#__PURE__*/ B.createElement(rte, {
...U(F, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -22369,11 +22369,11 @@ function rte({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
persistedKeys: yu(y, _, C)
})))), E);
}
-var ite = /*#__PURE__*/ (0, B.createContext)(null), S_ = class extends So {
+var ate = /*#__PURE__*/ (0, B.createContext)(null), x_ = class extends So {
static {
this.type = "tableheader";
}
-}, ate = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}, ote = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22382,16 +22382,16 @@ var ite = /*#__PURE__*/ (0, B.createContext)(null), S_ = class extends So {
...e,
ref: t
});
-}), C_ = /*#__PURE__*/ Cs(S_, (e, t) => {
- let n = (0, B.useContext)(y_).collection, r = Mo({
+}), S_ = /*#__PURE__*/ Cs(x_, (e, t) => {
+ let n = (0, B.useContext)(v_).collection, r = Mo({
items: n.headerRows,
children: (0, B.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ B.createElement(ste, { item: e });
+ case "headerrow": return /*#__PURE__*/ B.createElement(cte, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = v_(), { hoverProps: a, isHovered: o } = _c({
+ }), { rowGroupProps: i } = __(), { hoverProps: a, isHovered: o } = _c({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
@@ -22401,7 +22401,7 @@ var ite = /*#__PURE__*/ (0, B.createContext)(null), S_ = class extends So {
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ B.createElement(ate, {
+ return /*#__PURE__*/ B.createElement(ote, {
...U(Bs(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -22410,7 +22410,7 @@ var ite = /*#__PURE__*/ (0, B.createContext)(null), S_ = class extends So {
}, (e) => /*#__PURE__*/ B.createElement(Es, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), ote = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}, e.children)), ste = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement("div", {
...e,
@@ -22420,12 +22420,12 @@ var ite = /*#__PURE__*/ (0, B.createContext)(null), S_ = class extends So {
ref: t
});
});
-function ste({ item: e }) {
- let t = (0, B.useRef)(null), n = (0, B.useContext)(y_), { isVirtualized: r, CollectionBranch: i } = (0, B.useContext)(Ms), { rowProps: a } = Kee({
+function cte({ item: e }) {
+ let t = (0, B.useRef)(null), n = (0, B.useContext)(v_), { isVirtualized: r, CollectionBranch: i } = (0, B.useContext)(Ms), { rowProps: a } = qee({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Xee(n);
- return /*#__PURE__*/ B.createElement(ote, {
+ }, n, t), { checkboxProps: o } = Zee(n);
+ return /*#__PURE__*/ B.createElement(ste, {
...a,
ref: t
}, /*#__PURE__*/ B.createElement(Zr, { values: [[xl, { slots: { selection: o } }], [Sl, { slots: { selection: o } }]] }, /*#__PURE__*/ B.createElement(i, {
@@ -22433,11 +22433,11 @@ function ste({ item: e }) {
parent: e
})));
}
-var cte = class extends So {
+var lte = class extends So {
static {
this.type = "column";
}
-}, lte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}, ute = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22446,13 +22446,13 @@ var cte = class extends So {
...e,
ref: t
});
-}), w_ = /*#__PURE__*/ Ss(cte, (e, t, n) => {
- let r = Yr(t), i = (0, B.useContext)(y_), { isVirtualized: a } = (0, B.useContext)(Ms), { columnHeaderProps: o, isPressed: s } = Hee({
+}), C_ = /*#__PURE__*/ Ss(lte, (e, t, n) => {
+ let r = Yr(t), i = (0, B.useContext)(v_), { isVirtualized: a } = (0, B.useContext)(Ms), { columnHeaderProps: o, isPressed: s } = Uee({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = dc(), d = (0, B.useContext)(b_), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = dc(), d = (0, B.useContext)(y_), f = !1;
d && (f = d.resizingColumn === n.key);
let { hoverProps: p, isHovered: m } = _c({ isDisabled: !e.allowsSorting }), h = Qr({
...e,
@@ -22481,7 +22481,7 @@ var cte = class extends So {
width: d.getColumnWidth(n.key)
});
let _ = Bs(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ B.createElement(lte, {
+ return delete _.id, /*#__PURE__*/ B.createElement(ute, {
...U(_, o, u, p),
...h,
style: g,
@@ -22493,15 +22493,15 @@ var cte = class extends So {
"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__*/ B.createElement(Zr, { values: [[ute, {
+ }, /*#__PURE__*/ B.createElement(Zr, { values: [[dte, {
column: n,
triggerRef: r
}], [Ms, ks]] }, h.children));
-}), ute = /*#__PURE__*/ (0, B.createContext)(null), T_ = class extends Co {
+}), dte = /*#__PURE__*/ (0, B.createContext)(null), w_ = class extends Co {
static {
this.type = "tablebody";
}
-}, dte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}, fte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22510,8 +22510,8 @@ var cte = class extends So {
...e,
ref: t
});
-}), E_ = /*#__PURE__*/ Cs(T_, (e, t, n) => {
- let r = (0, B.useContext)(y_), { isVirtualized: i } = (0, B.useContext)(Ms), a = r.collection, { CollectionBranch: o } = (0, B.useContext)(Ms), { dragAndDropHooks: s, dropState: c } = (0, B.useContext)(hu), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), T_ = /*#__PURE__*/ Cs(w_, (e, t, n) => {
+ let r = (0, B.useContext)(v_), { isVirtualized: i } = (0, B.useContext)(Ms), a = r.collection, { CollectionBranch: o } = (0, B.useContext)(Ms), { dragAndDropHooks: s, dropState: c } = (0, B.useContext)(hu), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
}, p = Qr({
@@ -22523,22 +22523,22 @@ var cte = class extends So {
}), 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__*/ B.createElement(O_, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ B.createElement(D_, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ B.createElement(A_, {
+ }, /*#__PURE__*/ B.createElement(k_, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = v_(), _ = Bs(e, { global: !0 });
- return /*#__PURE__*/ B.createElement(dte, {
+ let { rowGroupProps: g } = __(), _ = Bs(e, { global: !0 });
+ return /*#__PURE__*/ B.createElement(fte, {
...U(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ B.createElement(yte, null), /*#__PURE__*/ B.createElement(o, {
+ }, l && /*#__PURE__*/ B.createElement(bte, null), /*#__PURE__*/ B.createElement(o, {
collection: a,
parent: n,
renderDropIndicator: vu(s, c)
@@ -22549,7 +22549,7 @@ var cte = class extends So {
this.type = "tablefooter";
}
});
-var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), fte = class extends So {
+var E_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), pte = class extends So {
static {
this.type = "item";
}
@@ -22561,7 +22561,7 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
}
return null;
}
-}, O_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}, D_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22570,8 +22570,8 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
...e,
ref: t
});
-}), k_ = /*#__PURE__*/ Cs(fte, (e, t, n) => {
- let r = Yr(t), i = (0, B.useContext)(y_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(hu), { isVirtualized: c, CollectionBranch: l } = (0, B.useContext)(Ms), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Gee({
+}), O_ = /*#__PURE__*/ Cs(pte, (e, t, n) => {
+ let r = Yr(t), i = (0, B.useContext)(v_), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, B.useContext)(hu), { isVirtualized: c, CollectionBranch: l } = (0, B.useContext)(Ms), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Kee({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -22580,7 +22580,7 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Yee({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Xee({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -22617,10 +22617,10 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
level: n.level + 1
}
}), N = Bs(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ B.createElement(B.Fragment, null, C && !C.isHidden && /*#__PURE__*/ B.createElement(O_, {
+ return delete N.id, delete N.onClick, /*#__PURE__*/ B.createElement(B.Fragment, null, C && !C.isHidden && /*#__PURE__*/ B.createElement(D_, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ B.createElement(A_, {
+ }, /*#__PURE__*/ B.createElement(k_, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -22629,7 +22629,7 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ B.createElement(O_, {
+ }))), /*#__PURE__*/ B.createElement(D_, {
...U(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -22664,7 +22664,7 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
}
} }],
[Cu, { isSelected: p.isSelected }],
- [D_, { isFocusVisibleWithinRow: _ }]
+ [E_, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ B.createElement(l, {
collection: i.collection,
parent: n
@@ -22677,11 +22677,11 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
items: e.columns,
idScope: e.id
}, e.children);
-}), pte = class extends So {
+}), mte = class extends So {
static {
this.type = "cell";
}
-}, A_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}, k_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22690,16 +22690,16 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
...e,
ref: t
});
-}), j_ = /*#__PURE__*/ Ss(pte, (e, t, n) => {
- let r = Yr(t), i = (0, B.useContext)(y_), { dragState: a } = (0, B.useContext)(hu), { isVirtualized: o } = (0, B.useContext)(Ms);
+}), A_ = /*#__PURE__*/ Ss(mte, (e, t, n) => {
+ let r = Yr(t), i = (0, B.useContext)(v_), { dragState: a } = (0, B.useContext)(hu), { isVirtualized: o } = (0, B.useContext)(Ms);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = qee({
+ let { gridCellProps: s, isPressed: c } = Jee({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = dc(), { hoverProps: f, isHovered: p } = _c({}), { isFocusVisibleWithinRow: m } = (0, B.useContext)(D_), 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 = Qr({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = dc(), { hoverProps: f, isHovered: p } = _c({}), { isFocusVisibleWithinRow: m } = (0, B.useContext)(E_), 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 = Qr({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -22719,7 +22719,7 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
isTreeColumn: n.column.key === i.treeColumn
}
}), S = Bs(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ B.createElement(A_, {
+ return delete S.id, /*#__PURE__*/ B.createElement(k_, {
...U(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -22735,12 +22735,12 @@ var D_ = /*#__PURE__*/ (0, B.createContext)({ isFocusVisibleWithinRow: !1 }), ft
"data-disabled": b || void 0
}, /*#__PURE__*/ B.createElement(Ms.Provider, { value: ks }, x.children));
});
-function mte(e, t) {
+function hte(e, t) {
t = Yr(t);
let { dragAndDropHooks: n, dropState: r } = (0, B.useContext)(hu), i = (0, B.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__*/ B.createElement(vte, {
+ return /*#__PURE__*/ B.createElement(yte, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -22749,7 +22749,7 @@ function mte(e, t) {
ref: t
});
}
-var hte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+var gte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22758,7 +22758,7 @@ var hte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
...e,
ref: t
});
-}), gte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+}), _te = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
let { isVirtualized: n } = (0, B.useContext)(Ms);
return n ? /*#__PURE__*/ B.createElement(ai.div, {
...e,
@@ -22768,21 +22768,21 @@ var hte = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
ref: t
});
});
-function _te(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, B.useContext)(y_), { visuallyHiddenProps: c } = qc(), l = Qr({
+function vte(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, B.useContext)(v_), { visuallyHiddenProps: c } = qc(), l = Qr({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ B.createElement(hte, {
+ return /*#__PURE__*/ B.createElement(gte, {
...Bs(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ B.createElement(gte, {
+ }, /*#__PURE__*/ B.createElement(_te, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -22793,14 +22793,14 @@ function _te(e, t) {
ref: i
}), l.children));
}
-var vte = /*#__PURE__*/ (0, B.forwardRef)(_te);
-function yte() {
- let e = (0, B.useContext)(y_), { dragAndDropHooks: t, dropState: n } = (0, B.useContext)(hu), r = (0, B.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = qc();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ B.createElement(O_, {
+var yte = /*#__PURE__*/ (0, B.forwardRef)(vte);
+function bte() {
+ let e = (0, B.useContext)(v_), { dragAndDropHooks: t, dropState: n } = (0, B.useContext)(hu), r = (0, B.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = qc();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ B.createElement(D_, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ B.createElement(A_, {
+ }, /*#__PURE__*/ B.createElement(k_, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -22812,7 +22812,7 @@ function yte() {
})));
}
Ss(wo, function(e, t, n) {
- let r = (0, B.useContext)(y_), { isVirtualized: i } = (0, B.useContext)(Ms), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, B.useRef)(null);
+ let r = (0, B.useContext)(v_), { isVirtualized: i } = (0, B.useContext)(Ms), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, B.useRef)(null);
Zd((0, B.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
@@ -22831,10 +22831,10 @@ Ss(wo, 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__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(O_, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(D_, {
style: { height: 0 },
inert: Id(!0)
- }, /*#__PURE__*/ B.createElement(A_, { style: {
+ }, /*#__PURE__*/ B.createElement(k_, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ B.createElement("div", {
@@ -22845,14 +22845,14 @@ Ss(wo, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ B.createElement(O_, {
+ }))), a && d.children && /*#__PURE__*/ B.createElement(D_, {
...U(Bs(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ B.createElement(A_, {
+ }, /*#__PURE__*/ B.createElement(k_, {
role: "rowheader",
...p,
style: m
@@ -22860,13 +22860,13 @@ Ss(wo, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var M_ = /* @__PURE__ */ new WeakMap();
-function N_(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${M_.get(e)}-${n}-${t}`) : "";
+var j_ = /* @__PURE__ */ new WeakMap();
+function M_(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${j_.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function bte(e, t, n) {
+function xte(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 } = Cd({
selectionManager: o,
key: r,
@@ -22874,7 +22874,7 @@ function bte(e, t, n) {
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = N_(t, r, "tab"), m = N_(t, r, "tabpanel"), { tabIndex: h } = d, g = Bs(u?.props, { labelable: !0 });
+ }), p = M_(t, r, "tab"), m = M_(t, r, "tabpanel"), { tabIndex: h } = d, g = Bs(u?.props, { labelable: !0 });
delete g.id;
let _ = pa(u?.props), { focusableProps: v } = is({
...u?.props,
@@ -22896,12 +22896,12 @@ function bte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function xte(e, t, n) {
- let r = eg(n) ? void 0 : 0, i = N_(t, e.id ?? t?.selectedKey, "tabpanel");
+function Ste(e, t, n) {
+ let r = eg(n) ? void 0 : 0, i = M_(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: U(Ga({
...e,
id: i,
- "aria-labelledby": N_(t, t?.selectedKey, "tab")
+ "aria-labelledby": M_(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -22911,7 +22911,7 @@ function xte(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Ste = class {
+var Cte = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -22955,11 +22955,11 @@ var Ste = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Cte(e, t, n) {
+function wte(e, t, n) {
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = no(), { collectionProps: l } = md({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, B.useMemo)(() => new Ste(a, c, r, s), [
+ keyboardDelegate: (0, B.useMemo)(() => new Cte(a, c, r, s), [
a,
s,
r,
@@ -22970,7 +22970,7 @@ function Cte(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = Hr();
- return M_.set(t, u), { tabListProps: {
+ return j_.set(t, u), { tabListProps: {
...U(l, Ga({
...e,
id: u
@@ -22982,7 +22982,7 @@ function Cte(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function wte(e) {
+function Tte(e) {
let [t, n] = yo(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, B.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = Jd({
...e,
selectionMode: "single",
@@ -23006,24 +23006,24 @@ function wte(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Tte(e) {
- let t = wte({
+function Ete(e) {
+ let t = Tte({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? P_(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? N_(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, B.useRef)(i);
return (0, B.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = P_(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 = N_(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 P_(e, t) {
+function N_(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);
@@ -23033,20 +23033,20 @@ function P_(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var F_ = /*#__PURE__*/ (0, B.createContext)(null), I_ = /*#__PURE__*/ (0, B.createContext)(null), L_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- [e, t] = ei(e, t, F_);
+var P_ = /*#__PURE__*/ (0, B.createContext)(null), F_ = /*#__PURE__*/ (0, B.createContext)(null), I_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+ [e, t] = ei(e, t, P_);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, B.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ B.createElement(ms, { content: n }, (n) => /*#__PURE__*/ B.createElement(Ete, {
+ }) : n, [n, r]), /*#__PURE__*/ B.createElement(ms, { content: n }, (n) => /*#__PURE__*/ B.createElement(Dte, {
props: e,
collection: n,
tabsRef: t
}));
});
-function Ete({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Tte({
+function Dte({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = Ete({
...e,
collection: n,
children: void 0
@@ -23071,16 +23071,16 @@ function Ete({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ B.createElement(Zr, { values: [[F_, e], [I_, i]] }, l.children));
+ }, /*#__PURE__*/ B.createElement(Zr, { values: [[P_, e], [F_, i]] }, l.children));
}
-var R_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- return (0, B.useContext)(I_) ? /*#__PURE__*/ B.createElement(Dte, {
+var L_ = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
+ return (0, B.useContext)(F_) ? /*#__PURE__*/ B.createElement(Ote, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ B.createElement(Es, e);
});
-function Dte({ props: e, forwardedRef: t }) {
- let n = (0, B.useContext)(I_), { CollectionRoot: r } = (0, B.useContext)(Ms), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = $r(F_), o = Yr(t), { tabListProps: s } = Cte({
+function Ote({ props: e, forwardedRef: t }) {
+ let n = (0, B.useContext)(F_), { CollectionRoot: r } = (0, B.useContext)(Ms), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = $r(P_), o = Yr(t), { tabListProps: s } = wte({
...e,
orientation: i,
keyboardActivation: a
@@ -23102,12 +23102,12 @@ function Dte({ props: e, forwardedRef: t }) {
persistedKeys: Ns(n.selectionManager.focusedKey)
})));
}
-var z_ = /*#__PURE__*/ Ss(class extends So {
+var R_ = /*#__PURE__*/ Ss(class extends So {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, B.useContext)(I_), i = Yr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = bte({
+ let r = (0, B.useContext)(F_), i = Yr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = xte({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = dc(), { hoverProps: f, isHovered: p } = _c({
@@ -23139,19 +23139,19 @@ var z_ = /*#__PURE__*/ Ss(class extends So {
"data-pressed": c || void 0,
"data-hovered": p || void 0
}, /*#__PURE__*/ B.createElement(Cu.Provider, { value: { isSelected: o } }, m.children));
-}), B_ = /*#__PURE__*/ ss(function(e, t) {
- let n = (0, B.useContext)(I_), r = Yr(t), i = n.selectedKey === e.id, [a, o] = (0, B.useState)(n.selectedKey == null ? null : i);
+}), z_ = /*#__PURE__*/ ss(function(e, t) {
+ let n = (0, B.useContext)(F_), r = Yr(t), i = n.selectedKey === e.id, [a, o] = (0, B.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
let s = Qp(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ B.createElement(Ote, {
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ B.createElement(kte, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function Ote(e) {
- let t = (0, B.useContext)(I_), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = xte(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = dc(), d = t.selectedKey === e.id, f = Zp(r) && !i, p = Qr({
+function kte(e) {
+ let t = (0, B.useContext)(F_), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Ste(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = dc(), d = t.selectedKey === e.id, f = Zp(r) && !i, p = Qr({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
@@ -23174,12 +23174,12 @@ function Ote(e) {
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ B.createElement(Zr, { values: [[F_, null], [I_, null]] }, /*#__PURE__*/ B.createElement(Ms.Provider, { value: ks }, p.children)));
+ }, /*#__PURE__*/ B.createElement(Zr, { values: [[P_, null], [F_, null]] }, /*#__PURE__*/ B.createElement(Ms.Provider, { value: ks }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var kte = /*#__PURE__*/ (0, B.createContext)({}), Ate = /*#__PURE__*/ (0, B.createContext)(null), jte = /*#__PURE__*/ ss(function(e, t) {
- [e, t] = ei(e, t, Ate);
+var Ate = /*#__PURE__*/ (0, B.createContext)({}), jte = /*#__PURE__*/ (0, B.createContext)(null), Mte = /*#__PURE__*/ ss(function(e, t) {
+ [e, t] = ei(e, t, jte);
let { validationBehavior: n } = $r(sl) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, B.useRef)(null);
[e, i] = ei(e, i, xo);
let [a, o] = ti(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, B.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Nl({
@@ -23217,7 +23217,7 @@ var kte = /*#__PURE__*/ (0, B.createContext)({}), Ate = /*#__PURE__*/ (0, B.crea
...u,
ref: m
}],
- [kte, {
+ [Ate, {
...u,
ref: m
}],
@@ -23235,34 +23235,34 @@ var kte = /*#__PURE__*/ (0, B.createContext)({}), Ate = /*#__PURE__*/ (0, B.crea
});
//#endregion
//#region node_modules/motion-utils/dist/es/array.mjs
-function V_(e, t) {
+function B_(e, t) {
e.indexOf(t) === -1 && e.push(t);
}
-function H_(e, t) {
+function V_(e, t) {
let n = e.indexOf(t);
n > -1 && e.splice(n, 1);
}
//#endregion
//#region node_modules/motion-utils/dist/es/clamp.mjs
-var U_ = (e, t, n) => n > t ? t : n < e ? e : n, W_ = {}, G_ = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), K_ = (e) => typeof e == "object" && !!e, q_ = (e) => /^0[^.\s]+$/u.test(e);
+var H_ = (e, t, n) => n > t ? t : n < e ? e : n, U_ = {}, W_ = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), G_ = (e) => typeof e == "object" && !!e, K_ = (e) => /^0[^.\s]+$/u.test(e);
//#endregion
//#region node_modules/motion-utils/dist/es/memo.mjs
/*#__NO_SIDE_EFFECTS__*/
-function J_(e) {
+function q_(e) {
let t;
return () => (t === void 0 && (t = e()), t);
}
//#endregion
//#region node_modules/motion-utils/dist/es/noop.mjs
-var Y_ = /* @__NO_SIDE_EFFECTS__ */ (e) => e, X_ = (...e) => e.reduce((e, t) => (n) => t(e(n))), Z_ = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
+var J_ = /* @__NO_SIDE_EFFECTS__ */ (e) => e, Y_ = (...e) => e.reduce((e, t) => (n) => t(e(n))), X_ = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
let r = t - e;
return r ? (n - e) / r : 1;
-}, Q_ = class {
+}, Z_ = class {
constructor() {
this.subscriptions = [];
}
add(e) {
- return V_(this.subscriptions, e), () => H_(this.subscriptions, e);
+ return B_(this.subscriptions, e), () => V_(this.subscriptions, e);
}
notify(e, t, n) {
let r = this.subscriptions.length;
@@ -23280,42 +23280,42 @@ var Y_ = /* @__NO_SIDE_EFFECTS__ */ (e) => e, X_ = (...e) => e.reduce((e, t) =>
clear() {
this.subscriptions.length = 0;
}
-}, $_ = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, ev = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, tv = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, nv = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Mte = 1e-7, Nte = 12;
-function Pte(e, t, n, r, i) {
+}, Q_ = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, $_ = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, ev = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, tv = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, Nte = 1e-7, Pte = 12;
+function Fte(e, t, n, r, i) {
let a, o, s = 0;
do
- o = t + (n - t) / 2, a = nv(o, r, i) - e, a > 0 ? n = o : t = o;
- while (Math.abs(a) > Mte && ++s < Nte);
+ o = t + (n - t) / 2, a = tv(o, r, i) - e, a > 0 ? n = o : t = o;
+ while (Math.abs(a) > Nte && ++s < Pte);
return o;
}
/*#__NO_SIDE_EFFECTS__*/
-function rv(e, t, n, r) {
- if (e === t && n === r) return Y_;
- let i = (t) => Pte(t, 0, 1, e, n);
- return (e) => e === 0 || e === 1 ? e : nv(i(e), t, r);
+function nv(e, t, n, r) {
+ if (e === t && n === r) return J_;
+ let i = (t) => Fte(t, 0, 1, e, n);
+ return (e) => e === 0 || e === 1 ? e : tv(i(e), t, r);
}
//#endregion
//#region node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
-var iv = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, av = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), ov = /*@__PURE__*/ rv(.33, 1.53, .69, .99), sv = /*@__PURE__*/ av(ov), cv = /*@__PURE__*/ iv(sv), lv = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * sv(e) : .5 * (2 - 2 ** (-10 * (e - 1))), uv = (e) => 1 - Math.sin(Math.acos(e)), dv = /* @__PURE__ */ av(uv), fv = /* @__PURE__ */ iv(uv), Fte = /*@__PURE__*/ rv(.42, 0, 1, 1), Ite = /*@__PURE__*/ rv(0, 0, .58, 1), pv = /*@__PURE__*/ rv(.42, 0, .58, 1), Lte = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", mv = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", hv = {
- linear: Y_,
- easeIn: Fte,
- easeInOut: pv,
- easeOut: Ite,
- circIn: uv,
- circInOut: fv,
- circOut: dv,
- backIn: sv,
- backInOut: cv,
- backOut: ov,
- anticipate: lv
-}, Rte = (e) => typeof e == "string", gv = (e) => {
- if (/* @__PURE__ */ mv(e)) {
+var rv = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, iv = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), av = /*@__PURE__*/ nv(.33, 1.53, .69, .99), ov = /*@__PURE__*/ iv(av), sv = /*@__PURE__*/ rv(ov), cv = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * ov(e) : .5 * (2 - 2 ** (-10 * (e - 1))), lv = (e) => 1 - Math.sin(Math.acos(e)), uv = /* @__PURE__ */ iv(lv), dv = /* @__PURE__ */ rv(lv), Ite = /*@__PURE__*/ nv(.42, 0, 1, 1), Lte = /*@__PURE__*/ nv(0, 0, .58, 1), fv = /*@__PURE__*/ nv(.42, 0, .58, 1), Rte = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number", pv = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", mv = {
+ linear: J_,
+ easeIn: Ite,
+ easeInOut: fv,
+ easeOut: Lte,
+ circIn: lv,
+ circInOut: dv,
+ circOut: uv,
+ backIn: ov,
+ backInOut: sv,
+ backOut: av,
+ anticipate: cv
+}, zte = (e) => typeof e == "string", hv = (e) => {
+ if (/* @__PURE__ */ pv(e)) {
e.length;
let [t, n, r, i] = e;
- return /* @__PURE__ */ rv(t, n, r, i);
+ return /* @__PURE__ */ nv(t, n, r, i);
}
- return Rte(e) ? (hv[e], `${e}`, hv[e]) : e;
-}, _v = [
+ return zte(e) ? (mv[e], `${e}`, mv[e]) : e;
+}, gv = [
"setup",
"read",
"resolveKeyframes",
@@ -23327,7 +23327,7 @@ var iv = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 -
];
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/render-step.mjs
-function zte(e) {
+function Bte(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
delta: 0,
timestamp: 0,
@@ -23358,25 +23358,25 @@ function zte(e) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/batcher.mjs
-var Bte = 40;
-function vv(e, t) {
+var Vte = 40;
+function _v(e, t) {
let n = !1, r = !0, i = {
delta: 0,
timestamp: 0,
isProcessing: !1
- }, a = () => n = !0, o = _v.reduce((e, t) => (e[t] = zte(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
- let a = W_.useManualTiming, o = a ? i.timestamp : performance.now();
- n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Bte), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
+ }, a = () => n = !0, o = gv.reduce((e, t) => (e[t] = Bte(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {
+ let a = U_.useManualTiming, o = a ? i.timestamp : performance.now();
+ n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(o - i.timestamp, Vte), 1)), i.timestamp = o, i.isProcessing = !0, s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), m.process(i), i.isProcessing = !1, n && t && (r = !1, e(h));
}, g = () => {
n = !0, r = !0, i.isProcessing || e(h);
};
return {
- schedule: _v.reduce((e, t) => {
+ schedule: gv.reduce((e, t) => {
let r = o[t];
return e[t] = (e, t = !1, i = !1) => (n || g(), r.schedule(e, t, i)), e;
}, {}),
cancel: (e) => {
- for (let t = 0; t < _v.length; t++) o[_v[t]].cancel(e);
+ for (let t = 0; t < gv.length; t++) o[gv[t]].cancel(e);
},
state: i,
steps: o
@@ -23384,59 +23384,59 @@ function vv(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/frame.mjs
-var { schedule: yv, cancel: bv, state: xv, steps: Sv } = /* @__PURE__ */ vv(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Y_, !0), Cv;
-function Vte() {
- Cv = void 0;
+var { schedule: vv, cancel: yv, state: bv, steps: xv } = /* @__PURE__ */ _v(typeof requestAnimationFrame < "u" ? requestAnimationFrame : J_, !0), Sv;
+function Hte() {
+ Sv = void 0;
}
-var wv = {
- now: () => (Cv === void 0 && wv.set(xv.isProcessing || W_.useManualTiming ? xv.timestamp : performance.now()), Cv),
+var Cv = {
+ now: () => (Sv === void 0 && Cv.set(bv.isProcessing || U_.useManualTiming ? bv.timestamp : performance.now()), Sv),
set: (e) => {
- Cv = e, queueMicrotask(Vte);
+ Sv = e, queueMicrotask(Hte);
}
-}, Tv = (e) => (t) => typeof t == "string" && t.startsWith(e), Ev = /*@__PURE__*/ Tv("--"), Hte = /*@__PURE__*/ Tv("var(--"), Dv = (e) => Hte(e) ? Ute.test(e.split("/*")[0].trim()) : !1, Ute = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
-function Ov(e) {
+}, wv = (e) => (t) => typeof t == "string" && t.startsWith(e), Tv = /*@__PURE__*/ wv("--"), Ute = /*@__PURE__*/ wv("var(--"), Ev = (e) => Ute(e) ? Wte.test(e.split("/*")[0].trim()) : !1, Wte = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
+function Dv(e) {
return typeof e == "string" && e.split("/*")[0].includes("var(--");
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
-var kv = {
+var Ov = {
test: (e) => typeof e == "number",
parse: parseFloat,
transform: (e) => e
+}, kv = {
+ ...Ov,
+ transform: (e) => H_(0, 1, e)
}, Av = {
- ...kv,
- transform: (e) => U_(0, 1, e)
-}, jv = {
- ...kv,
+ ...Ov,
default: 1
-}, Mv = (e) => Math.round(e * 1e5) / 1e5, Nv = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
+}, jv = (e) => Math.round(e * 1e5) / 1e5, Mv = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
-function Wte(e) {
+function Gte(e) {
return e == null;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
-var Gte = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Pv = (e, t) => (n) => !!(typeof n == "string" && Gte.test(n) && n.startsWith(e) || t && !Wte(n) && Object.prototype.hasOwnProperty.call(n, t)), Fv = (e, t, n) => (r) => {
+var Kte = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, Nv = (e, t) => (n) => !!(typeof n == "string" && Kte.test(n) && n.startsWith(e) || t && !Gte(n) && Object.prototype.hasOwnProperty.call(n, t)), Pv = (e, t, n) => (r) => {
if (typeof r != "string") return r;
- let [i, a, o, s] = r.match(Nv);
+ let [i, a, o, s] = r.match(Mv);
return {
[e]: parseFloat(i),
[t]: parseFloat(a),
[n]: parseFloat(o),
alpha: s === void 0 ? 1 : parseFloat(s)
};
-}, Kte = (e) => U_(0, 255, e), Iv = {
- ...kv,
- transform: (e) => Math.round(Kte(e))
-}, Lv = {
- test: /*@__PURE__*/ Pv("rgb", "red"),
- parse: /*@__PURE__*/ Fv("red", "green", "blue"),
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Iv.transform(e) + ", " + Iv.transform(t) + ", " + Iv.transform(n) + ", " + Mv(Av.transform(r)) + ")"
+}, qte = (e) => H_(0, 255, e), Fv = {
+ ...Ov,
+ transform: (e) => Math.round(qte(e))
+}, Iv = {
+ test: /*@__PURE__*/ Nv("rgb", "red"),
+ parse: /*@__PURE__*/ Pv("red", "green", "blue"),
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Fv.transform(e) + ", " + Fv.transform(t) + ", " + Fv.transform(n) + ", " + jv(kv.transform(r)) + ")"
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hex.mjs
-function qte(e) {
+function Jte(e) {
let t = "", n = "", r = "", i = "";
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
red: parseInt(t, 16),
@@ -23445,38 +23445,38 @@ function qte(e) {
alpha: i ? parseInt(i, 16) / 255 : 1
};
}
-var Rv = {
- test: /*@__PURE__*/ Pv("#"),
- parse: qte,
- transform: Lv.transform
-}, zv = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
+var Lv = {
+ test: /*@__PURE__*/ Nv("#"),
+ parse: Jte,
+ transform: Iv.transform
+}, Rv = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
parse: parseFloat,
transform: (t) => `${t}${e}`
-}), Bv = /*@__PURE__*/ zv("deg"), Vv = /*@__PURE__*/ zv("%"), Hv = /*@__PURE__*/ zv("px"), Jte = /*@__PURE__*/ zv("vh"), Yte = /*@__PURE__*/ zv("vw"), Uv = {
- ...Vv,
- parse: (e) => Vv.parse(e) / 100,
- transform: (e) => Vv.transform(e * 100)
+}), zv = /*@__PURE__*/ Rv("deg"), Bv = /*@__PURE__*/ Rv("%"), Vv = /*@__PURE__*/ Rv("px"), Yte = /*@__PURE__*/ Rv("vh"), Xte = /*@__PURE__*/ Rv("vw"), Hv = {
+ ...Bv,
+ parse: (e) => Bv.parse(e) / 100,
+ transform: (e) => Bv.transform(e * 100)
+}, Uv = {
+ test: /*@__PURE__*/ Nv("hsl", "hue"),
+ parse: /*@__PURE__*/ Pv("hue", "saturation", "lightness"),
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Bv.transform(jv(t)) + ", " + Bv.transform(jv(n)) + ", " + jv(kv.transform(r)) + ")"
}, Wv = {
- test: /*@__PURE__*/ Pv("hsl", "hue"),
- parse: /*@__PURE__*/ Fv("hue", "saturation", "lightness"),
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Vv.transform(Mv(t)) + ", " + Vv.transform(Mv(n)) + ", " + Mv(Av.transform(r)) + ")"
-}, Gv = {
- test: (e) => Lv.test(e) || Rv.test(e) || Wv.test(e),
- parse: (e) => Lv.test(e) ? Lv.parse(e) : Wv.test(e) ? Wv.parse(e) : Rv.parse(e),
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Lv.transform(e) : Wv.transform(e),
+ test: (e) => Iv.test(e) || Lv.test(e) || Uv.test(e),
+ parse: (e) => Iv.test(e) ? Iv.parse(e) : Uv.test(e) ? Uv.parse(e) : Lv.parse(e),
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Iv.transform(e) : Uv.transform(e),
getAnimatableNone: (e) => {
- let t = Gv.parse(e);
- return t.alpha = 0, Gv.transform(t);
+ let t = Wv.parse(e);
+ return t.alpha = 0, Wv.transform(t);
}
-}, Xte = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
+}, Zte = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/index.mjs
-function Zte(e) {
- return isNaN(e) && typeof e == "string" && (e.match(Nv)?.length || 0) + (e.match(Xte)?.length || 0) > 0;
+function Qte(e) {
+ return isNaN(e) && typeof e == "string" && (e.match(Mv)?.length || 0) + (e.match(Zte)?.length || 0) > 0;
}
-var Kv = "number", qv = "color", Qte = "var", $te = "var(", Jv = "${}", ene = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
-function Yv(e) {
+var Gv = "number", Kv = "color", $te = "var", ene = "var(", qv = "${}", tne = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
+function Jv(e) {
let t = e.toString(), n = [], r = {
color: [],
number: [],
@@ -23484,51 +23484,51 @@ function Yv(e) {
}, i = [], a = 0;
return {
values: n,
- split: t.replace(ene, (e) => (Gv.test(e) ? (r.color.push(a), i.push(qv), n.push(Gv.parse(e))) : e.startsWith($te) ? (r.var.push(a), i.push(Qte), n.push(e)) : (r.number.push(a), i.push(Kv), n.push(parseFloat(e))), ++a, Jv)).split(Jv),
+ split: t.replace(tne, (e) => (Wv.test(e) ? (r.color.push(a), i.push(Kv), n.push(Wv.parse(e))) : e.startsWith(ene) ? (r.var.push(a), i.push($te), n.push(e)) : (r.number.push(a), i.push(Gv), n.push(parseFloat(e))), ++a, qv)).split(qv),
indexes: r,
types: i
};
}
-function tne(e) {
- return Yv(e).values;
+function nne(e) {
+ return Jv(e).values;
}
-function Xv({ split: e, types: t }) {
+function Yv({ split: e, types: t }) {
let n = e.length;
return (r) => {
let i = "";
for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
let e = t[a];
- i += e === Kv ? Mv(r[a]) : e === qv ? Gv.transform(r[a]) : r[a];
+ i += e === Gv ? jv(r[a]) : e === Kv ? Wv.transform(r[a]) : r[a];
}
return i;
};
}
-function nne(e) {
- return Xv(Yv(e));
-}
-var rne = (e) => typeof e == "number" ? 0 : Gv.test(e) ? Gv.getAnimatableNone(e) : e, ine = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : rne(e);
-function ane(e) {
- let t = Yv(e);
- return Xv(t)(t.values.map((e, n) => ine(e, t.split[n])));
-}
-var Zv = {
- test: Zte,
- parse: tne,
- createTransformer: nne,
- getAnimatableNone: ane
+function rne(e) {
+ return Yv(Jv(e));
+}
+var ine = (e) => typeof e == "number" ? 0 : Wv.test(e) ? Wv.getAnimatableNone(e) : e, ane = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : ine(e);
+function one(e) {
+ let t = Jv(e);
+ return Yv(t)(t.values.map((e, n) => ane(e, t.split[n])));
+}
+var Xv = {
+ test: Qte,
+ parse: nne,
+ createTransformer: rne,
+ getAnimatableNone: one
};
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
-function Qv(e, t, n) {
+function Zv(e, t, n) {
return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
}
-function one({ hue: e, saturation: t, lightness: n, alpha: r }) {
+function sne({ hue: e, saturation: t, lightness: n, alpha: r }) {
e /= 360, t /= 100, n /= 100;
let i = 0, a = 0, o = 0;
if (!t) i = a = o = n;
else {
let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;
- i = Qv(s, r, e + 1 / 3), a = Qv(s, r, e), o = Qv(s, r, e - 1 / 3);
+ i = Zv(s, r, e + 1 / 3), a = Zv(s, r, e), o = Zv(s, r, e - 1 / 3);
}
return {
red: Math.round(i * 255),
@@ -23539,61 +23539,61 @@ function one({ hue: e, saturation: t, lightness: n, alpha: r }) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
-function $v(e, t) {
+function Qv(e, t) {
return (n) => n > 0 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/number.mjs
-var ey = (e, t, n) => e + (t - e) * n, ty = (e, t, n) => {
+var $v = (e, t, n) => e + (t - e) * n, ey = (e, t, n) => {
let r = e * e, i = n * (t * t - r) + r;
return i < 0 ? 0 : Math.sqrt(i);
-}, ny = [
- Rv,
+}, ty = [
Lv,
- Wv
-], sne = (e) => ny.find((t) => t.test(e));
-function ry(e) {
- let t = sne(e);
+ Iv,
+ Uv
+], cne = (e) => ty.find((t) => t.test(e));
+function ny(e) {
+ let t = cne(e);
if (`${e}`, !t) return !1;
let n = t.parse(e);
- return t === Wv && (n = one(n)), n;
+ return t === Uv && (n = sne(n)), n;
}
-var iy = (e, t) => {
- let n = ry(e), r = ry(t);
- if (!n || !r) return $v(e, t);
+var ry = (e, t) => {
+ let n = ny(e), r = ny(t);
+ if (!n || !r) return Qv(e, t);
let i = { ...n };
- return (e) => (i.red = ty(n.red, r.red, e), i.green = ty(n.green, r.green, e), i.blue = ty(n.blue, r.blue, e), i.alpha = ey(n.alpha, r.alpha, e), Lv.transform(i));
-}, ay = /* @__PURE__ */ new Set(["none", "hidden"]);
-function cne(e, t) {
- return ay.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
+ return (e) => (i.red = ey(n.red, r.red, e), i.green = ey(n.green, r.green, e), i.blue = ey(n.blue, r.blue, e), i.alpha = $v(n.alpha, r.alpha, e), Iv.transform(i));
+}, iy = /* @__PURE__ */ new Set(["none", "hidden"]);
+function lne(e, t) {
+ return iy.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/complex.mjs
-function oy(e, t) {
- return (n) => ey(e, t, n);
+function ay(e, t) {
+ return (n) => $v(e, t, n);
}
-function sy(e) {
- return typeof e == "number" ? oy : typeof e == "string" ? Dv(e) ? $v : Gv.test(e) ? iy : dne : Array.isArray(e) ? cy : typeof e == "object" ? Gv.test(e) ? iy : lne : $v;
+function oy(e) {
+ return typeof e == "number" ? ay : typeof e == "string" ? Ev(e) ? Qv : Wv.test(e) ? ry : fne : Array.isArray(e) ? sy : typeof e == "object" ? Wv.test(e) ? ry : une : Qv;
}
-function cy(e, t) {
- let n = [...e], r = n.length, i = e.map((e, n) => sy(e)(e, t[n]));
+function sy(e, t) {
+ let n = [...e], r = n.length, i = e.map((e, n) => oy(e)(e, t[n]));
return (e) => {
for (let t = 0; t < r; t++) n[t] = i[t](e);
return n;
};
}
-function lne(e, t) {
+function une(e, t) {
let n = {
...e,
...t
}, r = {};
- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = sy(e[i])(e[i], t[i]));
+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = oy(e[i])(e[i], t[i]));
return (e) => {
for (let t in r) n[t] = r[t](e);
return n;
};
}
-function une(e, t) {
+function dne(e, t) {
let n = [], r = {
color: 0,
var: 0,
@@ -23605,50 +23605,50 @@ function une(e, t) {
}
return n;
}
-var dne = (e, t) => {
- let n = Zv.createTransformer(t), r = Yv(e), i = Yv(t);
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? ay.has(e) && !i.values.length || ay.has(t) && !r.values.length ? cne(e, t) : X_(cy(une(r, i), i.values), n) : (`${e}${t}`, $v(e, t));
+var fne = (e, t) => {
+ let n = Xv.createTransformer(t), r = Jv(e), i = Jv(t);
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? iy.has(e) && !i.values.length || iy.has(t) && !r.values.length ? lne(e, t) : Y_(sy(dne(r, i), i.values), n) : (`${e}${t}`, Qv(e, t));
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/mix/index.mjs
-function ly(e, t, n) {
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? ey(e, t, n) : sy(e)(e, t);
+function cy(e, t, n) {
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? $v(e, t, n) : oy(e)(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
-var fne = (e) => {
+var pne = (e) => {
let t = ({ timestamp: t }) => e(t);
return {
- start: (e = !0) => yv.update(t, e),
- stop: () => bv(t),
- now: () => xv.isProcessing ? xv.timestamp : wv.now()
+ start: (e = !0) => vv.update(t, e),
+ stop: () => yv(t),
+ now: () => bv.isProcessing ? bv.timestamp : Cv.now()
};
-}, uy = (e, t, n = 10) => {
+}, ly = (e, t, n = 10) => {
let r = "", i = Math.max(Math.round(t / n), 2);
for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
return `linear(${r.substring(0, r.length - 2)})`;
-}, dy = 2e4;
-function fy(e) {
+}, uy = 2e4;
+function dy(e) {
let t = 0, n = e.next(t);
for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
return t >= 2e4 ? Infinity : t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
-function pne(e, t = 100, n) {
+function mne(e, t = 100, n) {
let r = n({
...e,
keyframes: [0, t]
- }), i = Math.min(fy(r), dy);
+ }), i = Math.min(dy(r), uy);
return {
type: "keyframes",
ease: (e) => r.next(i * e).value / t,
- duration: /* @__PURE__ */ ev(i)
+ duration: /* @__PURE__ */ $_(i)
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var py = {
+var fy = {
stiffness: 100,
damping: 10,
mass: 1,
@@ -23669,31 +23669,31 @@ var py = {
minDamping: .05,
maxDamping: 1
};
-function my(e, t) {
+function py(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var mne = 12;
-function hne(e, t, n) {
+var hne = 12;
+function gne(e, t, n) {
let r = n;
- for (let n = 1; n < mne; n++) r -= e(r) / t(r);
+ for (let n = 1; n < hne; n++) r -= e(r) / t(r);
return r;
}
-var hy = .001;
-function gne({ duration: e = py.duration, bounce: t = py.bounce, velocity: n = py.velocity, mass: r = py.mass }) {
+var my = .001;
+function _ne({ duration: e = fy.duration, bounce: t = fy.bounce, velocity: n = fy.velocity, mass: r = fy.mass }) {
let i, a;
- py.maxDuration;
+ fy.maxDuration;
let o = 1 - t;
- o = U_(py.minDamping, py.maxDamping, o), e = U_(py.minDuration, py.maxDuration, /* @__PURE__ */ ev(e)), o < 1 ? (i = (t) => {
- let r = t * o, i = r * e, a = r - n, s = my(t, o), c = Math.exp(-i);
- return hy - a / s * c;
+ o = H_(fy.minDamping, fy.maxDamping, o), e = H_(fy.minDuration, fy.maxDuration, /* @__PURE__ */ $_(e)), o < 1 ? (i = (t) => {
+ let r = t * o, i = r * e, a = r - n, s = py(t, o), c = Math.exp(-i);
+ return my - a / s * c;
}, a = (t) => {
- let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = my(t ** 2, o);
- return (-i(t) + hy > 0 ? -1 : 1) * ((a - s) * c) / l;
+ let r = t * o * e, a = r * n + n, s = o ** 2 * t ** 2 * e, c = Math.exp(-r), l = py(t ** 2, o);
+ return (-i(t) + my > 0 ? -1 : 1) * ((a - s) * c) / l;
}) : (i = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), a = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
- let s = 5 / e, c = hne(i, a, s);
- if (e = /* @__PURE__ */ $_(e), isNaN(c)) return {
- stiffness: py.stiffness,
- damping: py.damping,
+ let s = 5 / e, c = gne(i, a, s);
+ if (e = /* @__PURE__ */ Q_(e), isNaN(c)) return {
+ stiffness: fy.stiffness,
+ damping: fy.damping,
duration: e
};
{
@@ -23705,47 +23705,47 @@ function gne({ duration: e = py.duration, bounce: t = py.bounce, velocity: n = p
};
}
}
-var _ne = ["duration", "bounce"], vne = [
+var vne = ["duration", "bounce"], yne = [
"stiffness",
"damping",
"mass"
];
-function gy(e, t) {
+function hy(e, t) {
return t.some((t) => e[t] !== void 0);
}
-function yne(e) {
+function bne(e) {
let t = {
- velocity: py.velocity,
- stiffness: py.stiffness,
- damping: py.damping,
- mass: py.mass,
+ velocity: fy.velocity,
+ stiffness: fy.stiffness,
+ damping: fy.damping,
+ mass: fy.mass,
isResolvedFromDuration: !1,
...e
};
- if (!gy(e, vne) && gy(e, _ne)) {
+ if (!hy(e, yne) && hy(e, vne)) {
if (t.velocity = 0, e.visualDuration) {
- let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * U_(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
+ let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * H_(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
t = {
...t,
- mass: py.mass,
+ mass: fy.mass,
stiffness: i,
damping: a
};
} else {
- let n = gne({
+ let n = _ne({
...e,
velocity: 0
});
t = {
...t,
...n,
- mass: py.mass
+ mass: fy.mass
}, t.isResolvedFromDuration = !0;
}
}
return t;
}
-function _y(e = py.visualDuration, t = py.bounce) {
+function gy(e = fy.visualDuration, t = fy.bounce) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -23753,13 +23753,13 @@ function _y(e = py.visualDuration, t = py.bounce) {
}, { restSpeed: r, restDelta: i } = n, a = n.keyframes[0], o = n.keyframes[n.keyframes.length - 1], s = {
done: !1,
value: a
- }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = yne({
+ }, { stiffness: c, damping: l, mass: u, duration: d, velocity: f, isResolvedFromDuration: p } = bne({
...n,
- velocity: -/* @__PURE__ */ ev(n.velocity || 0)
- }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ ev(Math.sqrt(c / u)), v = Math.abs(g) < 5;
- r ||= v ? py.restSpeed.granular : py.restSpeed.default, i ||= v ? py.restDelta.granular : py.restDelta.default;
+ velocity: -/* @__PURE__ */ $_(n.velocity || 0)
+ }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ $_(Math.sqrt(c / u)), v = Math.abs(g) < 5;
+ r ||= v ? fy.restSpeed.granular : fy.restSpeed.default, i ||= v ? fy.restDelta.granular : fy.restDelta.default;
let y, b, x, S, C, w;
- if (h < 1) x = my(_, h), S = (m + h * _ * g) / x, y = (e) => {
+ if (h < 1) x = py(_, h), S = (m + h * _ * g) / x, y = (e) => {
let t = Math.exp(-h * _ * e);
return o - t * (S * Math.sin(x * e) + g * Math.cos(x * e));
}, C = h * _ * S + g * x, w = h * _ * g - S * x, b = (e) => Math.exp(-h * _ * e) * (C * Math.sin(x * e) + w * Math.cos(x * e));
@@ -23781,42 +23781,42 @@ function _y(e = py.visualDuration, t = py.bounce) {
}
let T = {
calculatedDuration: p && d || null,
- velocity: (e) => /* @__PURE__ */ $_(b(e)),
+ velocity: (e) => /* @__PURE__ */ Q_(b(e)),
next: (e) => {
if (!p && h < 1) {
- let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ $_(t * (C * n + w * a));
+ let t = Math.exp(-h * _ * e), n = Math.sin(x * e), a = Math.cos(x * e), c = o - t * (S * n + g * a), l = /* @__PURE__ */ Q_(t * (C * n + w * a));
return s.done = Math.abs(l) <= r && Math.abs(o - c) <= i, s.value = s.done ? o : c, s;
}
let t = y(e);
if (p) s.done = e >= d;
else {
- let n = /* @__PURE__ */ $_(b(e));
+ let n = /* @__PURE__ */ Q_(b(e));
s.done = Math.abs(n) <= r && Math.abs(o - t) <= i;
}
return s.value = s.done ? o : t, s;
},
toString: () => {
- let e = Math.min(fy(T), dy), t = uy((t) => T.next(e * t).value, e, 30);
+ let e = Math.min(dy(T), uy), t = ly((t) => T.next(e * t).value, e, 30);
return e + "ms " + t;
},
toTransition: () => {}
};
return T;
}
-_y.applyToOptions = (e) => {
- let t = pne(e, 100, _y);
- return e.ease = t.ease, e.duration = /* @__PURE__ */ $_(t.duration), e.type = "keyframes", e;
+gy.applyToOptions = (e) => {
+ let t = mne(e, 100, gy);
+ return e.ease = t.ease, e.duration = /* @__PURE__ */ Q_(t.duration), e.type = "keyframes", e;
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var bne = 5;
-function vy(e, t, n) {
- let r = Math.max(t - bne, 0);
- return /* @__PURE__ */ tv(n - e(r), t - r);
+var xne = 5;
+function _y(e, t, n) {
+ let r = Math.max(t - xne, 0);
+ return /* @__PURE__ */ ev(n - e(r), t - r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function yy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function vy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -23826,9 +23826,9 @@ function yy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e), n = y(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : n;
}, x, S, C = (e) => {
- p(f.value) && (x = e, S = _y({
+ p(f.value) && (x = e, S = gy({
keyframes: [f.value, m(f.value)],
- velocity: vy(y, e, f.value),
+ velocity: _y(y, e, f.value),
damping: i,
stiffness: a,
restDelta: l,
@@ -23845,59 +23845,59 @@ function yy({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function xne(e, t, n) {
- let r = [], i = n || W_.mix || ly, a = e.length - 1;
+function Sne(e, t, n) {
+ let r = [], i = n || U_.mix || cy, a = e.length - 1;
for (let n = 0; n < a; n++) {
let a = i(e[n], e[n + 1]);
- t && (a = X_(Array.isArray(t) ? t[n] || Y_ : t, a)), r.push(a);
+ t && (a = Y_(Array.isArray(t) ? t[n] || J_ : t, a)), r.push(a);
}
return r;
}
-function by(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function yy(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (t.length, a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = xne(t, r, i), c = s.length, l = (n) => {
+ let s = Sne(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
- let i = /* @__PURE__ */ Z_(e[r], e[r + 1], n);
+ let i = /* @__PURE__ */ X_(e[r], e[r + 1], n);
return s[r](i);
};
- return n ? (t) => l(U_(e[0], e[a - 1], t)) : l;
+ return n ? (t) => l(H_(e[0], e[a - 1], t)) : l;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function Sne(e, t) {
+function Cne(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
- let i = /* @__PURE__ */ Z_(0, t, r);
- e.push(ey(n, 1, i));
+ let i = /* @__PURE__ */ X_(0, t, r);
+ e.push($v(n, 1, i));
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function Cne(e) {
+function wne(e) {
let t = [0];
- return Sne(t, e.length - 1), t;
+ return Cne(t, e.length - 1), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function xy(e, t) {
+function by(e, t) {
return e.map((e) => e * t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function Sy(e, t) {
- return e.map(() => t || pv).splice(0, e.length - 1);
+function xy(e, t) {
+ return e.map(() => t || fv).splice(0, e.length - 1);
}
-function Cy({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
- let i = /* @__PURE__ */ Lte(r) ? r.map(gv) : gv(r), a = {
+function Sy({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
+ let i = /* @__PURE__ */ Rte(r) ? r.map(hv) : hv(r), a = {
done: !1,
value: t[0]
- }, o = by(xy(n && n.length === t.length ? n : Cne(t), e), t, { ease: Array.isArray(i) ? i : Sy(t, i) });
+ }, o = yy(by(n && n.length === t.length ? n : wne(t), e), t, { ease: Array.isArray(i) ? i : xy(t, i) });
return {
calculatedDuration: e,
next: (t) => (a.value = o(t), a.done = t >= e, a)
@@ -23905,26 +23905,26 @@ function Cy({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var wy = (e) => e !== null;
-function Ty(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(wy), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Cy = (e) => e !== null;
+function wy(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Cy), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var Ey = {
- decay: yy,
- inertia: yy,
- tween: Cy,
- keyframes: Cy,
- spring: _y
+var Ty = {
+ decay: vy,
+ inertia: vy,
+ tween: Sy,
+ keyframes: Sy,
+ spring: gy
};
-function Dy(e) {
- typeof e.type == "string" && (e.type = Ey[e.type]);
+function Ey(e) {
+ typeof e.type == "string" && (e.type = Ty[e.type]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Oy = class {
+var Dy = class {
constructor() {
this.updateFinished();
}
@@ -23942,21 +23942,21 @@ var Oy = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, wne = (e) => e / 100, ky = class extends Oy {
+}, Tne = (e) => e / 100, Oy = class extends Dy {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
value: void 0
}, this.stop = () => {
let { motionValue: e } = this.options;
- e && e.updatedAt !== wv.now() && this.tick(wv.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
+ e && e.updatedAt !== Cv.now() && this.tick(Cv.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
}, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
}
initAnimation() {
let { options: e } = this;
- Dy(e);
- let { type: t = Cy, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Cy;
- s !== Cy && typeof o[0] != "number" && (this.mixKeyframes = X_(wne, ly(o[0], o[1])), o = [0, 100]);
+ Ey(e);
+ let { type: t = Sy, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Sy;
+ s !== Sy && typeof o[0] != "number" && (this.mixKeyframes = Y_(Tne, cy(o[0], o[1])), o = [0, 100]);
let c = s({
...e,
keyframes: o
@@ -23965,7 +23965,7 @@ var Oy = class {
...e,
keyframes: [...o].reverse(),
velocity: -a
- })), c.calculatedDuration === null && (c.calculatedDuration = fy(c));
+ })), c.calculatedDuration === null && (c.calculatedDuration = dy(c));
let { calculatedDuration: l } = c;
this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;
}
@@ -23983,54 +23983,54 @@ var Oy = class {
let v = this.currentTime, y = n;
if (u) {
let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
- !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = U_(0, 1, n) * o;
+ !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = H_(0, 1, n) * o;
}
let b;
_ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
let { done: x } = b;
!_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
- return S && p !== yy && (b.value = Ty(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
+ return S && p !== vy && (b.value = wy(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
}
then(e, t) {
return this.finished.then(e, t);
}
get duration() {
- return /* @__PURE__ */ ev(this.calculatedDuration);
+ return /* @__PURE__ */ $_(this.calculatedDuration);
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ ev(e);
+ return this.duration + /* @__PURE__ */ $_(e);
}
get time() {
- return /* @__PURE__ */ ev(this.currentTime);
+ return /* @__PURE__ */ $_(this.currentTime);
}
set time(e) {
- e = /* @__PURE__ */ $_(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
+ e = /* @__PURE__ */ Q_(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
let e = this.currentTime;
if (e <= 0) return this.options.velocity || 0;
if (this.generator.velocity) return this.generator.velocity(e);
let t = this.generator.next(e).value;
- return vy((e) => this.generator.next(e).value, e, t);
+ return _y((e) => this.generator.next(e).value, e, t);
}
get speed() {
return this.playbackSpeed;
}
set speed(e) {
let t = this.playbackSpeed !== e;
- t && this.driver && this.updateTime(wv.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ ev(this.currentTime));
+ t && this.driver && this.updateTime(Cv.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ $_(this.currentTime));
}
play() {
if (this.isStopped) return;
- let { driver: e = fne, startTime: t } = this.options;
+ let { driver: e = pne, startTime: t } = this.options;
this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();
let n = this.driver.now();
this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
}
pause() {
- this.state = "paused", this.updateTime(wv.now()), this.holdTime = this.currentTime;
+ this.state = "paused", this.updateTime(Cv.now()), this.holdTime = this.currentTime;
}
complete() {
this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -24056,12 +24056,12 @@ var Oy = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function Ay(e) {
+function ky(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var jy = (e) => e * 180 / Math.PI, My = (e) => Ny(jy(Math.atan2(e[1], e[0]))), Tne = {
+var Ay = (e) => e * 180 / Math.PI, jy = (e) => My(Ay(Math.atan2(e[1], e[0]))), Ene = {
x: 4,
y: 5,
translateX: 4,
@@ -24069,54 +24069,54 @@ var jy = (e) => e * 180 / Math.PI, My = (e) => Ny(jy(Math.atan2(e[1], e[0]))), T
scaleX: 0,
scaleY: 3,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: My,
- rotateZ: My,
- skewX: (e) => jy(Math.atan(e[1])),
- skewY: (e) => jy(Math.atan(e[2])),
+ rotate: jy,
+ rotateZ: jy,
+ skewX: (e) => Ay(Math.atan(e[1])),
+ skewY: (e) => Ay(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, Ny = (e) => (e %= 360, e < 0 && (e += 360), e), Py = My, Fy = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Iy = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Ene = {
+}, My = (e) => (e %= 360, e < 0 && (e += 360), e), Ny = jy, Py = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Fy = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), Dne = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: Fy,
- scaleY: Iy,
- scale: (e) => (Fy(e) + Iy(e)) / 2,
- rotateX: (e) => Ny(jy(Math.atan2(e[6], e[5]))),
- rotateY: (e) => Ny(jy(Math.atan2(-e[2], e[0]))),
- rotateZ: Py,
- rotate: Py,
- skewX: (e) => jy(Math.atan(e[4])),
- skewY: (e) => jy(Math.atan(e[1])),
+ scaleX: Py,
+ scaleY: Fy,
+ scale: (e) => (Py(e) + Fy(e)) / 2,
+ rotateX: (e) => My(Ay(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => My(Ay(Math.atan2(-e[2], e[0]))),
+ rotateZ: Ny,
+ rotate: Ny,
+ skewX: (e) => Ay(Math.atan(e[4])),
+ skewY: (e) => Ay(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function Ly(e) {
+function Iy(e) {
return +!!e.includes("scale");
}
-function Ry(e, t) {
- if (!e || e === "none") return Ly(t);
+function Ly(e, t) {
+ if (!e || e === "none") return Iy(t);
let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;
- if (n) r = Ene, i = n;
+ if (n) r = Dne, i = n;
else {
let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);
- r = Tne, i = t;
+ r = Ene, i = t;
}
- if (!i) return Ly(t);
- let a = r[t], o = i[1].split(",").map(One);
+ if (!i) return Iy(t);
+ let a = r[t], o = i[1].split(",").map(kne);
return typeof a == "function" ? a(o) : o[a];
}
-var Dne = (e, t) => {
+var One = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return Ry(n, t);
+ return Ly(n, t);
};
-function One(e) {
+function kne(e) {
return parseFloat(e.trim());
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
-var zy = [
+var Ry = [
"transformPerspective",
"x",
"y",
@@ -24134,19 +24134,19 @@ var zy = [
"skew",
"skewX",
"skewY"
-], By = /* @__PURE__ */ new Set([...zy, "pathRotation"]), Vy = (e) => e === kv || e === Hv, kne = /* @__PURE__ */ new Set([
+], zy = /* @__PURE__ */ new Set([...Ry, "pathRotation"]), By = (e) => e === Ov || e === Vv, Ane = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), Ane = zy.filter((e) => !kne.has(e));
-function jne(e) {
+]), jne = Ry.filter((e) => !Ane.has(e));
+function Mne(e) {
let t = [];
- return Ane.forEach((n) => {
+ return jne.forEach((n) => {
let r = e.getValue(n);
r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
}), t;
}
-var Hy = {
+var Vy = {
width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
let i = e.max - e.min;
return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -24159,18 +24159,18 @@ var Hy = {
left: (e, { left: t }) => parseFloat(t),
bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
- x: (e, { transform: t }) => Ry(t, "x"),
- y: (e, { transform: t }) => Ry(t, "y")
+ x: (e, { transform: t }) => Ly(t, "x"),
+ y: (e, { transform: t }) => Ly(t, "y")
};
-Hy.translateX = Hy.x, Hy.translateY = Hy.y;
+Vy.translateX = Vy.x, Vy.translateY = Vy.y;
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
-var Uy = /* @__PURE__ */ new Set(), Wy = !1, Gy = !1, Ky = !1;
-function qy() {
- if (Gy) {
- let e = Array.from(Uy).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
+var Hy = /* @__PURE__ */ new Set(), Uy = !1, Wy = !1, Gy = !1;
+function Ky() {
+ if (Wy) {
+ let e = Array.from(Hy).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
t.forEach((e) => {
- let t = jne(e);
+ let t = Mne(e);
t.length && (n.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -24182,22 +24182,22 @@ function qy() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- Gy = !1, Wy = !1, Uy.forEach((e) => e.complete(Ky)), Uy.clear();
+ Wy = !1, Uy = !1, Hy.forEach((e) => e.complete(Gy)), Hy.clear();
}
-function Jy() {
- Uy.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (Gy = !0);
+function qy() {
+ Hy.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (Wy = !0);
});
}
-function Mne() {
- Ky = !0, Jy(), qy(), Ky = !1;
+function Nne() {
+ Gy = !0, qy(), Ky(), Gy = !1;
}
-var Yy = class {
+var Jy = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (Uy.add(this), Wy || (Wy = !0, yv.read(Jy), yv.resolveKeyframes(qy))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (Hy.add(this), Uy || (Uy = !0, vv.read(qy), vv.resolveKeyframes(Ky))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -24210,70 +24210,70 @@ var Yy = class {
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- Ay(e);
+ ky(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Uy.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), Hy.delete(this);
}
cancel() {
- this.state === "scheduled" && (Uy.delete(this), this.state = "pending");
+ this.state === "scheduled" && (Hy.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, Xy = (e) => e.startsWith("--");
+}, Yy = (e) => e.startsWith("--");
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function Zy(e, t, n) {
- Xy(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function Xy(e, t, n) {
+ Yy(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Nne = {};
+var Pne = {};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function Qy(e, t) {
- let n = /* @__PURE__ */ J_(e);
- return () => Nne[t] ?? n();
+function Zy(e, t) {
+ let n = /* @__PURE__ */ q_(e);
+ return () => Pne[t] ?? n();
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Pne = /* @__PURE__ */ Qy(() => window.ScrollTimeline !== void 0, "scrollTimeline"), $y = /*@__PURE__*/ Qy(() => {
+var Fne = /* @__PURE__ */ Zy(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Qy = /*@__PURE__*/ Zy(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), eb = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, tb = {
+}, "linearEasing"), $y = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, eb = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ eb([
+ circIn: /*@__PURE__*/ $y([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ eb([
+ circOut: /*@__PURE__*/ $y([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ eb([
+ backIn: /*@__PURE__*/ $y([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ eb([
+ backOut: /*@__PURE__*/ $y([
.33,
1.53,
.69,
@@ -24282,15 +24282,15 @@ var Pne = /* @__PURE__ */ Qy(() => window.ScrollTimeline !== void 0, "scrollTime
};
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function nb(e, t) {
- if (e) return typeof e == "function" ? $y() ? uy(e, t) : "ease-out" : /* @__PURE__ */ mv(e) ? eb(e) : Array.isArray(e) ? e.map((e) => nb(e, t) || tb.easeOut) : tb[e];
+function tb(e, t) {
+ if (e) return typeof e == "function" ? Qy() ? ly(e, t) : "ease-out" : /* @__PURE__ */ pv(e) ? $y(e) : Array.isArray(e) ? e.map((e) => tb(e, t) || eb.easeOut) : eb[e];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function Fne(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function Ine(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
let u = { [t]: n };
c && (u.offset = c);
- let d = nb(s, i);
+ let d = tb(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -24304,26 +24304,26 @@ function Fne(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function rb(e) {
+function nb(e) {
return typeof e == "function" && "applyToOptions" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function Ine({ type: e, ...t }) {
- return rb(e) && $y() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Lne({ type: e, ...t }) {
+ return nb(e) && Qy() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var ib = class extends Oy {
+var rb = class extends Dy {
constructor(e) {
if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;
this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;
- let c = Ine(e);
- this.animation = Fne(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Lne(e);
+ this.animation = Ine(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = Ty(r, this.options, o, this.speed);
- this.updateMotionValue && this.updateMotionValue(e), Zy(t, n, e), this.animation.cancel();
+ let e = wy(r, this.options, o, this.speed);
+ this.updateMotionValue && this.updateMotionValue(e), Xy(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
};
@@ -24354,18 +24354,18 @@ var ib = class extends Oy {
}
get duration() {
let e = this.animation.effect?.getComputedTiming?.().duration || 0;
- return /* @__PURE__ */ ev(Number(e));
+ return /* @__PURE__ */ $_(Number(e));
}
get iterationDuration() {
let { delay: e = 0 } = this.options || {};
- return this.duration + /* @__PURE__ */ ev(e);
+ return this.duration + /* @__PURE__ */ $_(e);
}
get time() {
- return /* @__PURE__ */ ev(Number(this.animation.currentTime) || 0);
+ return /* @__PURE__ */ $_(Number(this.animation.currentTime) || 0);
}
set time(e) {
let t = this.finishedTime !== null;
- this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ $_(e), t && this.animation.pause();
+ this.manualStartTime = null, this.finishedTime = null, this.animation.currentTime = /* @__PURE__ */ Q_(e), t && this.animation.pause();
}
get speed() {
return this.animation.playbackRate;
@@ -24383,24 +24383,24 @@ var ib = class extends Oy {
this.manualStartTime = this.animation.startTime = e;
}
attachTimeline({ timeline: e, rangeStart: t, rangeEnd: n, observe: r }) {
- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Pne() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), Y_) : r(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Fne() ? (this.animation.timeline = e, t && (this.animation.rangeStart = t), n && (this.animation.rangeEnd = n), J_) : r(this);
}
-}, ab = {
- anticipate: lv,
- backInOut: cv,
- circInOut: fv
+}, ib = {
+ anticipate: cv,
+ backInOut: sv,
+ circInOut: dv
};
-function Lne(e) {
- return e in ab;
-}
function Rne(e) {
- typeof e.ease == "string" && Lne(e.ease) && (e.ease = ab[e.ease]);
+ return e in ib;
+}
+function zne(e) {
+ typeof e.ease == "string" && Rne(e.ease) && (e.ease = ib[e.ease]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
-var ob = 10, sb = class extends ib {
+var ab = 10, ob = class extends rb {
constructor(e) {
- Rne(e), Dy(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ zne(e), Ey(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
updateMotionValue(e) {
let { motionValue: t, onUpdate: n, onComplete: r, element: i, ...a } = this.options;
@@ -24409,48 +24409,48 @@ var ob = 10, sb = class extends ib {
t.set(e);
return;
}
- let o = new ky({
+ let o = new Oy({
...a,
autoplay: !1
- }), s = Math.max(ob, wv.now() - this.startTime), c = U_(0, ob, s - ob), l = o.sample(s).value, { name: u } = this.options;
- i && u && Zy(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
+ }), s = Math.max(ab, Cv.now() - this.startTime), c = H_(0, ab, s - ab), l = o.sample(s).value, { name: u } = this.options;
+ i && u && Xy(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
}
-}, cb = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Zv.test(e) || e === "0") && !e.startsWith("url("));
+}, sb = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Xv.test(e) || e === "0") && !e.startsWith("url("));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function lb(e) {
+function cb(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function ub(e, t, n, r) {
+function lb(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = cb(i, t), s = cb(a, t);
- return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : lb(e) || (n === "spring" || rb(n)) && r;
+ let a = e[e.length - 1], o = sb(i, t), s = sb(a, t);
+ return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : cb(e) || (n === "spring" || nb(n)) && r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function db(e) {
+function ub(e) {
e.duration = 0, e.type = "keyframes";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var fb = /* @__PURE__ */ new Set([
+var db = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform",
"backgroundColor"
-]), zne = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function Bne(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && zne.test(e[t])) return !0;
+]), Bne = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function Vne(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Bne.test(e[t])) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
-var Vne = /* @__PURE__ */ new Set([
+var Hne = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -24461,20 +24461,20 @@ var Vne = /* @__PURE__ */ new Set([
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), Hne = /*@__PURE__*/ J_(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
-function Une(e) {
+]), Une = /*@__PURE__*/ q_(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
+function Wne(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e, c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return Hne() && n && (fb.has(n) || Vne.has(n) && Bne(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
+ return Une() && n && (db.has(n) || Hne.has(n) && Vne(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var Wne = 40, Gne = class extends Oy {
+var Gne = 40, Kne = class extends Dy {
constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
- }, this.createdAt = wv.now();
+ }, this.createdAt = Cv.now();
let d = {
autoplay: e,
delay: t,
@@ -24486,33 +24486,33 @@ var Wne = 40, Gne = class extends Oy {
motionValue: c,
element: l,
...u
- }, f = l?.KeyframeResolver || Yy;
+ }, f = l?.KeyframeResolver || Jy;
this.keyframeResolver = new f(o, (e, t, n) => this.onKeyframesResolved(e, t, d, !n), s, c, l), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
- this.resolvedAt = wv.now();
+ this.resolvedAt = Cv.now();
let u = !0;
- ub(e, i, a, o) || (u = !1, (W_.instantAnimations || !s) && l?.(Ty(e, n, t)), e[0] = e[e.length - 1], db(n), n.repeat = 0);
+ lb(e, i, a, o) || (u = !1, (U_.instantAnimations || !s) && l?.(wy(e, n, t)), e[0] = e[e.length - 1], ub(n), n.repeat = 0);
let d = {
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Wne ? this.resolvedAt : this.createdAt : void 0,
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > Gne ? this.resolvedAt : this.createdAt : void 0,
finalKeyframe: t,
...n,
keyframes: e
- }, f = u && !c && Une(d), p = d.motionValue?.owner?.current, m;
+ }, f = u && !c && Wne(d), p = d.motionValue?.owner?.current, m;
if (f) try {
- m = new sb({
+ m = new ob({
...d,
element: p
});
} catch {
- m = new ky(d);
+ m = new Oy(d);
}
- else m = new ky(d);
+ else m = new Oy(d);
m.finished.then(() => {
this.notifyFinished();
- }).catch(Y_), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
+ }).catch(J_), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
return this._animation ? this.animation.finished : this._finished;
@@ -24521,7 +24521,7 @@ var Wne = 40, Gne = class extends Oy {
return this.finished.finally(e).then(() => {});
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Mne()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), Nne()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -24562,7 +24562,7 @@ var Wne = 40, Gne = class extends Oy {
cancel() {
this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
}
-}, Kne = class {
+}, qne = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -24602,10 +24602,10 @@ var Wne = 40, Gne = class extends Oy {
return this.getAll("startTime");
}
get duration() {
- return pb(this.animations, "duration");
+ return fb(this.animations, "duration");
}
get iterationDuration() {
- return pb(this.animations, "iterationDuration");
+ return fb(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -24623,7 +24623,7 @@ var Wne = 40, Gne = class extends Oy {
this.runAll("complete");
}
};
-function pb(e, t) {
+function fb(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -24633,32 +24633,32 @@ function pb(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var qne = class extends Kne {
+var Jne = class extends qne {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, mb = /* @__PURE__ */ new WeakMap(), Jne = (e, t = "") => `${e}:${t}`;
-function Yne(e) {
- let t = mb.get(e);
- return t || (t = /* @__PURE__ */ new Map(), mb.set(e, t)), t;
+}, pb = /* @__PURE__ */ new WeakMap(), Yne = (e, t = "") => `${e}:${t}`;
+function Xne(e) {
+ let t = pb.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), pb.set(e, t)), t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function hb(e, t, n, r = 0, i = 1) {
+function mb(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/index.mjs
-var gb = 30, Xne = (e) => !isNaN(parseFloat(e)), _b = { current: void 0 }, Zne = class {
+var hb = 30, Zne = (e) => !isNaN(parseFloat(e)), gb = { current: void 0 }, Qne = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
- let t = wv.now();
+ let t = Cv.now();
if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = wv.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Xne(this.current));
+ this.current = e, this.updatedAt = Cv.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Zne(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -24667,10 +24667,10 @@ var gb = 30, Xne = (e) => !isNaN(parseFloat(e)), _b = { current: void 0 }, Zne =
return this.on("change", e);
}
on(e, t) {
- this.events[e] || (this.events[e] = new Q_());
+ this.events[e] || (this.events[e] = new Z_());
let n = this.events[e].add(t);
return e === "change" ? () => {
- n(), yv.read(() => {
+ n(), vv.read(() => {
this.events.change.getSize() || this.stop();
});
} : n;
@@ -24700,16 +24700,16 @@ var gb = 30, Xne = (e) => !isNaN(parseFloat(e)), _b = { current: void 0 }, Zne =
this.dependents && this.dependents.delete(e);
}
get() {
- return _b.current && _b.current.push(this), this.current;
+ return gb.current && gb.current.push(this), this.current;
}
getPrevious() {
return this.prev;
}
getVelocity() {
- let e = wv.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > gb) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, gb);
- return /* @__PURE__ */ tv(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
+ let e = Cv.now();
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > hb) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, hb);
+ return /* @__PURE__ */ ev(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
return this.stop(), new Promise((t) => {
@@ -24731,12 +24731,12 @@ var gb = 30, Xne = (e) => !isNaN(parseFloat(e)), _b = { current: void 0 }, Zne =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
}
};
-function vb(e, t) {
- return new Zne(e, t);
+function _b(e, t) {
+ return new Qne(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function yb(e, t) {
+function vb(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -24748,26 +24748,26 @@ function yb(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function bb(e, t) {
+function yb(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : yb(n, e);
+ return n === e ? n : vb(n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var Qne = {
+var $ne = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, $ne = (e) => ({
+}, ere = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), ere = {
+}), tre = {
type: "keyframes",
duration: .8
-}, tre = {
+}, nre = {
type: "keyframes",
ease: [
.25,
@@ -24776,7 +24776,7 @@ var Qne = {
1
],
duration: .3
-}, nre = (e, { keyframes: t }) => t.length > 2 ? ere : By.has(e) ? e.startsWith("scale") ? $ne(t[1]) : Qne : tre, rre = /* @__PURE__ */ new Set([
+}, rre = (e, { keyframes: t }) => t.length > 2 ? tre : zy.has(e) ? e.startsWith("scale") ? ere(t[1]) : $ne : nre, ire = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -24788,15 +24788,15 @@ var Qne = {
"from",
"elapsed"
]);
-function ire(e) {
- for (let t in e) if (!rre.has(t)) return !0;
+function are(e) {
+ for (let t in e) if (!ire.has(t)) return !0;
return !1;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var xb = (e, t, n, r = {}, i, a) => (o) => {
- let s = bb(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
- l -= /* @__PURE__ */ $_(c);
+var bb = (e, t, n, r = {}, i, a) => (o) => {
+ let s = yb(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+ l -= /* @__PURE__ */ Q_(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
ease: "easeOut",
@@ -24813,160 +24813,160 @@ var xb = (e, t, n, r = {}, i, a) => (o) => {
motionValue: t,
element: a ? void 0 : i
};
- ire(s) || Object.assign(u, nre(e, u)), u.duration &&= /* @__PURE__ */ $_(u.duration), u.repeatDelay &&= /* @__PURE__ */ $_(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ are(s) || Object.assign(u, rre(e, u)), u.duration &&= /* @__PURE__ */ Q_(u.duration), u.repeatDelay &&= /* @__PURE__ */ Q_(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (db(u), u.delay === 0 && (d = !0)), (W_.instantAnimations || W_.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, db(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = Ty(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (ub(u), u.delay === 0 && (d = !0)), (U_.instantAnimations || U_.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, ub(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = wy(u.keyframes, s);
if (e !== void 0) {
- yv.update(() => {
+ vv.update(() => {
u.onUpdate(e), u.onComplete();
});
return;
}
}
- return s.isSync ? new ky(u) : new Gne(u);
-}, are = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function ore(e) {
- let t = are.exec(e);
+ return s.isSync ? new Oy(u) : new Kne(u);
+}, ore = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function sre(e) {
+ let t = ore.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function Sb(e, t, n = 1) {
+function xb(e, t, n = 1) {
`${e}`;
- let [r, i] = ore(e);
+ let [r, i] = sre(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
- return G_(e) ? parseFloat(e) : e;
+ return W_(e) ? parseFloat(e) : e;
}
- return Dv(i) ? Sb(i, t, n + 1) : i;
+ return Ev(i) ? xb(i, t, n + 1) : i;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function Cb(e) {
+function Sb(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function wb(e, t, n, r) {
+function Cb(e, t, n, r) {
if (typeof t == "function") {
- let [i, a] = Cb(r);
+ let [i, a] = Sb(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
- let [i, a] = Cb(r);
+ let [i, a] = Sb(r);
t = t(n === void 0 ? e.custom : n, i, a);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function Tb(e, t, n) {
+function wb(e, t, n) {
let r = e.getProps();
- return wb(r, t, n === void 0 ? r.custom : n, e);
+ return Cb(r, t, n === void 0 ? r.custom : n, e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
-var Eb = /* @__PURE__ */ new Set([
+var Tb = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...zy
-]), Db = (e) => Array.isArray(e);
+ ...Ry
+]), Eb = (e) => Array.isArray(e);
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function sre(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, vb(n));
+function cre(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, _b(n));
}
-function cre(e) {
- return Db(e) ? e[e.length - 1] || 0 : e;
+function lre(e) {
+ return Eb(e) ? e[e.length - 1] || 0 : e;
}
-function lre(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = Tb(e, t) || {};
+function ure(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = wb(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) sre(e, t, cre(i[t]));
+ for (let t in i) cre(e, t, lre(i[t]));
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var Ob = (e) => !!(e && e.getVelocity);
+var Db = (e) => !!(e && e.getVelocity);
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function ure(e) {
- return !!(Ob(e) && e.add);
+function dre(e) {
+ return !!(Db(e) && e.add);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function kb(e, t) {
+function Ob(e, t) {
let n = e.getValue("willChange");
- if (ure(n)) return n.add(t);
- if (!n && W_.WillChange) {
- let n = new W_.WillChange("auto");
+ if (dre(n)) return n.add(t);
+ if (!n && U_.WillChange) {
+ let n = new U_.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function Ab(e) {
+function kb(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
-var jb = "data-" + Ab("framerAppearId");
+var Ab = "data-" + kb("framerAppearId");
//#endregion
//#region node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function Mb(e) {
- return e.props[jb];
+function jb(e) {
+ return e.props[Ab];
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-function dre({ protectedKeys: e, needsAnimating: t }, n) {
+function fre({ protectedKeys: e, needsAnimating: t }, n) {
let r = e.hasOwnProperty(n) && t[n] !== !0;
return t[n] = !1, r;
}
-function Nb(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function Mb(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? yb(a, c) : c;
+ a = a ? vb(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
p && p.animateVisualElement(e, s, a, n, d);
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && dre(f, t)) continue;
+ if (i === void 0 || f && fre(f, t)) continue;
let o = {
delay: n,
- ...bb(a || {}, t)
+ ...yb(a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
- yv.update(() => r.set(i));
+ vv.update(() => r.set(i));
continue;
}
let p = !1;
if (window.MotionHandoffAnimation) {
- let n = Mb(e);
+ let n = jb(e);
if (n) {
- let e = window.MotionHandoffAnimation(n, t, yv);
+ let e = window.MotionHandoffAnimation(n, t, vv);
e !== null && (o.startTime = e, p = !0);
}
}
- kb(e, t);
+ Ob(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(xb(t, r, i, m && Eb.has(t) ? { type: !1 } : o, e, p));
+ r.start(bb(t, r, i, m && Tb.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
- let t = () => yv.update(() => {
- o && lre(e, o);
+ let t = () => vv.update(() => {
+ o && ure(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
@@ -24974,12 +24974,12 @@ function Nb(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function Pb(e, t, n = {}) {
- let r = Tb(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
+function Nb(e, t, n = {}) {
+ let r = wb(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
n.transitionOverride && (i = n.transitionOverride);
- let a = r ? () => Promise.all(Nb(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
+ let a = r ? () => Promise.all(Mb(e, r, n)) : () => Promise.resolve(), o = e.variantChildren && e.variantChildren.size ? (r = 0) => {
let { delayChildren: a = 0, staggerChildren: o, staggerDirection: s } = i;
- return fre(e, t, r, a, o, s, n);
+ return pre(e, t, r, a, o, s, n);
} : () => Promise.resolve(), { when: s } = i;
if (s) {
let [e, t] = s === "beforeChildren" ? [a, o] : [o, a];
@@ -24987,26 +24987,26 @@ function Pb(e, t, n = {}) {
}
return Promise.all([a(), o(n.delay)]);
}
-function fre(e, t, n = 0, r = 0, i = 0, a = 1, o) {
+function pre(e, t, n = 0, r = 0, i = 0, a = 1, o) {
let s = [];
- for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(Pb(c, t, {
+ for (let c of e.variantChildren) c.notify("AnimationStart", t), s.push(Nb(c, t, {
...o,
- delay: n + (typeof r == "function" ? 0 : r) + hb(e.variantChildren, c, r, i, a)
+ delay: n + (typeof r == "function" ? 0 : r) + mb(e.variantChildren, c, r, i, a)
}).then(() => c.notify("AnimationComplete", t)));
return Promise.all(s);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function pre(e, t, n = {}) {
+function mre(e, t, n = {}) {
e.notify("AnimationStart", t);
let r;
if (Array.isArray(t)) {
- let i = t.map((t) => Pb(e, t, n));
+ let i = t.map((t) => Nb(e, t, n));
r = Promise.all(i);
- } else if (typeof t == "string") r = Pb(e, t, n);
+ } else if (typeof t == "string") r = Nb(e, t, n);
else {
- let i = typeof t == "function" ? Tb(e, t, n.custom) : t;
- r = Promise.all(Nb(e, i, n));
+ let i = typeof t == "function" ? wb(e, t, n.custom) : t;
+ r = Promise.all(Mb(e, i, n));
}
return r.then(() => {
e.notify("AnimationComplete", t);
@@ -25014,176 +25014,176 @@ function pre(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/auto.mjs
-var mre = {
+var hre = {
test: (e) => e === "auto",
parse: (e) => e
-}, Fb = (e) => (t) => t.test(e), Ib = [
- kv,
- Hv,
+}, Pb = (e) => (t) => t.test(e), Fb = [
+ Ov,
Vv,
Bv,
+ zv,
+ Xte,
Yte,
- Jte,
- mre
-], Lb = (e) => Ib.find(Fb(e));
+ hre
+], Ib = (e) => Fb.find(Pb(e));
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function hre(e) {
- return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || q_(e);
+function gre(e) {
+ return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || K_(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
-var gre = /* @__PURE__ */ new Set([
+var _re = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function _re(e) {
+function vre(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
- let [r] = n.match(Nv) || [];
+ let [r] = n.match(Mv) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!gre.has(t);
+ let i = n.replace(r, ""), a = +!!_re.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var vre = /\b([a-z-]*)\(.*?\)/gu, Rb = {
- ...Zv,
+var yre = /\b([a-z-]*)\(.*?\)/gu, Lb = {
+ ...Xv,
getAnimatableNone: (e) => {
- let t = e.match(vre);
- return t ? t.map(_re).join(" ") : e;
+ let t = e.match(yre);
+ return t ? t.map(vre).join(" ") : e;
}
-}, zb = {
- ...Zv,
+}, Rb = {
+ ...Xv,
getAnimatableNone: (e) => {
- let t = Zv.parse(e);
- return Zv.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
+ let t = Xv.parse(e);
+ return Xv.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
...e,
alpha: 1
} : e));
}
-}, Bb = {
- ...kv,
+}, zb = {
+ ...Ov,
transform: Math.round
-}, Vb = {
- borderWidth: Hv,
- borderTopWidth: Hv,
- borderRightWidth: Hv,
- borderBottomWidth: Hv,
- borderLeftWidth: Hv,
- borderRadius: Hv,
- borderTopLeftRadius: Hv,
- borderTopRightRadius: Hv,
- borderBottomRightRadius: Hv,
- borderBottomLeftRadius: Hv,
- width: Hv,
- maxWidth: Hv,
- height: Hv,
- maxHeight: Hv,
- top: Hv,
- right: Hv,
- bottom: Hv,
- left: Hv,
- inset: Hv,
- insetBlock: Hv,
- insetBlockStart: Hv,
- insetBlockEnd: Hv,
- insetInline: Hv,
- insetInlineStart: Hv,
- insetInlineEnd: Hv,
- padding: Hv,
- paddingTop: Hv,
- paddingRight: Hv,
- paddingBottom: Hv,
- paddingLeft: Hv,
- paddingBlock: Hv,
- paddingBlockStart: Hv,
- paddingBlockEnd: Hv,
- paddingInline: Hv,
- paddingInlineStart: Hv,
- paddingInlineEnd: Hv,
- margin: Hv,
- marginTop: Hv,
- marginRight: Hv,
- marginBottom: Hv,
- marginLeft: Hv,
- marginBlock: Hv,
- marginBlockStart: Hv,
- marginBlockEnd: Hv,
- marginInline: Hv,
- marginInlineStart: Hv,
- marginInlineEnd: Hv,
- fontSize: Hv,
- backgroundPositionX: Hv,
- backgroundPositionY: Hv,
- rotate: Bv,
- pathRotation: Bv,
- rotateX: Bv,
- rotateY: Bv,
- rotateZ: Bv,
- scale: jv,
- scaleX: jv,
- scaleY: jv,
- scaleZ: jv,
- skew: Bv,
- skewX: Bv,
- skewY: Bv,
- distance: Hv,
- translateX: Hv,
- translateY: Hv,
- translateZ: Hv,
- x: Hv,
- y: Hv,
- z: Hv,
- perspective: Hv,
- transformPerspective: Hv,
- opacity: Av,
- originX: Uv,
- originY: Uv,
- originZ: Hv,
- zIndex: Bb,
- fillOpacity: Av,
- strokeOpacity: Av,
- numOctaves: Bb
-}, yre = {
- ...Vb,
- color: Gv,
- backgroundColor: Gv,
- outlineColor: Gv,
- fill: Gv,
- stroke: Gv,
- borderColor: Gv,
- borderTopColor: Gv,
- borderRightColor: Gv,
- borderBottomColor: Gv,
- borderLeftColor: Gv,
- filter: Rb,
- WebkitFilter: Rb,
- mask: zb,
- WebkitMask: zb
-}, Hb = (e) => yre[e], bre = /*@__PURE__*/ new Set([Rb, zb]);
-function Ub(e, t) {
- let n = Hb(e);
- return bre.has(n) || (n = Zv), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+}, Bb = {
+ borderWidth: Vv,
+ borderTopWidth: Vv,
+ borderRightWidth: Vv,
+ borderBottomWidth: Vv,
+ borderLeftWidth: Vv,
+ borderRadius: Vv,
+ borderTopLeftRadius: Vv,
+ borderTopRightRadius: Vv,
+ borderBottomRightRadius: Vv,
+ borderBottomLeftRadius: Vv,
+ width: Vv,
+ maxWidth: Vv,
+ height: Vv,
+ maxHeight: Vv,
+ top: Vv,
+ right: Vv,
+ bottom: Vv,
+ left: Vv,
+ inset: Vv,
+ insetBlock: Vv,
+ insetBlockStart: Vv,
+ insetBlockEnd: Vv,
+ insetInline: Vv,
+ insetInlineStart: Vv,
+ insetInlineEnd: Vv,
+ padding: Vv,
+ paddingTop: Vv,
+ paddingRight: Vv,
+ paddingBottom: Vv,
+ paddingLeft: Vv,
+ paddingBlock: Vv,
+ paddingBlockStart: Vv,
+ paddingBlockEnd: Vv,
+ paddingInline: Vv,
+ paddingInlineStart: Vv,
+ paddingInlineEnd: Vv,
+ margin: Vv,
+ marginTop: Vv,
+ marginRight: Vv,
+ marginBottom: Vv,
+ marginLeft: Vv,
+ marginBlock: Vv,
+ marginBlockStart: Vv,
+ marginBlockEnd: Vv,
+ marginInline: Vv,
+ marginInlineStart: Vv,
+ marginInlineEnd: Vv,
+ fontSize: Vv,
+ backgroundPositionX: Vv,
+ backgroundPositionY: Vv,
+ rotate: zv,
+ pathRotation: zv,
+ rotateX: zv,
+ rotateY: zv,
+ rotateZ: zv,
+ scale: Av,
+ scaleX: Av,
+ scaleY: Av,
+ scaleZ: Av,
+ skew: zv,
+ skewX: zv,
+ skewY: zv,
+ distance: Vv,
+ translateX: Vv,
+ translateY: Vv,
+ translateZ: Vv,
+ x: Vv,
+ y: Vv,
+ z: Vv,
+ perspective: Vv,
+ transformPerspective: Vv,
+ opacity: kv,
+ originX: Hv,
+ originY: Hv,
+ originZ: Vv,
+ zIndex: zb,
+ fillOpacity: kv,
+ strokeOpacity: kv,
+ numOctaves: zb
+}, bre = {
+ ...Bb,
+ color: Wv,
+ backgroundColor: Wv,
+ outlineColor: Wv,
+ fill: Wv,
+ stroke: Wv,
+ borderColor: Wv,
+ borderTopColor: Wv,
+ borderRightColor: Wv,
+ borderBottomColor: Wv,
+ borderLeftColor: Wv,
+ filter: Lb,
+ WebkitFilter: Lb,
+ mask: Rb,
+ WebkitMask: Rb
+}, Vb = (e) => bre[e], xre = /*@__PURE__*/ new Set([Lb, Rb]);
+function Hb(e, t) {
+ let n = Vb(e);
+ return xre.has(n) || (n = Xv), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var xre = /* @__PURE__ */ new Set([
+var Sre = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Sre(e, t, n) {
+function Cre(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !xre.has(t) && Yv(t).values.length && (i = e[r]), r++;
+ typeof t == "string" && !Sre.has(t) && Jv(t).values.length && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] = Ub(n, i);
+ if (i && n) for (let r of t) e[r] = Hb(n, i);
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var Cre = class extends Yy {
+var wre = class extends Jy {
constructor(e, t, n, r, i) {
super(e, t, n, r, i, !0);
}
@@ -25193,34 +25193,34 @@ var Cre = class extends Yy {
super.readKeyframes();
for (let n = 0; n < e.length; n++) {
let r = e[n];
- if (typeof r == "string" && (r = r.trim(), Dv(r))) {
- let i = Sb(r, t.current);
+ if (typeof r == "string" && (r = r.trim(), Ev(r))) {
+ let i = xb(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !Eb.has(n) || e.length !== 2) return;
- let [r, i] = e, a = Lb(r), o = Lb(i);
- if (Ov(r) !== Ov(i) && Hy[n]) {
+ if (this.resolveNoneKeyframes(), !Tb.has(n) || e.length !== 2) return;
+ let [r, i] = e, a = Ib(r), o = Ib(i);
+ if (Dv(r) !== Dv(i) && Vy[n]) {
this.needsMeasurement = !0;
return;
}
if (a !== o) {
- if (Vy(a) && Vy(o)) for (let t = 0; t < e.length; t++) {
+ if (By(a) && By(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else Hy[n] && (this.needsMeasurement = !0);
+ else Vy[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || hre(e[t])) && n.push(t);
- n.length && Sre(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || gre(e[t])) && n.push(t);
+ n.length && Cre(e, n, t);
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
if (!e || !e.current) return;
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Hy[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Vy[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
let r = t[t.length - 1];
r !== void 0 && e.getValue(n, r).jump(r, !1);
}
@@ -25230,23 +25230,23 @@ var Cre = class extends Yy {
let r = e.getValue(t);
r && r.jump(this.measuredOrigin, !1);
let i = n.length - 1, a = n[i];
- n[i] = Hy[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
+ n[i] = Vy[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
e.getValue(t).set(n);
}), this.resolveNoneKeyframes();
}
-}, Wb = [
+}, Ub = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], wre = /* @__PURE__ */ new Set([
+], Tre = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...Wb,
+ ...Ub,
"width",
"maxWidth",
"height",
@@ -25290,12 +25290,12 @@ var Cre = class extends Yy {
]);
//#endregion
//#region node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Tre(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && wre.has(t) && (e[n] = e[n] + "px");
+function Ere(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Tre.has(t) && (e[n] = e[n] + "px");
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Gb(e, t, n) {
+function Wb(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
@@ -25308,34 +25308,34 @@ function Gb(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var Kb = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
+var Gb = (e, t) => t && typeof e == "number" ? t.transform(e) : e;
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function qb(e) {
- return K_(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
+function Kb(e) {
+ return G_(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/frameloop/microtask.mjs
-var { schedule: Jb, cancel: Ere } = /* @__PURE__ */ vv(queueMicrotask, !1), Yb = {
+var { schedule: qb, cancel: Dre } = /* @__PURE__ */ _v(queueMicrotask, !1), Jb = {
x: !1,
y: !1
};
-function Xb() {
- return Yb.x || Yb.y;
+function Yb() {
+ return Jb.x || Jb.y;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Dre(e) {
- return e === "x" || e === "y" ? Yb[e] ? null : (Yb[e] = !0, () => {
- Yb[e] = !1;
- }) : Yb.x || Yb.y ? null : (Yb.x = Yb.y = !0, () => {
- Yb.x = Yb.y = !1;
+function Ore(e) {
+ return e === "x" || e === "y" ? Jb[e] ? null : (Jb[e] = !0, () => {
+ Jb[e] = !1;
+ }) : Jb.x || Jb.y ? null : (Jb.x = Jb.y = !0, () => {
+ Jb.x = Jb.y = !1;
});
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function Zb(e, t) {
- let n = Gb(e), r = new AbortController();
+function Xb(e, t) {
+ let n = Wb(e), r = new AbortController();
return [
n,
{
@@ -25348,11 +25348,11 @@ function Zb(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Ore(e) {
- return !(e.pointerType === "touch" || Xb());
+function kre(e) {
+ return !(e.pointerType === "touch" || Yb());
}
-function kre(e, t, n = {}) {
- let [r, i, a] = Zb(e, n);
+function Are(e, t, n = {}) {
+ let [r, i, a] = Xb(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -25372,7 +25372,7 @@ function kre(e, t, n = {}) {
}
};
e.addEventListener("pointerenter", (n) => {
- if (!Ore(n)) return;
+ if (!kre(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -25381,130 +25381,130 @@ function kre(e, t, n = {}) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var Qb = (e, t) => t ? e === t || Qb(e, t.parentElement) : !1, $b = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, Are = /* @__PURE__ */ new Set([
+var Zb = (e, t) => t ? e === t || Zb(e, t.parentElement) : !1, Qb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, jre = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function jre(e) {
- return Are.has(e.tagName) || e.isContentEditable === !0;
+function Mre(e) {
+ return jre.has(e.tagName) || e.isContentEditable === !0;
}
-var Mre = /* @__PURE__ */ new Set([
+var Nre = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function Nre(e) {
- return Mre.has(e.tagName) || e.isContentEditable === !0;
+function Pre(e) {
+ return Nre.has(e.tagName) || e.isContentEditable === !0;
}
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
-var ex = /* @__PURE__ */ new WeakSet();
+var $b = /* @__PURE__ */ new WeakSet();
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function tx(e) {
+function ex(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function nx(e, t) {
+function tx(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Pre = (e, t) => {
+var Fre = (e, t) => {
let n = e.currentTarget;
if (!n) return;
- let r = tx(() => {
- if (ex.has(n)) return;
- nx(n, "down");
- let e = tx(() => {
- nx(n, "up");
+ let r = ex(() => {
+ if ($b.has(n)) return;
+ tx(n, "down");
+ let e = ex(() => {
+ tx(n, "up");
});
- n.addEventListener("keyup", e, t), n.addEventListener("blur", () => nx(n, "cancel"), t);
+ n.addEventListener("keyup", e, t), n.addEventListener("blur", () => tx(n, "cancel"), t);
});
n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
};
//#endregion
//#region node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function rx(e) {
- return $b(e) && !Xb();
+function nx(e) {
+ return Qb(e) && !Yb();
}
-var ix = /* @__PURE__ */ new WeakSet();
-function Fre(e, t, n = {}) {
- let [r, i, a] = Zb(e, n), o = (e) => {
+var rx = /* @__PURE__ */ new WeakSet();
+function Ire(e, t, n = {}) {
+ let [r, i, a] = Xb(e, n), o = (e) => {
let r = e.currentTarget;
- if (!rx(e) || ix.has(e)) return;
- ex.add(r), n.stopPropagation && ix.add(e);
+ if (!nx(e) || rx.has(e)) return;
+ $b.add(r), n.stopPropagation && rx.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ex.has(r) && ex.delete(r), rx(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), $b.has(r) && $b.delete(r), nx(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || Qb(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || Zb(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), qb(e) && (e.addEventListener("focus", (e) => Pre(e, i)), !jre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Kb(e) && (e.addEventListener("focus", (e) => Fre(e, i)), !Mre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function ax(e, t) {
+function ix(e, t) {
let n = window.getComputedStyle(e);
- return Xy(t) ? n.getPropertyValue(t) : n[t];
+ return Yy(t) ? n.getPropertyValue(t) : n[t];
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function ox(e) {
- return K_(e) && "ownerSVGElement" in e;
+function ax(e) {
+ return G_(e) && "ownerSVGElement" in e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var sx = /* @__PURE__ */ new WeakMap(), cx, lx = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : ox(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Ire = /*@__PURE__*/ lx("inline", "width", "offsetWidth"), Lre = /*@__PURE__*/ lx("block", "height", "offsetHeight");
-function Rre({ target: e, borderBoxSize: t }) {
- sx.get(e)?.forEach((n) => {
+var ox = /* @__PURE__ */ new WeakMap(), sx, cx = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : ax(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Lre = /*@__PURE__*/ cx("inline", "width", "offsetWidth"), Rre = /*@__PURE__*/ cx("block", "height", "offsetHeight");
+function zre({ target: e, borderBoxSize: t }) {
+ ox.get(e)?.forEach((n) => {
n(e, {
get width() {
- return Ire(e, t);
+ return Lre(e, t);
},
get height() {
- return Lre(e, t);
+ return Rre(e, t);
}
});
});
}
-function zre(e) {
- e.forEach(Rre);
+function Bre(e) {
+ e.forEach(zre);
}
-function Bre() {
- typeof ResizeObserver > "u" || (cx = new ResizeObserver(zre));
+function Vre() {
+ typeof ResizeObserver > "u" || (sx = new ResizeObserver(Bre));
}
-function Vre(e, t) {
- cx || Bre();
- let n = Gb(e);
+function Hre(e, t) {
+ sx || Vre();
+ let n = Wb(e);
return n.forEach((e) => {
- let n = sx.get(e);
- n || (n = /* @__PURE__ */ new Set(), sx.set(e, n)), n.add(t), cx?.observe(e);
+ let n = ox.get(e);
+ n || (n = /* @__PURE__ */ new Set(), ox.set(e, n)), n.add(t), sx?.observe(e);
}), () => {
n.forEach((e) => {
- let n = sx.get(e);
- n?.delete(t), n?.size || cx?.unobserve(e);
+ let n = ox.get(e);
+ n?.delete(t), n?.size || sx?.unobserve(e);
});
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var ux = /* @__PURE__ */ new Set(), dx;
-function Hre() {
- dx = () => {
+var lx = /* @__PURE__ */ new Set(), ux;
+function Ure() {
+ ux = () => {
let e = {
get width() {
return window.innerWidth;
@@ -25513,49 +25513,49 @@ function Hre() {
return window.innerHeight;
}
};
- ux.forEach((t) => t(e));
- }, window.addEventListener("resize", dx);
+ lx.forEach((t) => t(e));
+ }, window.addEventListener("resize", ux);
}
-function Ure(e) {
- return ux.add(e), dx || Hre(), () => {
- ux.delete(e), !ux.size && typeof dx == "function" && (window.removeEventListener("resize", dx), dx = void 0);
+function Wre(e) {
+ return lx.add(e), ux || Ure(), () => {
+ lx.delete(e), !lx.size && typeof ux == "function" && (window.removeEventListener("resize", ux), ux = void 0);
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/resize/index.mjs
-function fx(e, t) {
- return typeof e == "function" ? Ure(e) : Vre(e, t);
+function dx(e, t) {
+ return typeof e == "function" ? Wre(e) : Hre(e, t);
}
//#endregion
//#region node_modules/motion-dom/dist/es/stats/buffer.mjs
-var px = {
+var fx = {
value: null,
addProjectionMetrics: null
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function Wre(e) {
- return ox(e) && e.tagName === "svg";
+function Gre(e) {
+ return ax(e) && e.tagName === "svg";
}
//#endregion
//#region node_modules/motion-dom/dist/es/utils/transform.mjs
-function Gre(...e) {
- let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = by(i, a, o);
+function Kre(...e) {
+ let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = yy(i, a, o);
return t ? s(r) : s;
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/follow-value.mjs
-function Kre(e, t, n = {}) {
+function qre(e, t, n = {}) {
let r = e.get(), i = null, a = r, o, s = typeof r == "string" ? r.replace(/[\d.-]/g, "") : void 0, c = () => {
i &&= (i.stop(), null), e.animation = void 0;
}, l = () => {
- let t = hx(e.get()), r = hx(a);
+ let t = mx(e.get()), r = mx(a);
if (t === r) {
c();
return;
}
let s = i ? i.getGeneratorVelocity() : e.getVelocity();
- c(), i = new ky({
+ c(), i = new Oy({
keyframes: [t, r],
velocity: s,
type: "spring",
@@ -25570,10 +25570,10 @@ function Kre(e, t, n = {}) {
});
};
if (e.attach((e, t) => {
- a = e, o = (e) => t(mx(e, s)), yv.postRender(u);
- }, c), Ob(t)) {
+ a = e, o = (e) => t(px(e, s)), vv.postRender(u);
+ }, c), Db(t)) {
let r = n.skipInitialAnimation === !0, i = t.on("change", (t) => {
- r ? (r = !1, e.jump(mx(t, s), !1)) : e.set(mx(t, s));
+ r ? (r = !1, e.jump(px(t, s), !1)) : e.set(px(t, s));
}), a = e.on("destroy", i);
return () => {
i(), a();
@@ -25581,46 +25581,46 @@ function Kre(e, t, n = {}) {
}
return c;
}
-function mx(e, t) {
+function px(e, t) {
return t ? e + t : e;
}
-function hx(e) {
+function mx(e) {
return typeof e == "number" ? e : parseFloat(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/types/utils/find.mjs
-var qre = [
- ...Ib,
- Gv,
- Zv
-], Jre = (e) => qre.find(Fb(e)), gx = () => ({
+var Jre = [
+ ...Fb,
+ Wv,
+ Xv
+], Yre = (e) => Jre.find(Pb(e)), hx = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
+}), gx = () => ({
+ x: hx(),
+ y: hx()
}), _x = () => ({
- x: gx(),
- y: gx()
-}), vx = () => ({
min: 0,
max: 0
-}), yx = () => ({
- x: vx(),
- y: vx()
-}), Yre = /* @__PURE__ */ new WeakMap();
+}), vx = () => ({
+ x: _x(),
+ y: _x()
+}), Xre = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function bx(e) {
+function yx(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function xx(e) {
+function bx(e) {
return typeof e == "string" || Array.isArray(e);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var Sx = [
+var xx = [
"animate",
"whileInView",
"whileFocus",
@@ -25628,29 +25628,29 @@ var Sx = [
"whileTap",
"whileDrag",
"exit"
-], Cx = ["initial", ...Sx];
+], Sx = ["initial", ...xx];
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function wx(e) {
- return bx(e.animate) || Cx.some((t) => xx(e[t]));
+function Cx(e) {
+ return yx(e.animate) || Sx.some((t) => bx(e[t]));
}
-function Tx(e) {
- return !!(wx(e) || e.variants);
+function wx(e) {
+ return !!(Cx(e) || e.variants);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function Xre(e, t, n) {
+function Zre(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (Ob(i)) e.addValue(r, i);
- else if (Ob(a)) e.addValue(r, vb(i, { owner: e }));
+ if (Db(i)) e.addValue(r, i);
+ else if (Db(a)) e.addValue(r, _b(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, vb(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, _b(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -25659,18 +25659,18 @@ function Xre(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var Ex = { current: null }, Dx = { current: !1 }, Zre = typeof window < "u";
-function Ox() {
- if (Dx.current = !0, Zre) {
+var Tx = { current: null }, Ex = { current: !1 }, Qre = typeof window < "u";
+function Dx() {
+ if (Ex.current = !0, Qre) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Ex.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => Tx.current = e.matches;
e.addEventListener("change", t), t();
- } else Ex.current = !1;
+ } else Tx.current = !1;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var kx = [
+var Ox = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -25678,38 +25678,38 @@ var kx = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Ax = {};
-function jx(e) {
- Ax = e;
+], kx = {};
+function Ax(e) {
+ kx = e;
}
-function Qre() {
- return Ax;
+function $re() {
+ return kx;
}
-var $re = class {
+var eie = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Yy, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Jy, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
- let e = wv.now();
- this.renderScheduledAt < e && (this.renderScheduledAt = e, yv.render(this.render, !1, !0));
+ let e = Cv.now();
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, vv.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = wx(t), this.isVariantNode = Tx(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = Cx(t), this.isVariantNode = wx(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && Ob(t) && t.set(c[e]);
+ c[e] !== void 0 && Db(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- this.current = e, Yre.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Dx.current || Ox(), this.shouldReduceMotion = Ex.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.current = e, Xre.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Ex.current || Dx(), this.shouldReduceMotion = Tx.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
- this.projection && this.projection.unmount(), bv(this.notifyUpdate), bv(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
+ this.projection && this.projection.unmount(), yv(this.notifyUpdate), yv(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
for (let e in this.events) this.events[e].clear();
for (let e in this.features) {
let t = this.features[e];
@@ -25724,24 +25724,24 @@ var $re = class {
this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && fb.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new ib({
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && db.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new rb({
element: this.current,
name: e,
keyframes: r,
times: i,
ease: a,
- duration: /* @__PURE__ */ $_(o)
+ duration: /* @__PURE__ */ Q_(o)
}), c = n(s);
this.valueSubscriptions.set(e, () => {
c(), s.cancel();
});
return;
}
- let n = By.has(e);
+ let n = zy.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && yv.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && vv.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i && i();
@@ -25752,8 +25752,8 @@ var $re = class {
}
updateFeatures() {
let e = "animation";
- for (e in Ax) {
- let t = Ax[e];
+ for (e in kx) {
+ let t = kx[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -25766,7 +25766,7 @@ var $re = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : yx();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : vx();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -25776,13 +25776,13 @@ var $re = class {
}
update(e, t) {
(e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < kx.length; t++) {
- let n = kx[t];
+ for (let t = 0; t < Ox.length; t++) {
+ let n = Ox[t];
this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = Xre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
+ this.prevMotionValues = Zre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
}
getProps() {
return this.props;
@@ -25818,11 +25818,11 @@ var $re = class {
getValue(e, t) {
if (this.props.values && this.props.values[e]) return this.props.values[e];
let n = this.values.get(e);
- return n === void 0 && t !== void 0 && (n = vb(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
+ return n === void 0 && t !== void 0 && (n = _b(t === null ? void 0 : t, { owner: this }), this.addValue(e, n)), n;
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (G_(n) || q_(n)) ? n = parseFloat(n) : !Jre(n) && Zv.test(t) && (n = Ub(e, t)), this.setBaseTarget(e, Ob(n) ? n.get() : n)), Ob(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (W_(n) || K_(n)) ? n = parseFloat(n) : !Yre(n) && Xv.test(t) && (n = Hb(e, t)), this.setBaseTarget(e, Db(n) ? n.get() : n)), Db(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -25830,25 +25830,25 @@ var $re = class {
getBaseTarget(e) {
let { initial: t } = this.props, n;
if (typeof t == "string" || typeof t == "object") {
- let r = wb(this.props, t, this.presenceContext?.custom);
+ let r = Cb(this.props, t, this.presenceContext?.custom);
r && (n = r[e]);
}
if (t && n !== void 0) return n;
let r = this.getBaseTargetFromProps(this.props, e);
- return r !== void 0 && !Ob(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
+ return r !== void 0 && !Db(r) ? r : this.initialValues[e] !== void 0 && n === void 0 ? void 0 : this.baseTarget[e];
}
on(e, t) {
- return this.events[e] || (this.events[e] = new Q_()), this.events[e].add(t);
+ return this.events[e] || (this.events[e] = new Z_()), this.events[e].add(t);
}
notify(e, ...t) {
this.events[e] && this.events[e].notify(...t);
}
scheduleRenderMicrotask() {
- Jb.render(this.render);
+ qb.render(this.render);
}
-}, Mx = class extends $re {
+}, jx = class extends eie {
constructor() {
- super(...arguments), this.KeyframeResolver = Cre;
+ super(...arguments), this.KeyframeResolver = wre;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -25863,11 +25863,11 @@ var $re = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- Ob(e) && (this.childSubscription = e.on("change", (e) => {
+ Db(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
-}, Nx = class {
+}, Mx = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
@@ -25875,7 +25875,7 @@ var $re = class {
};
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function Px({ top: e, left: t, right: n, bottom: r }) {
+function Nx({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -25887,7 +25887,7 @@ function Px({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function eie({ x: e, y: t }) {
+function tie({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -25895,7 +25895,7 @@ function eie({ x: e, y: t }) {
left: e.min
};
}
-function tie(e, t) {
+function nie(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -25913,37 +25913,37 @@ function tie(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Fx(e) {
+function Px(e) {
return e === void 0 || e === 1;
}
-function Ix({ scale: e, scaleX: t, scaleY: n }) {
- return !Fx(e) || !Fx(t) || !Fx(n);
+function Fx({ scale: e, scaleX: t, scaleY: n }) {
+ return !Px(e) || !Px(t) || !Px(n);
+}
+function Ix(e) {
+ return Fx(e) || Lx(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
}
function Lx(e) {
- return Ix(e) || Rx(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.skewX || e.skewY;
+ return Rx(e.x) || Rx(e.y);
}
function Rx(e) {
- return zx(e.x) || zx(e.y);
-}
-function zx(e) {
return e && e !== "0%";
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function Bx(e, t, n) {
+function zx(e, t, n) {
return n + t * (e - n);
}
-function Vx(e, t, n, r, i) {
- return i !== void 0 && (e = Bx(e, i, r)), Bx(e, n, r) + t;
+function Bx(e, t, n, r, i) {
+ return i !== void 0 && (e = zx(e, i, r)), zx(e, n, r) + t;
}
-function Hx(e, t = 0, n = 1, r, i) {
- e.min = Vx(e.min, t, n, r, i), e.max = Vx(e.max, t, n, r, i);
+function Vx(e, t = 0, n = 1, r, i) {
+ e.min = Bx(e.min, t, n, r, i), e.max = Bx(e.max, t, n, r, i);
}
-function Ux(e, { x: t, y: n }) {
- Hx(e.x, t.translate, t.scale, t.originPoint), Hx(e.y, n.translate, n.scale, n.originPoint);
+function Hx(e, { x: t, y: n }) {
+ Vx(e.x, t.translate, t.scale, t.originPoint), Vx(e.y, n.translate, n.scale, n.originPoint);
}
-var Wx = .999999999999, Gx = 1.0000000000001;
-function nie(e, t, n, r = !1) {
+var Ux = .999999999999, Wx = 1.0000000000001;
+function rie(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
@@ -25951,44 +25951,44 @@ function nie(e, t, n, r = !1) {
for (let s = 0; s < i; s++) {
a = n[s], o = a.projectionDelta;
let { visualElement: i } = a.options;
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Kx(e.x, -a.scroll.offset.x), Kx(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Ux(e, o)), r && Lx(a.latestValues) && Yx(e, a.latestValues, a.layout?.layoutBox));
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Gx(e.x, -a.scroll.offset.x), Gx(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Hx(e, o)), r && Ix(a.latestValues) && Jx(e, a.latestValues, a.layout?.layoutBox));
}
- t.x < Gx && t.x > Wx && (t.x = 1), t.y < Gx && t.y > Wx && (t.y = 1);
+ t.x < Wx && t.x > Ux && (t.x = 1), t.y < Wx && t.y > Ux && (t.y = 1);
}
-function Kx(e, t) {
+function Gx(e, t) {
e.min += t, e.max += t;
}
-function qx(e, t, n, r, i = .5) {
- Hx(e, t, n, ey(e.min, e.max, i), r);
+function Kx(e, t, n, r, i = .5) {
+ Vx(e, t, n, $v(e.min, e.max, i), r);
}
-function Jx(e, t) {
+function qx(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function Yx(e, t, n) {
+function Jx(e, t, n) {
let r = n ?? e;
- qx(e.x, Jx(t.x, r.x), t.scaleX, t.scale, t.originX), qx(e.y, Jx(t.y, r.y), t.scaleY, t.scale, t.originY);
+ Kx(e.x, qx(t.x, r.x), t.scaleX, t.scale, t.originX), Kx(e.y, qx(t.y, r.y), t.scaleY, t.scale, t.originY);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function Xx(e, t) {
- return Px(tie(e.getBoundingClientRect(), t));
+function Yx(e, t) {
+ return Nx(nie(e.getBoundingClientRect(), t));
}
-function rie(e, t, n) {
- let r = Xx(e, n), { scroll: i } = t;
- return i && (Kx(r.x, i.offset.x), Kx(r.y, i.offset.y)), r;
+function iie(e, t, n) {
+ let r = Yx(e, n), { scroll: i } = t;
+ return i && (Gx(r.x, i.offset.x), Gx(r.y, i.offset.y)), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
-var iie = {
+var aie = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, aie = zy.length;
-function oie(e, t, n) {
+}, oie = Ry.length;
+function sie(e, t, n) {
let r = "", i = !0;
- for (let a = 0; a < aie; a++) {
- let o = zy[a], s = e[o];
+ for (let a = 0; a < oie; a++) {
+ let o = Ry[a], s = e[o];
if (s === void 0) continue;
let c = !0;
if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -25997,154 +25997,154 @@ function oie(e, t, n) {
c = o.startsWith("scale") ? e === 1 : e === 0;
}
if (!c || n) {
- let e = Kb(s, Vb[o]);
+ let e = Gb(s, Bb[o]);
if (!c) {
i = !1;
- let t = iie[o] || o;
+ let t = aie[o] || o;
r += `${t}(${e}) `;
}
n && (t[o] = e);
}
}
let a = e.pathRotation;
- return a && (i = !1, r += `rotate(${Kb(a, Vb.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
+ return a && (i = !1, r += `rotate(${Gb(a, Bb.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Zx(e, t, n) {
+function Xx(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (By.has(e)) {
+ if (zy.has(e)) {
o = !0;
continue;
}
- if (Ev(e)) {
+ if (Tv(e)) {
i[e] = n;
continue;
}
{
- let t = Kb(n, Vb[e]);
+ let t = Gb(n, Bb[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = oie(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = sie(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function Qx(e, { style: t, vars: n }, r, i) {
+function Zx(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function $x(e, t) {
+function Qx(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var eS = { correct: (e, t) => {
+var $x = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
- if (Hv.test(e)) e = parseFloat(e);
+ if (Vv.test(e)) e = parseFloat(e);
else return e;
}
- return `${$x(e, t.target.x)}% ${$x(e, t.target.y)}%`;
-} }, tS = { correct: (e, { treeScale: t, projectionDelta: n }) => {
- let r = e, i = Zv.parse(e);
+ return `${Qx(e, t.target.x)}% ${Qx(e, t.target.y)}%`;
+} }, eS = { correct: (e, { treeScale: t, projectionDelta: n }) => {
+ let r = e, i = Xv.parse(e);
if (i.length > 5) return r;
- let a = Zv.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
+ let a = Xv.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
i[0 + o] /= s, i[1 + o] /= c;
- let l = ey(s, c, .5);
+ let l = $v(s, c, .5);
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
-} }, nS = {
+} }, tS = {
borderRadius: {
- ...eS,
- applyTo: [...Wb]
+ ...$x,
+ applyTo: [...Ub]
},
- borderTopLeftRadius: eS,
- borderTopRightRadius: eS,
- borderBottomLeftRadius: eS,
- borderBottomRightRadius: eS,
- boxShadow: tS
+ borderTopLeftRadius: $x,
+ borderTopRightRadius: $x,
+ borderBottomLeftRadius: $x,
+ borderBottomRightRadius: $x,
+ boxShadow: eS
};
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function rS(e, { layout: t, layoutId: n }) {
- return By.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!nS[e] || e === "opacity");
+function nS(e, { layout: t, layoutId: n }) {
+ return zy.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!tS[e] || e === "opacity");
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function iS(e, t, n) {
+function rS(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (Ob(r[t]) || i && Ob(i[t]) || rS(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (Db(r[t]) || i && Db(i[t]) || nS(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function aS(e) {
+function iS(e) {
return window.getComputedStyle(e);
}
-var oS = class extends Mx {
+var aS = class extends jx {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = Qx;
+ super(...arguments), this.type = "html", this.renderInstance = Zx;
}
mount(e) {
e.style, super.mount(e);
}
readValueFromInstance(e, t) {
- if (By.has(t)) return this.projection?.isProjecting ? Ly(t) : Dne(e, t);
+ if (zy.has(t)) return this.projection?.isProjecting ? Iy(t) : One(e, t);
{
- let n = aS(e), r = (Ev(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = iS(e), r = (Tv(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return Xx(e, t);
+ return Yx(e, t);
}
build(e, t, n) {
- Zx(e, t, n.transformTemplate);
+ Xx(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return iS(e, t, n);
+ return rS(e, t, n);
}
-}, sS = {
+}, oS = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, cS = {
+}, sS = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function lS(e, t, n = 1, r = 0, i = !0) {
+function cS(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? sS : cS;
+ let a = i ? oS : sS;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var uS = [
+var lS = [
"offsetDistance",
"offsetPath",
"offsetRotate",
"offsetAnchor"
];
-function dS(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Zx(e, s, l), c) {
+function uS(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (Xx(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
- for (let e of uS) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && lS(d, i, a, o, !1);
+ for (let e of lS) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && cS(d, i, a, o, !1);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
-var fS = /* @__PURE__ */ new Set([
+var dS = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -26168,68 +26168,68 @@ var fS = /* @__PURE__ */ new Set([
"startOffset",
"textLength",
"lengthAdjust"
-]), pS = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), fS = (e) => typeof e == "string" && e.toLowerCase() === "svg";
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function mS(e, t, n, r) {
- Qx(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(fS.has(n) ? n : Ab(n), t.attrs[n]);
+function pS(e, t, n, r) {
+ Zx(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(dS.has(n) ? n : kb(n), t.attrs[n]);
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function hS(e, t, n) {
- let r = iS(e, t, n);
- for (let n in e) if (Ob(e[n]) || Ob(t[n])) {
- let t = zy.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function mS(e, t, n) {
+ let r = rS(e, t, n);
+ for (let n in e) if (Db(e[n]) || Db(t[n])) {
+ let t = Ry.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var gS = class extends Mx {
+var hS = class extends jx {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = yx;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = vx;
}
getBaseTargetFromProps(e, t) {
return e[t];
}
readValueFromInstance(e, t) {
- if (By.has(t)) {
- let e = Hb(t);
+ if (zy.has(t)) {
+ let e = Vb(t);
return e && e.default || 0;
}
- return t = fS.has(t) ? t : Ab(t), e.getAttribute(t);
+ return t = dS.has(t) ? t : kb(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return hS(e, t, n);
+ return mS(e, t, n);
}
build(e, t, n) {
- dS(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ uS(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- mS(e, t, n, r);
+ pS(e, t, n, r);
}
mount(e) {
- this.isSVGTag = pS(e.tagName), super.mount(e);
+ this.isSVGTag = fS(e.tagName), super.mount(e);
}
-}, _S = Cx.length;
-function vS(e) {
+}, gS = Sx.length;
+function _S(e) {
if (!e) return;
if (!e.isControllingVariants) {
- let t = e.parent && vS(e.parent) || {};
+ let t = e.parent && _S(e.parent) || {};
return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
}
let t = {};
- for (let n = 0; n < _S; n++) {
- let r = Cx[n], i = e.props[r];
- (xx(i) || i === !1) && (t[r] = i);
+ for (let n = 0; n < gS; n++) {
+ let r = Sx[n], i = e.props[r];
+ (bx(i) || i === !1) && (t[r] = i);
}
return t;
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function yS(e, t) {
+function vS(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -26238,13 +26238,13 @@ function yS(e, t) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var bS = [...Sx].reverse(), xS = Sx.length;
-function SS(e) {
- return (t) => Promise.all(t.map(({ animation: t, options: n }) => pre(e, t, n)));
+var yS = [...xx].reverse(), bS = xx.length;
+function xS(e) {
+ return (t) => Promise.all(t.map(({ animation: t, options: n }) => mre(e, t, n)));
}
-function CS(e) {
- let t = SS(e), n = ES(), r = !0, i = !1, a = (t) => (n, r) => {
- let i = Tb(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
+function SS(e) {
+ let t = xS(e), n = TS(), r = !0, i = !1, a = (t) => (n, r) => {
+ let i = wb(e, r, t === "exit" ? e.presenceContext?.custom : void 0);
if (i) {
let { transition: e, transitionEnd: t, ...r } = i;
n = {
@@ -26259,12 +26259,12 @@ function CS(e) {
t = n(e);
}
function s(o) {
- let { props: s } = e, c = vS(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
- for (let t = 0; t < xS; t++) {
- let p = bS[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = xx(h), _ = p === o ? m.isActive : null;
+ let { props: s } = e, c = _S(e.parent) || {}, l = [], u = /* @__PURE__ */ new Set(), d = {}, f = Infinity;
+ for (let t = 0; t < bS; t++) {
+ let p = yS[t], m = n[p], h = s[p] === void 0 ? c[p] : s[p], g = bx(h), _ = p === o ? m.isActive : null;
_ === !1 && (f = t);
let v = h === c[p] && h !== s[p] && g;
- if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || bx(h) || typeof h == "boolean") continue;
+ if (v && (r || i) && e.manuallyAnimateOnMount && (v = !1), m.protectedKeys = { ...d }, !m.isActive && _ === null || !h && !m.prevProp || yx(h) || typeof h == "boolean") continue;
if (p === "exit" && m.isActive && _ !== !0) {
m.prevResolvedValues && (d = {
...d,
@@ -26272,7 +26272,7 @@ function CS(e) {
});
continue;
}
- let y = wS(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
+ let y = CS(m.prevProp, h), b = y || p === o && m.isActive && !v && g || t > f && g, x = !1, S = Array.isArray(h) ? h : [h], C = S.reduce(a(p), {});
_ === !1 && (C = {});
let { prevResolvedValues: w = {} } = m, T = {
...w,
@@ -26286,7 +26286,7 @@ function CS(e) {
let t = C[e], n = w[e];
if (d.hasOwnProperty(e)) continue;
let r = !1;
- r = Db(t) && Db(n) ? !yS(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
+ r = Eb(t) && Eb(n) ? !vS(t, n) || y : t !== n, r ? t == null ? u.add(e) : E(e) : t !== void 0 && u.has(e) ? E(e) : m.protectedKeys[e] = !0;
}
m.prevProp = h, m.prevResolvedValues = C, m.isActive && (d = {
...d,
@@ -26296,10 +26296,10 @@ function CS(e) {
b && (!D || x) && l.push(...S.map((t) => {
let n = { type: p };
if (typeof t == "string" && (r || i) && !D && e.manuallyAnimateOnMount && e.parent) {
- let { parent: r } = e, i = Tb(r, t);
+ let { parent: r } = e, i = wb(r, t);
if (r.enteringChildren && i) {
let { delayChildren: t } = i.transition || {};
- n.delay = hb(r.enteringChildren, e, t);
+ n.delay = mb(r.enteringChildren, e, t);
}
}
return {
@@ -26311,7 +26311,7 @@ function CS(e) {
if (u.size) {
let t = {};
if (typeof s.initial != "boolean") {
- let n = Tb(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
+ let n = wb(e, Array.isArray(s.initial) ? s.initial[0] : s.initial);
n && n.transition && (t.transition = n.transition);
}
u.forEach((n) => {
@@ -26335,14 +26335,14 @@ function CS(e) {
setAnimateFunction: o,
getState: () => n,
reset: () => {
- n = ES(), i = !0;
+ n = TS(), i = !0;
}
};
}
-function wS(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !yS(t, e) : !1;
+function CS(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !vS(t, e) : !1;
}
-function TS(e = !1) {
+function wS(e = !1) {
return {
isActive: e,
protectedKeys: {},
@@ -26350,115 +26350,115 @@ function TS(e = !1) {
prevResolvedValues: {}
};
}
-function ES() {
+function TS() {
return {
- animate: TS(!0),
- whileInView: TS(),
- whileHover: TS(),
- whileTap: TS(),
- whileDrag: TS(),
- whileFocus: TS(),
- exit: TS()
+ animate: wS(!0),
+ whileInView: wS(),
+ whileHover: wS(),
+ whileTap: wS(),
+ whileDrag: wS(),
+ whileFocus: wS(),
+ exit: wS()
};
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function DS(e, t) {
+function ES(e, t) {
e.min = t.min, e.max = t.max;
}
-function OS(e, t) {
- DS(e.x, t.x), DS(e.y, t.y);
+function DS(e, t) {
+ ES(e.x, t.x), ES(e.y, t.y);
}
-function kS(e, t) {
+function OS(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var AS = .9999, jS = 1.0001, MS = -.01, NS = .01;
-function PS(e) {
+var kS = .9999, AS = 1.0001, jS = -.01, MS = .01;
+function NS(e) {
return e.max - e.min;
}
-function FS(e, t, n) {
+function PS(e, t, n) {
return Math.abs(e - t) <= n;
}
-function IS(e, t, n, r = .5) {
- e.origin = r, e.originPoint = ey(t.min, t.max, e.origin), e.scale = PS(n) / PS(t), e.translate = ey(n.min, n.max, e.origin) - e.originPoint, (e.scale >= AS && e.scale <= jS || isNaN(e.scale)) && (e.scale = 1), (e.translate >= MS && e.translate <= NS || isNaN(e.translate)) && (e.translate = 0);
+function FS(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = $v(t.min, t.max, e.origin), e.scale = NS(n) / NS(t), e.translate = $v(n.min, n.max, e.origin) - e.originPoint, (e.scale >= kS && e.scale <= AS || isNaN(e.scale)) && (e.scale = 1), (e.translate >= jS && e.translate <= MS || isNaN(e.translate)) && (e.translate = 0);
+}
+function IS(e, t, n, r) {
+ FS(e.x, t.x, n.x, r ? r.originX : void 0), FS(e.y, t.y, n.y, r ? r.originY : void 0);
}
-function LS(e, t, n, r) {
- IS(e.x, t.x, n.x, r ? r.originX : void 0), IS(e.y, t.y, n.y, r ? r.originY : void 0);
+function LS(e, t, n, r = 0) {
+ e.min = (r ? $v(n.min, n.max, r) : n.min) + t.min, e.max = e.min + NS(t);
+}
+function cie(e, t, n, r) {
+ LS(e.x, t.x, n.x, r?.x), LS(e.y, t.y, n.y, r?.y);
}
function RS(e, t, n, r = 0) {
- e.min = (r ? ey(n.min, n.max, r) : n.min) + t.min, e.max = e.min + PS(t);
+ let i = r ? $v(n.min, n.max, r) : n.min;
+ e.min = t.min - i, e.max = e.min + NS(t);
}
function zS(e, t, n, r) {
RS(e.x, t.x, n.x, r?.x), RS(e.y, t.y, n.y, r?.y);
}
-function BS(e, t, n, r = 0) {
- let i = r ? ey(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + PS(t);
-}
-function VS(e, t, n, r) {
- BS(e.x, t.x, n.x, r?.x), BS(e.y, t.y, n.y, r?.y);
-}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function HS(e, t, n, r, i) {
- return e -= t, e = Bx(e, 1 / n, r), i !== void 0 && (e = Bx(e, 1 / i, r)), e;
+function BS(e, t, n, r, i) {
+ return e -= t, e = zx(e, 1 / n, r), i !== void 0 && (e = zx(e, 1 / i, r)), e;
}
-function US(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
- if (Vv.test(t) && (t = parseFloat(t), t = ey(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
- let s = ey(a.min, a.max, r);
- e === a && (s -= t), e.min = HS(e.min, t, n, s, i), e.max = HS(e.max, t, n, s, i);
+function lie(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+ if (Bv.test(t) && (t = parseFloat(t), t = $v(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
+ let s = $v(a.min, a.max, r);
+ e === a && (s -= t), e.min = BS(e.min, t, n, s, i), e.max = BS(e.max, t, n, s, i);
}
-function WS(e, t, [n, r, i], a, o) {
- US(e, t[n], t[r], t[i], t.scale, a, o);
+function VS(e, t, [n, r, i], a, o) {
+ lie(e, t[n], t[r], t[i], t.scale, a, o);
}
-var GS = [
+var uie = [
"x",
"scaleX",
"originX"
-], sie = [
+], die = [
"y",
"scaleY",
"originY"
];
-function KS(e, t, n, r) {
- WS(e.x, t, GS, n ? n.x : void 0, r ? r.x : void 0), WS(e.y, t, sie, n ? n.y : void 0, r ? r.y : void 0);
+function HS(e, t, n, r) {
+ VS(e.x, t, uie, n ? n.x : void 0, r ? r.x : void 0), VS(e.y, t, die, n ? n.y : void 0, r ? r.y : void 0);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function qS(e) {
+function US(e) {
return e.translate === 0 && e.scale === 1;
}
-function JS(e) {
- return qS(e.x) && qS(e.y);
+function WS(e) {
+ return US(e.x) && US(e.y);
}
-function YS(e, t) {
+function GS(e, t) {
return e.min === t.min && e.max === t.max;
}
-function cie(e, t) {
- return YS(e.x, t.x) && YS(e.y, t.y);
+function fie(e, t) {
+ return GS(e.x, t.x) && GS(e.y, t.y);
}
-function XS(e, t) {
+function KS(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function ZS(e, t) {
- return XS(e.x, t.x) && XS(e.y, t.y);
+function qS(e, t) {
+ return KS(e.x, t.x) && KS(e.y, t.y);
}
-function QS(e) {
- return PS(e.x) / PS(e.y);
+function JS(e) {
+ return NS(e.x) / NS(e.y);
}
-function $S(e, t) {
+function YS(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function eC(e) {
+function XS(e) {
return [e("x"), e("y")];
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function lie(e, t, n) {
+function pie(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
@@ -26469,81 +26469,81 @@ function lie(e, t, n) {
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
-var uie = Wb.length, tC = (e) => typeof e == "string" ? parseFloat(e) : e, nC = (e) => typeof e == "number" || Hv.test(e);
-function die(e, t, n, r, i, a) {
- i ? (e.opacity = ey(0, n.opacity ?? 1, fie(r)), e.opacityExit = ey(t.opacity ?? 1, 0, pie(r))) : a && (e.opacity = ey(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < uie; i++) {
- let a = Wb[i], o = rC(t, a), s = rC(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || nC(o) === nC(s) ? (e[a] = Math.max(ey(tC(o), tC(s), r), 0), (Vv.test(s) || Vv.test(o)) && (e[a] += "%")) : e[a] = s);
+var mie = Ub.length, ZS = (e) => typeof e == "string" ? parseFloat(e) : e, QS = (e) => typeof e == "number" || Vv.test(e);
+function hie(e, t, n, r, i, a) {
+ i ? (e.opacity = $v(0, n.opacity ?? 1, gie(r)), e.opacityExit = $v(t.opacity ?? 1, 0, _ie(r))) : a && (e.opacity = $v(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < mie; i++) {
+ let a = Ub[i], o = $S(t, a), s = $S(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || QS(o) === QS(s) ? (e[a] = Math.max($v(ZS(o), ZS(s), r), 0), (Bv.test(s) || Bv.test(o)) && (e[a] += "%")) : e[a] = s);
}
- (t.rotate || n.rotate) && (e.rotate = ey(t.rotate || 0, n.rotate || 0, r));
+ (t.rotate || n.rotate) && (e.rotate = $v(t.rotate || 0, n.rotate || 0, r));
}
-function rC(e, t) {
+function $S(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var fie = /*@__PURE__*/ iC(0, .5, dv), pie = /*@__PURE__*/ iC(.5, .95, Y_);
-function iC(e, t, n) {
- return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Z_(e, t, r));
+var gie = /*@__PURE__*/ eC(0, .5, uv), _ie = /*@__PURE__*/ eC(.5, .95, J_);
+function eC(e, t, n) {
+ return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ X_(e, t, r));
}
//#endregion
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function mie(e, t, n) {
- let r = Ob(e) ? e : vb(e);
- return r.start(xb("", r, t, n)), r.animation;
+function vie(e, t, n) {
+ let r = Db(e) ? e : _b(e);
+ return r.start(bb("", r, t, n)), r.animation;
}
//#endregion
//#region node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function aC(e, t, n, r = { passive: !0 }) {
+function tC(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var hie = (e, t) => e.depth - t.depth, gie = class {
+var yie = (e, t) => e.depth - t.depth, bie = class {
constructor() {
this.children = [], this.isDirty = !1;
}
add(e) {
- V_(this.children, e), this.isDirty = !0;
+ B_(this.children, e), this.isDirty = !0;
}
remove(e) {
- H_(this.children, e), this.isDirty = !0;
+ V_(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(hie), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(yie), this.isDirty = !1, this.children.forEach(e);
}
};
//#endregion
//#region node_modules/motion-dom/dist/es/utils/delay.mjs
-function _ie(e, t) {
- let n = wv.now(), r = ({ timestamp: i }) => {
+function xie(e, t) {
+ let n = Cv.now(), r = ({ timestamp: i }) => {
let a = i - n;
- a >= t && (bv(r), e(a - t));
+ a >= t && (yv(r), e(a - t));
};
- return yv.setup(r, !0), () => bv(r);
+ return vv.setup(r, !0), () => yv(r);
}
//#endregion
//#region node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function oC(e) {
- return Ob(e) ? e.get() : e;
+function nC(e) {
+ return Db(e) ? e.get() : e;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var vie = class {
+var Sie = class {
constructor() {
this.members = [];
}
add(e) {
- V_(this.members, e);
+ B_(this.members, e);
for (let t = this.members.length - 1; t >= 0; t--) {
let n = this.members[t];
if (n === e || n === this.lead || n === this.prevLead) continue;
let r = n.instance;
- (!r || r.isConnected === !1) && !n.snapshot && (H_(this.members, n), n.unmount());
+ (!r || r.isConnected === !1) && !n.snapshot && (V_(this.members, n), n.unmount());
}
e.scheduleRender();
}
remove(e) {
- if (H_(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
+ if (V_(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
let e = this.members[this.members.length - 1];
e && this.promote(e);
}
@@ -26574,51 +26574,51 @@ var vie = class {
removeLeadSnapshot() {
this.lead?.snapshot && (this.lead.snapshot = void 0);
}
-}, sC = {
+}, rC = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, cC = {
+}, iC = {
nodes: 0,
calculatedTargetDeltas: 0,
calculatedProjections: 0
-}, lC = [
+}, aC = [
"",
"X",
"Y",
"Z"
-], yie = 1e3, bie = 0;
-function uC(e, t, n, r) {
+], Cie = 1e3, wie = 0;
+function oC(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-function dC(e) {
+function sC(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = Mb(t);
+ let n = jb(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
- window.MotionCancelOptimisedAnimation(n, "transform", yv, !(t || r));
+ window.MotionCancelOptimisedAnimation(n, "transform", vv, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && dC(r);
+ r && !r.hasCheckedOptimisedAppear && sC(r);
}
-function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+function cC({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
return class {
constructor(e = {}, n = t?.()) {
- this.id = bie++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = wie++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, px.value && (cC.nodes = cC.calculatedTargetDeltas = cC.calculatedProjections = 0), this.nodes.forEach(Cie), this.nodes.forEach(kie), this.nodes.forEach(Aie), this.nodes.forEach(wie), px.addProjectionMetrics && px.addProjectionMetrics(cC);
+ this.projectionUpdateScheduled = !1, fx.value && (iC.nodes = iC.calculatedTargetDeltas = iC.calculatedProjections = 0), this.nodes.forEach(Die), this.nodes.forEach(Nie), this.nodes.forEach(Pie), this.nodes.forEach(Oie), fx.addProjectionMetrics && fx.addProjectionMetrics(iC);
}, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new gie());
+ this.root === this && (this.nodes = new bie());
}
addEventListener(e, t) {
- return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Q_()), this.eventHandlers.get(e).add(t);
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Z_()), this.eventHandlers.get(e).add(t);
}
notifyListeners(e, ...t) {
let n = this.eventHandlers.get(e);
@@ -26629,15 +26629,15 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = ox(t) && !Wre(t), this.instance = t;
+ this.isSVG = ax(t) && !Gre(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
- yv.read(() => {
+ vv.read(() => {
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = _ie(i, 250), sC.hasAnimatedSinceResize && (sC.hasAnimatedSinceResize = !1, this.nodes.forEach(hC)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = xie(i, 250), rC.hasAnimatedSinceResize && (rC.hasAnimatedSinceResize = !1, this.nodes.forEach(dC)));
});
}
n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && i && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
@@ -26645,23 +26645,23 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || i.getDefaultTransition() || Fie, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !ZS(this.targetLayout, r), l = !t && n;
+ let a = this.options.transition || i.getDefaultTransition() || zie, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = i.getProps(), c = !this.targetLayout || !qS(this.targetLayout, r), l = !t && n;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...bb(a, "layout"),
+ ...yb(a, "layout"),
onPlay: o,
onComplete: s
};
(i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || hC(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
+ } else t || dC(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
this.targetLayout = r;
});
}
unmount() {
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
let e = this.getStack();
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), bv(this.updateProjection);
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), yv(this.updateProjection);
}
blockUpdate() {
this.updateManuallyBlocked = !0;
@@ -26676,7 +26676,7 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(jie), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Fie), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -26687,7 +26687,7 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete && this.options.onExitComplete();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && dC(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && sC(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
@@ -26701,39 +26701,39 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Eie), this.nodes.forEach(pC);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Aie), this.nodes.forEach(lC);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(mC);
+ this.nodes.forEach(uC);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Die), this.nodes.forEach(Oie), this.nodes.forEach(xie), this.nodes.forEach(Sie)) : this.nodes.forEach(mC), this.clearAllSnapshots();
- let e = wv.now();
- xv.delta = U_(0, 1e3 / 60, e - xv.timestamp), xv.timestamp = e, xv.isProcessing = !0, Sv.update.process(xv), Sv.preRender.process(xv), Sv.render.process(xv), xv.isProcessing = !1;
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(jie), this.nodes.forEach(Mie), this.nodes.forEach(Tie), this.nodes.forEach(Eie)) : this.nodes.forEach(uC), this.clearAllSnapshots();
+ let e = Cv.now();
+ bv.delta = H_(0, 1e3 / 60, e - bv.timestamp), bv.timestamp = e, bv.isProcessing = !0, xv.update.process(bv), xv.preRender.process(bv), xv.render.process(bv), bv.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, Jb.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, qb.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Tie), this.sharedNodes.forEach(Mie);
+ this.nodes.forEach(kie), this.sharedNodes.forEach(Iie);
}
scheduleUpdateProjection() {
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, yv.preRender(this.updateProjection, !1, !0));
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, vv.preRender(this.updateProjection, !1, !0));
}
scheduleCheckAfterUnmount() {
- yv.postRender(() => {
+ vv.postRender(() => {
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
});
}
updateSnapshot() {
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !PS(this.snapshot.measuredBox.x) && !PS(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !NS(this.snapshot.measuredBox.x) && !NS(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= yx(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= vx(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
}
@@ -26752,12 +26752,12 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
resetTransform() {
if (!i) return;
- let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !JS(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || Lx(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !WS(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Ix(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), Iie(n), {
+ return e && (n = this.removeTransform(n)), Bie(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -26767,42 +26767,42 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return yx();
+ if (!e) return vx();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(Lie))) {
+ if (!(this.scroll?.wasRoot || this.path.some(Vie))) {
let { scroll: e } = this.root;
- e && (Kx(t.x, e.offset.x), Kx(t.y, e.offset.y));
+ e && (Gx(t.x, e.offset.x), Gx(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = yx();
- if (OS(t, e), this.scroll?.wasRoot) return t;
+ let t = vx();
+ if (DS(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && OS(t, e), Kx(t.x, i.offset.x), Kx(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && DS(t, e), Gx(t.x, i.offset.x), Gx(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n) {
- let r = n || yx();
- OS(r, e);
+ let r = n || vx();
+ DS(r, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (Kx(r.x, -n.scroll.offset.x), Kx(r.y, -n.scroll.offset.y)), Lx(n.latestValues) && Yx(r, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (Gx(r.x, -n.scroll.offset.x), Gx(r.y, -n.scroll.offset.y)), Ix(n.latestValues) && Jx(r, n.latestValues, n.layout?.layoutBox);
}
- return Lx(this.latestValues) && Yx(r, this.latestValues, this.layout?.layoutBox), r;
+ return Ix(this.latestValues) && Jx(r, this.latestValues, this.layout?.layoutBox), r;
}
removeTransform(e) {
- let t = yx();
- OS(t, e);
+ let t = vx();
+ DS(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!Lx(n.latestValues)) continue;
+ if (!Ix(n.latestValues)) continue;
let r;
- n.instance && (Ix(n.latestValues) && n.updateSnapshot(), r = yx(), OS(r, n.measurePageBox())), KS(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Fx(n.latestValues) && n.updateSnapshot(), r = vx(), DS(r, n.measurePageBox())), HS(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Lx(this.latestValues) && KS(t, this.latestValues), t;
+ return Ix(this.latestValues) && HS(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -26818,7 +26818,7 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
}
forceRelativeParentToResolveTarget() {
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== xv.timestamp && this.relativeParent.resolveTargetDelta(!0);
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== bv.timestamp && this.relativeParent.resolveTargetDelta(!0);
}
resolveTargetDelta(e = !1) {
let t = this.getLead();
@@ -26827,36 +26827,36 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
let { layout: r, layoutId: i } = this.options;
if (!this.layout || !(r || i)) return;
- this.resolvedRelativeTargetAt = xv.timestamp;
+ this.resolvedRelativeTargetAt = bv.timestamp;
let a = this.getClosestProjectingParent();
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = yx(), this.targetWithTransforms = yx()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), zS(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : OS(this.target, this.layout.layoutBox), Ux(this.target, this.targetDelta)) : OS(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), px.value && cC.calculatedTargetDeltas++);
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = vx(), this.targetWithTransforms = vx()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), cie(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : DS(this.target, this.layout.layoutBox), Hx(this.target, this.targetDelta)) : DS(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), fx.value && iC.calculatedTargetDeltas++);
}
getClosestProjectingParent() {
- if (!(!this.parent || Ix(this.parent.latestValues) || Rx(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Fx(this.parent.latestValues) || Lx(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = yx(), this.relativeTargetOrigin = yx(), VS(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), OS(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = vx(), this.relativeTargetOrigin = vx(), zS(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), DS(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
}
calcProjection() {
let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === xv.timestamp && (n = !1), n) return;
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === bv.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- OS(this.layoutCorrected, this.layout.layoutBox);
+ DS(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- nie(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = yx());
+ rie(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = vx());
let { target: s } = e;
if (!s) {
this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
return;
}
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (kS(this.prevProjectionDelta.x, this.projectionDelta.x), kS(this.prevProjectionDelta.y, this.projectionDelta.y)), LS(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !$S(this.projectionDelta.x, this.prevProjectionDelta.x) || !$S(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), px.value && cC.calculatedProjections++;
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (OS(this.prevProjectionDelta.x, this.projectionDelta.x), OS(this.prevProjectionDelta.y, this.projectionDelta.y)), IS(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !YS(this.projectionDelta.x, this.prevProjectionDelta.x) || !YS(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), fx.value && iC.calculatedProjections++;
}
hide() {
this.isVisible = !1;
@@ -26872,22 +26872,22 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = _x(), this.projectionDelta = _x(), this.projectionDeltaWithTransform = _x();
+ this.prevProjectionDelta = gx(), this.projectionDelta = gx(), this.projectionDeltaWithTransform = gx();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = _x();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = gx();
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = yx(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Pie));
+ let s = vx(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(Rie));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- r ? (o.x.translate = r.x, o.x.scale = ey(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = ey(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (gC(o.x, e.x, n), gC(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (VS(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Nie(this.relativeTarget, this.relativeTargetOrigin, s, n), f && cie(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= yx(), OS(f, this.relativeTarget)), c && (this.animationValues = a, die(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ r ? (o.x.translate = r.x, o.x.scale = $v(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = $v(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (fC(o.x, e.x, n), fC(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (zS(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Lie(this.relativeTarget, this.relativeTargetOrigin, s, n), f && fie(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= vx(), DS(f, this.relativeTarget)), c && (this.animationValues = a, hie(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (bv(this.pendingAnimation), void 0), this.pendingAnimation = yv.update(() => {
- sC.hasAnimatedSinceResize = !0, this.motionValue ||= vb(0), this.motionValue.jump(0, !1), this.currentAnimation = mie(this.motionValue, [0, 1e3], {
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (yv(this.pendingAnimation), void 0), this.pendingAnimation = vv.update(() => {
+ rC.hasAnimatedSinceResize = !0, this.motionValue ||= _b(0), this.motionValue.jump(0, !1), this.currentAnimation = vie(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -26906,23 +26906,23 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(yie), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(Cie), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
if (!(!t || !n || !r)) {
- if (this !== e && this.layout && r && xC(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
- n = this.target || yx();
- let t = PS(this.layout.layoutBox.x);
+ if (this !== e && this.layout && r && _C(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
+ n = this.target || vx();
+ let t = NS(this.layout.layoutBox.x);
n.x.min = e.target.x.min, n.x.max = n.x.min + t;
- let r = PS(this.layout.layoutBox.y);
+ let r = NS(this.layout.layoutBox.y);
n.y.min = e.target.y.min, n.y.max = n.y.min + r;
}
- OS(t, n), Yx(t, i), LS(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
+ DS(t, n), Jx(t, i), IS(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new vie()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Sie()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n ? n.transition : void 0,
@@ -26959,8 +26959,8 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let t = !1, { latestValues: n } = e;
if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
let r = {};
- n.z && uC("z", e, r, this.animationValues);
- for (let t = 0; t < lC.length; t++) uC(`rotate${lC[t]}`, e, r, this.animationValues), uC(`skew${lC[t]}`, e, r, this.animationValues);
+ n.z && oC("z", e, r, this.animationValues);
+ for (let t = 0; t < aC.length; t++) oC(`rotate${aC[t]}`, e, r, this.animationValues), oC(`skew${aC[t]}`, e, r, this.animationValues);
e.render();
for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
e.scheduleRender();
@@ -26973,71 +26973,71 @@ function fC({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let n = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = oC(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = nC(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
return;
}
let r = this.getLead();
if (!this.projectionDelta || !this.layout || !r.target) {
- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = oC(t?.pointerEvents) || ""), this.hasProjected && !Lx(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = nC(t?.pointerEvents) || ""), this.hasProjected && !Ix(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = r.animationValues || r.latestValues;
this.applyTransformsToTarget();
- let a = lie(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = pie(this.projectionDeltaWithTransform, this.treeScale, i);
n && (a = n(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in nS) {
+ for (let t in tS) {
if (i[t] === void 0) continue;
- let { correct: n, applyTo: o, isCSSVariable: s } = nS[t], c = a === "none" ? i[t] : n(i[t], r);
+ let { correct: n, applyTo: o, isCSSVariable: s } = tS[t], c = a === "none" ? i[t] : n(i[t], r);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = r === this ? oC(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = r === this ? nC(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(pC), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(lC), this.root.sharedNodes.clear();
}
};
}
-function xie(e) {
+function Tie(e) {
e.updateLayout();
}
-function Sie(e) {
+function Eie(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
- if (i === "size") eC((e) => {
- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = PS(r);
+ if (i === "size") XS((e) => {
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = NS(r);
r.min = n[e].min, r.max = r.min + i;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- DS(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
- } else xC(i, t.layoutBox, n) && eC((r) => {
- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = PS(n[r]);
+ ES(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
+ } else _C(i, t.layoutBox, n) && XS((r) => {
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = NS(n[r]);
i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
});
- let o = _x();
- LS(o, n, t.layoutBox);
- let s = _x();
- a ? LS(s, e.applyTransform(r, !0), t.measuredBox) : LS(s, n, t.layoutBox);
- let c = !JS(o), l = !1;
+ let o = gx();
+ IS(o, n, t.layoutBox);
+ let s = gx();
+ a ? IS(s, e.applyTransform(r, !0), t.measuredBox) : IS(s, n, t.layoutBox);
+ let c = !WS(o), l = !1;
if (!e.resumeFrom) {
let r = e.getClosestProjectingParent();
if (r && !r.resumeFrom) {
let { snapshot: i, layout: a } = r;
if (i && a) {
- let o = e.options.layoutAnchor || void 0, s = yx();
- VS(s, t.layoutBox, i.layoutBox, o);
- let c = yx();
- VS(c, n, a.layoutBox, o), ZS(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
+ let o = e.options.layoutAnchor || void 0, s = vx();
+ zS(s, t.layoutBox, i.layoutBox, o);
+ let c = vx();
+ zS(c, n, a.layoutBox, o), qS(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
}
}
}
@@ -27055,59 +27055,59 @@ function Sie(e) {
}
e.options.transition = void 0;
}
-function Cie(e) {
- px.value && cC.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function Die(e) {
+ fx.value && iC.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function wie(e) {
+function Oie(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Tie(e) {
+function kie(e) {
e.clearSnapshot();
}
-function pC(e) {
+function lC(e) {
e.clearMeasurements();
}
-function Eie(e) {
+function Aie(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function mC(e) {
+function uC(e) {
e.isLayoutDirty = !1;
}
-function Die(e) {
+function jie(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
}
-function Oie(e) {
+function Mie(e) {
let { visualElement: t } = e.options;
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function hC(e) {
+function dC(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function kie(e) {
+function Nie(e) {
e.resolveTargetDelta();
}
-function Aie(e) {
+function Pie(e) {
e.calcProjection();
}
-function jie(e) {
+function Fie(e) {
e.resetSkewAndRotation();
}
-function Mie(e) {
+function Iie(e) {
e.removeLeadSnapshot();
}
-function gC(e, t, n) {
- e.translate = ey(t.translate, 0, n), e.scale = ey(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
+function fC(e, t, n) {
+ e.translate = $v(t.translate, 0, n), e.scale = $v(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function _C(e, t, n, r) {
- e.min = ey(t.min, n.min, r), e.max = ey(t.max, n.max, r);
+function pC(e, t, n, r) {
+ e.min = $v(t.min, n.min, r), e.max = $v(t.max, n.max, r);
}
-function Nie(e, t, n, r) {
- _C(e.x, t.x, n.x, r), _C(e.y, t.y, n.y, r);
+function Lie(e, t, n, r) {
+ pC(e.x, t.x, n.x, r), pC(e.y, t.y, n.y, r);
}
-function Pie(e) {
+function Rie(e) {
return e.animationValues && e.animationValues.opacityExit !== void 0;
}
-var Fie = {
+var zie = {
duration: .45,
ease: [
.4,
@@ -27115,39 +27115,39 @@ var Fie = {
.1,
1
]
-}, vC = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), yC = vC("applewebkit/") && !vC("chrome/") ? Math.round : Y_;
-function bC(e) {
- e.min = yC(e.min), e.max = yC(e.max);
+}, mC = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), hC = mC("applewebkit/") && !mC("chrome/") ? Math.round : J_;
+function gC(e) {
+ e.min = hC(e.min), e.max = hC(e.max);
}
-function Iie(e) {
- bC(e.x), bC(e.y);
+function Bie(e) {
+ gC(e.x), gC(e.y);
}
-function xC(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !FS(QS(t), QS(n), .2);
+function _C(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !PS(JS(t), JS(n), .2);
}
-function Lie(e) {
+function Vie(e) {
return e !== e.root && e.scroll?.wasRoot;
}
//#endregion
//#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var Rie = fC({
- attachResizeListener: (e, t) => aC(e, "resize", t),
+var Hie = cC({
+ attachResizeListener: (e, t) => tC(e, "resize", t),
measureScroll: () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
}),
checkIsScrollRoot: () => !0
-}), SC = { current: void 0 }, CC = fC({
+}), vC = { current: void 0 }, yC = cC({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!SC.current) {
- let e = new Rie({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), SC.current = e;
+ if (!vC.current) {
+ let e = new Hie({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), vC.current = e;
}
- return SC.current;
+ return vC.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
@@ -27156,18 +27156,18 @@ var Rie = fC({
});
//#endregion
//#region node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function zie(e, t, n, r) {
+function Uie(e, t, n, r) {
if (e == null) return [];
- let i = Gb(e, r), a = i.length, o = [];
+ let i = Wb(e, r), a = i.length, o = [];
for (let e = 0; e < a; e++) {
let r = i[e], s = { ...n };
typeof s.delay == "function" && (s.delay = s.delay(e, a));
for (let e in t) {
let n = t[e];
Array.isArray(n) || (n = [n]);
- let i = { ...bb(s, e) };
- i.duration &&= /* @__PURE__ */ $_(i.duration), i.delay &&= /* @__PURE__ */ $_(i.delay);
- let a = Yne(r), c = Jne(e, i.pseudoElement || ""), l = a.get(c);
+ let i = { ...yb(s, e) };
+ i.duration &&= /* @__PURE__ */ Q_(i.duration), i.delay &&= /* @__PURE__ */ Q_(i.delay);
+ let a = Xne(r), c = Yne(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -27183,40 +27183,40 @@ function zie(e, t, n, r) {
}
for (let e = 0; e < o.length; e++) {
let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;
- !a && t[0] === null && (t[0] = ax(r, i)), Ay(t), Tre(t, i), !a && t.length < 2 && t.unshift(ax(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = ix(r, i)), ky(t), Ere(t, i), !a && t.length < 2 && t.unshift(ix(r, i)), n.keyframes = t;
}
let s = [];
for (let e = 0; e < o.length; e++) {
- let { map: t, key: n, options: r } = o[e], i = new ib(r);
+ let { map: t, key: n, options: r } = o[e], i = new rb(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var Bie = /*@__PURE__*/ ((e) => {
+var Wie = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new qne(zie(t, n, r, e));
+ return new Jne(Uie(t, n, r, e));
}
return t;
-})(), wC = (e, t) => Math.abs(e - t);
-function Vie(e, t) {
- let n = wC(e.x, t.x), r = wC(e.y, t.y);
+})(), bC = (e, t) => Math.abs(e - t);
+function Gie(e, t) {
+ let n = bC(e.x, t.x), r = bC(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Hie = {
+var Kie = {
selection: {
- type: _y,
+ type: gy,
duration: .16,
bounce: 0
},
hover: {
- type: _y,
+ type: gy,
duration: .08,
bounce: 0
}
};
-function TC(e) {
+function xC(e) {
let [t, n] = (0, B.useState)(null);
return (0, B.useLayoutEffect)(() => {
if (!t) return;
@@ -27237,7 +27237,7 @@ function TC(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 = Bie(n, { transform: [r, E] }, Hie[e]);
+ l = Wie(n, { transform: [r, E] }, Kie[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -27274,25 +27274,25 @@ function TC(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function EC(e) {
- let t = TC("selection");
- return /* @__PURE__ */ (0, H.jsx)(R_, {
+function SC(e) {
+ let t = xC("selection");
+ return /* @__PURE__ */ (0, H.jsx)(L_, {
...e,
ref: t
});
}
-function DC(e) {
- let t = TC("selection");
+function CC(e) {
+ let t = xC("selection");
return /* @__PURE__ */ (0, H.jsx)(ug, {
...e,
ref: t
});
}
-var OC = "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", kC = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 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", Uie = "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", AC = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", jC = "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)", Wie = { "text-aa": 1.435 }, MC = /* @__PURE__ */ new Map();
-function NC(e) {
- let t = MC.get(e);
+var wC = "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", TC = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 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", qie = "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", EC = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", DC = "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)", Jie = { "text-aa": 1.435 }, OC = /* @__PURE__ */ new Map();
+function kC(e) {
+ let t = OC.get(e);
if (t) return t;
- let n = Wie[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, H.jsx)("svg", {
+ let n = Jie[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -27306,19 +27306,19 @@ function NC(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, MC.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, OC.set(e, r), r;
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var Gie = (e) => e === "videos", PC = () => /* @__PURE__ */ (0, H.jsx)("span", {
+var Yie = (e) => e === "videos", AC = () => /* @__PURE__ */ (0, H.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function Kie(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Gie(t), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = Sr(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = Sr(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function Xie(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = Yie(t), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), _ = Sr(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = Sr(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, B.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(FC, {
+ }, [c]), /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(jC, {
items: o,
hidden: !l,
actions: s
@@ -27342,13 +27342,13 @@ function Kie(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [n ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(qie, {
+ top: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [n ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Zie, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, H.jsx)(PC, {}) : null] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, H.jsx)(AC, {}) : null] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -27368,7 +27368,7 @@ function Kie(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, H.jsx)(PC, {})]
+ }, e.k)), /* @__PURE__ */ (0, H.jsx)(AC, {})]
}), /* @__PURE__ */ (0, H.jsx)("div", {
ref: h,
"data-entity-tags": "",
@@ -27384,10 +27384,10 @@ function Kie(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, H.jsx)(Jie, { ...e })
+ bottom: /* @__PURE__ */ (0, H.jsx)(Qie, { ...e })
})] });
}
-function qie({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Zie({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -27429,7 +27429,7 @@ function qie({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function FC({ items: e, hidden: t, actions: n }) {
+function jC({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -27449,7 +27449,7 @@ function FC({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Jie(e) {
+function Qie(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, H.jsxs)("button", {
@@ -27461,22 +27461,22 @@ function Jie(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, H.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Yie, {
+ /* @__PURE__ */ (0, H.jsx)($ie, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, H.jsx)(Xie, {
+ t === "videos" && i ? /* @__PURE__ */ (0, H.jsx)(eae, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, H.jsx)(Zie, {
+ t === "photos" && a ? /* @__PURE__ */ (0, H.jsx)(tae, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function Yie({ text: e, busy: t }) {
+function $ie({ text: e, busy: t }) {
return /* @__PURE__ */ (0, H.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, H.jsx)("span", {
@@ -27486,7 +27486,7 @@ function Yie({ text: e, busy: t }) {
}) : e
});
}
-function IC({ name: e, label: t, value: n, options: r, onChange: i }) {
+function MC({ name: e, label: t, value: n, options: r, onChange: i }) {
return /* @__PURE__ */ (0, H.jsx)(ug, {
name: e,
"aria-label": t,
@@ -27494,14 +27494,14 @@ function IC({ name: e, label: t, value: n, options: r, onChange: i }) {
value: n,
onChange: i,
"data-entity-layout": "",
- className: AC,
+ className: EC,
children: r.map(([e, t, n]) => {
- let r = NC(n);
+ let r = kC(n);
return /* @__PURE__ */ (0, H.jsx)(dg, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: jC,
+ className: DC,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: t,
className: "contents",
@@ -27511,7 +27511,7 @@ function IC({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function LC({ onPress: e, busy: t = !1 }) {
+function NC({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -27525,27 +27525,27 @@ function LC({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? w("正在换一批") : L("shuffle") }
});
}
-function Xie({ head: e, actions: t }) {
+function eae({ head: e, actions: t }) {
return /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(LC, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, H.jsx)(IC, {
+ /* @__PURE__ */ (0, H.jsx)(NC, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, H.jsx)(MC, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, H.jsx)(RC, {
+ /* @__PURE__ */ (0, H.jsx)(PC, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function RC({ sorts: e, onSort: t }) {
+function PC({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: e.map((e) => {
- let n = NC(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = kC(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -27557,20 +27557,20 @@ function RC({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function Zie({ head: e, actions: t, helpers: n }) {
+function tae({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, B.useState)(!1), a = (0, B.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, B.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, H.jsx)(LC, {
+ e.shuffle ? /* @__PURE__ */ (0, H.jsx)(NC, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, H.jsx)(IC, {
+ /* @__PURE__ */ (0, H.jsx)(MC, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -27586,31 +27586,31 @@ function Zie({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var zC = "";
-function Qie(e) {
- let t = !e.tiers, n = aae(e.comboHost);
+var FC = "";
+function nae(e) {
+ let t = !e.tiers, n = lae(e.comboHost);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(FC, {
+ n ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(jC, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, H.jsx)(tae, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, H.jsx)($ie, { ...e })
+ /* @__PURE__ */ (0, H.jsx)(aae, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, H.jsx)(rae, { ...e })
]
});
}
-function $ie(e) {
+function rae(e) {
let { actions: t, helpers: n } = e, r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = Sr(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, B.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = VC(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = LC(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, B.useLayoutEffect)(() => {
h(o.current, "tagbar");
}, [u]), /* @__PURE__ */ (0, H.jsx)(gr, {
@@ -27656,16 +27656,16 @@ function $ie(e) {
}), /* @__PURE__ */ (0, H.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, H.jsx)(BC, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, H.jsx)(eae, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, H.jsx)(IC, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, H.jsx)(iae, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, H.jsx)(rae, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, H.jsx)(sae, { ...e })
});
}
-function eae({ tag: e, onPress: t }) {
+function iae({ tag: e, onPress: t }) {
return /* @__PURE__ */ (0, H.jsxs)(vr, {
"data-catalog-tag": e.k,
"data-entity-press": "",
@@ -27677,12 +27677,12 @@ function eae({ tag: e, onPress: t }) {
})]
});
}
-function tae(e) {
+function aae(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useCallback)((e) => () => t.moreTops(e), [t]), c = VC(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = VC(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, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useCallback)((e) => () => t.moreTops(e), [t]), c = LC(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = LC(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, B.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -27695,7 +27695,7 @@ function tae(e) {
children: [u ? /* @__PURE__ */ (0, H.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, H.jsx)(BC, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, H.jsx)(IC, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -27712,18 +27712,18 @@ function tae(e) {
}) : null, d ? /* @__PURE__ */ (0, H.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, H.jsx)(BC, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, H.jsx)(IC, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, H.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, H.jsx)(nae, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, H.jsx)(oae, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function nae({ studio: e }) {
+function oae({ studio: e }) {
let [t, n] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsx)("span", {
"data-tier-mark": "",
@@ -27737,7 +27737,7 @@ function nae({ studio: e }) {
}) : e.fallback
});
}
-function BC({ kind: e }) {
+function IC({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -27753,32 +27753,32 @@ function BC({ kind: e }) {
children: [/* @__PURE__ */ (0, H.jsx)("span", {}), /* @__PURE__ */ (0, H.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function rae({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function sae({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, B.useState)(!1);
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(iae, { count: e }), /* @__PURE__ */ (0, H.jsxs)("span", {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(cae, { count: e }), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(LC, {
+ /* @__PURE__ */ (0, H.jsx)(NC, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, H.jsx)(IC, {
+ n ? /* @__PURE__ */ (0, H.jsx)(MC, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, H.jsx)(RC, {
+ /* @__PURE__ */ (0, H.jsx)(PC, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function iae({ count: e }) {
+function cae({ count: e }) {
let t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, B.useLayoutEffect)(() => {
if (!e) {
@@ -27786,7 +27786,7 @@ function iae({ count: e }) {
return;
}
let i = t.current;
- i && (zC && i.dataset.popCount === void 0 && (i.dataset.popCount = zC), zC = r, g(i, r));
+ i && (FC && i.dataset.popCount === void 0 && (i.dataset.popCount = FC), FC = r, g(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, H.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -27802,7 +27802,7 @@ function iae({ count: e }) {
})
}, "skeleton");
}
-function aae(e) {
+function lae(e) {
let [t, n] = (0, B.useState)(null);
return (0, B.useLayoutEffect)(() => {
if (!e) return;
@@ -27812,7 +27812,7 @@ function aae(e) {
};
}, [e]), t;
}
-function VC(e, t, n, r, i) {
+function LC(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -27858,13 +27858,13 @@ function VC(e, t, n, r, i) {
}
//#endregion
//#region src/api.ts
-var HC = class extends Error {
+var RC = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(ce(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, UC = (e) => {
+}, zC = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -27886,7 +27886,7 @@ async function K(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new HC(UC(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new RC(zC(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function q(e, t, n = "POST", r) {
@@ -27903,20 +27903,20 @@ async function q(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new HC(UC(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new RC(zC(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function WC({ value: e }) {
+function BC({ value: e }) {
return /* @__PURE__ */ (0, H.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 oae = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function GC({ tabs: e, value: t, label: n, onChange: r }) {
+var uae = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function VC({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, B.useRef)(null), a = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
let e = i.current;
@@ -27944,14 +27944,14 @@ function GC({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? NC(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? kC(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: oae,
+ className: uae,
onClick: () => {
i || r(e.value);
},
@@ -27967,21 +27967,21 @@ function GC({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/search/search.ts
-var KC = /* @__PURE__ */ new Set([
+var HC = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), qC = /* @__PURE__ */ new Set(["asset"]), JC = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function sae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), UC = /* @__PURE__ */ new Set(["asset"]), WC = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function dae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || JC(t).includes(JC(e)));
+ }, u = t.filter((t) => !e || WC(t).includes(WC(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -28019,7 +28019,7 @@ function sae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: e.kind,
item: t
}))
- }), h = p.filter((e) => !qC.has(e.kind)).map(m), g = p.filter((e) => qC.has(e.kind)).map(m);
+ }), h = p.filter((e) => !UC.has(e.kind)).map(m), g = p.filter((e) => UC.has(e.kind)).map(m);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -28028,17 +28028,17 @@ function sae({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function cae(e, t, n = Math.random) {
+function fae(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) => JC(t) === JC(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => WC(t) === WC(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var lae = () => ({
+var pae = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -28053,7 +28053,7 @@ var lae = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), YC = (e) => sae({
+}), GC = (e) => dae({
query: e.query,
history: e.history,
picks: e.picks,
@@ -28061,18 +28061,18 @@ var lae = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), uae = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), XC = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
+}), mae = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), KC = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
-function dae(e) {
+function hae(e) {
let t = (0, B.useRef)(e);
t.current = e;
let n = (0, B.useRef)(null);
- n.current ??= lae();
+ n.current ??= pae();
let r = n.current, i = (0, B.useRef)(null), [, a] = (0, B.useReducer)((e) => e + 1, 0), o = (0, B.useRef)(null);
- o.current ??= fae(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= gae(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, B.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -28085,7 +28085,7 @@ function dae(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 = YC(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, H.jsx)(mae, {
+ let c = GC(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, H.jsx)(vae, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -28105,7 +28105,7 @@ function dae(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, H.jsx)(pae, {
+ c.tabs ? /* @__PURE__ */ (0, H.jsx)(_ae, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -28126,7 +28126,7 @@ function dae(e) {
]
});
}
-function fae(e, t, n, r) {
+function gae(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 () => {
@@ -28140,7 +28140,7 @@ function fae(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) => JC(e) !== JC(t))]), q("/api/search-history", { query: t }).catch(() => null));
+ !t || !e().historyLimit || (s([t, ...o().filter((e) => WC(e) !== WC(t))]), q("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -28173,9 +28173,9 @@ function fae(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : cae(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : fae(t.pool, o()), t.active = -1;
let a = n();
- a && (uae(YC(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (mae(GC(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -28187,7 +28187,7 @@ function fae(e, t, n, r) {
!n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? YC(t).options : [], v = (e) => {
+ }, _ = () => f() ? GC(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -28200,7 +28200,7 @@ function fae(e, t, n, r) {
i().blur(), e().actions.openItem(t.item.id);
return;
}
- if (t.type === "suggest" && KC.has(t.kind)) {
+ if (t.type === "suggest" && HC.has(t.kind)) {
b(t.kind, t.value);
return;
}
@@ -28252,12 +28252,12 @@ function fae(e, t, n, r) {
await q("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => JC(t) !== JC(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => WC(t) !== WC(e))), t.active = -1, r();
},
pickKind: g
};
}
-function pae({ tabs: e, kind: t, onPick: n, wire: r }) {
+function _ae({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => {
r(i.current);
@@ -28269,7 +28269,7 @@ function pae({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, H.jsx)(WC, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, H.jsx)(BC, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, H.jsxs)("div", {
ref: i,
@@ -28279,8 +28279,8 @@ function pae({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var ZC = (e) => e.preventDefault();
-function mae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var qC = (e) => e.preventDefault();
+function vae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -28292,28 +28292,28 @@ function mae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, H.jsx)(XC, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, H.jsx)(KC, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, H.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: ZC,
+ onMouseDown: qC,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, H.jsx)(XC, { name: "x" })
+ children: /* @__PURE__ */ (0, H.jsx)(KC, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = KC.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = HC.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, H.jsx)(QC, {
+ children: [/* @__PURE__ */ (0, H.jsx)(JC, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -28339,7 +28339,7 @@ function mae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, H.jsx)($C, {
+ /* @__PURE__ */ (0, H.jsx)(YC, {
item: s,
kind: c
}),
@@ -28359,11 +28359,11 @@ function mae({ 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: ZC,
+ onMouseDown: qC,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, H.jsx)(QC, {
+ children: /* @__PURE__ */ (0, H.jsx)(JC, {
card: e,
helpers: n
})
@@ -28377,7 +28377,7 @@ function mae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, H.jsx)($C, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, H.jsx)(YC, {
item: s,
kind: c
}) : null,
@@ -28390,13 +28390,13 @@ function mae({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function QC({ card: e, helpers: t }) {
+function JC({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, H.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function $C({ item: e, kind: t }) {
+function YC({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -28411,8 +28411,8 @@ function $C({ item: e, kind: t }) {
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var ew = (e) => ["feed-new", e ?? "home"], hae = 8, gae = 1500;
-function _ae(e, t, n) {
+var XC = (e) => ["feed-new", e ?? "home"], yae = 8, bae = 1500;
+function xae(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -28423,43 +28423,43 @@ function _ae(e, t, n) {
setTimeout(e, n);
})]);
}
-async function vae(e, t, n) {
+async function Sae(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await N(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await _ae(s, hae, gae), {
+ return n && o.length && await xae(s, yae, bae), {
items: o,
html: s
};
}
-var tw = (e, t, n = !1) => ({
- queryKey: ew(e),
- queryFn: () => vae(e, t, n),
+var ZC = (e, t, n = !1) => ({
+ queryKey: XC(e),
+ queryFn: () => Sae(e, t, n),
staleTime: Infinity
-}), nw = (e, t) => N("/api/feeds/discovery", {
+}), QC = (e, t) => N("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function yae(e) {
- z.removeQueries({ queryKey: ew(null) }), await z.fetchQuery(tw(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function Cae(e) {
+ z.removeQueries({ queryKey: XC(null) }), await z.fetchQuery(ZC(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
-var rw = B.createContext(void 0), iw = (e) => {
- let t = B.useContext(rw);
+var $C = B.createContext(void 0), ew = (e) => {
+ let t = B.useContext($C);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, aw = ({ client: e, children: t }) => (B.useEffect(() => (e.mount(), () => {
+}, tw = ({ client: e, children: t }) => (B.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, H.jsx)(rw.Provider, {
+}), [e]), /* @__PURE__ */ (0, H.jsx)($C.Provider, {
value: e,
children: t
-})), bae = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
- let i = iw(r), a = B.useRef(t);
+})), wae = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
+ let i = ew(r), a = B.useRef(t);
B.useEffect(() => {
a.current = t;
});
@@ -28477,10 +28477,10 @@ var rw = B.createContext(void 0), iw = (e) => {
return B.useEffect(() => {
o && Pe(i, { queries: o }, a.current);
}, [i, o]), e;
-}, ow = B.createContext(!1), sw = () => B.useContext(ow), xae = ow.Provider;
+}, nw = B.createContext(!1), rw = () => B.useContext(nw), Tae = nw.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function cw() {
+function iw() {
let e = !1;
return {
clearReset: () => {
@@ -28492,31 +28492,31 @@ function cw() {
isReset: () => e
};
}
-var lw = B.createContext(cw()), uw = () => B.useContext(lw), Sae = ({ children: e }) => {
- let [t] = B.useState(() => cw());
- return /* @__PURE__ */ (0, H.jsx)(lw.Provider, {
+var aw = B.createContext(iw()), ow = () => B.useContext(aw), Eae = ({ children: e }) => {
+ let [t] = B.useState(() => iw());
+ return /* @__PURE__ */ (0, H.jsx)(aw.Provider, {
value: t,
children: typeof e == "function" ? e(t) : e
});
-}, dw = (e, t, n) => {
+}, sw = (e, t, n) => {
let r = n?.state.error && typeof e.throwOnError == "function" ? Re(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, fw = (e) => {
+}, cw = (e) => {
B.useEffect(() => {
e.clearReset();
}, [e]);
-}, pw = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Re(n, [e.error, r])), mw = (e, t) => t.state.data === void 0, hw = (e) => {
+}, lw = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || Re(n, [e.error, r])), uw = (e, t) => t.state.data === void 0, dw = (e) => {
if (e.suspense) {
let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;
e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));
}
-}, gw = (e, t) => e?.suspense && t.isPending, _w = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, fw = (e, t) => e?.suspense && t.isPending, pw = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQueries.js
-function vw({ queries: e, ...t }, n) {
- let r = iw(n), i = sw(), a = uw(), o = t.subscribed !== !1, s = B.useMemo(() => e.map((e) => {
+function mw({ queries: e, ...t }, n) {
+ let r = ew(n), i = rw(), a = ow(), o = t.subscribed !== !1, s = B.useMemo(() => e.map((e) => {
let t = r.defaultQueryOptions(e);
return t._optimisticResults = i ? "isRestoring" : o ? "optimistic" : void 0, t;
}), [
@@ -28526,10 +28526,10 @@ function vw({ queries: e, ...t }, n) {
o
]);
s.forEach((e) => {
- hw(e);
+ dw(e);
let t = r.getQueryCache().get(e.queryHash);
- dw(e, a, t);
- }), fw(a);
+ sw(e, a, t);
+ }), cw(a);
let [c] = B.useState(() => new Me(r, s, t)), [l, u, d] = c.getOptimisticResult(s, t.combine), f = !i && o;
B.useSyncExternalStore(B.useCallback((e) => f ? c.subscribe(Ie.batchCalls(e)) : Fe, [c, f]), () => c.getCurrentResult(), () => c.getCurrentResult()), B.useEffect(() => {
c.setQueries(s, t);
@@ -28538,14 +28538,14 @@ function vw({ queries: e, ...t }, n) {
t,
c
]);
- let p = l.some((e, t) => gw(s[t], e)) ? l.flatMap((e, t) => {
+ let p = l.some((e, t) => fw(s[t], e)) ? l.flatMap((e, t) => {
let n = s[t];
- return n && gw(n, e) ? _w(n, new Ne(r, n), a) : [];
+ return n && fw(n, e) ? pw(n, new Ne(r, n), a) : [];
}) : [];
if (p.length > 0) throw Promise.all(p);
let m = l.find((e, t) => {
let n = s[t];
- return n && pw({
+ return n && lw({
result: e,
errorResetBoundary: a,
throwOnError: n.throwOnError,
@@ -28558,17 +28558,17 @@ function vw({ queries: e, ...t }, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function yw(e, t, n) {
- let r = sw(), i = uw(), a = iw(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, hw(o), dw(o, i, s), fw(i);
+function hw(e, t, n) {
+ let r = rw(), i = ow(), a = ew(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;
+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, dw(o), sw(o, i, s), cw(i);
let [l] = B.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;
if (B.useSyncExternalStore(B.useCallback((e) => {
let t = d ? l.subscribe(Ie.batchCalls(e)) : Fe;
return l.updateResult(), t;
}, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), B.useEffect(() => {
l.setOptions(o);
- }, [o, l]), gw(o, u)) throw _w(o, l, i);
- if (pw({
+ }, [o, l]), fw(o, u)) throw pw(o, l, i);
+ if (lw({
result: u,
errorResetBoundary: i,
throwOnError: o.throwOnError,
@@ -28579,40 +28579,40 @@ function yw(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function bw(e, t) {
- return yw(e, Ne, t);
+function gw(e, t) {
+ return hw(e, Ne, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js
-function Cae(e, t) {
- return yw({
+function Dae(e, t) {
+ return hw({
...e,
enabled: !0,
suspense: !0,
- throwOnError: mw,
+ throwOnError: uw,
placeholderData: void 0
}, Ne, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.js
-function wae(e, t) {
- return yw({
+function Oae(e, t) {
+ return hw({
...e,
enabled: !0,
suspense: !0,
- throwOnError: mw,
+ throwOnError: uw,
placeholderData: void 0
}, Ae, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQueries.js
-function Tae(e, t) {
- return vw({
+function kae(e, t) {
+ return mw({
...e,
queries: e.queries.map((e) => ({
...e,
suspense: !0,
- throwOnError: mw,
+ throwOnError: uw,
enabled: !0,
placeholderData: void 0
}))
@@ -28620,57 +28620,57 @@ function Tae(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.js
-function Eae(e, t) {
- let n = iw(t);
+function Aae(e, t) {
+ let n = ew(t);
n.getQueryState(e.queryKey) || n.query(e).catch(Fe);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.js
-function Dae(e, t) {
- let n = iw(t);
+function jae(e, t) {
+ let n = ew(t);
n.getQueryState(e.queryKey) || n.infiniteQuery(e).catch(Fe);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/queryOptions.js
-function Oae(e) {
+function Mae(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/infiniteQueryOptions.js
-function kae(e) {
+function Nae(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useIsFetching.js
-function Aae(e, t) {
- let n = iw(t), r = n.getQueryCache();
+function Pae(e, t) {
+ let n = ew(t), r = n.getQueryCache();
return B.useSyncExternalStore(B.useCallback((e) => r.subscribe(Ie.batchCalls(e)), [r]), () => n.isFetching(e), () => n.isFetching(e));
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutationState.js
-function jae(e, t) {
- let n = iw(t);
- return Sw({ filters: {
+function Fae(e, t) {
+ let n = ew(t);
+ return vw({ filters: {
...e,
status: "pending"
} }, n).length;
}
-function xw(e, t) {
+function _w(e, t) {
return e.findAll(t.filters).map((e) => t.select ? t.select(e) : e.state);
}
-function Sw(e = {}, t) {
- let n = iw(t).getMutationCache(), r = B.useRef(e), i = B.useRef(null);
- return i.current === null && (i.current = xw(n, e)), B.useEffect(() => {
+function vw(e = {}, t) {
+ let n = ew(t).getMutationCache(), r = B.useRef(e), i = B.useRef(null);
+ return i.current === null && (i.current = _w(n, e)), B.useEffect(() => {
r.current = e;
}), B.useSyncExternalStore(B.useCallback((e) => n.subscribe(() => {
- let t = Le(i.current, xw(n, r.current));
+ let t = Le(i.current, _w(n, r.current));
i.current !== t && (i.current = t, Ie.schedule(e));
}), [n]), () => i.current, () => i.current);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function Cw(e, t) {
- let n = iw(t), [r] = B.useState(() => new je(n, e));
+function yw(e, t) {
+ let n = ew(t), [r] = B.useState(() => new je(n, e));
B.useEffect(() => {
r.setOptions(e);
}, [r, e]);
@@ -28686,47 +28686,47 @@ function Cw(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/mutationOptions.js
-function Mae(e) {
+function Iae(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function ww(e, t) {
- return yw(e, Ae, t);
+function bw(e, t) {
+ return hw(e, Ae, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/index.js
-var Tw = /* @__PURE__ */ ht({
- HydrationBoundary: () => bae,
- IsRestoringProvider: () => xae,
- QueryClientContext: () => rw,
- QueryClientProvider: () => aw,
- QueryErrorResetBoundary: () => Sae,
- infiniteQueryOptions: () => kae,
- mutationOptions: () => Mae,
- queryOptions: () => Oae,
- useInfiniteQuery: () => ww,
- useIsFetching: () => Aae,
- useIsMutating: () => jae,
- useIsRestoring: () => sw,
- useMutation: () => Cw,
- useMutationState: () => Sw,
- usePrefetchInfiniteQuery: () => Dae,
- usePrefetchQuery: () => Eae,
- useQueries: () => vw,
- useQuery: () => bw,
- useQueryClient: () => iw,
- useQueryErrorResetBoundary: () => uw,
- useSuspenseInfiniteQuery: () => wae,
- useSuspenseQueries: () => Tae,
- useSuspenseQuery: () => Cae
+var xw = /* @__PURE__ */ ht({
+ HydrationBoundary: () => wae,
+ IsRestoringProvider: () => Tae,
+ QueryClientContext: () => $C,
+ QueryClientProvider: () => tw,
+ QueryErrorResetBoundary: () => Eae,
+ infiniteQueryOptions: () => Nae,
+ mutationOptions: () => Iae,
+ queryOptions: () => Mae,
+ useInfiniteQuery: () => bw,
+ useIsFetching: () => Pae,
+ useIsMutating: () => Fae,
+ useIsRestoring: () => rw,
+ useMutation: () => yw,
+ useMutationState: () => vw,
+ usePrefetchInfiniteQuery: () => jae,
+ usePrefetchQuery: () => Aae,
+ useQueries: () => mw,
+ useQuery: () => gw,
+ useQueryClient: () => ew,
+ useQueryErrorResetBoundary: () => ow,
+ useSuspenseInfiniteQuery: () => Oae,
+ useSuspenseQueries: () => kae,
+ useSuspenseQuery: () => Dae
});
-import * as Nae from "/dist/peach-ui.js";
-_t(Tw, Nae);
+import * as Lae from "/dist/peach-ui.js";
+_t(xw, Lae);
/* istanbul ignore file */
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function Ew({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function Sw({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, B.useRef)(null), o = e?.items.length ? e.html : "";
(0, B.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -28760,49 +28760,49 @@ function Ew({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function Pae({ host: e, revision: t, helpers: n, actions: r }) {
- let i = bw(tw(null, n.feedRowHtml)), a = (0, B.useRef)(t);
+function Rae({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = gw(ZC(null, n.feedRowHtml)), a = (0, B.useRef)(t);
return (0, B.useEffect)(() => {
- a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: ew(null) }));
- }, [t]), (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Ew, {
+ a.current !== t && (a.current = t, z.invalidateQueries({ queryKey: XC(null) }));
+ }, [t]), (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Sw, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: nw,
+ act: QC,
settled: r.settled
}), e);
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var Dw = "/api/library-processing", Ow = ["library-processing"], kw = (e) => K(Dw, e);
-async function Aw(e) {
+var Cw = "/api/library-processing", ww = ["library-processing"], Tw = (e) => K(Cw, e);
+async function Ew(e) {
await z.fetchQuery({
- queryKey: Ow,
- queryFn: () => kw(e)
+ queryKey: ww,
+ queryFn: () => Tw(e)
});
}
-var Fae = 2e3, Iae = 1e4, jw = "连接中断,正在重新读取处理进度";
-function Lae(e, t) {
- return e?.status === "running" ? Fae : t ? Iae : !1;
+var zae = 2e3, Bae = 1e4, Dw = "连接中断,正在重新读取处理进度";
+function Vae(e, t) {
+ return e?.status === "running" ? zae : t ? Bae : !1;
}
-var Rae = {
+var Hae = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, Mw = {
+}, Ow = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function zae(e) {
- let t = Object.entries(e).filter(([e, t]) => Mw[e] && t > 0).map(([e, t]) => `${Mw[e]} ${t} 部`);
+function Uae(e) {
+ let t = Object.entries(e).filter(([e, t]) => Ow[e] && t > 0).map(([e, t]) => `${Ow[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function Nw(e) {
- let t = Rae[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function kw(e) {
+ let t = Hae[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function Bae(e) {
+function Wae(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -28816,21 +28816,21 @@ function Bae(e) {
log: e.issues_log || ""
} : null;
}
-var Pw = "peach.library-processing.announced", Vae = 120;
-function Hae(e, t, n) {
+var Aw = "peach.library-processing.announced", Gae = 120;
+function Kae(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Vae;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Gae;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(Pw) === e.job_id) return;
- e.job_id && localStorage.setItem(Pw, e.job_id);
+ if (e.job_id && localStorage.getItem(Aw) === e.job_id) return;
+ e.job_id && localStorage.setItem(Aw, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+var qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28838,7 +28838,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Wae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Jae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28846,7 +28846,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Fw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), jw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28854,7 +28854,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Iw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Mw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28862,7 +28862,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Lw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Nw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28870,7 +28870,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Yae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28878,7 +28878,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Rw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Pw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28886,7 +28886,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), zw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Fw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28894,7 +28894,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Kae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Xae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28902,7 +28902,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Bw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Iw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28910,7 +28910,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Vw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Lw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28918,7 +28918,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Hw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Rw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28926,7 +28926,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Uw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), zw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28934,7 +28934,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Zae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28942,7 +28942,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Ww = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Bw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28950,7 +28950,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Gw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Vw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28958,7 +28958,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Jae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28966,7 +28966,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Yae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), $ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28974,7 +28974,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Kw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), eoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28982,7 +28982,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), qw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Hw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28990,7 +28990,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Xae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Uw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -28998,7 +28998,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Zae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), toe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29006,7 +29006,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Qae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), noe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29014,7 +29014,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), $ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), roe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29022,7 +29022,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), eoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), ioe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29030,7 +29030,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), toe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), aoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29038,7 +29038,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Jw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), ooe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29046,7 +29046,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Yw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Ww = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29054,7 +29054,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Xw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Gw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29062,7 +29062,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Zw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Kw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29070,7 +29070,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), noe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), qw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29078,7 +29078,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), roe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), soe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29086,7 +29086,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), ioe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), coe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29094,7 +29094,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), aoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), loe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29102,7 +29102,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), Qw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), uoe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29110,7 +29110,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), $w = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), Jw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29118,7 +29118,7 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), ooe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Yw = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29126,7 +29126,15 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
fill: e,
...r,
className: "remixicon " + (n || "")
-}, B.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" })), soe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+}, B.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" })), doe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
+ viewBox: "0 0 24 24",
+ xmlns: "http://www.w3.org/2000/svg",
+ width: t,
+ height: t,
+ fill: e,
+ ...r,
+ className: "remixicon " + (n || "")
+}, B.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" })), foe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -29137,8 +29145,8 @@ var Uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => B
}, B.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" }));
//#endregion
//#region src/react/components/menu-dialog.tsx
-function eT(e) {
- let t = TC("hover");
+function Xw(e) {
+ let t = xC("hover");
return /* @__PURE__ */ (0, H.jsx)(mh, {
...e,
ref: t
@@ -29146,7 +29154,7 @@ function eT(e) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var tT = fr({
+var Zw = fr({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -29205,40 +29213,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, H.jsxs)("button", {
ref: c,
type: s,
- className: dr(tT.base, tT.size[t], tT.variant[e], n && tT.iconOnlySize[t], o),
+ className: dr(Zw.base, Zw.size[t], Zw.variant[e], n && Zw.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, H.jsx)(r, {
- className: tT.icon[t],
+ className: Zw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, H.jsx)("span", {
- className: tT.label[t],
+ className: Zw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, H.jsx)(i, {
- className: tT.icon[t],
+ className: Zw.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function nT({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function Qw({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, H.jsxs)("a", {
ref: s,
- className: dr(tT.base, tT.size[t], tT.variant[e], n && tT.iconOnlySize[t], o),
+ className: dr(Zw.base, Zw.size[t], Zw.variant[e], n && Zw.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, H.jsx)(r, {
- className: tT.icon[t],
+ className: Zw.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, H.jsx)("span", {
- className: tT.label[t],
+ className: Zw.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, H.jsx)(i, {
- className: tT.icon[t],
+ className: Zw.icon[t],
"aria-hidden": !0
}) : null
]
@@ -29246,7 +29254,7 @@ function nT({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var rT = fr({
+var $w = fr({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -29270,15 +29278,15 @@ var rT = fr({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function iT({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = dr(rT.base, rT.size[t], rT.variant[e], a), l = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+function eT({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = dr($w.base, $w.size[t], $w.variant[e], a), l = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
n ? /* @__PURE__ */ (0, H.jsx)(n, {
- className: rT.icon[t],
+ className: $w.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, H.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, H.jsx)(r, {
- className: rT.icon[t],
+ className: $w.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -29305,7 +29313,7 @@ function iT({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var aT = [
+var tT = [
"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",
@@ -29313,98 +29321,98 @@ var aT = [
"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(" "), coe = "w-[266px]", loe = "flex w-full flex-col gap-1 outline-none", oT = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), sT = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), poe = "w-[266px]", moe = "flex w-full flex-col gap-1 outline-none", nT = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), rT = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
({
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
}).medium;
//#endregion
//#region src/management.ts
-var uoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", doe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", foe = "min-w-0", poe = {
+var hoe = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", goe = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", _oe = "min-w-0", voe = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, moe = {
+}, yoe = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, hoe = {
+}, boe = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, goe = {
+}, xoe = {
none: "",
default: "p-5"
-}, _oe = "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", voe = "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 cT(e = {}) {
+}, Soe = "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", Coe = "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 iT(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 [
- foe,
- poe[t],
- moe[s],
- goe[n],
- a ? hoe[a] : "",
- r ? _oe : "",
- i ? voe : "",
+ _oe,
+ voe[t],
+ yoe[s],
+ xoe[n],
+ a ? boe[a] : "",
+ r ? Soe : "",
+ i ? Coe : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/fieldset.tsx
-var yoe = cT({
+var woe = iT({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), boe = {
+}), Toe = {
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"
-}, xoe = {
+}, Eoe = {
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"
-}, Soe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Coe = {
+}, Doe = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", Ooe = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, woe = cT({
+}, koe = iT({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), lT = "border-t border-border-button-default p-4 first:border-t-0";
-function uT({ tone: e = "neutral", status: t, children: n }) {
+}), aT = "border-t border-border-button-default p-4 first:border-t-0";
+function oT({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: `${Soe} ${Coe[e]}`,
+ className: `${Doe} ${Ooe[e]}`,
children: [t ? /* @__PURE__ */ (0, H.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 dT({ id: e, children: t }) {
+function sT({ id: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function fT({ id: e, gap: t = "none", children: n }) {
+function cT({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, H.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function pT({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function lT({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, H.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${yoe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${woe} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
- className: boe[e],
+ className: Toe[e],
children: a
}), i ? /* @__PURE__ */ (0, H.jsx)("footer", {
- className: xoe[e],
+ className: Eoe[e],
children: i
}) : null]
});
@@ -29455,7 +29463,7 @@ function Y({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function mT() {
+function uT() {
let e = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
t(e.current);
@@ -29463,7 +29471,7 @@ function mT() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var hT = fr({
+var dT = fr({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -29484,21 +29492,21 @@ var hT = fr({
small: "size-4 shrink-0"
}
});
-function gT({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function fT({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, H.jsx)("button", {
ref: i,
type: r,
- className: dr(hT.base, hT.size[t], n),
+ className: dr(dT.base, dT.size[t], n),
...a,
children: /* @__PURE__ */ (0, H.jsx)(e, {
- className: hT.icon[t],
+ className: dT.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/settings/use-action.ts
-function _T(e = "") {
+function pT(e = "") {
let t = (0, B.useRef)(null), [n, r] = (0, B.useState)(""), [i, a] = (0, B.useState)(e);
(0, B.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -29530,7 +29538,7 @@ function X(e) {
}
//#endregion
//#region src/react/components/path-line.tsx
-function Toe({ className: e }) {
+function Aoe({ className: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -29543,8 +29551,8 @@ function Toe({ className: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-folder-open" })
});
}
-var Eoe = "打开文件管理器失败,请重试";
-function vT({ path: e, prefix: t, className: n, onRevealed: r }) {
+var joe = "打开文件管理器失败,请重试";
+function mT({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, B.useState)(!1), [o, s] = (0, B.useState)(""), c = (0, B.useRef)(!0);
(0, B.useEffect)(() => () => {
c.current = !1;
@@ -29555,7 +29563,7 @@ function vT({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await q("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof HC ? e.message : Eoe);
+ c.current && s(e instanceof RC ? e.message : joe);
} finally {
c.current && a(!1);
}
@@ -29568,8 +29576,8 @@ function vT({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, H.jsxs)("p", {
className: dr("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, H.jsx)(gT, {
- icon: Toe,
+ }), /* @__PURE__ */ (0, H.jsx)(fT, {
+ icon: Aoe,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -29584,7 +29592,7 @@ function vT({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function yT({ label: e, inline: t = !1 }) {
+function hT({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, H.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -29606,21 +29614,21 @@ function yT({ label: e, inline: t = !1 }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var bT = 100, Doe = .4;
-function xT({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * bT;
+var gT = 100, Moe = .4;
+function _T({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * gT;
return /* @__PURE__ */ (0, H.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${bT} 1`,
+ viewBox: `0 0 ${gT} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, H.jsx)("rect", {
- width: bT,
+ width: gT,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -29631,7 +29639,7 @@ function xT({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, H.jsx)("rect", {
x: a(e),
- width: Doe,
+ width: Moe,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -29640,39 +29648,39 @@ function xT({ label: e, value: t, max: n = 100, stops: r = [] }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function ST({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function vT({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : cT({
+ className: r ? "flex flex-col gap-1.5" : iT({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(xT, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(_T, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, H.jsx)(yT, { label: e })
+ })] }) : /* @__PURE__ */ (0, H.jsx)(hT, { label: e })
});
}
//#endregion
//#region src/react/boardui/components/application/settings/settings-rows.tsx
-function CT({ className: e, children: t }) {
+function yT({ className: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: dr("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function wT({ className: e, children: t }) {
+function bT({ className: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
className: dr("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function TT({ label: e, description: t, children: n }) {
+function xT({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: dr("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, H.jsxs)("div", {
@@ -29689,14 +29697,14 @@ function TT({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/settings/section.tsx
-function ET({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function ST({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [n ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(wT, { children: e })
+ children: /* @__PURE__ */ (0, H.jsx)(bT, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, H.jsx)(wT, { children: e }), /* @__PURE__ */ (0, H.jsx)(CT, { children: i })] });
+ }) : /* @__PURE__ */ (0, H.jsx)(bT, { children: e }), /* @__PURE__ */ (0, H.jsx)(yT, { children: i })] });
return r ? /* @__PURE__ */ (0, H.jsx)("form", {
id: t,
"aria-label": e,
@@ -29711,13 +29719,13 @@ function ET({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function DT({ children: e }) {
+function CT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function OT({ divided: e = !1, children: t }) {
+function wT({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -29726,7 +29734,7 @@ function OT({ divided: e = !1, children: t }) {
children: t
});
}
-function kT({ status: e, children: t }) {
+function TT({ status: e, children: t }) {
return /* @__PURE__ */ (0, H.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, H.jsx)("div", {
@@ -29735,34 +29743,34 @@ function kT({ status: e, children: t }) {
}) : null, t]
});
}
-function AT({ role: e, children: t }) {
+function ET({ role: e, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function jT({ children: e }) {
+function DT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function MT({ children: e }) {
+function OT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function NT({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, H.jsx)(iT, {
+function kT({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, H.jsx)(eT, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: Ww,
+ trailingIcon: Bw,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -29770,13 +29778,13 @@ function NT({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function PT({ children: e }) {
+function AT({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function FT({ term: e, children: t }) {
+function jT({ term: e, children: t }) {
return /* @__PURE__ */ (0, H.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, H.jsx)("dt", {
@@ -29788,7 +29796,7 @@ function FT({ term: e, children: t }) {
})]
});
}
-function IT({ summary: e, defaultOpen: t = !1, children: n }) {
+function MT({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, B.useId)(), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)(t);
return /* @__PURE__ */ (0, H.jsxs)("details", {
ref: (e) => {
@@ -29801,7 +29809,7 @@ function IT({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (S(i.current, a.current, !s), c(!s));
},
className: "flex w-fit 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: [/* @__PURE__ */ (0, H.jsx)(Lw, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Nw, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -29816,7 +29824,7 @@ function IT({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function Ooe({ name: e }) {
+function Noe({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -29825,29 +29833,29 @@ function Ooe({ name: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function LT({ mark: e }) {
+function NT({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, H.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, H.jsx)(Ooe, { name: e });
+ }) : /* @__PURE__ */ (0, H.jsx)(Noe, { name: e });
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function RT({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = bw({
- queryKey: Ow,
- queryFn: ({ signal: e }) => kw(e),
- refetchInterval: (e) => Lae(e.state.data, r)
+function PT({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = gw({
+ queryKey: ww,
+ queryFn: ({ signal: e }) => Tw(e),
+ refetchInterval: (e) => Vae(e.state.data, r)
}), [a, o] = (0, B.useState)(null), s = (0, B.useRef)(void 0), c = i.data;
return (0, B.useEffect)(() => {
if (!c) return;
let n = s.current;
s.current = c.status;
let r = n === "running" && c.status !== "running";
- r && o(c), (r || t === "notice") && Hae(c, e, r);
+ r && o(c), (r || t === "notice") && Kae(c, e, r);
}, [
c,
t,
@@ -29860,29 +29868,29 @@ function RT({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var koe = [
+var Poe = [
{
label: "扫描并补全资料",
- icon: Hw,
+ icon: Rw,
command: {}
},
{
label: "只扫描",
- icon: Kw,
+ icon: Hw,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: Yae,
+ icon: eoe,
command: { stage: "collect" }
}
-], Aoe = dr(oT, sT, "text-body-2-medium"), zT = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", joe = (e) => {
+], Foe = dr(nT, rT, "text-body-2-medium"), Ioe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Loe = (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(",")}。`;
-}, Moe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + joe(e);
-function Noe({ busy: e, onRun: t }) {
+}, Roe = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Loe(e);
+function zoe({ busy: e, onRun: t }) {
let n = (0, B.useRef)(null), [r, i] = (0, B.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -29891,14 +29899,14 @@ function Noe({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: Hw,
+ leadingIcon: Rw,
onClick: () => a({}),
...X(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, H.jsx)(J, {
ref: n,
iconOnly: !0,
- leadingIcon: Fw,
+ leadingIcon: jw,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -29913,13 +29921,13 @@ function Noe({ busy: e, onRun: t }) {
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: aT,
- children: /* @__PURE__ */ (0, H.jsx)(eT, {
+ className: tT,
+ children: /* @__PURE__ */ (0, H.jsx)(Xw, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: koe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: Poe.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
- className: Aoe,
+ className: Foe,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, H.jsx)(t, {
"aria-hidden": !0,
@@ -29929,8 +29937,8 @@ function Noe({ busy: e, onRun: t }) {
})
})] });
}
-function Poe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = Bae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = zae(e.notes || {}), c = mT();
+function Boe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Wae(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Uae(e.notes || {}), c = uT();
return /* @__PURE__ */ (0, H.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -29938,7 +29946,7 @@ function Poe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "处理较慢",
- children: zT
+ children: Ioe
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -29950,7 +29958,7 @@ function Poe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, H.jsxs)(IT, {
+ children: /* @__PURE__ */ (0, H.jsxs)(MT, {
summary: a.label,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "relative",
@@ -29981,7 +29989,7 @@ function Poe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, H.jsx)(vT, {
+ children: /* @__PURE__ */ (0, H.jsx)(mT, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -29995,13 +30003,13 @@ function Poe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "success",
title: "处理完成",
- children: Moe(n)
+ children: Roe(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, H.jsx)(vT, {
+ children: /* @__PURE__ */ (0, H.jsx)(mT, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -30013,38 +30021,38 @@ function Poe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function BT(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = RT(e), o = Cw({
- mutationFn: (e) => q(Dw, e),
+function FT(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = PT(e), o = yw({
+ mutationFn: (e) => q(Cw, e),
onSuccess: (e) => {
- a(), z.setQueryData(Ow, e), z.invalidateQueries({ queryKey: Ow });
+ a(), z.setQueryData(ww, e), z.invalidateQueries({ queryKey: ww });
}
});
(0, B.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? G(o.error) : r.isError ? r.data ? jw : G(r.error) : "", l = o.isPending || s.status === "running", u = Nw(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? G(o.error) : r.isError ? r.data ? Dw : G(r.error) : "", l = o.isPending || s.status === "running", u = kw(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, H.jsx)(pT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(lT, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(iT, {
+ /* @__PURE__ */ (0, H.jsx)(eT, {
href: "/scraping",
size: "small",
- trailingIcon: Iw,
+ trailingIcon: Mw,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, H.jsx)(iT, {
+ s.candidates ? /* @__PURE__ */ (0, H.jsx)(eT, {
href: "/review",
size: "small",
- trailingIcon: Iw,
+ trailingIcon: Mw,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Noe, {
+ /* @__PURE__ */ (0, H.jsx)(zoe, {
busy: l,
onRun: d
})
@@ -30052,12 +30060,12 @@ function BT(e) {
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(fT, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, H.jsx)(cT, { children: "扫描与采集" }),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: uoe
+ children: hoe
}),
- s.status === "running" ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ s.status === "running" ? /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: u,
value: s.checked,
@@ -30065,7 +30073,7 @@ function BT(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, H.jsx)(Poe, {
+ }), /* @__PURE__ */ (0, H.jsx)(Boe, {
state: s,
problem: c,
settled: i,
@@ -30081,12 +30089,12 @@ function BT(e) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var VT = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", Foe = {
- gray: `${VT} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${VT} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${VT} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var IT = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", Voe = {
+ gray: `${IT} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${IT} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${IT} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function Ioe({ value: e, max: t }) {
+function Hoe({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, H.jsxs)("svg", {
role: "progressbar",
@@ -30114,16 +30122,16 @@ function Ioe({ value: e, max: t }) {
})]
});
}
-function Loe(e) {
- let { job: t } = RT(e), n = t.data, r = t.isError ? n ? jw : G(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Uoe(e) {
+ let { job: t } = PT(e), n = t.data, r = t.isError ? n ? Dw : G(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
if (!r && !o && !a) return null;
- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : Nw(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Qae : qae;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : kw(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? roe : Zae;
return /* @__PURE__ */ (0, H.jsxs)("aside", {
role: a ? "alert" : "status",
- className: Foe[s],
+ className: Voe[s],
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, H.jsx)(Ioe, {
+ children: [o && l ? /* @__PURE__ */ (0, H.jsx)(Hoe, {
value: c,
max: l
}) : /* @__PURE__ */ (0, H.jsx)(d, {
@@ -30133,60 +30141,60 @@ function Loe(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, H.jsx)(iT, {
+ }), /* @__PURE__ */ (0, H.jsx)(eT, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: Iw,
+ trailingIcon: Mw,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
-var HT = (0, B.createContext)({});
+var LT = (0, B.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-constant.mjs
-function UT(e) {
+function RT(e) {
let t = (0, B.useRef)(null);
return t.current === null && (t.current = e()), t.current;
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
-var WT = typeof window < "u" ? B.useLayoutEffect : B.useEffect, GT = /* @__PURE__ */ (0, B.createContext)(null), KT = (0, B.createContext)({
+var zT = typeof window < "u" ? B.useLayoutEffect : B.useEffect, BT = /* @__PURE__ */ (0, B.createContext)(null), VT = (0, B.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function qT(e, t) {
+function HT(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Roe(...e) {
+function Woe(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = qT(e, t);
+ let r = HT(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : qT(e[t], null);
+ typeof n == "function" ? n() : HT(e[t], null);
}
};
};
}
-function zoe(...e) {
- return B.useCallback(Roe(...e), e);
+function Goe(...e) {
+ return B.useCallback(Woe(...e), e);
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Boe = class extends B.Component {
+var Koe = class extends B.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.childRef.current;
- if (qb(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = qb(e) && e.offsetWidth || 0, r = qb(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ if (Kb(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = Kb(e) && e.offsetWidth || 0, r = Kb(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
}
return null;
@@ -30196,7 +30204,7 @@ var Boe = class extends B.Component {
return this.props.children;
}
};
-function Voe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
+function qoe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a }) {
let o = (0, B.useId)(), s = (0, B.useRef)(null), c = (0, B.useRef)({
width: 0,
height: 0,
@@ -30205,7 +30213,7 @@ function Voe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: l } = (0, B.useContext)(KT), u = zoe(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
+ }), { nonce: l } = (0, B.useContext)(VT), u = Goe(s, a === !1 ? void 0 : e.props?.ref ?? e?.ref);
return (0, B.useInsertionEffect)(() => {
let { width: e, height: u, top: d, left: f, right: p, bottom: m, direction: h } = c.current;
if (t || a === !1 || !s.current || !e || !u) return;
@@ -30225,7 +30233,7 @@ function Voe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
`), () => {
s.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
};
- }, [t]), (0, H.jsx)(Boe, {
+ }, [t]), (0, H.jsx)(Koe, {
isPresent: t,
childRef: s,
sizeRef: c,
@@ -30235,9 +30243,9 @@ function Voe({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var Hoe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = UT(Uoe), d = (0, B.useId)(), f = (0, B.useRef)(n), p = (0, B.useRef)(r);
- WT(() => {
+var Joe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = RT(Yoe), d = (0, B.useId)(), f = (0, B.useRef)(n), p = (0, B.useRef)(r);
+ zT(() => {
f.current = n, p.current = r;
});
let m = !0, h = (0, B.useMemo)(() => (m = !1, {
@@ -30262,25 +30270,25 @@ var Hoe = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), B.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, H.jsx)(Voe, {
+ }, [n]), e = (0, H.jsx)(qoe, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
anchorY: c,
root: l,
children: e
- }), (0, H.jsx)(GT.Provider, {
+ }), (0, H.jsx)(BT.Provider, {
value: h,
children: e
});
};
-function Uoe() {
+function Yoe() {
return /* @__PURE__ */ new Map();
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function JT(e = !0) {
- let t = (0, B.useContext)(GT);
+function UT(e = !0) {
+ let t = (0, B.useContext)(BT);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, B.useId)();
(0, B.useEffect)(() => {
@@ -30293,16 +30301,16 @@ function JT(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function Woe() {
- return Goe((0, B.useContext)(GT));
+function Xoe() {
+ return Zoe((0, B.useContext)(BT));
}
-function Goe(e) {
+function Zoe(e) {
return e === null || e.isPresent;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var YT = (e) => e.key || "";
-function XT(e) {
+var WT = (e) => e.key || "";
+function GT(e) {
let t = [];
return B.Children.forEach(e, (e) => {
(0, B.isValidElement)(e) && t.push(e);
@@ -30310,12 +30318,12 @@ function XT(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var Koe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = JT(o), f = (0, B.useMemo)(() => XT(e), [e]), p = o && !u ? [] : f.map(YT), m = (0, B.useRef)(!0), h = (0, B.useRef)(f), g = UT(() => /* @__PURE__ */ new Map()), _ = (0, B.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, B.useState)(f), [b, x] = (0, B.useState)(f);
- WT(() => {
+var Qoe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = UT(o), f = (0, B.useMemo)(() => GT(e), [e]), p = o && !u ? [] : f.map(WT), m = (0, B.useRef)(!0), h = (0, B.useRef)(f), g = RT(() => /* @__PURE__ */ new Map()), _ = (0, B.useRef)(/* @__PURE__ */ new Set()), [v, y] = (0, B.useState)(f), [b, x] = (0, B.useState)(f);
+ zT(() => {
m.current = !1, h.current = f;
for (let e = 0; e < b.length; e++) {
- let t = YT(b[e]);
+ let t = WT(b[e]);
p.includes(t) ? (g.delete(t), _.current.delete(t)) : g.get(t) !== !0 && g.set(t, !1);
}
}, [
@@ -30327,15 +30335,15 @@ var Koe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
if (f !== v) {
let e = [...f];
for (let t = 0; t < b.length; t++) {
- let n = b[t], r = YT(n);
+ let n = b[t], r = WT(n);
p.includes(r) || (e.splice(t, 0, n), S.push(n));
}
- return a === "wait" && S.length && (e = S), x(XT(e)), y(f), null;
+ return a === "wait" && S.length && (e = S), x(GT(e)), y(f), null;
}
- let { forceRender: C } = (0, B.useContext)(HT);
+ let { forceRender: C } = (0, B.useContext)(LT);
return (0, H.jsx)(H.Fragment, { children: b.map((e) => {
- let v = YT(e), y = o && !u ? !1 : f === b || p.includes(v);
- return (0, H.jsx)(Hoe, {
+ let v = WT(e), y = o && !u ? !1 : f === b || p.includes(v);
+ return (0, H.jsx)(Joe, {
isPresent: y,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -30356,7 +30364,7 @@ var Koe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
children: e
}, v);
}) });
-}, ZT = (0, B.createContext)({ strict: !1 }), QT = {
+}, KT = (0, B.createContext)({ strict: !1 }), qT = {
animation: [
"animate",
"variants",
@@ -30393,98 +30401,98 @@ var Koe = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenc
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, $T = !1;
-function qoe() {
- if ($T) return;
+}, JT = !1;
+function $oe() {
+ if (JT) return;
let e = {};
- for (let t in QT) e[t] = { isEnabled: (e) => QT[t].some((t) => !!e[t]) };
- jx(e), $T = !0;
+ for (let t in qT) e[t] = { isEnabled: (e) => qT[t].some((t) => !!e[t]) };
+ Ax(e), JT = !0;
}
-function eE() {
- return qoe(), Qre();
+function YT() {
+ return $oe(), $re();
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Joe(e) {
- let t = eE();
+function ese(e) {
+ let t = YT();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- jx(t);
+ Ax(t);
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var Yoe = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function tE(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || Yoe.has(e);
+var tse = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function XT(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || tse.has(e);
}
//#endregion
//#region __vite-optional-peer-dep:@emotion/is-prop-valid:framer-motion
-var Xoe = /* @__PURE__ */ ht({ default: () => nE }), nE, Zoe = pt((() => {
- throw nE = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
-})), rE = (e) => !tE(e);
-function iE(e) {
- typeof e == "function" && (rE = (t) => t.startsWith("on") ? !tE(t) : e(t));
+var nse = /* @__PURE__ */ ht({ default: () => ZT }), ZT, rse = pt((() => {
+ throw ZT = {}, Error("Could not resolve \"@emotion/is-prop-valid\" imported by \"framer-motion\". Is it installed?");
+})), QT = (e) => !XT(e);
+function $T(e) {
+ typeof e == "function" && (QT = (t) => t.startsWith("on") ? !XT(t) : e(t));
}
try {
- iE((Zoe(), yt(Xoe)).default);
+ $T((rse(), yt(nse)).default);
} catch {}
-function Qoe(e, t, n) {
+function ise(e, t, n) {
let r = {};
- for (let i in e) (i !== "values" || typeof e.values != "object") && (Ob(e[i]) || (rE(i) || n === !0 && tE(i) || !t && !tE(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
+ for (let i in e) (i !== "values" || typeof e.values != "object") && (Db(e[i]) || (QT(i) || n === !0 && XT(i) || !t && !XT(i) || e.draggable && i.startsWith("onDrag")) && (r[i] = e[i]));
return r;
}
//#endregion
//#region node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function $oe({ children: e, isValidProp: t, ...n }) {
- t && iE(t);
- let r = (0, B.useContext)(KT);
+function ase({ children: e, isValidProp: t, ...n }) {
+ t && $T(t);
+ let r = (0, B.useContext)(VT);
n = {
...r,
...n
- }, n.transition = yb(n.transition, r.transition), n.isStatic = UT(() => n.isStatic);
+ }, n.transition = vb(n.transition, r.transition), n.isStatic = RT(() => n.isStatic);
let i = (0, B.useMemo)(() => n, [
JSON.stringify(n.transition),
n.transformPagePoint,
n.reducedMotion,
n.skipAnimations
]);
- return (0, H.jsx)(KT.Provider, {
+ return (0, H.jsx)(VT.Provider, {
value: i,
children: e
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var aE = /* @__PURE__ */ (0, B.createContext)({});
+var eE = /* @__PURE__ */ (0, B.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function ese(e, t) {
- if (wx(e)) {
+function ose(e, t) {
+ if (Cx(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || xx(t) ? t : void 0,
- animate: xx(n) ? n : void 0
+ initial: t === !1 || bx(t) ? t : void 0,
+ animate: bx(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function tse(e) {
- let { initial: t, animate: n } = ese(e, (0, B.useContext)(aE));
+function sse(e) {
+ let { initial: t, animate: n } = ose(e, (0, B.useContext)(eE));
return (0, B.useMemo)(() => ({
initial: t,
animate: n
- }), [oE(t), oE(n)]);
+ }), [tE(t), tE(n)]);
}
-function oE(e) {
+function tE(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var sE = () => ({
+var nE = () => ({
style: {},
transform: {},
transformOrigin: {},
@@ -30492,42 +30500,42 @@ var sE = () => ({
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function cE(e, t, n) {
- for (let r in t) !Ob(t[r]) && !rS(r, n) && (e[r] = t[r]);
+function rE(e, t, n) {
+ for (let r in t) !Db(t[r]) && !nS(r, n) && (e[r] = t[r]);
}
-function nse({ transformTemplate: e }, t) {
+function cse({ transformTemplate: e }, t) {
return (0, B.useMemo)(() => {
- let n = sE();
- return Zx(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = nE();
+ return Xx(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function rse(e, t) {
+function lse(e, t) {
let n = e.style || {}, r = {};
- return cE(r, n, e), Object.assign(r, nse(e, t)), r;
+ return rE(r, n, e), Object.assign(r, cse(e, t)), r;
}
-function ise(e, t) {
- let n = {}, r = rse(e, t);
+function use(e, t) {
+ let n = {}, r = lse(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var lE = () => ({
- ...sE(),
+var iE = () => ({
+ ...nE(),
attrs: {}
});
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function ase(e, t, n, r) {
+function dse(e, t, n, r) {
let i = (0, B.useMemo)(() => {
- let n = lE();
- return dS(n, t, pS(r), e.transformTemplate, e.style), {
+ let n = iE();
+ return uS(n, t, fS(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- cE(t, e.style, e), i.style = {
+ rE(t, e.style, e), i.style = {
...t,
...i.style
};
@@ -30536,7 +30544,7 @@ function ase(e, t, n, r) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var ose = [
+var fse = [
"animate",
"circle",
"defs",
@@ -30565,17 +30573,17 @@ var ose = [
];
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function uE(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(ose.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function aE(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(fse.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function sse(e, t, n, { latestValues: r }, i, a = !1, o) {
- let s = (o ?? uE(e) ? ase : ise)(t, r, i, e), c = Qoe(t, typeof e == "string", a), l = e === B.Fragment ? {} : {
+function pse(e, t, n, { latestValues: r }, i, a = !1, o) {
+ let s = (o ?? aE(e) ? dse : use)(t, r, i, e), c = ise(t, typeof e == "string", a), l = e === B.Fragment ? {} : {
...c,
...s,
ref: n
- }, { children: u } = t, d = (0, B.useMemo)(() => Ob(u) ? u.get() : u, [u]);
+ }, { children: u } = t, d = (0, B.useMemo)(() => Db(u) ? u.get() : u, [u]);
return (0, B.createElement)(e, {
...l,
children: d
@@ -30583,24 +30591,24 @@ function sse(e, t, n, { latestValues: r }, i, a = !1, o) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function cse({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function mse({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: lse(n, r, i, e),
+ latestValues: hse(n, r, i, e),
renderState: t()
};
}
-function lse(e, t, n, r) {
+function hse(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = oC(a[e]);
- let { initial: o, animate: s } = e, c = wx(e), l = Tx(e);
+ for (let e in a) i[e] = nC(a[e]);
+ let { initial: o, animate: s } = e, c = Cx(e), l = wx(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !bx(d)) {
+ if (d && typeof d != "boolean" && !yx(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = wb(e, t[n]);
+ let r = Cb(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -30617,19 +30625,19 @@ function lse(e, t, n, r) {
}
return i;
}
-var dE = (e) => (t, n) => {
- let r = (0, B.useContext)(aE), i = (0, B.useContext)(GT), a = () => cse(e, t, r, i);
- return n ? a() : UT(a);
-}, use = /*@__PURE__*/ dE({
- scrapeMotionValuesFromProps: iS,
- createRenderState: sE
-}), dse = /*@__PURE__*/ dE({
- scrapeMotionValuesFromProps: hS,
- createRenderState: lE
-}), fse = Symbol.for("motionComponentSymbol");
+var oE = (e) => (t, n) => {
+ let r = (0, B.useContext)(eE), i = (0, B.useContext)(BT), a = () => mse(e, t, r, i);
+ return n ? a() : RT(a);
+}, gse = /*@__PURE__*/ oE({
+ scrapeMotionValuesFromProps: rS,
+ createRenderState: nE
+}), _se = /*@__PURE__*/ oE({
+ scrapeMotionValuesFromProps: mS,
+ createRenderState: iE
+}), vse = Symbol.for("motionComponentSymbol");
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function pse(e, t, n) {
+function yse(e, t, n) {
let r = (0, B.useRef)(n);
(0, B.useInsertionEffect)(() => {
r.current = n;
@@ -30648,16 +30656,16 @@ function pse(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var fE = (0, B.createContext)({});
+var sE = (0, B.createContext)({});
//#endregion
//#region node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
-function pE(e) {
+function cE(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function mse(e, t, n, r, i, a) {
- let { visualElement: o } = (0, B.useContext)(aE), s = (0, B.useContext)(ZT), c = (0, B.useContext)(GT), l = (0, B.useContext)(KT), u = l.reducedMotion, d = l.skipAnimations, f = (0, B.useRef)(null), p = (0, B.useRef)(!1);
+function bse(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, B.useContext)(eE), s = (0, B.useContext)(KT), c = (0, B.useContext)(BT), l = (0, B.useContext)(VT), u = l.reducedMotion, d = l.skipAnimations, f = (0, B.useRef)(null), p = (0, B.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -30668,14 +30676,14 @@ function mse(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, B.useContext)(fE);
- m && !m.projection && i && (m.type === "html" || m.type === "svg") && hse(f.current, n, i, h);
+ let m = f.current, h = (0, B.useContext)(sE);
+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && xse(f.current, n, i, h);
let g = (0, B.useRef)(!1);
(0, B.useInsertionEffect)(() => {
m && g.current && m.update(n, c);
});
- let _ = n[jb], v = (0, B.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
- return WT(() => {
+ let _ = n[Ab], v = (0, B.useRef)(!!_ && typeof window < "u" && !window.MotionHandoffIsComplete?.(_) && window.MotionHasOptimisedAnimation?.(_));
+ return zT(() => {
p.current = !0, m && (g.current = !0, window.MotionIsMounted = !0, m.updateFeatures(), m.scheduleRenderMicrotask(), v.current && m.animationState && m.animationState.animateChanges());
}), (0, B.useEffect)(() => {
m && (!v.current && m.animationState && m.animationState.animateChanges(), v.current &&= (queueMicrotask(() => {
@@ -30683,12 +30691,12 @@ function mse(e, t, n, r, i, a) {
}), !1), m.enteringChildren = void 0);
}), m;
}
-function hse(e, t, n, r) {
+function xse(e, t, n, r) {
let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : mE(e.parent)), e.projection.setOptions({
+ e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : lE(e.parent)), e.projection.setOptions({
layoutId: i,
layout: a,
- alwaysMeasureLayout: !!o || s && pE(s),
+ alwaysMeasureLayout: !!o || s && cE(s),
visualElement: e,
animationType: typeof a == "string" ? a : "both",
initialPromotionConfig: r,
@@ -30698,46 +30706,46 @@ function hse(e, t, n, r) {
layoutAnchor: u
});
}
-function mE(e) {
- if (e) return e.options.allowProjection === !1 ? mE(e.parent) : e.projection;
+function lE(e) {
+ if (e) return e.options.allowProjection === !1 ? lE(e.parent) : e.projection;
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/index.mjs
-function hE(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Joe(r);
- let a = n ? n === "svg" : uE(e), o = a ? dse : use;
+function uE(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && ese(r);
+ let a = n ? n === "svg" : aE(e), o = a ? _se : gse;
function s(n, s) {
let c, l = {
- ...(0, B.useContext)(KT),
+ ...(0, B.useContext)(VT),
...n,
- layoutId: gse(n)
- }, { isStatic: u } = l, d = tse(n), f = o(n, u);
+ layoutId: Sse(n)
+ }, { isStatic: u } = l, d = sse(n), f = o(n, u);
if (!u && typeof window < "u") {
- _se(l, r);
- let t = vse(l);
- c = t.MeasureLayout, d.visualElement = mse(e, f, l, i, t.ProjectionNode, a);
+ Cse(l, r);
+ let t = wse(l);
+ c = t.MeasureLayout, d.visualElement = bse(e, f, l, i, t.ProjectionNode, a);
}
- return (0, H.jsxs)(aE.Provider, {
+ return (0, H.jsxs)(eE.Provider, {
value: d,
children: [c && d.visualElement ? (0, H.jsx)(c, {
visualElement: d.visualElement,
...l
- }) : null, sse(e, n, pse(f, d.visualElement, s), f, u, t, a)]
+ }) : null, pse(e, n, yse(f, d.visualElement, s), f, u, t, a)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, B.forwardRef)(s);
- return c[fse] = e, c;
+ return c[vse] = e, c;
}
-function gse({ layoutId: e }) {
- let t = (0, B.useContext)(HT).id;
+function Sse({ layoutId: e }) {
+ let t = (0, B.useContext)(LT).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function _se(e, t) {
- (0, B.useContext)(ZT).strict;
+function Cse(e, t) {
+ (0, B.useContext)(KT).strict;
}
-function vse(e) {
- let { drag: t, layout: n } = eE();
+function wse(e) {
+ let { drag: t, layout: n } = YT();
if (!t && !n) return {};
let r = {
...t,
@@ -30750,20 +30758,20 @@ function vse(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function yse(e, t) {
- if (typeof Proxy > "u") return hE;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => hE(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, hE(a, void 0, e, t)), n.get(a)) });
+function Tse(e, t) {
+ if (typeof Proxy > "u") return uE;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => uE(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, uE(a, void 0, e, t)), n.get(a)) });
}
//#endregion
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var bse = (e, t) => t.isSVG ?? uE(e) ? new gS(t) : new oS(t, { allowProjection: e !== B.Fragment }), xse = class extends Nx {
+var Ese = (e, t) => t.isSVG ?? aE(e) ? new hS(t) : new aS(t, { allowProjection: e !== B.Fragment }), Dse = class extends Mx {
constructor(e) {
- super(e), e.animationState ||= CS(e);
+ super(e), e.animationState ||= SS(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- bx(e) && (this.unmountControls = e.subscribe(this.node));
+ yx(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -30775,11 +30783,11 @@ var bse = (e, t) => t.isSVG ?? uE(e) ? new gS(t) : new oS(t, { allowProjection:
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Sse = 0, Cse = {
- animation: { Feature: xse },
- exit: { Feature: class extends Nx {
+}, Ose = 0, kse = {
+ animation: { Feature: Dse },
+ exit: { Feature: class extends Mx {
constructor() {
- super(...arguments), this.id = Sse++, this.isExitComplete = !1;
+ super(...arguments), this.id = Ose++, this.isExitComplete = !1;
}
update() {
if (!this.node.presenceContext) return;
@@ -30789,7 +30797,7 @@ var bse = (e, t) => t.isSVG ?? uE(e) ? new gS(t) : new oS(t, { allowProjection:
if (this.isExitComplete) {
let { initial: e, custom: t } = this.node.getProps();
if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
- let n = Tb(this.node, e, t);
+ let n = wb(this.node, e, t);
if (n) {
let { transition: e, transitionEnd: t, ...r } = n;
for (let e in r) this.node.getValue(e)?.jump(r[e]);
@@ -30814,21 +30822,21 @@ var bse = (e, t) => t.isSVG ?? uE(e) ? new gS(t) : new oS(t, { allowProjection:
};
//#endregion
//#region node_modules/framer-motion/dist/es/events/event-info.mjs
-function gE(e) {
+function dE(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var wse = (e) => (t) => $b(t) && e(t, gE(t));
+var Ase = (e) => (t) => Qb(t) && e(t, dE(t));
//#endregion
//#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
-function _E(e, t, n, r) {
- return aC(e, t, wse(n), r);
+function fE(e, t, n, r) {
+ return tC(e, t, Ase(n), r);
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/get-context-window.mjs
-var vE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, yE = /*#__PURE__*/ new Set(["auto", "scroll"]), bE = class {
+var pE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, mE = /*#__PURE__*/ new Set(["auto", "scroll"]), hE = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -30836,13 +30844,13 @@ var vE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, yE = /*#__P
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.lastRawMoveEventInfo && (this.lastMoveEventInfo = xE(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = CE(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Vie(e.offset, {
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = gE(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = vE(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Gie(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
if (!t && !n) return;
- let { point: r } = e, { timestamp: i } = xv;
+ let { point: r } = e, { timestamp: i } = bv;
this.history.push({
...r,
timestamp: i
@@ -30850,33 +30858,33 @@ var vE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, yE = /*#__P
let { onStart: a, onMove: o } = this.handlers;
t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = xE(t, this.transformPagePoint), yv.update(this.updatePoint, !0);
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = gE(t, this.transformPagePoint), vv.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = CE(e.type === "pointercancel" ? this.lastMoveEventInfo : xE(t, this.transformPagePoint), this.history);
+ let a = vE(e.type === "pointercancel" ? this.lastMoveEventInfo : gE(t, this.transformPagePoint), this.history);
this.startEvent && n && n(e, a), r && r(e, a);
- }, !$b(e)) return;
+ }, !Qb(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = xE(gE(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = xv;
+ let s = gE(dE(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = bv;
this.history = [{
...c,
timestamp: l
}];
let { onSessionStart: u } = t;
- u && u(e, CE(s, this.history));
+ u && u(e, vE(s, this.history));
let d = {
passive: !0,
capture: !0
};
- this.removeListeners = X_(_E(this.contextWindow, "pointermove", this.handlePointerMove, d), _E(this.contextWindow, "pointerup", this.handlePointerUp, d), _E(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
+ this.removeListeners = Y_(fE(this.contextWindow, "pointermove", this.handlePointerMove, d), fE(this.contextWindow, "pointerup", this.handlePointerUp, d), fE(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (yE.has(e.overflowX) || yE.has(e.overflowY)) && this.scrollPositions.set(t, {
+ (mE.has(e.overflowX) || mE.has(e.overflowY)) && this.scrollPositions.set(t, {
x: t.scrollLeft,
y: t.scrollTop
}), t = t.parentElement;
@@ -30901,51 +30909,51 @@ var vE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, yE = /*#__P
x: r.x - t.x,
y: r.y - t.y
};
- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), yv.update(this.updatePoint, !0));
+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), vv.update(this.updatePoint, !0));
}
updateHandlers(e) {
this.handlers = e;
}
end() {
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), bv(this.updatePoint);
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), yv(this.updatePoint);
}
};
-function xE(e, t) {
+function gE(e, t) {
return t ? { point: t(e.point) } : e;
}
-function SE(e, t) {
+function _E(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function CE({ point: e }, t) {
+function vE({ point: e }, t) {
return {
point: e,
- delta: SE(e, wE(t)),
- offset: SE(e, Tse(t)),
- velocity: Ese(t, .1)
+ delta: _E(e, yE(t)),
+ offset: _E(e, jse(t)),
+ velocity: Mse(t, .1)
};
}
-function Tse(e) {
+function jse(e) {
return e[0];
}
-function wE(e) {
+function yE(e) {
return e[e.length - 1];
}
-function Ese(e, t) {
+function Mse(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = wE(e);
- for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ $_(t)));) n--;
+ let n = e.length - 1, r = null, i = yE(e);
+ for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Q_(t)));) n--;
if (!r) return {
x: 0,
y: 0
};
- r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ $_(t) * 2 && (r = e[1]);
- let a = /* @__PURE__ */ ev(i.timestamp - r.timestamp);
+ r === e[0] && e.length > 2 && i.timestamp - r.timestamp > /* @__PURE__ */ Q_(t) * 2 && (r = e[1]);
+ let a = /* @__PURE__ */ $_(i.timestamp - r.timestamp);
if (a === 0) return {
x: 0,
y: 0
@@ -30958,86 +30966,86 @@ function Ese(e, t) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
-function Dse(e, { min: t, max: n }, r) {
- return t !== void 0 && e < t ? e = r ? ey(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ey(n, e, r.max) : Math.min(e, n)), e;
+function Nse(e, { min: t, max: n }, r) {
+ return t !== void 0 && e < t ? e = r ? $v(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? $v(n, e, r.max) : Math.min(e, n)), e;
}
-function TE(e, t, n) {
+function bE(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Ose(e, { top: t, left: n, bottom: r, right: i }) {
+function Pse(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: TE(e.x, n, i),
- y: TE(e.y, t, r)
+ x: bE(e.x, n, i),
+ y: bE(e.y, t, r)
};
}
-function EE(e, t) {
+function xE(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function kse(e, t) {
+function Fse(e, t) {
return {
- x: EE(e.x, t.x),
- y: EE(e.y, t.y)
+ x: xE(e.x, t.x),
+ y: xE(e.y, t.y)
};
}
-function Ase(e, t) {
- let n = .5, r = PS(e), i = PS(t);
- return i > r ? n = /* @__PURE__ */ Z_(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Z_(e.min, e.max - i, t.min)), U_(0, 1, n);
+function Ise(e, t) {
+ let n = .5, r = NS(e), i = NS(t);
+ return i > r ? n = /* @__PURE__ */ X_(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ X_(e.min, e.max - i, t.min)), H_(0, 1, n);
}
-function jse(e, t) {
+function Lse(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var DE = .35;
-function Mse(e = DE) {
- return e === !1 ? e = 0 : e === !0 && (e = DE), {
- x: OE(e, "left", "right"),
- y: OE(e, "top", "bottom")
+var SE = .35;
+function Rse(e = SE) {
+ return e === !1 ? e = 0 : e === !0 && (e = SE), {
+ x: CE(e, "left", "right"),
+ y: CE(e, "top", "bottom")
};
}
-function OE(e, t, n) {
+function CE(e, t, n) {
return {
- min: kE(e, t),
- max: kE(e, n)
+ min: wE(e, t),
+ max: wE(e, n)
};
}
-function kE(e, t) {
+function wE(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
-var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
+var zse = /* @__PURE__ */ new WeakMap(), Bse = class {
constructor(e) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = yx(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = vx(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
let { presenceContext: r } = this.visualElement;
if (r && r.isPresent === !1) return;
let i = (e) => {
- t && this.snapToCursor(gE(e).point), this.stopAnimation();
+ t && this.snapToCursor(dE(e).point), this.stopAnimation();
}, a = (e, t) => {
let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();
- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Dre(n), !this.openDragLock)) return;
- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), eC((e) => {
+ if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Ore(n), !this.openDragLock)) return;
+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), XS((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (Vv.test(t)) {
+ if (Bv.test(t)) {
let { projection: n } = this.visualElement;
if (n && n.layout) {
let r = n.layout.layoutBox[e];
- r && (t = PS(r) * (parseFloat(t) / 100));
+ r && (t = NS(r) * (parseFloat(t) / 100));
}
}
this.originPoint[e] = t;
- }), i && yv.update(() => i(e, t), !1, !0), kb(this.visualElement, "transform");
+ }), i && vv.update(() => i(e, t), !1, !0), Ob(this.visualElement, "transform");
let { animationState: a } = this.visualElement;
a && a.setActive("whileDrag", !0);
}, o = (e, t) => {
@@ -31046,10 +31054,10 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- this.currentDirection = Ise(o), this.currentDirection !== null && i && i(this.currentDirection);
+ this.currentDirection = Hse(o), this.currentDirection !== null && i && i(this.currentDirection);
return;
}
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && yv.update(() => a(e, t), !1, !0);
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && vv.update(() => a(e, t), !1, !0);
}, s = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
}, c = () => {
@@ -31059,7 +31067,7 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
y: 0
});
}, { dragSnapToOrigin: l } = this.getProps();
- this.panSession = new bE(e, {
+ this.panSession = new hE(e, {
onSessionStart: i,
onStart: a,
onMove: o,
@@ -31069,7 +31077,7 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
transformPagePoint: this.visualElement.getTransformPagePoint(),
dragSnapToOrigin: l,
distanceThreshold: n,
- contextWindow: vE(this.visualElement),
+ contextWindow: pE(this.visualElement),
element: this.visualElement.current
});
}
@@ -31079,7 +31087,7 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
let { velocity: a } = r;
this.startAnimation(a);
let { onDragEnd: o } = this.getProps();
- o && yv.postRender(() => o(n, r));
+ o && vv.postRender(() => o(n, r));
}
cancel() {
this.isDragging = !1;
@@ -31093,32 +31101,32 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
}
updateAxis(e, t, n) {
let { drag: r } = this.getProps();
- if (!n || !jE(e, r, this.currentDirection)) return;
+ if (!n || !EE(e, r, this.currentDirection)) return;
let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];
- this.constraints && this.constraints[e] && (a = Dse(a, this.constraints[e], this.elastic[e])), i.set(a);
+ this.constraints && this.constraints[e] && (a = Nse(a, this.constraints[e], this.elastic[e])), i.set(a);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
- e && pE(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Ose(n.layoutBox, e) : !1, this.elastic = Mse(t), r !== this.constraints && !pE(e) && n && this.constraints && !this.hasMutatedConstraints && eC((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = jse(n.layoutBox[e], this.constraints[e]));
+ e && cE(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? Pse(n.layoutBox, e) : !1, this.elastic = Rse(t), r !== this.constraints && !cE(e) && n && this.constraints && !this.hasMutatedConstraints && XS((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Lse(n.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!e || !pE(e)) return !1;
+ if (!e || !cE(e)) return !1;
let n = e.current, { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
r.root && (r.root.scroll = void 0, r.root.updateScroll());
- let i = rie(n, r.root, this.visualElement.getTransformPagePoint()), a = kse(r.layout.layoutBox, i);
+ let i = iie(n, r.root, this.visualElement.getTransformPagePoint()), a = Fse(r.layout.layoutBox, i);
if (t) {
- let e = t(eie(a));
- this.hasMutatedConstraints = !!e, e && (a = Px(e));
+ let e = t(tie(a));
+ this.hasMutatedConstraints = !!e, e && (a = Nx(e));
}
return a;
}
startAnimation(e) {
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = eC((o) => {
- if (!jE(o, t, this.currentDirection)) return;
+ let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = XS((o) => {
+ if (!EE(o, t, this.currentDirection)) return;
let c = s && s[o] || {};
(a === !0 || a === o) && (c = {
min: 0,
@@ -31141,65 +31149,65 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return kb(this.visualElement, e), n.start(xb(e, n, 0, t, this.visualElement, !1));
+ return Ob(this.visualElement, e), n.start(bb(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- eC((e) => this.getAxisMotionValue(e).stop());
+ XS((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
}
snapToCursor(e) {
- eC((t) => {
+ XS((t) => {
let { drag: n } = this.getProps();
- if (!jE(t, n, this.currentDirection)) return;
+ if (!EE(t, n, this.currentDirection)) return;
let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
if (r && r.layout) {
let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
- i.set(e[t] - ey(n, a, .5) + o);
+ i.set(e[t] - $v(n, a, .5) + o);
}
});
}
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!pE(t) || !n || !this.constraints) return;
+ if (!cE(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = {
x: 0,
y: 0
};
- eC((e) => {
+ XS((e) => {
let t = this.getAxisMotionValue(e);
if (t && this.constraints !== !1) {
let n = t.get();
- r[e] = Ase({
+ r[e] = Ise({
min: n,
max: n
}, this.constraints[e]);
}
});
let { transformTemplate: i } = this.visualElement.getProps();
- this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), eC((t) => {
- if (!jE(t, e, null)) return;
+ this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), XS((t) => {
+ if (!EE(t, e, null)) return;
let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
- n.set(ey(i, a, r[t]));
+ n.set($v(i, a, r[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Nse.set(this.visualElement, this);
- let e = this.visualElement.current, t = _E(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Nre(i);
+ zse.set(this.visualElement, this);
+ let e = this.visualElement.current, t = fE(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Pre(i);
n && r && !a && this.start(t);
}), n, r = () => {
let { dragConstraints: t } = this.getProps();
- pE(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Fse(e, t.current, () => this.scalePositionWithinConstraints()));
+ cE(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= Vse(e, t.current, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), yv.read(r);
- let o = aC(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (eC((t) => {
+ i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), vv.read(r);
+ let o = tC(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (XS((t) => {
let n = this.getAxisMotionValue(t);
n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
}), this.visualElement.render());
@@ -31209,7 +31217,7 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
};
}
getProps() {
- let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = DE, dragMomentum: o = !0 } = e;
+ let e = this.visualElement.getProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = SE, dragMomentum: o = !0 } = e;
return {
...e,
drag: t,
@@ -31221,7 +31229,7 @@ var Nse = /* @__PURE__ */ new WeakMap(), Pse = class {
};
}
};
-function AE(e) {
+function TE(e) {
let t = !0;
return () => {
if (t) {
@@ -31231,28 +31239,28 @@ function AE(e) {
e();
};
}
-function Fse(e, t, n) {
- let r = fx(e, AE(n)), i = fx(t, AE(n));
+function Vse(e, t, n) {
+ let r = dx(e, TE(n)), i = dx(t, TE(n));
return () => {
r(), i();
};
}
-function jE(e, t, n) {
+function EE(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Ise(e, t = 10) {
+function Hse(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
-var Lse = class extends Nx {
+var Use = class extends Mx {
constructor(e) {
- super(e), this.removeGroupControls = Y_, this.removeListeners = Y_, this.controls = new Pse(e);
+ super(e), this.removeGroupControls = J_, this.removeListeners = J_, this.controls = new Bse(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
- e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || Y_;
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || J_;
}
update() {
let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -31261,31 +31269,31 @@ var Lse = class extends Nx {
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, ME = (e) => (t, n) => {
- e && yv.update(() => e(t, n), !1, !0);
-}, Rse = class extends Nx {
+}, DE = (e) => (t, n) => {
+ e && vv.update(() => e(t, n), !1, !0);
+}, Wse = class extends Mx {
constructor() {
- super(...arguments), this.removePointerDownListener = Y_;
+ super(...arguments), this.removePointerDownListener = J_;
}
onPointerDown(e) {
- this.session = new bE(e, this.createPanHandlers(), {
+ this.session = new hE(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
- contextWindow: vE(this.node)
+ contextWindow: pE(this.node)
});
}
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: ME(e),
- onStart: ME(t),
- onMove: ME(n),
+ onSessionStart: DE(e),
+ onStart: DE(t),
+ onMove: DE(n),
onEnd: (e, t) => {
- delete this.session, r && yv.postRender(() => r(e, t));
+ delete this.session, r && vv.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = _E(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = fE(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -31293,36 +31301,36 @@ var Lse = class extends Nx {
unmount() {
this.removePointerDownListener(), this.session && this.session.end();
}
-}, NE = !1, zse = class extends B.Component {
+}, OE = !1, Gse = class extends B.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), NE && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
+ i && (t.group && t.group.add(i), n && n.register && r && n.register(i), OE && i.root.didUpdate(), i.addEventListener("animationComplete", () => {
this.safeToRemove();
}), i.setOptions({
...i.options,
layoutDependency: this.props.layoutDependency,
onExitComplete: () => this.safeToRemove()
- })), sC.hasEverUpdated = !0;
+ })), rC.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, visualElement: n, drag: r, isPresent: i } = this.props, { projection: a } = n;
return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
...a.options,
layoutDependency: t
- }), NE = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || yv.postRender(() => {
+ }), OE = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || vv.postRender(() => {
let e = a.getStack();
(!e || !e.members.length) && this.safeToRemove();
})), null) : null;
}
componentDidUpdate() {
let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
- n && (n.options.layoutAnchor = t, n.root.didUpdate(), Jb.postRender(() => {
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), qb.postRender(() => {
!n.currentAnimation && n.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- NE = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
+ OE = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
}
safeToRemove() {
let { safeToRemove: e } = this.props;
@@ -31332,41 +31340,41 @@ var Lse = class extends Nx {
return null;
}
};
-function PE(e) {
- let [t, n] = JT(), r = (0, B.useContext)(HT);
- return (0, H.jsx)(zse, {
+function kE(e) {
+ let [t, n] = UT(), r = (0, B.useContext)(LT);
+ return (0, H.jsx)(Gse, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, B.useContext)(fE),
+ switchLayoutGroup: (0, B.useContext)(sE),
isPresent: t,
safeToRemove: n
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Bse = {
- pan: { Feature: Rse },
+var Kse = {
+ pan: { Feature: Wse },
drag: {
- Feature: Lse,
- ProjectionNode: CC,
- MeasureLayout: PE
+ Feature: Use,
+ ProjectionNode: yC,
+ MeasureLayout: kE
}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/hover.mjs
-function FE(e, t, n) {
+function AE(e, t, n) {
let { props: r } = e;
e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
let i = r["onHover" + n];
- i && yv.postRender(() => i(t, gE(t)));
+ i && vv.postRender(() => i(t, dE(t)));
}
-var Vse = class extends Nx {
+var qse = class extends Mx {
mount() {
let { current: e } = this.node;
- e && (this.unmount = kre(e, (e, t) => (FE(this.node, t, "Start"), (e) => FE(this.node, e, "End"))));
+ e && (this.unmount = Are(e, (e, t) => (AE(this.node, t, "Start"), (e) => AE(this.node, e, "End"))));
}
unmount() {}
-}, Hse = class extends Nx {
+}, Jse = class extends Mx {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -31383,57 +31391,57 @@ var Vse = class extends Nx {
!this.isActive || !this.node.animationState || (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = X_(aC(this.node.current, "focus", () => this.onFocus()), aC(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Y_(tC(this.node.current, "focus", () => this.onFocus()), tC(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
//#endregion
//#region node_modules/framer-motion/dist/es/gestures/press.mjs
-function IE(e, t, n) {
+function jE(e, t, n) {
let { props: r } = e;
if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
let i = r["onTap" + (n === "End" ? "" : n)];
- i && yv.postRender(() => i(t, gE(t)));
+ i && vv.postRender(() => i(t, dE(t)));
}
-var Use = class extends Nx {
+var Yse = class extends Mx {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Fre(e, (e, t) => (IE(this.node, t, "Start"), (e, { success: t }) => IE(this.node, e, t ? "End" : "Cancel")), {
+ this.unmount = Ire(e, (e, t) => (jE(this.node, t, "Start"), (e, { success: t }) => jE(this.node, e, t ? "End" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, LE = /* @__PURE__ */ new WeakMap(), RE = /* @__PURE__ */ new WeakMap(), Wse = (e) => {
- let t = LE.get(e.target);
+}, ME = /* @__PURE__ */ new WeakMap(), NE = /* @__PURE__ */ new WeakMap(), Xse = (e) => {
+ let t = ME.get(e.target);
t && t(e);
-}, Gse = (e) => {
- e.forEach(Wse);
+}, Zse = (e) => {
+ e.forEach(Xse);
};
-function Kse({ root: e, ...t }) {
+function Qse({ root: e, ...t }) {
let n = e || document;
- RE.has(n) || RE.set(n, {});
- let r = RE.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Gse, {
+ NE.has(n) || NE.set(n, {});
+ let r = NE.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Zse, {
root: e,
...t
})), r[i];
}
-function qse(e, t, n) {
- let r = Kse(t);
- return LE.set(e, n), r.observe(e), () => {
- LE.delete(e), r.unobserve(e);
+function $se(e, t, n) {
+ let r = Qse(t);
+ return ME.set(e, n), r.observe(e), () => {
+ ME.delete(e), r.unobserve(e);
};
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Jse = {
+var ece = {
some: 0,
all: 1
-}, Yse = class extends Nx {
+}, tce = class extends Mx {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -31442,7 +31450,7 @@ var Jse = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : Jse[r]
+ threshold: typeof r == "number" ? r : ece[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -31450,7 +31458,7 @@ var Jse = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = qse(this.node.current, a, o);
+ this.stopObserver = $se(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -31462,34 +31470,34 @@ var Jse = {
"amount",
"margin",
"root"
- ].some(Xse(e, t)) && this.startObserver();
+ ].some(nce(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Xse({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function nce({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
//#endregion
//#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
-var Zse = {
- inView: { Feature: Yse },
- tap: { Feature: Use },
- focus: { Feature: Hse },
- hover: { Feature: Vse }
-}, Qse = { layout: {
- ProjectionNode: CC,
- MeasureLayout: PE
-} }, $se = /*@__PURE__*/ yse({
- ...Cse,
- ...Zse,
- ...Bse,
- ...Qse
-}, bse);
+var rce = {
+ inView: { Feature: tce },
+ tap: { Feature: Yse },
+ focus: { Feature: Jse },
+ hover: { Feature: qse }
+}, ice = { layout: {
+ ProjectionNode: yC,
+ MeasureLayout: kE
+} }, ace = /*@__PURE__*/ Tse({
+ ...kse,
+ ...rce,
+ ...Kse,
+ ...ice
+}, Ese);
//#endregion
//#region node_modules/framer-motion/dist/es/utils/use-motion-value-event.mjs
-function zE(e, t, n) {
+function PE(e, t, n) {
(0, B.useInsertionEffect)(() => e.on(t, n), [
e,
t,
@@ -31498,8 +31506,8 @@ function zE(e, t, n) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-motion-value.mjs
-function BE(e) {
- let t = UT(() => vb(e)), { isStatic: n } = (0, B.useContext)(KT);
+function FE(e) {
+ let t = RT(() => _b(e)), { isStatic: n } = (0, B.useContext)(VT);
if (n) {
let [, n] = (0, B.useState)(e);
(0, B.useEffect)(() => t.on("change", n), []);
@@ -31508,28 +31516,28 @@ function BE(e) {
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-combine-values.mjs
-function VE(e, t) {
- let n = BE(t()), r = () => n.set(t());
- return r(), WT(() => {
- let t = () => yv.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
+function IE(e, t) {
+ let n = FE(t()), r = () => n.set(t());
+ return r(), zT(() => {
+ let t = () => vv.preRender(r, !1, !0), n = e.map((e) => e.on("change", t));
return () => {
- n.forEach((e) => e()), bv(r);
+ n.forEach((e) => e()), yv(r);
};
}), n;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-computed.mjs
-function ece(e) {
- _b.current = [], e();
- let t = VE(_b.current, e);
- return _b.current = void 0, t;
+function oce(e) {
+ gb.current = [], e();
+ let t = IE(gb.current, e);
+ return gb.current = void 0, t;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-transform.mjs
-function HE(e, t, n, r) {
- if (typeof e == "function") return ece(e);
- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return tce(e, t, n, r);
- let i = typeof t == "function" ? t : Gre(t, n, r), a = Array.isArray(e) ? UE(e, i) : UE([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
+function LE(e, t, n, r) {
+ if (typeof e == "function") return oce(e);
+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return sce(e, t, n, r);
+ let i = typeof t == "function" ? t : Kre(t, n, r), a = Array.isArray(e) ? RE(e, i) : RE([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;
return o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1 && (a.accelerate = {
...o,
times: t,
@@ -31538,56 +31546,56 @@ function HE(e, t, n, r) {
...r?.ease ? { ease: r.ease } : {}
}), a;
}
-function UE(e, t) {
- let n = UT(() => []);
- return VE(e, () => {
+function RE(e, t) {
+ let n = RT(() => []);
+ return IE(e, () => {
n.length = 0;
let r = e.length;
for (let t = 0; t < r; t++) n[t] = e[t].get();
return t(n);
});
}
-function tce(e, t, n, r) {
- let i = UT(() => Object.keys(n)), a = UT(() => ({}));
- for (let o of i) a[o] = HE(e, t, n[o], r);
+function sce(e, t, n, r) {
+ let i = RT(() => Object.keys(n)), a = RT(() => ({}));
+ for (let o of i) a[o] = LE(e, t, n[o], r);
return a;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-follow-value.mjs
-function nce(e, t = {}) {
- let { isStatic: n } = (0, B.useContext)(KT), r = () => Ob(e) ? e.get() : e;
- if (n) return HE(r);
- let i = BE(r());
- return (0, B.useInsertionEffect)(() => Kre(i, e, t), [i, JSON.stringify(t)]), i;
+function cce(e, t = {}) {
+ let { isStatic: n } = (0, B.useContext)(VT), r = () => Db(e) ? e.get() : e;
+ if (n) return LE(r);
+ let i = FE(r());
+ return (0, B.useInsertionEffect)(() => qre(i, e, t), [i, JSON.stringify(t)]), i;
}
//#endregion
//#region node_modules/framer-motion/dist/es/value/use-spring.mjs
-function WE(e, t = {}) {
- return nce(e, {
+function zE(e, t = {}) {
+ return cce(e, {
type: "spring",
...t
});
}
//#endregion
//#region node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function rce() {
- !Dx.current && Ox();
- let [e] = (0, B.useState)(Ex.current);
+function lce() {
+ !Ex.current && Dx();
+ let [e] = (0, B.useState)(Tx.current);
return e;
}
//#endregion
//#region node_modules/motion/dist/es/react.mjs
-var GE = $se, KE = null;
-function ice() {
- return KE?.isConnected || (KE = document.createElement("div"), KE.className = "peach-react", KE.dataset.reactOverlays = "", document.body.append(KE)), KE;
+var BE = ace, VE = null;
+function uce() {
+ return VE?.isConnected || (VE = document.createElement("div"), VE.className = "peach-react", VE.dataset.reactOverlays = "", document.body.append(VE)), VE;
}
-function qE({ children: e }) {
- return /* @__PURE__ */ (0, H.jsx)(aw, {
+function HE({ children: e }) {
+ return /* @__PURE__ */ (0, H.jsx)(tw, {
client: z,
- children: /* @__PURE__ */ (0, H.jsx)($oe, {
+ children: /* @__PURE__ */ (0, H.jsx)(ase, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, H.jsx)(Gp, {
- getContainer: ice,
+ getContainer: uce,
children: e
})
})
@@ -31595,16 +31603,16 @@ function qE({ children: e }) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var JE = "(prefers-reduced-motion: reduce)", ace = () => matchMedia(JE).matches, oce = (e) => {
- let t = matchMedia(JE);
+var UE = "(prefers-reduced-motion: reduce)", dce = () => matchMedia(UE).matches, fce = (e) => {
+ let t = matchMedia(UE);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function sce({ children: e, count: t, label: n }) {
- let r = Woe(), i = (0, B.useSyncExternalStore)(oce, ace, () => !1), { isFocusVisible: a } = La(), o = i || a, s = {
+function pce({ children: e, count: t, label: n }) {
+ let r = Xoe(), i = (0, B.useSyncExternalStore)(fce, dce, () => !1), { isFocusVisible: a } = La(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
- return /* @__PURE__ */ (0, H.jsxs)(GE.div, {
+ return /* @__PURE__ */ (0, H.jsxs)(BE.div, {
role: "group",
"aria-label": n,
"data-selection-dock": !0,
@@ -31636,18 +31644,18 @@ function sce({ children: e, count: t, label: n }) {
}), e]
});
}
-function YE({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, H.jsx)(Koe, { children: e ? /* @__PURE__ */ (0, H.jsx)(sce, { ...t }, "selection") : null });
+function WE({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, H.jsx)(Qoe, { children: e ? /* @__PURE__ */ (0, H.jsx)(pce, { ...t }, "selection") : null });
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var XE = {
+var GE = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function cce(e, t = !1) {
+function mce(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -31663,7 +31671,7 @@ function cce(e, t = !1) {
glyph: "trash",
danger: !0
},
- XE
+ GE
];
case "junk": return [
t ? {
@@ -31684,7 +31692,7 @@ function cce(e, t = !1) {
glyph: "trash",
danger: !0
},
- XE
+ GE
];
case "follow": return [
{
@@ -31705,7 +31713,7 @@ function cce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- XE
+ GE
];
default: return [
{
@@ -31739,42 +31747,42 @@ function cce(e, t = !1) {
glyph: "trash",
danger: !0
},
- XE
+ GE
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var ZE = null, QE = null, $E = {
+var KE = null, qE = null, JE = {
count: 0,
context: "catalog",
junkDismissed: !1
};
-function eD() {
- let e = ZE;
- if (!e || !QE) return;
- let t = $E;
- (0, Dt.flushSync)(() => QE.render(/* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)(dce, {
+function YE() {
+ let e = KE;
+ if (!e || !qE) return;
+ let t = JE;
+ (0, Dt.flushSync)(() => qE.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(_ce, {
host: e,
props: t
}) })));
}
-var lce = { render(e) {
- $E = e, eD();
+var hce = { render(e) {
+ JE = e, YE();
} };
-function uce(e) {
- return ZE = e, QE = (0, Ot.createRoot)(e.root), eD(), lce;
+function gce(e) {
+ return KE = e, qE = (0, Ot.createRoot)(e.root), YE(), hce;
}
-function dce({ host: e, props: t }) {
+function _ce({ host: e, props: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, H.jsx)(YE, {
+ children: /* @__PURE__ */ (0, H.jsx)(WE, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count} 项`,
- children: cce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, H.jsxs)("button", {
+ children: mce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -31791,7 +31799,7 @@ function dce({ host: e, props: t }) {
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function tD({ store: e, label: t, hidden: n }) {
+function XE({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-glow-grid": "",
@@ -31817,11 +31825,11 @@ function tD({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-function fce(e) {
+function vce(e) {
let t = (0, Ot.createRoot)(e.root);
- (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(pce, { host: e })));
+ (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(yce, { host: e })));
}
-function pce({ host: e }) {
+function yce({ host: e }) {
let { store: t } = e;
(0, B.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -31837,7 +31845,7 @@ function pce({ host: e }) {
children: "重置"
})]
}),
- /* @__PURE__ */ (0, H.jsx)(tD, {
+ /* @__PURE__ */ (0, H.jsx)(XE, {
store: t,
label: "光晕",
hidden: !n.on
@@ -31877,32 +31885,32 @@ function pce({ host: e }) {
}
//#endregion
//#region src/player/host.ts
-var nD = null;
-function mce(e) {
- nD = e;
+var ZE = null;
+function bce(e) {
+ ZE = e;
}
-function rD() {
- if (!nD) throw Error("播放器还没有接上宿主(configurePlayer)");
- return nD;
+function QE() {
+ if (!ZE) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return ZE;
}
//#endregion
//#region src/player/menu.ts
-var iD = null;
-function hce(e) {
- iD = e;
+var $E = null;
+function xce(e) {
+ $E = e;
}
-function gce() {
+function Sce() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var aD = null, oD = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function sD() {
+var eD = null, tD = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function nD() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && a(e, () => {
e.innerHTML = "";
- }), aD &&= (aD(), null);
+ }), eD &&= (eD(), null);
}
-async function _ce(e) {
+async function Cce(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -31915,12 +31923,12 @@ async function _ce(e) {
return t.remove(), n;
}
}
-function vce(e) {
- let t = !!iD?.inMiniplayer(e), n = e.peachItem, r = iD?.kind(e) ?? "item", i = (t) => {
+function wce(e) {
+ let t = !!$E?.inMiniplayer(e), n = e.peachItem, r = $E?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- _ce(i(e)).then((e) => rD().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Cce(i(e)).then((e) => QE().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -31932,11 +31940,11 @@ function vce(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => iD?.expand()
+ run: () => $E?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => iD?.toMiniplayer()
+ run: () => $E?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -31959,29 +31967,29 @@ function vce(e) {
run: () => s.click()
}), o;
}
-function yce(e, t, n) {
- let r = gce();
- sD();
- let i = rD().stage();
+function Tce(e, t, n) {
+ let r = Sce();
+ nD();
+ let i = QE().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = vce(e);
+ let a = wce(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${oD(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${P(e.label)}</span>${n ? oD(L("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${tD(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${P(e.label)}</span>${n ? tD(L("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), _(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- sD(), n?.run();
+ nD(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || sD();
+ r.contains(e.target) || nD();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), sD();
+ e.preventDefault(), e.stopPropagation(), nD();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -31989,51 +31997,51 @@ function yce(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- y(t, e.el()) && sD();
+ y(t, e.el()) && nD();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), aD = () => {
+ }, 0), eD = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function bce(e) {
+function Ece(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), yce(e, t.clientX, t.clientY));
- }), e.on("dispose", sD);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Tce(e, t.clientX, t.clientY));
+ }), e.on("dispose", nD);
}
//#endregion
//#region src/player/registry.ts
-var cD = null, lD = () => cD;
-function uD(e) {
- cD = e;
+var rD = null, iD = () => rD;
+function aD(e) {
+ rD = e;
}
-function dD(e) {
+function oD(e) {
!e || e.isDisposed() || requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function fD(e) {
+function sD(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function xce(e) {
+function Dce(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var pD = 3e3;
-function mD(e, t) {
+var cD = 3e3;
+function lD(e, t) {
let n = Number(e) || 0, r = se(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Sce(e) {
+function Oce(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32048,10 +32056,10 @@ function Sce(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = xce(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Dce(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > pD * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > cD * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32060,56 +32068,56 @@ function Sce(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > pD;) t.shift();
+ }); t.length > 2 && a - t[0].at > cD;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var hD = 24;
-function gD(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > hD && e.splice(0, e.length - hD);
+var uD = 24;
+function dD(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > uD && e.splice(0, e.length - uD);
}
-var _D = "peach-player-panel";
-function vD(e, t, n, r) {
- let i = [...Array(Math.max(0, hD - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var fD = "peach-player-panel";
+function pD(e, t, n, r) {
+ let i = [...Array(Math.max(0, uD - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${P(r)}">${o}</span>`;
}
-function Cce() {
+function kce() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function yD(e, t = "") {
+function mD(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function bD(e, t = "") {
- let n = yD(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function hD(e, t = "") {
+ let n = mD(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function xD(e, t, n = "", r = null) {
+function gD(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : bD(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : hD(t, n);
}
-function SD(e) {
+function _D(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function wce(e, t) {
- return e > 0 ? SD(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : SD(0);
+function Ace(e, t) {
+ return e > 0 ? _D(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : _D(0);
}
//#endregion
//#region src/player/controls.ts
-function CD(e, t, n = "") {
+function vD(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -32120,24 +32128,24 @@ function CD(e, t, n = "") {
};
return o(), o;
}
-function Tce(e, t = !0) {
- let n = rD(), r = n.settings();
+function jce(e, t = !0) {
+ let n = QE(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var wD = /* @__PURE__ */ new WeakMap();
-function TD(e) {
+var yD = /* @__PURE__ */ new WeakMap();
+function bD(e) {
if (!e) return;
- let t = rD().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), wD.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = QE().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), yD.get(e)?.(t ? "默认视图" : "影院模式");
}
-function ED(e, t = !0) {
- let n = rD(), r = n.settings();
+function xD(e, t = !0) {
+ let n = QE(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), TD(i?.querySelector("[data-player-theater]")), dD(lD());
+ i?.toggleAttribute("data-theater", r.theaterMode), bD(i?.querySelector("[data-player-theater]")), oD(iD());
}
-function Ece(e) {
- let t = rD().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function Mce(e) {
+ let t = QE().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -32154,14 +32162,14 @@ function Ece(e) {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => u(t, e)) : requestAnimationFrame((e) => u(t, e));
}, u = (t, n) => {
if (!(i || t !== o)) {
- if (!rD().settings().ambientMode) {
+ if (!QE().settings().ambientMode) {
s();
return;
}
e.paused || (!document.hidden && n - a > 480 && (a = n, c()), l(t));
}
}, d = () => {
- i || !rD().settings().ambientMode || (c(), e.paused || l(++o));
+ i || !QE().settings().ambientMode || (c(), e.paused || l(++o));
}, f = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? d() : (o++, s());
@@ -32170,7 +32178,7 @@ function Ece(e) {
i = !0, o++, document.removeEventListener("peachambientchange", f), e.removeEventListener("play", d), e.removeEventListener("loadeddata", d), s();
};
}
-function Dce(e, t, n = 0, r = null) {
+function Nce(e, t, n = 0, r = null) {
let i = e.getChild("controlBar")?.el();
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -32180,7 +32188,7 @@ function Dce(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- CD(s, "设置");
+ vD(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -32222,11 +32230,11 @@ function Dce(e, t, n = 0, r = null) {
active: t
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(_D, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(fD, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(_D, y);
+ document.addEventListener(fD, y);
let b = null, x = (e, t) => {
let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;
@@ -32240,12 +32248,12 @@ function Dce(e, t, n = 0, r = null) {
}, 250);
}), r;
}, S = (e, t) => e.querySelector(t), C = (t = 0) => {
- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${rD().settings().ambientMode}">
+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${QE().settings().ambientMode}">
${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${P(n.label)}</b>${L("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- Tce(!rD().settings().ambientMode), C();
+ jce(!QE().settings().ambientMode), C();
}, S(i, "[data-player-speed]").onclick = () => D(), S(i, "[data-player-quality-view]").onclick = () => O();
}, w = .05, T = [
1,
@@ -32302,22 +32310,22 @@ function Dce(e, t, n = 0, r = null) {
}), u?.on?.(["addqualitylevel", "removequalitylevel"], () => {
g() ? C() : h();
}), e.on("dispose", () => {
- document.removeEventListener("pointerdown", k), document.removeEventListener(_D, y), b && clearTimeout(b);
- }), h(), Oce(e, a), kce(e), (e) => {
+ document.removeEventListener("pointerdown", k), document.removeEventListener(fD, y), b && clearTimeout(b);
+ }), h(), Pce(e, a), Fce(e), (e) => {
d = e?.length ? e : null, g() ? C() : h();
};
}
-function Oce(e, t) {
+function Pce(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = rD().settings().theaterMode, i = document.createElement("div");
+ let r = QE().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- wD.set(a, CD(a, "影院模式", "T")), TD(a), a.onclick = (e) => {
- e.stopPropagation(), ED(!rD().settings().theaterMode);
+ yD.set(a, vD(a, "影院模式", "T")), bD(a), a.onclick = (e) => {
+ e.stopPropagation(), xD(!QE().settings().theaterMode);
};
}
-function kce(e) {
+function Fce(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -32329,7 +32337,7 @@ function kce(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = CD(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = vD(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -32340,7 +32348,7 @@ function kce(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = CD(p, "静音", "M"), g = () => {
+ let h = vD(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -32366,7 +32374,7 @@ function kce(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = CD(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = vD(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = F(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : F(t)} / ${F(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${F(n)};点击显示已播放时间` : `已播放 ${F(t)},总时长 ${F(n)};点击显示剩余时间`);
};
@@ -32379,11 +32387,11 @@ function kce(e) {
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(E, "player-pip");
- let D = CD(E, "画中画");
+ let D = vD(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = CD(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = vD(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), dD(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), oD(e);
};
e.on([
"fullscreenchange",
@@ -32403,7 +32411,7 @@ function kce(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(ee);
- let te = ee.querySelector("button"), P = CD(te, "展开控件"), ne = (t) => {
+ let te = ee.querySelector("button"), P = vD(te, "展开控件"), ne = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -32415,7 +32423,7 @@ function kce(e) {
}, re = new ResizeObserver(I);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), ne(!1), I();
}
-function Ace(e, t, n = {}) {
+function Ice(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = n.thumbnail !== !1, a = document.createElement("div");
@@ -32448,13 +32456,13 @@ function Ace(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function jce(e, t) {
+function Lce(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => se(e.duration()) || se(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(rD().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(QE().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -32495,11 +32503,11 @@ function jce(e, t) {
} catch {}
});
}
-function Mce(e) {
+function Rce(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function Nce(e, t) {
+function zce(e, t) {
N(`/api/assets/${t}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -32514,7 +32522,7 @@ function Nce(e, t) {
}
//#endregion
//#region src/player/dispose.ts
-function DD(e) {
+function SD(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -32532,23 +32540,23 @@ function DD(e) {
}
//#endregion
//#region src/player/stream.ts
-function OD() {
+function CD() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function kD(e, t) {
+function wD(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function Pce(e) {
+function Bce(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function AD(e, t) {
- let n = Pce(e);
+async function TD(e, t) {
+ let n = Bce(e);
if (n) return n;
try {
let n = await N(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -32557,9 +32565,9 @@ async function AD(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return kD(e, t);
+ return wD(e, t);
}
-function jD(e) {
+function ED(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -32568,21 +32576,21 @@ function jD(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var MD = "";
-function ND() {
- return MD;
+var DD = "";
+function OD() {
+ return DD;
}
-function PD() {
- return MD ||= OD(), MD;
+function kD() {
+ return DD ||= CD(), DD;
}
-var Fce = (e) => kD(e, PD()), Ice = (e) => AD(e, PD());
-function FD() {
- let e = MD;
- e && (MD = "", jD(e));
+var Vce = (e) => wD(e, kD()), Hce = (e) => TD(e, kD());
+function AD() {
+ let e = DD;
+ e && (DD = "", ED(e));
}
//#endregion
//#region src/player/telemetry.ts
-function ID(e, t, n = {}) {
+function jD(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null;
t.addEventListener("seeking", () => {
@@ -32630,7 +32638,7 @@ function ID(e, t, n = {}) {
u(), l(!1);
}, { once: !0 }), c();
}
-function Lce(e, t) {
+function Uce(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = se(e.duration) || se(t.duration);
!r && !n || (N("/api/follow/activity", {
@@ -32666,7 +32674,7 @@ function Lce(e, t) {
}
//#endregion
//#region src/player/videojs.ts
-var LD = "/vendor/videojs/8.24.1/", RD = (e) => new Promise((t, n) => {
+var MD = "/vendor/videojs/8.24.1/", ND = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -32678,20 +32686,20 @@ var LD = "/vendor/videojs/8.24.1/", RD = (e) => new Promise((t, n) => {
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), zD = () => globalThis.videojs, BD = null;
-function VD() {
- let e = zD();
- return e ? Promise.resolve(e) : (BD ??= RD(`${LD}video.min.js`).then(() => RD(`${LD}lang/zh-CN.js`)).then(() => {
- let e = zD();
+}), PD = () => globalThis.videojs, FD = null;
+function ID() {
+ let e = PD();
+ return e ? Promise.resolve(e) : (FD ??= ND(`${MD}video.min.js`).then(() => ND(`${MD}lang/zh-CN.js`)).then(() => {
+ let e = PD();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw BD = null, e;
- }), BD);
+ throw FD = null, e;
+ }), FD);
}
//#endregion
//#region src/player/immerse-player.ts
-var Rce = {
+var Wce = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -32703,37 +32711,37 @@ var Rce = {
errorDisplay: !1,
textTrackSettings: !1
};
-function zce(e, t) {
+function Gce(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([AD(n, r), VD().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([TD(n, r), ID().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = kD(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = wD(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, Rce);
+ let t = s(e, Wce);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- ID(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ jD(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, jD(r), i ? DD(i) : (e.pause(), e.removeAttribute("src"), e.load()));
+ a || (a = !0, ED(r), i ? SD(i) : (e.pause(), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var HD = /* @__PURE__ */ new WeakMap(), UD = null, WD = null, GD = null;
-function KD() {
- UD &&= (clearInterval(UD), null), WD &&= (clearInterval(WD), null), GD &&= (clearTimeout(GD), null);
+var LD = /* @__PURE__ */ new WeakMap(), RD = null, zD = null, BD = null;
+function VD() {
+ RD &&= (clearInterval(RD), null), zD &&= (clearInterval(zD), null), BD &&= (clearTimeout(BD), null);
}
-async function Bce(e, t, n, r = {}) {
- let i = lD();
+async function Kce(e, t, n, r = {}) {
+ let i = iD();
if (i && !i.isDisposed()) return i;
- let a = rD(), o = r.resume ?? null;
+ let a = QE(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : Ice(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : Hce(e), c;
try {
- c = await VD();
+ c = await ID();
} catch {
return t.controls = !0, s().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -32753,7 +32761,7 @@ async function Bce(e, t, n, r = {}) {
remainingTimeDisplay: !1
}
});
- uD(l), l.peachItem = e, bce(l), l.on("loadedmetadata", () => {
+ aD(l), l.peachItem = e, Ece(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -32761,7 +32769,7 @@ async function Bce(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Sce(mD(f, e.duration)), m = 0, h = !1, g = () => lD() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Oce(lD(f, e.duration)), m = 0, h = !1, g = () => iD() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -32772,15 +32780,15 @@ async function Bce(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- HD.set(l, y), y.updateStats = () => {
+ LD.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = ND(), h = s ? yD(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = OD(), h = s ? mD(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = xD(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = gD(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = fD(t);
- gD(d.speed, x), gD(d.activity, C), gD(d.buffer, w);
+ let w = sD(t);
+ dD(d.speed, x), dD(d.activity, C), dD(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? I(_) : "—"} · ${h.length} 请求`,
@@ -32798,17 +32806,17 @@ async function Bce(e, t, n, r = {}) {
[
"连接速度",
D,
- vD(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ pD(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- vD(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ pD(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- vD(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ pD(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${F(t.currentTime)} / ${F(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -32824,15 +32832,15 @@ async function Bce(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = xD(l, e.id, ND(), r ? null : p), a = r ? SD(i) : wce(i, fD(t));
+ let i = gD(l, e.id, OD(), r ? null : p), a = r ? _D(i) : Ace(i, sD(t));
n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${P(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- !e || !e.isConnected || (e.hidden = !1, S(), WD && clearInterval(WD), WD = setInterval(S, 500));
+ !e || !e.isConnected || (e.hidden = !1, S(), zD && clearInterval(zD), zD = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (GD && clearTimeout(GD), GD = setTimeout(() => {
- e.hidden = !0, WD &&= (clearInterval(WD), null);
+ e && (BD && clearTimeout(BD), BD = setTimeout(() => {
+ e.hidden = !0, zD &&= (clearInterval(zD), null);
}, 1400));
};
return l.on([
@@ -32844,7 +32852,7 @@ async function Bce(e, t, n, r = {}) {
S(), w();
}), l.on("error", () => {
if (b && !x && !l.isDisposed()) {
- x = !0, b = !1, l.src(Fce(e)), n && l.play()?.catch(() => {});
+ x = !0, b = !1, l.src(Vce(e)), n && l.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
@@ -32855,27 +32863,27 @@ async function Bce(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = Dce(l, t, e.height, r.qualities ?? null);
+ let n = Nce(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = mD(r, e.duration));
- }).catch(() => {}), Ace(l, e, { thumbnail: !r.source }), jce(l, e), Mce(l), r.source || Nce(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = lD(r, e.duration));
+ }).catch(() => {}), Ice(l, e, { thumbnail: !r.source }), Lce(l, e), Rce(l), r.source || zce(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), o && o.time > 0 && l.one("loadedmetadata", () => {
l.isDisposed() || l.currentTime(o.time);
}), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var Vce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function qD(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Vce), e.querySelector(":scope > #playerStatsBtn")) return;
+var qce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function HD(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", qce), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Cce(), e.insertBefore(n.content, t);
+ n.innerHTML = kce(), e.insertBefore(n.content, t);
}
-function JD(e, t) {
- let n = HD.get(e);
+function UD(e, t) {
+ let n = LD.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -32887,29 +32895,29 @@ function JD(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), UD &&= (clearInterval(UD), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), RD &&= (clearInterval(RD), null));
};
a.onclick = () => {
if (!o.hidden) {
e();
return;
}
- document.dispatchEvent(new CustomEvent(_D, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), UD && clearInterval(UD), UD = setInterval(n.updateStats, 1e3);
+ document.dispatchEvent(new CustomEvent(fD, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), RD && clearInterval(RD), RD = setInterval(n.updateStats, 1e3);
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(_D, t), s = () => document.removeEventListener(_D, t);
+ document.addEventListener(fD, t), s = () => document.removeEventListener(fD, t);
}
- let c = e.el().querySelector("video"), l = c ? Ece(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, KD()));
+ let c = e.el().querySelector("video"), l = c ? Mce(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, VD()));
};
return e.one("dispose", d), d;
}
-function YD(e, t) {
- if (t.kind === "immerse") return zce(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = rD(), c = t.chrome === !1 ? null : e.parentElement;
- c && qD(c, e);
+function WD(e, t) {
+ if (t.kind === "immerse") return Gce(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = QE(), c = t.chrome === !1 ? null : e.parentElement;
+ c && HD(c, e);
let l = { resume: t.resume ?? null };
if (n === "follow") l = {
...l,
@@ -32929,16 +32937,16 @@ function YD(e, t) {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), ID(r, e, {
+ }, { once: !0 }), jD(r, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let u = null, d = !1, f = () => {}, p = () => {
- f(), !(!u || a?.(u)) && (lD() === u && (uD(null), KD()), DD(u));
+ f(), !(!u || a?.(u)) && (iD() === u && (aD(null), VD()), SD(u));
};
- return Bce(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
+ return Kce(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
if (u = t, d) {
p();
return;
@@ -32947,45 +32955,45 @@ function YD(e, t) {
o?.(null);
return;
}
- c && (f = JD(t, c)), n === "follow" && Lce(r, e), o?.(t);
+ c && (f = UD(t, c)), n === "follow" && Uce(r, e), o?.(t);
}), () => {
d = !0, p();
};
}
//#endregion
//#region src/player/playback.ts
-function XD(e) {
+function GD(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function Hce(e, t) {
+function Jce(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/jav-artwork.ts
-function ZD(e) {
+function KD(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Uce(e, t) {
- return e.is_jav && e.code && e.has_cover && (ZD(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function Yce(e, t) {
+ return e.is_jav && e.code && e.has_cover && (KD(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-var QD = .704;
-function $D(e, t) {
+var qD = .704;
+function JD(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Wce = (e, t) => [
+var Xce = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], Gce = (e, t) => [
+], Zce = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Kce(e, t, n, r, i) {
+async function Qce(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await K(`/api/items?${a}`, i), s = {
@@ -32995,22 +33003,22 @@ async function Kce(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await K("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var qce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Jce = (e, t) => {
+var $ce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, ele = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function eO(e) {
- let t = $D(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function YD(e) {
+ let t = JD(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Wce(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => Kce(t, e, n, r, i),
+ queryKey: Xce(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => Qce(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: qce(n)
+ getNextPageParam: $ce(n)
};
}
-function Yce(e) {
+function tle(e) {
return {
- queryKey: Gce(e.entityKey || "", e.revision || 0),
+ queryKey: Zce(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -33025,12 +33033,12 @@ function Yce(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Jce
+ getNextPageParam: ele
};
}
-async function Xce(e, t) {
+async function nle(e, t) {
if (e.mode !== "catalog") return;
- let n = eO(e);
+ let n = YD(e);
await z.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -33039,7 +33047,7 @@ async function Xce(e, t) {
})
});
}
-function Zce(e, t, n) {
+function rle(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -33054,24 +33062,24 @@ function Zce(e, t, n) {
return !0;
}) : [...e];
}
-var tO = (e, t) => !!e && !!Uce(e, t);
-function Qce(e, t) {
- let n = (e) => tO(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => tO(e, t)) || e[e.length - 1];
+var XD = (e, t) => !!e && !!Yce(e, t);
+function ile(e, t) {
+ let n = (e) => XD(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => XD(e, t)) || e[e.length - 1];
}
-function $ce(e, { collapse: t, mix: n, javImage: r }) {
+function ale(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = Zce(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = rle(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = Qce(e, r);
+ let t = ile(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -33084,16 +33092,16 @@ function $ce(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function ele(e, t, n) {
+function ole(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function tle(e, t) {
+function sle(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function nle(e, t) {
+function cle(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -33106,10 +33114,10 @@ function nle(e, t) {
strip: null
}), r;
}
-function nO(e, t) {
- rO((t) => t.id === e, t);
+function ZD(e, t) {
+ QD((t) => t.id === e, t);
}
-function rO(e, t) {
+function QD(e, t) {
z.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -33126,31 +33134,31 @@ function rO(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var iO = (e) => ["item", e], aO = (e) => [
+var $D = (e) => ["item", e], eO = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], rle = (e, t) => [
+], lle = (e, t) => [
"item-related",
e,
t
-], ile = (e) => `/api/item?id=${e}`, ale = (e, t) => `/api/related?id=${e}&limit=${t}`, oO = "/api/playlist", sO = "/api/feedback", cO = "/api/item-tag", lO = "/api/watch-later", uO = "/api/quality-goal", dO = "/api/preference", fO = class extends Error {};
-async function pO(e, t) {
- let n = await K(ile(e), t);
- if (n.error) throw new fO(n.error);
+], ule = (e) => `/api/item?id=${e}`, dle = (e, t) => `/api/related?id=${e}&limit=${t}`, tO = "/api/playlist", nO = "/api/feedback", rO = "/api/item-tag", iO = "/api/watch-later", aO = "/api/quality-goal", oO = "/api/preference", sO = class extends Error {};
+async function cO(e, t) {
+ let n = await K(ule(e), t);
+ if (n.error) throw new sO(n.error);
return n;
}
-async function mO(e, t, n) {
+async function lO(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([pO(r, n), t.mixRelated(r)]);
- return z.setQueryData(iO(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([cO(r, n), t.mixRelated(r)]);
+ return z.setQueryData($D(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${be(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return hO(await K(`${oO}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return uO(await K(`${tO}?id=${e.playlistId}`, n));
let r = await K(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -33160,19 +33168,19 @@ async function mO(e, t, n) {
items: r.items
};
}
-var hO = (e) => ({
+var uO = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), gO = (e) => e.disposal === "vanished";
-function _O(e, t) {
+}), dO = (e) => e.disposal === "vanished";
+function fO(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !gO(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !dO(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function ole(e, t) {
+function fle(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -33180,15 +33188,15 @@ function ole(e, t) {
part_label: n
};
}
-async function sle(e, t) {
+async function ple(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = aO(n);
+ let o = eO(n);
try {
let r = n.fresh ? void 0 : z.getQueryData(o);
a = !r && n.kind === "mix", i = r || await z.fetchQuery({
queryKey: o,
- queryFn: () => mO(n, e.helpers, t),
+ queryFn: () => lO(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -33200,20 +33208,20 @@ async function sle(e, t) {
return;
}
}
- let o = i ? _O(i, e.id) : e.id;
+ let o = i ? fO(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? z.getQueryData(iO(o)) : void 0;
+ let s, c = a && o === i?.seedId ? z.getQueryData($D(o)) : void 0;
try {
s = c || await z.fetchQuery({
- queryKey: iO(o),
- queryFn: () => pO(o, t),
+ queryKey: $D(o),
+ queryFn: () => cO(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof fO) {
+ if (e instanceof sO) {
r.redirect({ kind: "gone" });
return;
}
@@ -33224,7 +33232,7 @@ async function sle(e, t) {
id: Number(s.follow_item_id)
});
}
-function cle(e) {
+function mle(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = re(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -33246,42 +33254,42 @@ function cle(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var vO = (e) => Math.min(Math.max(e || 0, 0), 100), yO = (e) => Math.round(vO(e) / 20), lle = (e) => {
- let t = yO(e);
+var pO = (e) => Math.min(Math.max(e || 0, 0), 100), mO = (e) => Math.round(pO(e) / 20), hle = (e) => {
+ let t = mO(e);
return t ? `${t} 星` : "未评分";
-}, ule = (e, t) => {
+}, gle = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function dle(e, t) {
+function _le(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = re(t.tagLabel(e.k)), i = n.get(r);
(!i || re(e.k) === r && re(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var bO = (e, t) => (e.tags || []).some((e) => re(e.k) === re(t)), xO = (e, t) => ({
+var hO = (e, t) => (e.tags || []).some((e) => re(e.k) === re(t)), gO = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => re(e.k) !== re(t))
-}), SO = (e, t) => bO(e, t.k) ? e : {
+}), _O = (e, t) => hO(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, CO = "peach.recentTags";
-function wO() {
+}, vO = "peach.recentTags";
+function yO() {
try {
- let e = JSON.parse(localStorage.getItem(CO) || "[]");
+ let e = JSON.parse(localStorage.getItem(vO) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function fle(e) {
+function vle(e) {
try {
- let t = wO().filter((t) => re(t) !== re(e));
- localStorage.setItem(CO, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = yO().filter((t) => re(t) !== re(e));
+ localStorage.setItem(vO, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function ple(e, t, n) {
+function yle(e, t, n) {
let r = re(e), i = new Map(t.map((e) => [re(e.k), e])), a = t.filter((e) => !r || re(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(re(e)) || {
k: e,
n: 0
@@ -33292,73 +33300,73 @@ function ple(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var mle = {
+var ble = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, hle = {
+}, xle = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function gle(e) {
+function Sle(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: hle[e.kind],
+ title: xle[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var TO = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, _le = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${P(TO(e.part_label))}</small>` : "";
-function vle(e, t, n, r) {
+var bO = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Cle = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${P(bO(e.part_label))}</small>` : "";
+function wle(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var yle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function ble(e, t) {
+var Tle = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function Ele(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function xle(e) {
+function Dle(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function EO(e, t) {
+function xO(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var Sle = (e, t, n) => [
+var Ole = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function Cle(e) {
+function kle(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var wle = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function Tle(e, t = Math.random) {
+var Ale = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function jle(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function Ele(e, t) {
- return Tle(((await K(`/api/items?${e}`)).items || []).filter((e) => wle(e, t)));
+async function Mle(e, t) {
+ return jle(((await K(`/api/items?${e}`)).items || []).filter((e) => Ale(e, t)));
}
-var DO = (e) => z.ensureQueryData({
- queryKey: iO(e),
- queryFn: ({ signal: t }) => pO(e, t)
+var SO = (e) => z.ensureQueryData({
+ queryKey: $D(e),
+ queryFn: ({ signal: t }) => cO(e, t)
});
-function Dle(e, t) {
+function Nle(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function Ole(e) {
+function Ple(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -33367,314 +33375,314 @@ function Ole(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function kle(e, t, n) {
+function Fle(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function Ale(e, t) {
+function Ile(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var jle = 15e3, OO = {
+var Lle = 15e3, CO = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, kO = null, AO = null, jO = null, MO = null, NO = OO, PO = 0, FO = 0, IO = 0, LO = "", RO = [], zO = 0, BO = !1, VO = !1, HO = null, UO = /* @__PURE__ */ new Set(), WO = "", GO = null, KO = 0, qO = null, JO = !1;
-function YO() {
- if (!kO) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
- return kO;
-}
-function Mle() {
- return (!AO || !jO?.isConnected) && (AO?.unmount(), jO = document.createElement("div"), jO.dataset.immerseHost = "", document.body.append(jO), AO = (0, Ot.createRoot)(jO)), AO;
-}
-function XO() {
- let e = Mle();
- (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)(Jle, { view: NO }) })));
-}
-function ZO() {
- let e = GO ? bD(GO.id) : 0;
- return e ? `${WO} · ${SD(e)}` : WO;
-}
-function QO(e, t = null) {
- if (clearInterval(KO), KO = 0, e === null) {
- NO = {
- ...NO,
+}, wO = null, TO = null, EO = null, DO = null, OO = CO, kO = 0, AO = 0, jO = 0, MO = "", NO = [], PO = 0, FO = !1, IO = !1, LO = null, RO = /* @__PURE__ */ new Set(), zO = "", BO = null, VO = 0, HO = null, UO = !1;
+function WO() {
+ if (!wO) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
+ return wO;
+}
+function Rle() {
+ return (!TO || !EO?.isConnected) && (TO?.unmount(), EO = document.createElement("div"), EO.dataset.immerseHost = "", document.body.append(EO), TO = (0, Ot.createRoot)(EO)), TO;
+}
+function GO() {
+ let e = Rle();
+ (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(eue, { view: OO }) })));
+}
+function KO() {
+ let e = BO ? hD(BO.id) : 0;
+ return e ? `${zO} · ${_D(e)}` : zO;
+}
+function qO(e, t = null) {
+ if (clearInterval(VO), VO = 0, e === null) {
+ OO = {
+ ...OO,
loading: null
- }, XO();
+ }, GO();
return;
}
- WO = e, GO = t, NO = {
- ...NO,
- loading: ZO()
- }, XO(), KO = window.setInterval(() => {
- GO = RO[zO] ?? null, NO = {
- ...NO,
- loading: ZO()
- }, XO();
+ zO = e, BO = t, OO = {
+ ...OO,
+ loading: KO()
+ }, GO(), VO = window.setInterval(() => {
+ BO = NO[PO] ?? null, OO = {
+ ...OO,
+ loading: KO()
+ }, GO();
}, 500);
}
-function Nle(e) {
+function zle(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), MO.track.append(t);
- let r = OD(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), DO.track.append(t);
+ let r = CD(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => jD(r),
+ release: () => ED(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return UO.add(a), a;
+ return RO.add(a), a;
}
-function Ple(e, t) {
+function Ble(e, t) {
return new Promise((n) => {
- e.release = YD(e.video, {
+ e.release = WD(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- NO.open && ok(1);
+ OO.open && tk(1);
}
}), e.gone.then(n);
});
}
-function $O(e) {
- !e || e.disposed || (e.disposed = !0, UO.delete(e), e.leave(), e.release(), e.el.remove(), HO === e && (HO = null));
+function JO(e) {
+ !e || e.disposed || (e.disposed = !0, RO.delete(e), e.leave(), e.release(), e.el.remove(), LO === e && (LO = null));
}
-var ek = [
+var YO = [
"loadeddata",
"canplay",
"error"
];
-function Fle(e) {
+function Vle(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), ek.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), YO.forEach((e) => t.removeEventListener(e, i)), n());
};
- ek.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, jle);
+ YO.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, Lle);
e.gone.then(i);
});
}
-function tk(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = kle(e.videoWidth, e.videoHeight, n);
+function XO(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Fle(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var nk = () => MO?.track.querySelectorAll("video").forEach(tk);
-function rk(e) {
- delete e.dataset.fit, e.readyState >= 1 ? tk(e) : e.addEventListener("loadedmetadata", () => tk(e), { once: !0 });
+var ZO = () => DO?.track.querySelectorAll("video").forEach(XO);
+function QO(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? XO(e) : e.addEventListener("loadedmetadata", () => XO(e), { once: !0 });
}
-function Ile(e) {
- NO = {
- ...NO,
+function Hle(e) {
+ OO = {
+ ...OO,
wide: e
- }, XO(), nk();
+ }, GO(), ZO();
}
-var ik = () => {
- let e = LO;
+var $O = () => {
+ let e = MO;
return z.fetchQuery({
- queryKey: Sle(e, FO, IO),
- queryFn: () => Ele(e, YO().sourceOffline),
+ queryKey: Ole(e, AO, jO),
+ queryFn: () => Mle(e, WO().sourceOffline),
staleTime: Infinity
});
};
-function Lle(e, t) {
+function Ule(e, t) {
let n = () => se(e.duration) || se(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && MO && (MO.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), qO = {
+ t && DO && (DO.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), HO = {
video: e,
duration: n
};
}
-async function ak(e = 0) {
- let t = RO[zO];
- if (!t || BO) return;
- let n = PO;
- YO().route(t.id), BO = !0, QO(e ? "切换中…" : "加载中…", t);
+async function ek(e = 0) {
+ let t = NO[PO];
+ if (!t || FO) return;
+ let n = kO;
+ WO().route(t.id), FO = !0, qO(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await DO(t.id).catch((e) => {
- if (!(e instanceof fO)) throw e;
- }), n !== PO) return;
- let i = HO, a = !!(e && i);
- a || $O(i);
- let o = Nle(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, rk(o.video), await Ple(o, t), await Fle(o), o.disposed || (Ile(Ale(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await SO(t.id).catch((e) => {
+ if (!(e instanceof sO)) throw e;
+ }), n !== kO) return;
+ let i = LO, a = !!(e && i);
+ a || JO(i);
+ let o = zle(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, QO(o.video), await Ble(o, t), await Vle(o), o.disposed || (Hle(Ile(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), $O(i), o.el.style.transform = ""), o.disposed)) return;
- HO = o, r = null, o.video.play()?.catch(() => {}), NO = {
- ...NO,
+ })), await new Promise((e) => setTimeout(e, 210)), JO(i), o.el.style.transform = ""), o.disposed)) return;
+ LO = o, r = null, o.video.play()?.catch(() => {}), OO = {
+ ...OO,
idle: !1,
shown: {
item: t,
- index: zO,
- length: RO.length
+ index: PO,
+ length: NO.length
}
- }, Lle(o.video, t), q("/api/play", { id: t.id }).catch(() => {}), QO(null);
+ }, Ule(o.video, t), q("/api/play", { id: t.id }).catch(() => {}), qO(null);
} catch {
- $O(r), n === PO && QO(null);
+ JO(r), n === kO && qO(null);
} finally {
- n === PO && (BO = !1);
+ n === kO && (FO = !1);
}
}
-async function ok(e) {
- if (BO || !NO.open) return;
- let t = PO;
- if (zO += e, QO("切换中…", RO[zO] ?? null), zO >= RO.length - 3 && !VO) {
- VO = !0;
+async function tk(e) {
+ if (FO || !OO.open) return;
+ let t = kO;
+ if (PO += e, qO("切换中…", NO[PO] ?? null), PO >= NO.length - 3 && !IO) {
+ IO = !0;
try {
- IO += 1;
- let e = await ik();
- t === PO && (RO = Dle(RO, e));
+ jO += 1;
+ let e = await $O();
+ t === kO && (NO = Nle(NO, e));
} catch {} finally {
- VO = !1;
+ IO = !1;
}
}
- t === PO && (zO >= RO.length && (zO = 0), zO < 0 && (zO = RO.length - 1), await ak(e));
+ t === kO && (PO >= NO.length && (PO = 0), PO < 0 && (PO = NO.length - 1), await ek(e));
}
-async function Rle(e) {
- let t = ++PO;
- sk(), FO += 1, IO = 0, LO = Cle(YO().filters()), z.removeQueries({ queryKey: ["immerse-list"] }), NO = {
- ...NO,
+async function Wle(e) {
+ let t = ++kO;
+ nk(), AO += 1, jO = 0, MO = kle(WO().filters()), z.removeQueries({ queryKey: ["immerse-list"] }), OO = {
+ ...OO,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), QO("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), qO("加载内容…");
try {
- let n = await ik();
+ let n = await $O();
if (e && !n.some((t) => t.id === e)) {
- let t = await DO(e).catch((e) => {
- if (e instanceof fO) return null;
+ let t = await SO(e).catch((e) => {
+ if (e instanceof sO) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== PO) return;
- if (RO = n, !RO.length) {
- ck(), YO().warn("当前筛选下没有可直接播放的内容");
+ if (t !== kO) return;
+ if (NO = n, !NO.length) {
+ rk(), WO().warn("当前筛选下没有可直接播放的内容");
return;
}
- zO = Math.max(0, RO.findIndex((t) => t.id === e)), await ak();
+ PO = Math.max(0, NO.findIndex((t) => t.id === e)), await ek();
} catch {
- if (t !== PO) return;
- QO(null), ck();
+ if (t !== kO) return;
+ qO(null), rk();
}
}
-function sk() {
- clearInterval(KO), KO = 0, mk(), fk = null, qO = null, JO = !1, [...UO].forEach($O), BO = !1;
+function nk() {
+ clearInterval(VO), VO = 0, lk(), sk = null, HO = null, UO = !1, [...RO].forEach(JO), FO = !1;
}
-function ck() {
- NO.open && (PO++, sk(), NO = OO, document.body.removeAttribute("data-immerse-open"), XO(), YO().closed());
+function rk() {
+ OO.open && (kO++, nk(), OO = CO, document.body.removeAttribute("data-immerse-open"), GO(), WO().closed());
}
-var lk = 0, uk = null, dk = 0, fk = null, pk = 0;
-function mk() {
- clearTimeout(lk), lk = 0, uk = null;
+var ik = 0, ak = null, ok = 0, sk = null, ck = 0;
+function lk() {
+ clearTimeout(ik), ik = 0, ak = null;
}
-function zle(e) {
- let t = HO?.video;
+function Gle(e) {
+ let t = LO?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- if (uk && uk.side === n && r - uk.at <= 280) {
- mk(), Hce(t, YO().seekSeconds() * n);
+ if (ak && ak.side === n && r - ak.at <= 280) {
+ lk(), Jce(t, WO().seekSeconds() * n);
return;
}
- lk && (clearTimeout(lk), lk = 0, XD(t)), uk = {
+ ik && (clearTimeout(ik), ik = 0, GD(t)), ak = {
side: n,
at: r
- }, lk = window.setTimeout(() => {
- lk = 0, uk = null, NO.open && XD(HO?.video);
+ }, ik = window.setTimeout(() => {
+ ik = 0, ak = null, OO.open && GD(LO?.video);
}, 280);
}
-function Ble() {
- Date.now() < dk || XD(HO?.video);
+function Kle() {
+ Date.now() < ok || GD(LO?.video);
}
-var hk = (e) => MO?.bar.toggleAttribute("data-scrubbing", e);
-function gk(e) {
- MO && (MO.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var uk = (e) => DO?.bar.toggleAttribute("data-scrubbing", e);
+function dk(e) {
+ DO && (DO.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function _k(e) {
+function fk(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- fk = null;
+ sk = null;
return;
}
- let n = HO?.video;
- fk = {
+ let n = LO?.video;
+ sk = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function vk(e) {
- if (!fk || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - fk.x, n = e.touches[0].clientY - fk.y;
- if (!fk.axis) {
+function pk(e) {
+ if (!sk || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - sk.x, n = e.touches[0].clientY - sk.y;
+ if (!sk.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- fk.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", fk.axis === "x" && hk(!0);
+ sk.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", sk.axis === "x" && uk(!0);
}
- if (fk.axis !== "x") return;
- let r = HO?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), fk.to = Math.min(i, Math.max(0, fk.from + t / window.innerWidth * i)), gk(fk.to / i));
+ if (sk.axis !== "x") return;
+ let r = LO?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), sk.to = Math.min(i, Math.max(0, sk.from + t / window.innerWidth * i)), dk(sk.to / i));
}
-function yk(e) {
- if (!fk) return;
- let t = fk;
- if (fk = null, dk = Date.now() + 700, hk(!1), t.axis === "x") {
- let e = HO?.video;
+function mk(e) {
+ if (!sk) return;
+ let t = sk;
+ if (sk = null, ok = Date.now() + 700, uk(!1), t.axis === "x") {
+ let e = LO?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
if (Math.abs(i) > 60) {
- mk(), ok(i > 0 ? 1 : -1);
+ lk(), tk(i > 0 ? 1 : -1);
return;
}
- Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), zle(n.clientX));
+ Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Gle(n.clientX));
}
-function bk() {
- fk = null, hk(!1);
+function hk() {
+ sk = null, uk(!1);
}
-function xk(e) {
+function gk(e) {
let t = Date.now();
- t - pk < 260 || (pk = t, ok(e.deltaY > 0 ? 1 : -1));
+ t - ck < 260 || (ck = t, tk(e.deltaY > 0 ? 1 : -1));
}
-function Sk(e) {
- let t = MO.bar.getBoundingClientRect();
+function _k(e) {
+ let t = DO.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function Ck(e) {
- qO?.duration() && (JO = !0, hk(!0), e.currentTarget.setPointerCapture(e.pointerId), gk(Sk(e)), e.preventDefault());
+function vk(e) {
+ HO?.duration() && (UO = !0, uk(!0), e.currentTarget.setPointerCapture(e.pointerId), dk(_k(e)), e.preventDefault());
}
-function Vle(e) {
- JO && gk(Sk(e));
+function qle(e) {
+ UO && dk(_k(e));
}
-function Hle(e) {
- if (!JO) return;
- JO = !1, hk(!1);
- let t = qO?.duration();
- qO && t && (qO.video.currentTime = t * Sk(e));
+function Jle(e) {
+ if (!UO) return;
+ UO = !1, uk(!1);
+ let t = HO?.duration();
+ HO && t && (HO.video.currentTime = t * _k(e));
}
-function Ule() {
- JO = !1, hk(!1);
+function Yle() {
+ UO = !1, uk(!1);
}
-async function wk(e, t) {
- let n = await q(sO, {
+async function yk(e, t) {
+ let n = await q(nO, {
id: e,
kind: t
- }), r = z.getQueryData(iO(e));
- if (!r) return nO(e, {
+ }), r = z.getQueryData($D(e));
+ if (!r) return ZD(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -33683,7 +33691,7 @@ async function wk(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return z.setQueryData(iO(e), i), nO(e, {
+ return z.setQueryData($D(e), i), ZD(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -33691,7 +33699,7 @@ async function wk(e, t) {
o_count: i.o_count
}), n;
}
-var Wle = [
+var Xle = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -33708,31 +33716,31 @@ var Wle = [
label: "记一次高潮"
}
];
-function Tk(e) {
- return bw({
- queryKey: iO(e ?? 0),
- queryFn: ({ signal: t }) => pO(e, t),
+function bk(e) {
+ return gw({
+ queryKey: $D(e ?? 0),
+ queryFn: ({ signal: t }) => cO(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Gle({ kind: e, glyph: t, label: n, id: r }) {
- let i = Tk(r), a = Cw({
+function Zle({ kind: e, glyph: t, label: n, id: r }) {
+ let i = bk(r), a = yw({
mutationFn: async (t) => {
- let n = z.getQueryData(iO(t))?.feedback || null;
+ let n = z.getQueryData($D(t))?.feedback || null;
return {
- result: await wk(t, e),
+ result: await yk(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- YO().toast(EO(e, t), { undo: async () => {
- e === "o" ? await wk(r, "o-undo") : (t.feedback && await wk(r, t.feedback), n && await wk(r, n));
+ WO().toast(xO(e, t), { undo: async () => {
+ e === "o" ? await yk(r, "o-undo") : (t.feedback && await yk(r, t.feedback), n && await yk(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- ok(1);
+ tk(1);
}, 260);
},
- onError: (e) => YO().failure("更新反馈", e)
+ onError: (e) => WO().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-immerse-action": "",
@@ -33763,11 +33771,11 @@ function Gle({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Kle({ shown: e }) {
- let t = e?.item ?? null, n = Tk(t?.id ?? null), r = n ? Ole(n) : null, i = YO(), a = (e) => {
- e.preventDefault(), n && (ck(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function Qle({ shown: e }) {
+ let t = e?.item ?? null, n = bk(t?.id ?? null), r = n ? Ple(n) : null, i = WO(), a = (e) => {
+ e.preventDefault(), n && (rk(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (ck(), i.openItem(t.id));
+ t && (rk(), i.openItem(t.id));
}, s = r ? ue(r.name, r.ref, Oe(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-immerse-ui": "",
@@ -33796,18 +33804,18 @@ function Kle({ shown: e }) {
})]
});
}
-var qle = { __html: w("媒体加载中") };
-function Jle({ view: e }) {
+var $le = { __html: w("媒体加载中") };
+function eue({ view: e }) {
let t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = (0, B.useRef)(null), i = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => {
let e = t.current;
- return MO = {
+ return DO = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", _k, { passive: !0 }), e.addEventListener("touchmove", vk, { passive: !1 }), e.addEventListener("touchend", yk, { passive: !1 }), e.addEventListener("touchcancel", bk, { passive: !0 }), e.addEventListener("wheel", xk, { passive: !0 }), () => {
- e.removeEventListener("touchstart", _k), e.removeEventListener("touchmove", vk), e.removeEventListener("touchend", yk), e.removeEventListener("touchcancel", bk), e.removeEventListener("wheel", xk), MO = null;
+ }, e.addEventListener("touchstart", fk, { passive: !0 }), e.addEventListener("touchmove", pk, { passive: !1 }), e.addEventListener("touchend", mk, { passive: !1 }), e.addEventListener("touchcancel", hk, { passive: !0 }), e.addEventListener("wheel", gk, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", fk), e.removeEventListener("touchmove", pk), e.removeEventListener("touchend", mk), e.removeEventListener("touchcancel", hk), e.removeEventListener("wheel", gk), DO = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -33824,10 +33832,10 @@ function Jle({ view: e }) {
children: [/* @__PURE__ */ (0, H.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: Ble
+ onClick: Kle
}), /* @__PURE__ */ (0, H.jsx)("div", {
"data-immerse-actions": "",
- children: Wle.map((e) => /* @__PURE__ */ (0, H.jsx)(Gle, {
+ children: Xle.map((e) => /* @__PURE__ */ (0, H.jsx)(Zle, {
...e,
id: a
}, e.kind))
@@ -33840,7 +33848,7 @@ function Jle({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, H.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: qle
+ dangerouslySetInnerHTML: $le
}), /* @__PURE__ */ (0, H.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, H.jsx)("button", {
@@ -33848,7 +33856,7 @@ function Jle({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: ck,
+ onClick: rk,
children: /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-x" })
@@ -33857,71 +33865,71 @@ function Jle({ view: e }) {
/* @__PURE__ */ (0, H.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: Ck,
- onPointerMove: Vle,
- onPointerUp: Hle,
- onPointerCancel: Ule,
+ onPointerDown: vk,
+ onPointerMove: qle,
+ onPointerUp: Jle,
+ onPointerCancel: Yle,
children: /* @__PURE__ */ (0, H.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, H.jsx)(Kle, { shown: e.shown })
+ /* @__PURE__ */ (0, H.jsx)(Qle, { shown: e.shown })
]
});
}
-var Yle = {
- open: Rle,
- close: ck,
- isOpen: () => NO.open,
- activeVideo: () => NO.open ? HO?.video ?? null : null
+var tue = {
+ open: Wle,
+ close: rk,
+ isOpen: () => OO.open,
+ activeVideo: () => OO.open ? LO?.video ?? null : null
};
-function Xle(e) {
- if (!NO.open) return;
+function nue(e) {
+ if (!OO.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && ok(1), e.key === "ArrowUp" && ok(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && tk(1), e.key === "ArrowUp" && tk(-1));
}
-function Zle(e) {
- let t = !kO;
- return kO = e, XO(), t && (document.addEventListener("keydown", Xle), addEventListener("resize", () => {
- NO.open && nk();
+function rue(e) {
+ let t = !wO;
+ return wO = e, GO(), t && (document.addEventListener("keydown", nue), addEventListener("resize", () => {
+ OO.open && ZO();
}), addEventListener("pagehide", () => {
- UO.forEach((e) => jD(e.session));
- })), Yle;
+ RO.forEach((e) => ED(e.session));
+ })), tue;
}
//#endregion
//#region src/manage-header.ts
-var Qle = {
+var iue = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, $le = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), eue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function tue(e) {
+}, aue = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), oue = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function sue(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = Qle[e.path] ?? "";
+ let n = iue[e.path] ?? "";
return {
- title: e.section === "cleanup" && n || t[1],
+ title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
crumb: n,
- compact: $le.has(e.path) || e.section === "configuration",
+ compact: aue.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: eue(e.trash),
+ text: oue(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var nue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+var cue = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function Ek({ name: e }) {
+function xk({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function rue({ name: e }) {
+function lue({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -33930,29 +33938,29 @@ function rue({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var Dk = null, Ok = null, kk = null;
-function iue() {
- let e = Dk, t = kk;
- !e || !Ok || !t || (0, Dt.flushSync)(() => Ok.render(/* @__PURE__ */ (0, H.jsx)(sue, {
+var Sk = null, Ck = null, wk = null;
+function uue() {
+ let e = Sk, t = wk;
+ !e || !Ck || !t || (0, Dt.flushSync)(() => Ck.render(/* @__PURE__ */ (0, H.jsx)(pue, {
host: e,
props: t
})));
}
-var aue = { render(e) {
- kk = e, iue();
+var due = { render(e) {
+ wk = e, uue();
} };
-function oue(e) {
- return Dk = e, kk = null, e.root.replaceChildren(), Ok = (0, Ot.createRoot)(e.root), aue;
+function fue(e) {
+ return Sk = e, wk = null, e.root.replaceChildren(), Ck = (0, Ot.createRoot)(e.root), due;
}
-function sue({ host: e, props: t }) {
- let n = tue(t);
+function pue({ host: e, props: t }) {
+ let n = sue(t);
return n ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(cue, {
+ /* @__PURE__ */ (0, H.jsx)(mue, {
host: e,
section: t.section,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, H.jsx)(lue, {
+ n.crumb ? /* @__PURE__ */ (0, H.jsx)(hue, {
host: e,
label: n.crumb
}) : null,
@@ -33961,29 +33969,29 @@ function sue({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, H.jsx)(uue, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, H.jsx)(gue, {
host: e,
lede: n.lede
})
] }) : null;
}
-var Ak = null;
-function jk(e, t, n) {
+var Tk = null;
+function Ek(e, t, n) {
e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);
}
-function cue({ host: e, section: t, menu: n }) {
+function mue({ host: e, section: t, menu: n }) {
let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = () => {
let e = r.current, t = i.current;
if (!e || !t) return;
let n = e.querySelector("button[aria-pressed=\"true\"]");
- n && !n.offsetWidth || (jk(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (Ak = {
+ n && !n.offsetWidth || (Ek(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (Tk = {
x: n.offsetLeft,
width: n.offsetWidth
}));
};
return (0, B.useLayoutEffect)(() => {
let e = r.current, t = i.current;
- Ak ? jk(t, Ak.x, Ak.width) : a();
+ Tk ? Ek(t, Tk.x, Tk.width) : a();
let n = 0, o = requestAnimationFrame(() => {
t.setAttribute("data-ready", ""), n = requestAnimationFrame(a);
}), s = new ResizeObserver(a);
@@ -34006,7 +34014,7 @@ function cue({ host: e, section: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, H.jsx)(Ek, { name: i }), /* @__PURE__ */ (0, H.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: i }), /* @__PURE__ */ (0, H.jsx)("span", { children: r })]
}, n);
}), /* @__PURE__ */ (0, H.jsx)("span", {
ref: i,
@@ -34016,7 +34024,7 @@ function cue({ host: e, section: t, menu: n }) {
})
});
}
-function lue({ host: e, label: t }) {
+function hue({ host: e, label: t }) {
return /* @__PURE__ */ (0, H.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -34026,20 +34034,20 @@ function lue({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-right" })] }), /* @__PURE__ */ (0, H.jsx)("li", {
+ }), /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-right" })] }), /* @__PURE__ */ (0, H.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, H.jsx)("span", { children: t })
})] })
});
}
-function uue({ host: e, lede: t }) {
+function gue({ host: e, lede: t }) {
return /* @__PURE__ */ (0, H.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: nue }
- }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(due, { text: t.text }), t.total ? /* @__PURE__ */ (0, H.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: cue }
+ }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(_ue, { text: t.text }), t.total ? /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -34049,7 +34057,7 @@ function uue({ host: e, lede: t }) {
}) : null] })
});
}
-function due({ text: e }) {
+function _ue({ text: e }) {
let t = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
T(t.current, e);
@@ -34060,7 +34068,7 @@ function due({ text: e }) {
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var Mk = fr({
+var Dk = fr({
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",
@@ -34079,25 +34087,25 @@ var Mk = fr({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function Nk({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function Ok({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, H.jsx)("span", {
ref: r,
- className: dr(Mk.base, Mk.variant[e], Mk.color[t], n),
+ className: dr(Dk.base, Dk.variant[e], Dk.color[t], n),
...i
});
}
//#endregion
//#region src/react/components/empty-state.tsx
-var fue = {
+var vue = {
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 Pk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function kk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${fue[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${vue[i]}`,
children: [
a ? /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
@@ -34127,7 +34135,7 @@ function Pk({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/page.tsx
-function Fk({ children: e }) {
+function Ak({ children: e }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -34135,7 +34143,7 @@ function Fk({ children: e }) {
}
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function pue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+function yue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
return /* @__PURE__ */ (0, H.jsxs)(yc, {
"data-label": "true",
...a,
@@ -34147,7 +34155,7 @@ function pue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, H.jsx)(Zae, {
+ n && /* @__PURE__ */ (0, H.jsx)(noe, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -34156,7 +34164,7 @@ function pue({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function mue({ isInvalid: e = !1, className: t, ...n }) {
+function bue({ isInvalid: e = !1, className: t, ...n }) {
return /* @__PURE__ */ (0, H.jsx)(Fc, {
slot: e ? "errorMessage" : "description",
...n,
@@ -34165,15 +34173,15 @@ function mue({ isInvalid: e = !1, className: t, ...n }) {
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var Ik = (0, B.createContext)({});
-function Lk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, H.jsx)(Ik.Provider, {
+var jk = (0, B.createContext)({});
+function Mk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, H.jsx)(jk.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, H.jsx)(jte, {
+ children: /* @__PURE__ */ (0, H.jsx)(Mte, {
...a,
"data-input-size": e,
className: dr("group flex h-max w-full flex-col items-start gap-1", r),
@@ -34181,8 +34189,8 @@ function Lk({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-Lk.displayName = "TextField";
-var Rk = fr({
+Mk.displayName = "TextField";
+var Nk = fr({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -34211,44 +34219,44 @@ var Rk = fr({
].join(" "),
icon: "size-5 shrink-0"
});
-function zk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, B.useContext)(Ik), u = e ?? l.size ?? "medium", d = r != null;
+function Pk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, B.useContext)(jk), u = e ?? l.size ?? "medium", d = r != null;
return /* @__PURE__ */ (0, H.jsx)(kl, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => dr(Rk.field, d ? Rk.fieldWithAddonSize[u] : Rk.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 }) => dr(Nk.field, d ? Nk.fieldWithAddonSize[u] : Nk.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, H.jsxs)("div", {
- className: Rk.content,
+ className: Nk.content,
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Rk.leftSection,
+ className: Nk.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, H.jsx)(t, {
- className: Rk.icon,
+ className: Nk.icon,
"aria-hidden": !0
}) : null, /* @__PURE__ */ (0, H.jsx)(Ml, {
ref: o,
...c,
- className: dr(Rk.input, l.inputClassName, a)
+ className: dr(Nk.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, H.jsx)(n, {
- className: Rk.icon,
+ className: Nk.icon,
"aria-hidden": !0
}) : null]
})
});
}
-zk.displayName = "InputBase";
-function Bk({ 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, H.jsx)(Lk, {
+Pk.displayName = "InputBase";
+function Fk({ 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, H.jsx)(Mk, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- e && /* @__PURE__ */ (0, H.jsx)(pue, {
+ e && /* @__PURE__ */ (0, H.jsx)(yue, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, H.jsx)(zk, {
+ /* @__PURE__ */ (0, H.jsx)(Pk, {
ref: c,
groupRef: l,
placeholder: r,
@@ -34257,17 +34265,17 @@ function Bk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, H.jsx)(mue, {
+ t && /* @__PURE__ */ (0, H.jsx)(bue, {
isInvalid: d,
children: t
})
] })
});
}
-Bk.displayName = "Input";
+Fk.displayName = "Input";
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function hue(e) {
+function xue(e) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -34281,7 +34289,7 @@ function hue(e) {
})
});
}
-function gue(e) {
+function Sue(e) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -34295,7 +34303,7 @@ function gue(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function _ue(e, t, n) {
+function Cue(e, t, n) {
(0, B.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -34309,7 +34317,7 @@ function _ue(e, t, n) {
n
]);
}
-function vue(e, t) {
+function wue(e, t) {
let n = (0, B.useRef)(!1);
return (0, B.useEffect)(() => {
if (!e) return;
@@ -34323,11 +34331,11 @@ function vue(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Vk = (0, B.createContext)("md");
-function Hk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Ik = (0, B.createContext)("md");
+function Lk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, B.useRef)(null), u = (0, B.useRef)(null), [d, f] = (0, B.useState)(!1);
- _ue(d, () => f(!1), [l, u]);
- let p = vue(d, l);
+ Cue(d, () => f(!1), [l, u]);
+ let p = wue(d, l);
return /* @__PURE__ */ (0, H.jsx)(See, {
ref: s,
...c,
@@ -34340,16 +34348,16 @@ function Hk({ className: e, triggerClassName: t, popoverClassName: n, size: r =
children: [/* @__PURE__ */ (0, H.jsx)(Tee, {
className: dr("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, H.jsx)(hue, { className: dr("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, H.jsx)(xue, { className: dr("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
}), /* @__PURE__ */ (0, H.jsx)(nm, {
ref: u,
isNonModal: !0,
offset: 4,
- className: dr(coe, aT, "p-2", n),
+ className: dr(poe, tT, "p-2", n),
children: /* @__PURE__ */ (0, H.jsx)(ef, {
items: a,
- className: dr(loe, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, H.jsx)(Vk.Provider, {
+ className: dr(moe, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, H.jsx)(Ik.Provider, {
value: r,
children: i
})
@@ -34357,21 +34365,21 @@ function Hk({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Uk({ className: e, children: t, ...n }) {
- let r = (0, B.useContext)(Vk);
+function Rk({ className: e, children: t, ...n }) {
+ let r = (0, B.useContext)(Ik);
return /* @__PURE__ */ (0, H.jsx)(af, {
...n,
- className: (t) => dr(oT, 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) => dr(nT, 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/activity/tasks.ts
-var Wk = "/api/tasks", Gk = ["tasks"], yue = (e, t) => K(`${Wk}?${new URLSearchParams({
+var zk = "/api/tasks", Bk = ["tasks"], Tue = (e, t) => K(`${zk}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Kk(...e) {
+function Vk(...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) => {
@@ -34379,26 +34387,26 @@ function Kk(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var bue = 2e3, xue = 1e4, Sue = (e) => e?.running.length ? bue : xue, qk = (e) => K(Wk, e);
-async function Cue(e) {
+var Eue = 2e3, Due = 1e4, Oue = (e) => e?.running.length ? Eue : Due, Hk = (e) => K(zk, e);
+async function kue(e) {
await z.fetchQuery({
- queryKey: Gk,
- queryFn: () => qk(e)
+ queryKey: Bk,
+ queryFn: () => Hk(e)
});
}
-var Jk = {
+var Uk = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, wue = {
+}, Aue = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, Tue = (e) => wue[e] || e, Eue = {
+}, jue = (e) => Aue[e] || e, Mue = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -34428,7 +34436,7 @@ var Jk = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Due(e) {
+function Nue(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -34437,7 +34445,7 @@ function Due(e) {
}
return t;
}
-function Oue(e, t) {
+function Pue(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -34459,19 +34467,19 @@ function Oue(e, t) {
}
return n;
}
-var kue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Yk = (e) => e.status === "pending" || e.status === "running";
-function Aue(e) {
+var Fue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Wk = (e) => e.status === "pending" || e.status === "running";
+function Iue(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || Qk(e.result_summary) || (Yk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || qk(e.result_summary) || (Wk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function Xk(e) {
+function Gk(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
let n = Math.floor(t / 60);
return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;
}
-function Zk(e) {
+function Kk(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -34481,7 +34489,7 @@ function Zk(e) {
minute: "2-digit"
});
}
-var jue = /* @__PURE__ */ new Set([
+var Lue = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -34490,23 +34498,23 @@ var jue = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function Qk(e) {
- return Object.entries(e || {}).filter(([e, t]) => !jue.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Eue[e] || e} ${t}`).join(" · ");
+function qk(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !Lue.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Mue[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/resource-search.tsx
-function Mue({ className: e }) {
+function Rue({ className: e }) {
return /* @__PURE__ */ (0, H.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: w("") }
});
}
-function Nue(e) {
+function zue(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function Pue({ initialCode: e, reason: t, choose: n }) {
- let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => Nue(t)), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(""), [h, g] = (0, B.useState)(""), _ = _T(), v = () => {
+function Bue({ initialCode: e, reason: t, choose: n }) {
+ let [r, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(() => zue(t)), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(""), [h, g] = (0, B.useState)(""), _ = pT(), v = () => {
if (!r.trim() || _.busy) return;
let e = new URLSearchParams({
code: r.trim(),
@@ -34523,17 +34531,17 @@ function Pue({ initialCode: e, reason: t, choose: n }) {
"aria-busy": !!_.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ t ? /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "搜索资源",
value: r,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
- leadingIcon: _.busy ? Mue : Zw,
+ leadingIcon: _.busy ? Rue : qw,
isReadOnly: !!_.busy,
"aria-busy": !!_.busy,
onChange: i,
@@ -34543,7 +34551,7 @@ function Pue({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "优先寻找" }), /* @__PURE__ */ (0, H.jsxs)(Hk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "优先寻找" }), /* @__PURE__ */ (0, H.jsxs)(Lk, {
"aria-label": "优先寻找",
selectedKey: a,
isDisabled: !!_.busy,
@@ -34551,15 +34559,15 @@ function Pue({ initialCode: e, reason: t, choose: n }) {
e !== null && o(String(e));
},
children: [
- /* @__PURE__ */ (0, H.jsx)(Uk, {
+ /* @__PURE__ */ (0, H.jsx)(Rk, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, H.jsx)(Uk, {
+ /* @__PURE__ */ (0, H.jsx)(Rk, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, H.jsx)(Uk, {
+ /* @__PURE__ */ (0, H.jsx)(Rk, {
id: "uncensored",
children: "无码"
})
@@ -34568,33 +34576,33 @@ function Pue({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: s,
onChange: c
- }), /* @__PURE__ */ (0, H.jsx)(Bk, {
+ }), /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
})]
}),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
- _.busy ? /* @__PURE__ */ (0, H.jsx)(AT, {
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
+ _.busy ? /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: "正在搜索资源"
}) : null,
- _.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: _.error }) : null,
- d?.error ? /* @__PURE__ */ (0, H.jsx)(AT, {
+ _.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: _.error }) : null,
+ d?.error ? /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: d.error
}) : null,
- d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, H.jsx)(AT, {
+ d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- d?.warnings.map((e) => /* @__PURE__ */ (0, H.jsx)(AT, { children: e }, e)),
+ d?.warnings.map((e) => /* @__PURE__ */ (0, H.jsx)(ET, { children: e }, e)),
d?.items.length ? /* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: d.items.map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
@@ -34604,7 +34612,7 @@ function Pue({ initialCode: e, reason: t, choose: n }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: [
`${(e.size / 1024 ** 3).toFixed(2)} GiB`,
`${e.seeders} 个做种`,
e.resolution ? `${e.resolution}p` : "",
@@ -34630,23 +34638,23 @@ function Pue({ initialCode: e, reason: t, choose: n }) {
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var $k = "/api/downloads", eA = ["downloads"], Fue = "/api/downloads/cancel", Iue = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Lue = {
+var Jk = "/api/downloads", Yk = ["downloads"], Vue = "/api/downloads/cancel", Hue = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Uue = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Rue = {
+}, Wue = {
submitted: "已提交,远端开始下载后这里会显示进度。",
adopted: "这个磁力已经有任务了,接着跟进那一条,没有重复提交。",
adopted_remote: "远端已经有同一个任务,已接管,没有再扣配额。",
refused: "这个资源被判为违规,不再提交。",
failed: "提交没有成功。"
-}, zue = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, tA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function Bue({ prefill: e }) {
- let t = bw({
- queryKey: eA,
- queryFn: ({ signal: e }) => K(`${$k}?limit=50`, e),
- refetchInterval: (e) => Iue(e.state.data)
+}, Gue = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, Xk = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function Kue({ prefill: e }) {
+ let t = gw({
+ queryKey: Yk,
+ queryFn: ({ signal: e }) => K(`${Jk}?limit=50`, e),
+ refetchInterval: (e) => Hue(e.state.data)
}), n = t.data;
if (!n) return t.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -34658,7 +34666,7 @@ function Bue({ prefill: e }) {
tone: "error",
children: G(t.error)
}) : null,
- n.available ? r.length ? /* @__PURE__ */ (0, H.jsx)(Vue, {
+ n.available ? r.length ? /* @__PURE__ */ (0, H.jsx)(que, {
snapshot: n,
prefill: e
}) : /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -34671,15 +34679,15 @@ function Bue({ prefill: e }) {
n.tasks.length ? /* @__PURE__ */ (0, H.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, H.jsx)(Uue, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, H.jsx)(Yue, {
task: e,
writable: n.available
}, e.id))
}) : null
] });
}
-function Vue({ snapshot: e, prefill: t }) {
- let n = iw(), r = e.providers.filter((e) => e.configured), [i, a] = (0, B.useState)(r[0].key), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(t?.code ?? ""), [u, d] = (0, B.useState)(r[0].target), [f, p] = (0, B.useState)(null), m = _T(), h = (0, B.useRef)(null);
+function que({ snapshot: e, prefill: t }) {
+ let n = ew(), r = e.providers.filter((e) => e.configured), [i, a] = (0, B.useState)(r[0].key), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(t?.code ?? ""), [u, d] = (0, B.useState)(r[0].target), [f, p] = (0, B.useState)(null), m = pT(), h = (0, B.useRef)(null);
(0, B.useEffect)(() => {
t && h.current?.focus();
}, [t]);
@@ -34699,21 +34707,21 @@ function Vue({ snapshot: e, prefill: t }) {
title: t?.title,
origin: t?.origin
};
- p(null), m.run("submit", (e) => q($k, r, "POST", e), (e) => {
- p(e), e.ok && s(""), n.invalidateQueries({ queryKey: eA });
+ p(null), m.run("submit", (e) => q(Jk, r, "POST", e), (e) => {
+ p(e), e.ok && s(""), n.invalidateQueries({ queryKey: Yk });
});
},
- children: /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
- /* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- /* @__PURE__ */ (0, H.jsx)(Pue, {
+ children: /* @__PURE__ */ (0, H.jsxs)(yT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(Bue, {
initialCode: t?.code ?? "",
reason: t?.searchReason,
choose: (e, t) => {
s(e), l(t), h.current?.focus();
}
}),
- t?.title ? /* @__PURE__ */ (0, H.jsx)(AT, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ t?.title ? /* @__PURE__ */ (0, H.jsx)(ET, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
ref: h,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -34724,19 +34732,19 @@ function Vue({ snapshot: e, prefill: t }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "下载到" }), /* @__PURE__ */ (0, H.jsx)(Hk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "下载到" }), /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "下载到",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && _(String(e));
},
- children: r.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: r.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e.key,
children: e.label
}, e.key))
})]
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "目标目录",
placeholder: g.target || "/云下载",
autoComplete: "off",
@@ -34745,7 +34753,7 @@ function Vue({ snapshot: e, prefill: t }) {
value: u,
onChange: d
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -34754,15 +34762,15 @@ function Vue({ snapshot: e, prefill: t }) {
onChange: l
})
] }),
- f ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ f ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(Hue, { result: f })
+ children: /* @__PURE__ */ (0, H.jsx)(Jue, { result: f })
}) : null,
- m.error ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ m.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(jT, { children: m.error })
+ children: /* @__PURE__ */ (0, H.jsx)(DT, { children: m.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(kT, {
+ /* @__PURE__ */ (0, H.jsx)(TT, {
status: i === "115" ? "115 每提交一次扣一条离线配额,重新提交也算。" : void 0,
children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
@@ -34774,23 +34782,23 @@ function Vue({ snapshot: e, prefill: t }) {
] })
});
}
-function Hue({ result: e }) {
- let t = tA(e.task), n = Rue[e.outcome];
- return e.outcome === "failed" ? /* @__PURE__ */ (0, H.jsx)(jT, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, H.jsx)(jT, { children: n }) : /* @__PURE__ */ (0, H.jsx)(AT, {
+function Jue({ result: e }) {
+ let t = Xk(e.task), n = Wue[e.outcome];
+ return e.outcome === "failed" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: n }) : /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: n
});
}
-function Uue({ task: e, writable: t }) {
- let n = iw(), r = _T(), [i, a] = (0, B.useState)(!1), o = tA(e), s = e.state === "failed", c = [
+function Yue({ task: e, writable: t }) {
+ let n = ew(), r = pT(), [i, a] = (0, B.useState)(!1), o = Xk(e), s = e.state === "failed", c = [
e.provider_label,
e.code,
e.target,
- Zk(e.submitted_at)
+ Kk(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: eA });
+ n.invalidateQueries({ queryKey: Yk });
}, u = () => {
- r.run("cancel", (t) => q(Fue, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => q(Vue, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -34800,14 +34808,14 @@ function Uue({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => q($k, t, "POST", e), l);
+ r.run("resubmit", (e) => q(Jk, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
};
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: cT({
+ className: iT({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -34819,9 +34827,9 @@ function Uue({ task: e, writable: t }) {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: zue(e)
- }), /* @__PURE__ */ (0, H.jsx)(Nk, {
- color: Lue[e.state] ?? "neutral",
+ children: Gue(e)
+ }), /* @__PURE__ */ (0, H.jsx)(Ok, {
+ color: Uue[e.state] ?? "neutral",
children: e.state_label
})]
}),
@@ -34829,7 +34837,7 @@ function Uue({ task: e, writable: t }) {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: c
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, H.jsx)(xT, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, H.jsx)(_T, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -34838,7 +34846,7 @@ function Uue({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: r.error }) : null,
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -34876,23 +34884,23 @@ function Uue({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Wue = {
+var Xue = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function nA({ status: e }) {
- return /* @__PURE__ */ (0, H.jsx)(Nk, {
- color: Wue[e] ?? "neutral",
- children: Tue(e)
+function Zk({ status: e }) {
+ return /* @__PURE__ */ (0, H.jsx)(Ok, {
+ color: Xue[e] ?? "neutral",
+ children: jue(e)
});
}
-function Gue({ rows: e }) {
+function Zue({ rows: e }) {
return /* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = Aue(e);
+ let t = Iue(e);
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -34902,7 +34910,7 @@ function Gue({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, H.jsx)(nA, { status: e.status }),
+ /* @__PURE__ */ (0, H.jsx)(Zk, { status: e.status }),
t ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -34912,12 +34920,12 @@ function Gue({ rows: e }) {
})
});
}
-function rA({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function Qk({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: cT({
+ className: iT({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -34931,7 +34939,7 @@ function rA({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, H.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, H.jsx)(nA, { status: e.status })]
+ }), /* @__PURE__ */ (0, H.jsx)(Zk, { status: e.status })]
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -34940,7 +34948,7 @@ function rA({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, H.jsx)(Gue, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, H.jsx)(Zue, { rows: i }) : null,
r ? /* @__PURE__ */ (0, H.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, H.jsx)("p", {
@@ -34951,15 +34959,15 @@ function rA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function Kue({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Xk(e.elapsed_seconds), o = [Jk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, H.jsx)(rA, {
+function Que({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Gk(e.elapsed_seconds), o = [Uk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, H.jsx)(Qk, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(xT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(_T, {
label: i,
value: r,
max: n
@@ -34974,20 +34982,20 @@ function Kue({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, H.jsx)(yT, { label: i })
+ }) : /* @__PURE__ */ (0, H.jsx)(hT, { label: i })
});
}
-function iA({ run: e, followups: t, runs: n }) {
- let r = Qk(e.result_summary), i = Xk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Jk[e.trigger] || e.trigger,
+function $k({ run: e, followups: t, runs: n }) {
+ let r = qk(e.result_summary), i = Gk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Uk[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${Zk(a.finished_at)} – ${Zk(e.finished_at)}`
+ `${Kk(a.finished_at)} – ${Kk(e.finished_at)}`
] : [
- Jk[e.trigger] || e.trigger,
- Zk(e.finished_at),
+ Uk[e.trigger] || e.trigger,
+ Kk(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, H.jsx)(rA, {
+ return /* @__PURE__ */ (0, H.jsx)(Qk, {
run: e,
meta: o,
footer: e.error,
@@ -34998,7 +35006,7 @@ function iA({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function aA({ title: e, children: t }) {
+function eA({ title: e, children: t }) {
let n = (0, B.useId)();
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-labelledby": n,
@@ -35010,41 +35018,41 @@ function aA({ title: e, children: t }) {
}), t]
});
}
-function oA({ live: e = !1, children: t }) {
+function tA({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, H.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function sA({ prefill: e }) {
- let t = bw({
- queryKey: Gk,
- queryFn: ({ signal: e }) => qk(e),
- refetchInterval: (e) => Sue(e.state.data)
+function nA({ prefill: e }) {
+ let t = gw({
+ queryKey: Bk,
+ queryFn: ({ signal: e }) => Hk(e),
+ refetchInterval: (e) => Oue(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, B.useState)([]), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(r);
- r !== c && (l(r), i.length && c && a(Kk(i, c)));
- let u = Cw({
- mutationFn: ({ oldest: e }) => yue(e),
+ r !== c && (l(r), i.length && c && a(Vk(i, c)));
+ let u = yw({
+ mutationFn: ({ oldest: e }) => Tue(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Kk(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => Vk(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? G(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Kk(n.finished || [], i), p = [
+ let f = Vk(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = Due(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = Nue(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(Yk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Oue(w, (e) => kue(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, H.jsxs)(Fk, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(Wk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Pue(w, (e) => Fue(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
d ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: d
@@ -35053,20 +35061,20 @@ function sA({ prefill: e }) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, H.jsx)(Pk, {
+ E ? /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: qw,
+ icon: Uw,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(aA, {
+ /* @__PURE__ */ (0, H.jsx)(eA, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, H.jsxs)(oA, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, H.jsxs)(tA, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, H.jsx)(Kue, {
+ children: [S.map((e) => /* @__PURE__ */ (0, H.jsx)(Que, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, H.jsx)(iA, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, H.jsx)($k, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -35075,17 +35083,17 @@ function sA({ prefill: e }) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, H.jsx)(aA, {
+ C.length ? /* @__PURE__ */ (0, H.jsx)(eA, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, H.jsx)(oA, { children: C.map((e) => /* @__PURE__ */ (0, H.jsx)(iA, {
+ children: /* @__PURE__ */ (0, H.jsx)(tA, { children: C.map((e) => /* @__PURE__ */ (0, H.jsx)($k, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, H.jsxs)(aA, {
+ w.length || y ? /* @__PURE__ */ (0, H.jsxs)(eA, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, H.jsx)(oA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, H.jsx)(iA, {
+ w.length ? /* @__PURE__ */ (0, H.jsx)(tA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, H.jsx)($k, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -35097,7 +35105,7 @@ function sA({ prefill: e }) {
y ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: Fw,
+ leadingIcon: jw,
className: "self-start",
...X(u.isPending),
onClick: b,
@@ -35106,15 +35114,15 @@ function sA({ prefill: e }) {
]
}) : null
] }),
- /* @__PURE__ */ (0, H.jsx)(aA, {
+ /* @__PURE__ */ (0, H.jsx)(eA, {
title: "云下载",
- children: /* @__PURE__ */ (0, H.jsx)(Bue, { prefill: e })
+ children: /* @__PURE__ */ (0, H.jsx)(Kue, { prefill: e })
})
] });
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function cA(e, t) {
+function rA(e, t) {
let [n, r] = (0, B.useState)(e ? "skeleton" : "none"), [i] = (0, B.useState)(() => e ? t() : ""), a = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
a.current && s(a.current);
@@ -35140,7 +35148,7 @@ function cA(e, t) {
fading: n === "fade"
};
}
-function lA({ message: e, onRetry: t }) {
+function iA({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -35154,7 +35162,7 @@ function lA({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function uA({ artwork: e, identity: t = e.html, relayout: n }) {
+function aA({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, B.useState)({
identity: t,
artwork: e
@@ -35174,24 +35182,24 @@ function uA({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var dA = 9 / 16;
-function fA({ name: e }) {
+var oA = 9 / 16;
+function sA({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-var pA = {
+var cA = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function mA(e, t, n) {
- return t === "short" ? dA : Ve(n);
+function lA(e, t, n) {
+ return t === "short" ? oA : Ve(n);
}
-function hA(e) {
+function uA(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = fe(e), s = i[0] || "", c = xe(e);
return {
avatar: r ? /* @__PURE__ */ (0, H.jsx)("div", {
@@ -35238,7 +35246,7 @@ function hA(e) {
})
};
}
-function gA() {
+function dA() {
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -35257,7 +35265,7 @@ function gA() {
})]
});
}
-function _A({ item: e, actions: t }) {
+function fA({ item: e, actions: t }) {
let [n, r] = (0, B.useState)(null), [i, a] = (0, B.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-media-later": "",
@@ -35275,21 +35283,21 @@ function _A({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function vA(e, t) {
+function pA(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 yA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function mA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, B.useRef)(null), u = (0, B.useRef)(e);
u.current = e;
let d = (0, B.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && Ee(l.current), l.current = e, e && (!t.medium || t.medium === "video") && ke(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 = de(e, h, !1, n.javImage), _ = h === "small" ? g.html : de(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = hA(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = de(e, h, !1, n.javImage), _ = h === "small" ? g.html : de(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = uA(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -35323,9 +35331,9 @@ function yA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
c(e, r);
}, O = /* @__PURE__ */ (0, H.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(mA(e, t, n)) },
+ style: { "--card-ratio": String(lA(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, H.jsx)(uA, {
+ g.html ? /* @__PURE__ */ (0, H.jsx)(aA, {
artwork: g,
identity: _,
relayout: (e) => Te(e, h)
@@ -35339,11 +35347,11 @@ function yA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: "check" })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "check" })
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, H.jsx)(fA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
}),
f ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-group": "",
@@ -35370,8 +35378,8 @@ function yA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
"data-media-scrub": "",
children: /* @__PURE__ */ (0, H.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, H.jsx)(gA, {}),
- /* @__PURE__ */ (0, H.jsx)(_A, {
+ /* @__PURE__ */ (0, H.jsx)(dA, {}),
+ /* @__PURE__ */ (0, H.jsx)(fA, {
item: e,
actions: s
}),
@@ -35381,27 +35389,27 @@ function yA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), vA(l.current, -a);
+ e.stopPropagation(), pA(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), vA(l.current, a);
+ e.stopPropagation(), pA(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: "expand" })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "expand" })
})
]
})
@@ -35477,8 +35485,8 @@ function yA({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe
]
});
}
-function bA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : pA[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function hA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : cA[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));
}, g = (t) => {
if (o.current) {
@@ -35504,7 +35512,7 @@ function bA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, H.jsx)(fA, { name: f }), /* @__PURE__ */ (0, H.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: f }), /* @__PURE__ */ (0, H.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-art": "thumb",
@@ -35516,11 +35524,11 @@ function bA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: "check" })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: "check" })
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, H.jsx)(fA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -35530,7 +35538,7 @@ function bA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
onClick: h,
"aria-busy": s || void 0,
"aria-disabled": s || void 0,
- children: s ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { dangerouslySetInnerHTML: { __html: w(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, H.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(fA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, H.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { dangerouslySetInnerHTML: { __html: w(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, H.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(sA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, H.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -35539,7 +35547,7 @@ function bA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, H.jsx)(fA, { name: f })
+ children: /* @__PURE__ */ (0, H.jsx)(sA, { name: f })
}), /* @__PURE__ */ (0, H.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, H.jsx)("span", {
@@ -35568,17 +35576,17 @@ function bA({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe
})]
});
}
-function que(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, H.jsx)(bA, { ...e }) : /* @__PURE__ */ (0, H.jsx)(yA, { ...e });
+function $ue(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, H.jsx)(hA, { ...e }) : /* @__PURE__ */ (0, H.jsx)(mA, { ...e });
}
-var xA = (0, B.memo)(que), Jue = 1100, Yue = 340, Xue = 5e3;
-function Zue(e, t, n) {
+var gA = (0, B.memo)($ue), ede = 1100, tde = 340, nde = 5e3;
+function rde(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, Xue);
+ }, s = () => o(!1), c = setTimeout(s, nde);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -35588,7 +35596,7 @@ function Zue(e, t, n) {
}, i.src = e;
});
}
-function SA({ load: e, canFlip: t, referrerPolicy: n }) {
+function _A({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, B.useState)([]), [a, o] = (0, B.useState)(0), [s, c] = (0, B.useState)(null), l = (0, B.useRef)({
live: !1,
generation: 0,
@@ -35630,11 +35638,11 @@ function SA({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Zue(t, e, n)));
+ let s = await Promise.all(a.map((t) => rde(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, Jue);
+ p(), e.cycle = setInterval(p, ede);
}));
};
return (0, B.useEffect)(() => d, [d]), {
@@ -35643,7 +35651,7 @@ function SA({ 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(Yue, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(tde, () => {
e.armed = null, m();
});
},
@@ -35654,8 +35662,8 @@ function SA({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var CA = NC("play");
-function Que({ src: e }) {
+var vA = kC("play");
+function ide({ src: e }) {
let [t, n] = (0, B.useState)(!1);
return t ? null : /* @__PURE__ */ (0, H.jsx)("img", {
"data-mix-poster": "",
@@ -35666,8 +35674,8 @@ function Que({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var wA = "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 $ue({ faces: e, fallback: t, onOpenEntity: n }) {
+var yA = "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 ade({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, H.jsx)("button", {
@@ -35675,18 +35683,18 @@ function $ue({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${wA} cursor-pointer outline-none`,
+ className: `${yA} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: ue(e.name, e, Oe(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, H.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${wA} mt-0.5`,
+ className: `${yA} mt-0.5`,
children: t
});
}
-function TA({ 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 = SA({
+function bA({ 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 = _A({
load: i,
canFlip: a
}), x = (0, B.useRef)(b.onPointerLeave);
@@ -35713,11 +35721,11 @@ function TA({ 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 rounded-surface",
children: [
- f?.html ? /* @__PURE__ */ (0, H.jsx)(uA, {
+ f?.html ? /* @__PURE__ */ (0, H.jsx)(aA, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, H.jsx)(Que, { src: r }, r) : /* @__PURE__ */ (0, H.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, H.jsx)(ide, { src: r }, r) : /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -35747,7 +35755,7 @@ function TA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, H.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, H.jsx)(CA, {
+ children: [/* @__PURE__ */ (0, H.jsx)(vA, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n} 个视频`]
@@ -35760,8 +35768,8 @@ function TA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, H.jsx)(CA, {})
- }) : /* @__PURE__ */ (0, H.jsx)($ue, {
+ children: /* @__PURE__ */ (0, H.jsx)(vA, {})
+ }) : /* @__PURE__ */ (0, H.jsx)(ade, {
faces: o,
fallback: e.slice(0, 1),
onOpenEntity: s
@@ -35785,20 +35793,20 @@ function TA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function EA(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, H.jsx)(tde, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${$D(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, H.jsx)(nde, { ...e }, t);
+function xA(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, H.jsx)(sde, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${JD(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, H.jsx)(cde, { ...e }, t);
}
-function ede({ name: e }) {
+function ode({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function tde(e) {
- let { actions: t } = e, n = (0, B.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, H.jsx)(xA, {
+function sde(e) {
+ let { actions: t } = e, n = (0, B.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, H.jsx)(gA, {
item: i,
variant: r,
layout: e.layout,
@@ -35818,15 +35826,15 @@ function tde(e) {
children: i
});
}
-function nde(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Yce(e) : eO(e), s = i && e.initial ? {
+function cde(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? tle(e) : YD(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
offset: 0
}],
pageParams: [0]
- } : void 0, c = ww({
+ } : void 0, c = bw({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -35839,7 +35847,7 @@ function nde(e) {
(0, B.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => $ce(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, B.useMemo)(() => ale(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -35849,7 +35857,7 @@ function nde(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = cA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = rde(e, c.data, u, d, h);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = rA(c.isPending, e.skeletonHtml), h = (0, B.useRef)(null), g = lde(e, c.data, u, d, h);
(0, B.useLayoutEffect)(() => {
c.data && e.onCount?.(p, f);
}, [
@@ -35860,12 +35868,12 @@ function nde(e) {
let _ = (0, B.useCallback)((e, t) => n.open(e, t), [n]), v = (0, B.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, B.useCallback)((e) => n.openShort(e), [n]), b = (0, B.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)(ade, {
+ }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)(dde, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, H.jsx)(xA, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, H.jsx)(gA, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -35882,7 +35890,7 @@ function nde(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, H.jsx)(lA, {
+ if (!c.data) return /* @__PURE__ */ (0, H.jsx)(iA, {
message: ce(c.error),
onRetry: () => void c.refetch()
});
@@ -35899,15 +35907,15 @@ function nde(e) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: nle(u, g).map((t) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
+ children: cle(u, g).map((t) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(x)
- }), t.strip ? /* @__PURE__ */ (0, H.jsx)(ide, {
+ }), t.strip ? /* @__PURE__ */ (0, H.jsx)(ude, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, H.jsx)(DA, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, H.jsx)(SA, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -35915,7 +35923,7 @@ function nde(e) {
})()]
});
}
-function DA({ entity: e, load: t, enabled: n, children: r }) {
+function SA({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, B.useRef)(null), a = (0, B.useRef)(!1), o = (0, B.useRef)(!1), [s, c] = (0, B.useState)({
busy: !1,
error: ""
@@ -35976,12 +35984,12 @@ function DA({ entity: e, load: t, enabled: n, children: r }) {
...p,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: f("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, H.jsx)(lA, {
+ }), s.error ? /* @__PURE__ */ (0, H.jsx)(iA, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function rde(e, t, n, r, i) {
+function lde(e, t, n, r, i) {
let [a, o] = (0, B.useState)([]), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(0), u = (0, B.useRef)(0), d = (0, B.useRef)([]);
return (0, B.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, B.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -35990,7 +35998,7 @@ function rde(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- K(`/api/items?${tle(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ K(`/api/items?${sle(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
if (!t.length) {
l.current = 0;
@@ -36006,7 +36014,7 @@ function rde(e, t, n, r, i) {
}, [t]), (0, B.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = ele(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = ole(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -36016,7 +36024,7 @@ function rde(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function ide({ cut: e, props: t, onOpen: n }) {
+function ude({ cut: e, props: t, onOpen: n }) {
let r = (0, B.useRef)(null), { wireDrag: i } = t;
return (0, B.useEffect)(() => {
r.current && i(r.current);
@@ -36032,12 +36040,12 @@ function ide({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, H.jsx)(ede, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(ode, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, H.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, H.jsx)(xA, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, H.jsx)(gA, {
item: e,
variant: "short",
layout: t.layout,
@@ -36051,17 +36059,17 @@ function ide({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function OA(e, t, n) {
+function CA(e, t, n) {
return ye(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function ade({ seed: e, layout: t, helpers: n, actions: r }) {
+function dde({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, B.useRef)(/* @__PURE__ */ new Map()), a = (0, B.useRef)(t);
a.current = t;
let o = be(e, n.tagLabel), s = (0, B.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => tO(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), OA(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = OA(e, t, !1);
- return /* @__PURE__ */ (0, H.jsx)(TA, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => XD(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), CA(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = CA(e, t, !1);
+ return /* @__PURE__ */ (0, H.jsx)(bA, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -36071,12 +36079,12 @@ function ade({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : OA(e, {
+ artworkIdentity: c === "small" ? l.html : CA(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => Te(e, c),
- ratio: mA(e, "grid", t),
+ ratio: lA(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -36088,32 +36096,32 @@ function ade({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-var ode = "/api/sources", kA = ["media-sources"], AA = (e) => K(ode, e);
-async function jA(e) {
+var fde = "/api/sources", wA = ["media-sources"], TA = (e) => K(fde, e);
+async function EA(e) {
await z.fetchQuery({
- queryKey: kA,
- queryFn: () => AA(e)
+ queryKey: wA,
+ queryFn: () => TA(e)
});
}
-var sde = [
+var pde = [
"local",
"115",
"pikpak"
-], cde = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), lde = "/api/duplicates?limit=120", MA = ["duplicates"], NA = "/api/batch", PA = (e) => K(lde, e);
-async function ude(e) {
+], mde = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), hde = "/api/duplicates?limit=120", DA = ["duplicates"], OA = "/api/batch", kA = (e) => K(hde, e);
+async function gde(e) {
await Promise.all([z.fetchQuery({
- queryKey: MA,
- queryFn: () => PA(e)
- }), jA(e)]);
+ queryKey: DA,
+ queryFn: () => kA(e)
+ }), EA(e)]);
}
-var FA = {
+var AA = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, dde = (e, t) => t.filter((t) => e.some((e) => e.location === t)), IA = (e, t) => dde(e, t).filter((t) => e.some((e) => e.location !== t)), fde = (e, t) => t.filter((t) => e.some((e) => IA(e.files, [t]).length));
-function pde(e, t) {
+}, _de = (e, t) => t.filter((t) => e.some((e) => e.location === t)), jA = (e, t) => _de(e, t).filter((t) => e.some((e) => e.location !== t)), vde = (e, t) => t.filter((t) => e.some((e) => jA(e.files, [t]).length));
+function yde(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -36132,19 +36140,19 @@ function pde(e, t) {
}
return n;
}
-function mde(e, t) {
+function bde(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 LA(e, t) {
- for (let n = 0; n < e.length; n += 200) await q(NA, {
+async function MA(e, t) {
+ for (let n = 0; n < e.length; n += 200) await q(OA, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var RA = "/api/media-repair", zA = ["media-repair"], BA = ["media-repair", "libraries"], hde = {
+var NA = "/api/media-repair", PA = ["media-repair"], FA = ["media-repair", "libraries"], xde = {
status: "idle",
library: "",
stage: "",
@@ -36156,33 +36164,33 @@ var RA = "/api/media-repair", zA = ["media-repair"], BA = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, VA = (e) => K(RA, e), HA = async (e) => (await K("/api/libraries", e)).libraries || [];
-async function gde(e) {
+}, IA = (e) => K(NA, e), LA = async (e) => (await K("/api/libraries", e)).libraries || [];
+async function Sde(e) {
await Promise.all([z.fetchQuery({
- queryKey: zA,
- queryFn: () => VA(e)
+ queryKey: PA,
+ queryFn: () => IA(e)
}), z.fetchQuery({
- queryKey: BA,
- queryFn: () => HA(e)
+ queryKey: FA,
+ queryFn: () => LA(e)
})]);
}
-var UA = (e) => Number(e).toLocaleString();
-function _de(e) {
+var RA = (e) => Number(e).toLocaleString();
+function Cde(e) {
if (e.status === "running") {
- let t = e.total ? `${UA(e.checked)} / ${UA(e.total)}` : "准备中";
+ let t = e.total ? `${RA(e.checked)} / ${RA(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${UA(e.repaired)} 部,${UA(e.failed)} 部修不了` : `修好 ${UA(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${RA(e.repaired)} 部,${RA(e.failed)} 部修不了` : `修好 ${RA(e.repaired)} 部` : "";
}
-var vde = (e) => `${UA(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, yde = "/api/quality-goals?limit=200", WA = ["quality-goals"], GA = (e) => K(yde, e);
-async function bde(e) {
+var wde = (e) => `${RA(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Tde = "/api/quality-goals?limit=200", zA = ["quality-goals"], BA = (e) => K(Tde, e);
+async function Ede(e) {
await z.fetchQuery({
- queryKey: WA,
- queryFn: () => GA(e)
+ queryKey: zA,
+ queryFn: () => BA(e)
});
}
-var xde = (e) => e.has_cover ? pe(e) : `/poster?id=${e.id}&c=4`;
-function KA(e, t, n = 1) {
+var Dde = (e) => e.has_cover ? pe(e) : `/poster?id=${e.id}&c=4`;
+function VA(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -36202,21 +36210,21 @@ function KA(e, t, n = 1) {
t
];
}
-function qA(e, t) {
+function HA(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function JA(e, t) {
+function UA(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function Sde(e, t, n, r, i, a = i || !e.has(r)) {
+function Ode(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/time.ts
-function YA(e) {
+function WA(e) {
if (!e) return "";
let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);
if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);
@@ -36225,7 +36233,7 @@ function YA(e) {
}
//#endregion
//#region src/react/review/review.ts
-var Cde = "/api/review", wde = "/api/review/decision", Tde = "/api/review/genre", XA = ["review"], ZA = {
+var kde = "/api/review", Ade = "/api/review/decision", jde = "/api/review/genre", GA = ["review"], KA = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -36235,15 +36243,15 @@ var Cde = "/api/review", wde = "/api/review/decision", Tde = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Ede = Object.keys(ZA), Dde = "metadata_fields", QA = (e) => typeof e == "string" && Object.hasOwn(ZA, e), Ode = {
+}, Mde = Object.keys(KA), Nde = "metadata_fields", qA = (e) => typeof e == "string" && Object.hasOwn(KA, e), Pde = {
creator_tags: "creator",
western_identity: "creator"
};
-function kde(e, t) {
+function Fde(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 $A(e, t) {
+function JA(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -36260,43 +36268,43 @@ function $A(e, t) {
}
return [...n.values()];
}
-function Ade(e, t, n) {
- return n && $A(e, t).find((e) => e.key === n)?.rows || e;
+function Ide(e, t, n) {
+ return n && JA(e, t).find((e) => e.key === n)?.rows || e;
}
-function jde(e, t) {
- let n = qA(e.length, 20), r = JA(t, n);
+function Lde(e, t) {
+ let n = HA(e.length, 20), r = UA(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function Mde(e) {
+function Rde(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 Nde(e, t, n, r, i, a) {
- return Sde(e, t, n, r, i, a);
+function zde(e, t, n, r, i, a) {
+ return Ode(e, t, n, r, i, a);
}
-function ej(e, t) {
+function YA(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function tj(e, t) {
+function XA(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var nj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function Pde(e, t) {
- let n = tj(e, t), r = nj(e, t);
+var ZA = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function Bde(e, t) {
+ let n = XA(e, t), r = ZA(e, t);
return r ? `${n} · ${r}` : n;
}
-var Fde = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Ide = (e) => String(e.tags || "").split("|").filter(Boolean), Lde = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function Rde(e) {
+var Vde = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Hde = (e) => String(e.tags || "").split("|").filter(Boolean), Ude = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function Wde(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function rj(e, t, n, r) {
+function QA(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -36312,19 +36320,19 @@ function rj(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var zde = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", ij = (e) => K(Cde, e), aj = (e) => q(wde, e), Bde = (e, t) => q(Tde, {
+var Gde = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", $A = (e) => K(kde, e), ej = (e) => q(Ade, e), Kde = (e, t) => q(jde, {
genre: e,
tag: t
});
-async function Vde(e) {
+async function qde(e) {
await z.fetchQuery({
- queryKey: XA,
- queryFn: () => ij(e)
+ queryKey: GA,
+ queryFn: () => $A(e)
});
}
-function oj(e, t) {
+function tj(e, t) {
let n = new Set(t);
- n.size && z.setQueryData(XA, (t) => {
+ n.size && z.setQueryData(GA, (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 : {
@@ -36340,207 +36348,207 @@ function oj(e, t) {
};
});
}
-var Hde = () => z.invalidateQueries({
- queryKey: XA,
+var Jde = () => z.invalidateQueries({
+ queryKey: GA,
exact: !0
});
-function Ude(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${YA(e.fetched_at)} 的缓存` : e?.error || t;
+function Yde(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${WA(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var Wde = "/api/links", sj = "/api/links/check", cj = "/api/links/prune", lj = ["links"], uj = ["links", "check"], dj = ["links", "prune"], fj = {
+var Xde = "/api/links", nj = "/api/links/check", rj = "/api/links/prune", ij = ["links"], aj = ["links", "check"], oj = ["links", "prune"], sj = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function pj(e) {
+async function cj(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var mj = (e) => K(Wde, e), hj = (e) => q(sj, { status_only: !0 }, "POST", e), Gde = ({ retry: e, checkId: t }) => pj(q(sj, e ? {
+var lj = (e) => K(Xde, e), uj = (e) => q(nj, { status_only: !0 }, "POST", e), Zde = ({ retry: e, checkId: t }) => cj(q(nj, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), gj = (e) => K(cj, e), Kde = (e) => pj(q(cj, {
+} : { restart: !0 })), dj = (e) => K(rj, e), Qde = (e) => cj(q(rj, {
confirm: !0,
check_id: e,
background: !0
-})), _j = (e) => Number(e || 0).toLocaleString(), qde = (e) => `已删除 ${_j(e.removed)} 条;${e.marked ? `已隐退女优的 ${_j(e.marked)} 条留作不可点的记录;` : ""}保留 ${_j(e.recovered)} 条未确认失效的链接。`;
-function Jde(e) {
+})), fj = (e) => Number(e || 0).toLocaleString(), $de = (e) => `已删除 ${fj(e.removed)} 条;${e.marked ? `已隐退女优的 ${fj(e.marked)} 条留作不可点的记录;` : ""}保留 ${fj(e.recovered)} 条未确认失效的链接。`;
+function efe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${_j(e.checked)} / ${_j(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${fj(e.checked)} / ${fj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var vj = "/api/settings", yj = "/api/follow/schedule", bj = "/api/thumbnail-jobs", xj = ["settings"], Sj = ["follow-schedule"], Cj = ["thumbnail-jobs"], Yde = (e) => K(vj, e), wj = (e) => K(yj, e), Tj = (e) => K(bj, e);
-function Xde(e = z) {
+var pj = "/api/settings", mj = "/api/follow/schedule", hj = "/api/thumbnail-jobs", gj = ["settings"], _j = ["follow-schedule"], vj = ["thumbnail-jobs"], tfe = (e) => K(pj, e), yj = (e) => K(mj, e), bj = (e) => K(hj, e);
+function nfe(e = z) {
return e.fetchQuery({
- queryKey: Sj,
- queryFn: ({ signal: e }) => wj(e),
+ queryKey: _j,
+ queryFn: ({ signal: e }) => yj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: Cj,
- queryFn: ({ signal: e }) => Tj(e),
+ queryKey: vj,
+ queryFn: ({ signal: e }) => bj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: xj,
- queryFn: ({ signal: e }) => Yde(e),
+ queryKey: gj,
+ queryFn: ({ signal: e }) => tfe(e),
staleTime: 0
}).catch(() => null);
}
-function Ej() {
- return Cw({
- mutationFn: (e) => q(vj, e),
- onSuccess: (e) => z.setQueryData(xj, e)
+function xj() {
+ return yw({
+ mutationFn: (e) => q(pj, e),
+ onSuccess: (e) => z.setQueryData(gj, e)
});
}
-function Zde() {
- return Cw({
- mutationFn: (e) => q(yj, {
+function rfe() {
+ return yw({
+ mutationFn: (e) => q(mj, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => z.setQueryData(Sj, e)
+ onSuccess: (e) => z.setQueryData(_j, e)
});
}
-function Qde() {
- return Cw({
- mutationFn: (e) => q(bj, { mode: e }),
- onSuccess: (e) => z.setQueryData(Cj, e)
+function ife() {
+ return yw({
+ mutationFn: (e) => q(hj, { mode: e }),
+ onSuccess: (e) => z.setQueryData(vj, e)
});
}
-function $de(e) {
- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${YA(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${YA(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
+function afe(e) {
+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${WA(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${WA(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
}
-function efe(e) {
+function ofe(e) {
return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var tfe = "/api/organize", nfe = "/api/organize/preview", rfe = "/api/organize/apply", ife = "/api/organize/rollback", Dj = ["organize"], Oj = (e) => K(tfe, e);
-async function afe(e) {
+var sfe = "/api/organize", cfe = "/api/organize/preview", lfe = "/api/organize/apply", ufe = "/api/organize/rollback", Sj = ["organize"], Cj = (e) => K(sfe, e);
+async function dfe(e) {
await z.fetchQuery({
- queryKey: Dj,
- queryFn: () => Oj(e)
+ queryKey: Sj,
+ queryFn: () => Cj(e)
});
}
-var ofe = (e) => q(nfe, e), sfe = (e) => e.kind === "apply" ? q(rfe, {
+var ffe = (e) => q(cfe, e), pfe = (e) => e.kind === "apply" ? q(lfe, {
...e.request,
confirm: !0
-}) : q(ife, { confirm: !0 });
-async function cfe(e) {
- z.setQueryData(Dj, (t) => t && {
+}) : q(ufe, { confirm: !0 });
+async function mfe(e) {
+ z.setQueryData(Sj, (t) => t && {
...t,
templates: e
});
try {
- await q(vj, { organizeTemplates: e });
+ await q(pj, { organizeTemplates: e });
} catch {}
}
-var lfe = (e, t) => e && {
+var hfe = (e, t) => e && {
...e,
...t
-}, ufe = /目录模板|分隔符|盘符|`\.`/;
-function kj(e) {
+}, gfe = /目录模板|分隔符|盘符|`\.`/;
+function wj(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var Aj = (e) => Number(e || 0).toLocaleString();
-function dfe(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Aj(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${Aj(e.counts.change)} 个文件会改名或移动,${Aj(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var Tj = (e) => Number(e || 0).toLocaleString();
+function _fe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${Tj(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${Tj(e.counts.change)} 个文件会改名或移动,${Tj(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function jj(e) {
+function Ej(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${Aj(r)} 个文件${n ? `,${Aj(n)} 行未能退回` : ""}。` : `已整理 ${Aj(r)} 个文件${n ? `,${Aj(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${Tj(r)} 个文件${n ? `,${Tj(n)} 行未能退回` : ""}。` : `已整理 ${Tj(r)} 个文件${n ? `,${Tj(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var Mj = "/api/resource-sync/scan", Nj = "/api/resource-sync/apply", Pj = ["resource-sync", "scan"], Fj = ["resource-sync", "apply"], Ij = (e) => q(Mj, {
+var Dj = "/api/resource-sync/scan", Oj = "/api/resource-sync/apply", kj = ["resource-sync", "scan"], Aj = ["resource-sync", "apply"], jj = (e) => q(Dj, {
background: !0,
status_only: !0
-}, "POST", e), ffe = () => q(Mj, {
+}, "POST", e), vfe = () => q(Dj, {
background: !0,
restart: !0
-}), Lj = (e) => K(Nj, e), pfe = (e) => q(Nj, {
+}), Mj = (e) => K(Oj, e), yfe = (e) => q(Oj, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), Rj = (e) => (e?.sources ?? []).some((e) => sde.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function mfe(e) {
- Rj(z.getQueryData(kA)) && await Promise.all([z.fetchQuery({
- queryKey: Pj,
- queryFn: () => Ij(e)
+}), Nj = (e) => (e?.sources ?? []).some((e) => pde.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function bfe(e) {
+ Nj(z.getQueryData(wA)) && await Promise.all([z.fetchQuery({
+ queryKey: kj,
+ queryFn: () => jj(e)
}), z.fetchQuery({
- queryKey: Fj,
- queryFn: () => Lj(e)
+ queryKey: Aj,
+ queryFn: () => Mj(e)
})]);
}
-var hfe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), gfe = {
+var xfe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Sfe = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, zj = (e) => Number(e || 0).toLocaleString(), _fe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Bj = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Vj = (e) => e.vanish ? `${zj(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Hj = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", vfe = (e) => `将永久删除文件已不在盘上的 ${zj(Bj(e))} 条记录和 ${zj(e.empty)} 个空文件夹,并清理 ${zj(e.cache?.files)} 个闲置缓存。${Hj(e)}${Vj(e)}`, yfe = (e) => `将永久删除文件已不在盘上的 ${zj(Bj(e))} 条记录(含回收站里的)、${zj(e.empty)} 个空文件夹,并清理 ${zj(e.cache?.files)} 个闲置缓存。来源根目录保留。${Hj(e)}${Vj(e)}`, bfe = (e) => e.online ? [
- `找不到文件 · 共 ${zj(e.total)} 项`,
- e.vanish ? `${zj(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${zj(e.empty)} 个` : "",
- e.unreadable ? `${zj(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${zj(e.total)} 项`;
-function Uj(e) {
+}, Pj = (e) => Number(e || 0).toLocaleString(), Cfe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", Fj = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), Ij = (e) => e.vanish ? `${Pj(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", Lj = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", wfe = (e) => `将永久删除文件已不在盘上的 ${Pj(Fj(e))} 条记录和 ${Pj(e.empty)} 个空文件夹,并清理 ${Pj(e.cache?.files)} 个闲置缓存。${Lj(e)}${Ij(e)}`, Tfe = (e) => `将永久删除文件已不在盘上的 ${Pj(Fj(e))} 条记录(含回收站里的)、${Pj(e.empty)} 个空文件夹,并清理 ${Pj(e.cache?.files)} 个闲置缓存。来源根目录保留。${Lj(e)}${Ij(e)}`, Efe = (e) => e.online ? [
+ `找不到文件 · 共 ${Pj(e.total)} 项`,
+ e.vanish ? `${Pj(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${Pj(e.empty)} 个` : "",
+ e.unreadable ? `${Pj(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${Pj(e.total)} 项`;
+function Rj(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 ? `${zj(t.length)} 条记录没有删除(${o})` : "",
- n ? `${zj(n)} 个文件夹没有删除` : "",
- r.length ? `${zj(r.length)} 个缓存没有清理` : ""
+ t.length ? `${Pj(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${Pj(n)} 个文件夹没有删除` : "",
+ r.length ? `${Pj(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var xfe = (e, t) => {
- let { rest: n } = Uj(e), r = `已永久删除 ${zj(e.purged)} 条失效记录和 ${zj(e.dirs_removed)} 个空文件夹,清理 ${zj(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${zj(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${zj(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var Dfe = (e, t) => {
+ let { rest: n } = Rj(e), r = `已永久删除 ${Pj(e.purged)} 条失效记录和 ${Pj(e.dirs_removed)} 个空文件夹,清理 ${Pj(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${Pj(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${Pj(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, Sfe = "/api/review?counts=1", Wj = ["review", "counts"], Cfe = "/api/ads?limit=1", Gj = ["junk-summary"], Kj = "/api/items?state=trash&limit=1", qj = ["trash-summary"], wfe = [
+}, Ofe = "/api/review?counts=1", zj = ["review", "counts"], kfe = "/api/ads?limit=1", Bj = ["junk-summary"], Vj = "/api/items?state=trash&limit=1", Hj = ["trash-summary"], Afe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], Jj = (e) => K(Sfe, e), Yj = (e) => K(Cfe, e), Xj = (e) => {
+], Uj = (e) => K(Ofe, e), Wj = (e) => K(kfe, e), Gj = (e) => {
let t = sessionStorage.getItem("peach.library");
- return K(t ? `${Kj}&library=${encodeURIComponent(t)}` : Kj, e);
-}, Zj = (e) => Number(e || 0).toLocaleString();
-function Tfe(e) {
- let t = ZA, 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 K(t ? `${Vj}&library=${encodeURIComponent(t)}` : Vj, e);
+}, Kj = (e) => Number(e || 0).toLocaleString();
+function jfe(e) {
+ let t = KA, 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 Efe(e) {
+function Mfe(e) {
if (!e) return "";
- let t = wfe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Zj(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Zj(e.dismissed_total)}`), t.join(" · ");
-}
-var Dfe = [
- [Wj, ({ signal: e }) => Jj(e)],
- [WA, ({ signal: e }) => GA(e)],
- [qj, ({ signal: e }) => Xj(e)],
- [lj, ({ signal: e }) => mj(e)],
- [uj, ({ signal: e }) => hj(e)],
- [dj, ({ signal: e }) => gj(e)]
+ let t = Afe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${Kj(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${Kj(e.dismissed_total)}`), t.join(" · ");
+}
+var Nfe = [
+ [zj, ({ signal: e }) => Uj(e)],
+ [zA, ({ signal: e }) => BA(e)],
+ [Hj, ({ signal: e }) => Gj(e)],
+ [ij, ({ signal: e }) => lj(e)],
+ [aj, ({ signal: e }) => uj(e)],
+ [oj, ({ signal: e }) => dj(e)]
];
-async function Ofe(e) {
- let t = location.hash === "#resource-sync", n = Dfe.map(([n, r]) => {
+async function Pfe(e) {
+ let t = location.hash === "#resource-sync", n = Nfe.map(([n, r]) => {
if (t) return z.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -36553,49 +36561,49 @@ async function Ofe(e) {
await Promise.all([
...n,
z.fetchQuery({
- queryKey: Gj,
- queryFn: () => Yj(e)
+ queryKey: Bj,
+ queryFn: () => Wj(e)
}),
z.fetchQuery({
- queryKey: MA,
- queryFn: () => PA(e)
+ queryKey: DA,
+ queryFn: () => kA(e)
}),
- jA(e).then(() => mfe(e)),
- Aw(e),
- gde(e),
- afe(e)
+ EA(e).then(() => bfe(e)),
+ Ew(e),
+ Sde(e),
+ dfe(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var kfe = [
+var Ffe = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Afe = [
+], Ife = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function Qj(e = {}) {
- return `${cT({
+function qj(e = {}) {
+ return `${iT({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var $j = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", jfe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function eM({ interactive: e = !1 } = {}) {
- return cT({
+var Jj = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Lfe = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function Yj({ interactive: e = !1 } = {}) {
+ return iT({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var Mfe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function tM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var Rfe = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function Xj({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -36628,13 +36636,13 @@ function tM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function nM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function Zj({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.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, H.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${kfe[n % 4]} ${Afe[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Ffe[n % 4]} ${Ife[n % 4]}`,
children: /* @__PURE__ */ (0, H.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -36656,20 +36664,20 @@ function nM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/background-job.ts
-var rM = 2e3, Nfe = (e) => e, Pfe = (e, t) => t;
-function iM(e) {
- let { queryKey: t, jobOf: n = Nfe, withJob: r = Pfe, idlePollMs: i } = e, [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(e);
+var Qj = 2e3, zfe = (e) => e, Bfe = (e, t) => t;
+function $j(e) {
+ let { queryKey: t, jobOf: n = zfe, withJob: r = Bfe, idlePollMs: i } = e, [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(e);
(0, B.useEffect)(() => {
l.current = e;
});
- let u = bw({
+ let u = gw({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? rM : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? Qj : i ?? !1;
}
- }), d = Cw({
+ }), d = yw({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
o(!0), c(null), l.current.onStarted?.(e), z.setQueryData(t, (t) => r(t, e)), z.invalidateQueries({
@@ -36698,32 +36706,32 @@ function iM(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Ffe = (t) => e[t] || t, aM = (e) => z.setQueryData(zA, e);
-function Ife() {
- let e = bw({
- queryKey: zA,
- queryFn: ({ signal: e }) => VA(e),
- refetchInterval: (e) => e.state.data?.status === "running" && rM
- }), t = bw({
- queryKey: BA,
- queryFn: ({ signal: e }) => HA(e)
- }), [n, i] = (0, B.useState)(""), a = _T(), o = e.data ?? hde, s = t.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : n)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {
+var Vfe = (t) => e[t] || t, eM = (e) => z.setQueryData(PA, e);
+function Hfe() {
+ let e = gw({
+ queryKey: PA,
+ queryFn: ({ signal: e }) => IA(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && Qj
+ }), t = gw({
+ queryKey: FA,
+ queryFn: ({ signal: e }) => LA(e)
+ }), [n, i] = (0, B.useState)(""), a = pT(), o = e.data ?? xde, s = t.data ?? [], c = o.status === "running", l = s.find((e) => e.id === (c ? o.library : n)) ?? s.find((e) => e.id === o.library) ?? s[0], u = () => {
l && r({
title: `修复媒体库「${l.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (l.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => aM(await q(RA, {
+ onConfirm: async () => eM(await q(NA, {
library: l.id,
restart: !0
}))
});
- }, d = () => void a.run("stop", (e) => q(RA, { stop: !0 }, "POST", e), aM), f = _de(o), p = o.status === "complete", m = a.error || o.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, d = () => void a.run("stop", (e) => q(NA, { stop: !0 }, "POST", e), eM), f = Cde(o), p = o.status === "complete", m = a.error || o.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, H.jsx)(pT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(lT, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Hk, {
+ footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: l?.id ?? null,
@@ -36731,10 +36739,10 @@ function Ife() {
onSelectionChange: (e) => {
e !== null && i(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, H.jsxs)(Uk, {
+ children: s.map((e) => /* @__PURE__ */ (0, H.jsxs)(Rk, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, H.jsx)(LT, { mark: Ffe(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: Vfe(e.icon) }), e.name]
}, e.id))
}), c ? /* @__PURE__ */ (0, H.jsx)(J, {
onClick: d,
@@ -36748,12 +36756,12 @@ function Ife() {
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(fT, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, H.jsx)(cT, { children: "媒体修复" }),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: doe
+ children: goe
}),
- c && o.total ? /* @__PURE__ */ (0, H.jsx)(xT, {
+ c && o.total ? /* @__PURE__ */ (0, H.jsx)(_T, {
label: "修复进度",
value: o.checked,
max: o.total
@@ -36777,7 +36785,7 @@ function Ife() {
p && o.missing_tool ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "缺少 untrunc",
- children: vde(o)
+ children: wde(o)
}) : null,
m ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -36789,7 +36797,7 @@ function Ife() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var oM = {
+var tM = {
md: {
box: "size-4",
glyph: "size-4",
@@ -36803,8 +36811,8 @@ var oM = {
gap: "gap-1.5"
}
};
-function sM({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = oM[t], c = n || r, l = o && !a;
+function nM({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = tM[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: dr("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? dr("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : dr("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"),
@@ -36831,13 +36839,13 @@ function sM({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function cM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = oM[n];
+function rM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = tM[n];
return /* @__PURE__ */ (0, H.jsx)(El, {
ref: r,
...i,
className: (t) => dr("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, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(sM, {
+ children: (e) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(nM, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, H.jsx)("span", {
@@ -36848,10 +36856,10 @@ function cM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function lM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function iM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
className: dr("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, H.jsx)(tte, {
+ children: /* @__PURE__ */ (0, H.jsx)(nte, {
ref: r,
...i,
className: dr("bui-table", e === "sm" && "bui-table-sm", t)
@@ -36860,7 +36868,7 @@ function lM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
}
//#endregion
//#region src/react/components/row-click.ts
-var Lfe = [
+var Ufe = [
"a",
"button",
"input",
@@ -36873,15 +36881,15 @@ var Lfe = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function uM(e, t) {
+function aM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Lfe);
+ let r = n.closest(Ufe);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function dM({ children: e, follow: t = !1, onRowClick: n }) {
+function oM({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -36889,15 +36897,15 @@ function dM({ 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 && uM(e, r) && n(r.dataset.key);
+ r && aM(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Rfe = NC("unlink"), fM = NC("rotate-cw"), zfe = "站点返回 404 或 410,确认这个地址不存在。", Bfe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Vfe = "删除前会逐条重验一次;此操作不可撤销。", Hfe = "暂时无法读取进度,正在重新连接…", pM = (e) => Number(e || 0).toLocaleString();
-function mM({ label: e, value: t, note: n }) {
+var Wfe = kC("unlink"), sM = kC("rotate-cw"), Gfe = "站点返回 404 或 410,确认这个地址不存在。", Kfe = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", qfe = "删除前会逐条重验一次;此操作不可撤销。", Jfe = "暂时无法读取进度,正在重新连接…", cM = (e) => Number(e || 0).toLocaleString();
+function lM({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -36916,11 +36924,11 @@ function mM({ label: e, value: t, note: n }) {
]
});
}
-function hM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function uM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: lT,
+ className: aT,
children: [
/* @__PURE__ */ (0, H.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -36933,13 +36941,13 @@ function hM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, H.jsx)(dM, { children: /* @__PURE__ */ (0, H.jsxs)(lM, {
+ /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, H.jsxs)(C_, { children: [
- i ? /* @__PURE__ */ (0, H.jsx)(w_, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [
+ i ? /* @__PURE__ */ (0, H.jsx)(C_, {
id: "pick",
- children: /* @__PURE__ */ (0, H.jsx)(cM, {
+ children: /* @__PURE__ */ (0, H.jsx)(rM, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -36947,44 +36955,44 @@ function hM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, H.jsx)(E_, { children: t.map((e) => /* @__PURE__ */ (0, H.jsxs)(k_, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: t.map((e) => /* @__PURE__ */ (0, H.jsxs)(O_, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)(cM, {
+ i ? /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(rM, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, H.jsx)(j_, { children: e.entity }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: fj[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: e.label || "" }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: e.entity }),
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: sj[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: e.label || "" }),
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsxs)("a", {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -36994,7 +37002,7 @@ function hM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, H.jsx)(Ww, {
+ }), /* @__PURE__ */ (0, H.jsx)(Bw, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -37006,27 +37014,27 @@ function hM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Ufe() {
- let e = bw({
- queryKey: lj,
- queryFn: ({ signal: e }) => mj(e)
- }), [t, n] = (0, B.useState)([]), i = iM({
- queryKey: dj,
- queryFn: ({ signal: e }) => gj(e),
- start: Kde,
+function Yfe() {
+ let e = gw({
+ queryKey: ij,
+ queryFn: ({ signal: e }) => lj(e)
+ }), [t, n] = (0, B.useState)([]), i = $j({
+ queryKey: oj,
+ queryFn: ({ signal: e }) => dj(e),
+ start: Qde,
onFinish: () => {
z.invalidateQueries({
- queryKey: lj,
+ queryKey: ij,
exact: !0
}), z.invalidateQueries({
- queryKey: uj,
+ queryKey: aj,
exact: !0
});
}
- }), a = iM({
- queryKey: uj,
- queryFn: ({ signal: e }) => hj(e),
- start: Gde,
+ }), a = $j({
+ queryKey: aj,
+ queryFn: ({ signal: e }) => uj(e),
+ start: Zde,
onStarted: () => {
i.dismiss(), n([]);
}
@@ -37056,7 +37064,7 @@ function Ufe() {
else if (v) x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "success",
title: "完成",
- children: qde(v)
+ children: $de(v)
});
else if (y) x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -37066,7 +37074,7 @@ function Ufe() {
else if (a.query.isError && o) x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: Hfe
+ children: Jfe
});
else if (o?.status === "failed") x = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
@@ -37074,12 +37082,12 @@ function Ufe() {
children: o.error || "检查失败"
});
else if (o && o.status !== "idle") {
- b = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o.status === "running" ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ b = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o.status === "running" ? /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
- label: Jde(o),
+ label: efe(o),
value: o.checked,
total: o.total
- }) : null, l ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ }) : null, l ? /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: i.job?.message || "正在重验并删除失效链接…",
value: i.job?.checked,
@@ -37087,38 +37095,38 @@ function Ufe() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = u || d.length || f.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
- className: woe,
+ className: koe,
children: [
- /* @__PURE__ */ (0, H.jsx)(hM, {
+ /* @__PURE__ */ (0, H.jsx)(uM, {
title: "地址已失效",
items: d,
- hint: zfe
+ hint: Gfe
}),
- /* @__PURE__ */ (0, H.jsx)(hM, {
+ /* @__PURE__ */ (0, H.jsx)(uM, {
title: "本次未访问成功",
items: f,
- hint: Bfe,
+ hint: Kfe,
picked: p.length ? t : void 0,
onPick: p.length ? n : void 0,
children: p.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, H.jsxs)(uT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: fM,
+ children: /* @__PURE__ */ (0, H.jsxs)(oT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
+ leadingIcon: sM,
disabled: !t.length,
...X(c),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: fM,
+ leadingIcon: sM,
...X(c),
onClick: () => g(p.map((e) => e.id)),
children: `全部重试(${p.length})`
})] })
}) : null
}),
- u && d.length ? /* @__PURE__ */ (0, H.jsx)(uT, {
+ u && d.length ? /* @__PURE__ */ (0, H.jsx)(oT, {
tone: "error",
- status: Vfe,
+ status: qfe,
children: /* @__PURE__ */ (0, H.jsx)(J, {
variant: "danger",
...X(l),
@@ -37127,7 +37135,7 @@ function Ufe() {
})
}) : null,
u && !d.length && !f.length ? /* @__PURE__ */ (0, H.jsx)("p", {
- className: `${lT} text-body-regular text-notification-success-foreground`,
+ className: `${aT} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -37138,21 +37146,21 @@ function Ufe() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(dT, {
+ /* @__PURE__ */ (0, H.jsx)(sT, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, H.jsxs)(pT, {
+ /* @__PURE__ */ (0, H.jsxs)(lT, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: Rfe,
+ leadingIcon: Wfe,
...X(c),
onClick: () => g(),
children: c ? "检查中" : u ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, H.jsx)(fT, {
+ /* @__PURE__ */ (0, H.jsx)(cT, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -37163,13 +37171,13 @@ function Ufe() {
children: G(e.error)
}) : m ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, H.jsx)(mM, {
+ children: [/* @__PURE__ */ (0, H.jsx)(lM, {
label: "链接总数",
- value: pM(m.total),
- note: `分布在 ${pM(m.entities)} 个女优、厂牌与系列`
- }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(mM, {
- label: fj[e] || e,
- value: pM(t)
+ value: cM(m.total),
+ note: `分布在 ${cM(m.entities)} 个女优、厂牌与系列`
+ }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(lM, {
+ label: sj[e] || e,
+ value: cM(t)
}, e))]
}), h ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -37198,18 +37206,18 @@ function Ufe() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Wfe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Gfe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Kfe = 8;
-function qfe({ plan: e }) {
+var Xfe = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Zfe = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Qfe = 8;
+function $fe({ plan: e }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Kfe).map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
+ children: e.rows.slice(0, Qfe).map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, H.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: kj(e.current_path)
+ children: wj(e.current_path)
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
@@ -37219,7 +37227,7 @@ function qfe({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: kj(e.target_path)
+ children: wj(e.target_path)
})
]
}, e.current_path))
@@ -37228,10 +37236,10 @@ function qfe({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Jfe({ toast: t, failure: n }) {
- let i = bw({
- queryKey: Dj,
- queryFn: ({ signal: e }) => Oj(e)
+function epe({ toast: t, failure: n }) {
+ let i = gw({
+ queryKey: Sj,
+ queryFn: ({ signal: e }) => Cj(e)
}), a = i.data, o = a?.locations ?? [], [s, c] = (0, B.useState)(""), l = o.some((e) => e.location === s) ? s : o[0]?.location ?? "", u = a?.templates?.[l], [d, f] = (0, B.useState)(null), p = d?.location === l ? d : {
location: l,
file: u?.file ?? "",
@@ -37243,9 +37251,9 @@ function Jfe({ toast: t, failure: n }) {
location: l,
file_template: p.file.trim(),
dir_template: p.dir.trim()
- }), b = Cw({
- mutationFn: ofe,
- onSuccess: (e, t) => void cfe({
+ }), b = yw({
+ mutationFn: ffe,
+ onSuccess: (e, t) => void mfe({
...a?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -37253,29 +37261,29 @@ function Jfe({ toast: t, failure: n }) {
}
}),
onError: (e) => {
- let t = ufe.test(G(e)) ? "dir" : "file";
+ let t = gfe.test(G(e)) ? "dir" : "file";
g(t), (t === "dir" ? v : _).current?.focus();
}
- }), x = iM({
- queryKey: Dj,
- queryFn: ({ signal: e }) => Oj(e),
- start: sfe,
+ }), x = $j({
+ queryKey: Sj,
+ queryFn: ({ signal: e }) => Cj(e),
+ start: pfe,
jobOf: (e) => e,
- withJob: lfe,
+ withJob: hfe,
onStarted: () => b.reset(),
onFinish: (e) => {
if (z.invalidateQueries({
- queryKey: Dj,
+ queryKey: Sj,
exact: !0
}), e.status !== "complete") return;
- let { text: r, failed: i } = jj(e);
+ let { text: r, failed: i } = Ej(e);
i ? n("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : t(r.replace(/。$/, ""));
}
}), S = x.running || x.start.isPending, C = b.data, w = Number(C?.counts?.change || 0), T = M[l] || l, E = (a?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), D = () => {
b.isPending || !l || (g(null), b.mutate(y()));
}, O = () => void r({
title: "按模板整理文件",
- body: Wfe(T),
+ body: Xfe(T),
confirmLabel: "整理文件",
onConfirm: () => x.start.mutateAsync({
kind: "apply",
@@ -37283,13 +37291,13 @@ function Jfe({ toast: t, failure: n }) {
})
}), k = () => void r({
title: "回滚上一批整理",
- body: Gfe,
+ body: Zfe,
confirmLabel: "回滚整理",
onConfirm: () => x.start.mutateAsync({ kind: "rollback" })
}), A = null, j = x.job, N = x.outcome;
if (j?.status === "running") {
let e = j.message || j.stage || "正在整理文件…";
- A = /* @__PURE__ */ (0, H.jsx)(ST, {
+ A = /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: e,
value: j.checked,
@@ -37301,7 +37309,7 @@ function Jfe({ toast: t, failure: n }) {
children: N.error || "请查看任务记录,核对已处理的文件。"
});
else if (N) {
- let { text: e, failed: t } = jj(N);
+ let { text: e, failed: t } = Ej(N);
A = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -37311,7 +37319,7 @@ function Jfe({ toast: t, failure: n }) {
tone: "error",
title: "整理失败",
children: G(x.start.error)
- }) : b.isPending ? A = /* @__PURE__ */ (0, H.jsx)(ST, {
+ }) : b.isPending ? A = /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: "正在按模板算计划…"
}) : b.isError ? A = /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -37321,9 +37329,9 @@ function Jfe({ toast: t, failure: n }) {
}) : C && (A = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "预览结果",
- children: dfe(C)
- }), w ? /* @__PURE__ */ (0, H.jsx)(qfe, { plan: C }) : null] }));
- return /* @__PURE__ */ (0, H.jsxs)(pT, {
+ children: _fe(C)
+ }), w ? /* @__PURE__ */ (0, H.jsx)($fe, { plan: C }) : null] }));
+ return /* @__PURE__ */ (0, H.jsxs)(lT, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -37347,7 +37355,7 @@ function Jfe({ toast: t, failure: n }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, H.jsx)(fT, {
+ /* @__PURE__ */ (0, H.jsx)(cT, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -37367,20 +37375,20 @@ function Jfe({ toast: t, failure: n }) {
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- o.length ? /* @__PURE__ */ (0, H.jsx)(Hk, {
+ o.length ? /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: l || null,
onSelectionChange: (e) => {
e !== null && (c(String(e)), g(null), b.reset());
},
- children: o.map((t) => /* @__PURE__ */ (0, H.jsxs)(Uk, {
+ children: o.map((t) => /* @__PURE__ */ (0, H.jsxs)(Rk, {
id: t.location,
textValue: M[t.location] || t.location,
- children: [/* @__PURE__ */ (0, H.jsx)(LT, { mark: e[t.location] || "database" }), M[t.location] || t.location]
+ children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: e[t.location] || "database" }), M[t.location] || t.location]
}, t.location))
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: p.file,
@@ -37391,7 +37399,7 @@ function Jfe({ toast: t, failure: n }) {
m({ file: e }), g(null);
}
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: p.dir,
@@ -37431,56 +37439,56 @@ function Jfe({ toast: t, failure: n }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var Yfe = "/api/orphan-records", Xfe = "/api/orphan-records/attach", gM = ["orphan-records"], Zfe = [
+var tpe = "/api/orphan-records", npe = "/api/orphan-records/attach", dM = ["orphan-records"], rpe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], Qfe = (e) => K(Yfe, e), $fe = (e, t) => q(Xfe, {
+], ipe = (e) => K(tpe, e), ape = (e, t) => q(npe, {
id: e,
target: t
-}), epe = (e) => q(NA, {
+}), ope = (e) => q(OA, {
ids: [e],
operation: "delete"
-}), tpe = (e) => [
+}), spe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], _M = (e) => [...Zfe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...tpe(e)].filter(Boolean).join(" · "), npe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", vM = (e) => [e.name, npe(e.duration)].filter(Boolean).join(" · "), rpe = NC("play"), yM = () => z.invalidateQueries({
- queryKey: gM,
+], fM = (e) => [...rpe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...spe(e)].filter(Boolean).join(" · "), cpe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", pM = (e) => [e.name, cpe(e.duration)].filter(Boolean).join(" · "), lpe = kC("play"), mM = () => z.invalidateQueries({
+ queryKey: dM,
exact: !0
});
-function ipe({ item: e, toast: t }) {
- let [n, i] = (0, B.useState)(e.candidates[0]?.id ?? null), a = Cw({
- mutationFn: () => $fe(e.id, Number(n)),
+function upe({ item: e, toast: t }) {
+ let [n, i] = (0, B.useState)(e.candidates[0]?.id ?? null), a = yw({
+ mutationFn: () => ape(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), yM();
+ t(`记录已接到新文件,批次 ${e.batch}`), mM();
},
onError: (e) => t(G(e))
- }), o = Cw({
- mutationFn: () => epe(e.id),
+ }), o = yw({
+ mutationFn: () => ope(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), yM();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), mM();
}
}), s = () => {
r({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${_M(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${fM(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => o.mutateAsync()
});
}, c = a.isPending || o.isPending;
- return /* @__PURE__ */ (0, H.jsxs)(k_, {
+ return /* @__PURE__ */ (0, H.jsxs)(O_, {
id: e.id,
children: [
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsxs)("span", {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, H.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, H.jsx)(rpe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(lpe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, H.jsx)("img", {
@@ -37502,27 +37510,27 @@ function ipe({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "block min-w-44",
- children: _M(e.records)
+ children: fM(e.records)
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: e.candidates.length ? /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: e.candidates.length ? /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-64",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && i(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e.id,
- textValue: vM(e),
- children: vM(e)
+ textValue: pM(e),
+ children: pM(e)
}, e.id))
}) : /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsxs)("span", {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
@@ -37542,23 +37550,23 @@ function ipe({ item: e, toast: t }) {
]
});
}
-function ape({ toast: e }) {
- let t = bw({
- queryKey: gM,
- queryFn: ({ signal: e }) => Qfe(e)
+function dpe({ toast: e }) {
+ let t = gw({
+ queryKey: dM,
+ queryFn: ({ signal: e }) => ipe(e)
}), n = t.data?.items ?? [];
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, H.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, H.jsx)(dT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(sT, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, H.jsxs)(pT, {
+ }), /* @__PURE__ */ (0, H.jsxs)(lT, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, H.jsx)(fT, {
+ /* @__PURE__ */ (0, H.jsx)(cT, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -37571,28 +37579,28 @@ function ape({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: G(t.error)
- }) : /* @__PURE__ */ (0, H.jsx)(dM, { children: /* @__PURE__ */ (0, H.jsxs)(lM, {
+ }) : /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, H.jsxs)(C_, { children: [
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, H.jsx)(E_, { children: n.map((t) => /* @__PURE__ */ (0, H.jsx)(ipe, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: n.map((t) => /* @__PURE__ */ (0, H.jsx)(upe, {
item: t,
toast: e
}, t.id)) })]
@@ -37603,99 +37611,99 @@ function ape({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var ope = NC("git-compare"), spe = NC("rotate-cw"), cpe = "暂时无法读取进度,正在重新连接…", bM = "清理失效条目", xM = "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", SM = (e) => Number(e || 0).toLocaleString();
-function lpe({ scan: t }) {
+var fpe = kC("git-compare"), ppe = kC("rotate-cw"), mpe = "暂时无法读取进度,正在重新连接…", hM = "清理失效条目", gM = "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", _M = (e) => Number(e || 0).toLocaleString();
+function hpe({ scan: t }) {
let n = t.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", {
- className: xM,
+ className: gM,
children: (t.sources ?? []).map((t) => /* @__PURE__ */ (0, H.jsx)("article", {
- className: eM(),
- children: /* @__PURE__ */ (0, H.jsx)(tM, {
- label: gfe[t.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, H.jsx)(LT, { mark: e[t.location] ?? "database" }),
+ className: Yj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Xj, {
+ label: Sfe[t.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, H.jsx)(NT, { mark: e[t.location] ?? "database" }),
aside: /* @__PURE__ */ (0, H.jsx)("span", {
className: t.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: t.online ? "可访问" : "离线,已跳过"
}),
- figure: t.online ? `${SM(t.missing)} 项` : "—",
- meta: bfe(t),
+ figure: t.online ? `${_M(t.missing)} 项` : "—",
+ meta: Efe(t),
wrapMeta: !0
})
}, t.location))
}), /* @__PURE__ */ (0, H.jsxs)("div", {
- className: xM,
+ className: gM,
children: [
/* @__PURE__ */ (0, H.jsx)("article", {
- className: eM(),
- children: /* @__PURE__ */ (0, H.jsx)(tM, {
+ className: Yj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Xj, {
label: "待永久删除",
- figure: `${SM(Bj(t))} 项`,
+ figure: `${_M(Fj(t))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, H.jsx)("article", {
- className: eM(),
- children: /* @__PURE__ */ (0, H.jsx)(tM, {
+ className: Yj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Xj, {
label: "将标为已消失",
- figure: `${SM(t.vanish)} 项`,
+ figure: `${_M(t.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, H.jsx)("article", {
- className: eM(),
- children: /* @__PURE__ */ (0, H.jsx)(tM, {
+ className: Yj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Xj, {
label: "空文件夹",
- figure: `${SM(t.empty)} 个`,
+ figure: `${_M(t.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, H.jsx)("article", {
- className: eM(),
- children: /* @__PURE__ */ (0, H.jsx)(tM, {
+ className: Yj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Xj, {
label: "可清理的缓存",
- figure: `${SM(n.files)} 个`,
+ figure: `${_M(n.files)} 个`,
meta: n.files ? I(n.bytes) : ""
})
})
]
})] });
}
-function upe({ toast: e }) {
- let t = iM({
- queryKey: Fj,
- queryFn: ({ signal: e }) => Lj(e),
- start: pfe,
+function gpe({ toast: e }) {
+ let t = $j({
+ queryKey: Aj,
+ queryFn: ({ signal: e }) => Mj(e),
+ start: yfe,
onFinish: (t) => {
if (z.invalidateQueries({
- queryKey: qj,
+ queryKey: Hj,
exact: !0
}), z.invalidateQueries({
- queryKey: Pj,
+ queryKey: kj,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = Uj(t);
- r ? e(`已完成 ${SM(n)} 项,${SM(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = Rj(t);
+ r ? e(`已完成 ${_M(n)} 项,${_M(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = iM({
- queryKey: Pj,
- queryFn: ({ signal: e }) => Ij(e),
- start: ffe,
+ }), n = $j({
+ queryKey: kj,
+ queryFn: ({ signal: e }) => jj(e),
+ start: vfe,
onStarted: () => t.dismiss()
}), i = n.job, a = n.running || n.start.isPending, o = t.running || t.start.isPending, s = i?.status === "complete" || i?.status === "failed", c = a ? "扫描中" : s ? "重新扫描" : "检查文件", l = (e) => void r({
- title: bM,
- body: yfe(e),
- confirmLabel: bM,
+ title: hM,
+ body: Tfe(e),
+ confirmLabel: hM,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), u = t.outcome, d = (e) => {
- let t = Uj(e).left > 0;
+ let t = Rj(e).left > 0;
return /* @__PURE__ */ (0, H.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: xfe(e, I)
+ children: Dfe(e, I)
});
}, f = null, p = null;
if (u?.status === "failed") p = /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -37704,7 +37712,7 @@ function upe({ toast: e }) {
children: u.error || "请查看任务记录,核对已处理的文件。"
});
else if (u) p = d(u);
- else if (t.running) f = /* @__PURE__ */ (0, H.jsx)(ST, {
+ else if (t.running) f = /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -37716,11 +37724,11 @@ function upe({ toast: e }) {
else if (n.query.isError && i) p = /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: cpe
+ children: mpe
});
else if (i?.status === "running") {
- let e = _fe(i);
- f = /* @__PURE__ */ (0, H.jsx)(ST, {
+ let e = Cfe(i);
+ f = /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: e,
value: i.completed_sources,
@@ -37737,13 +37745,13 @@ function upe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (i?.status === "complete") {
- let e = hfe(i);
+ let e = xfe(i);
p = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(lpe, { scan: i }),
+ /* @__PURE__ */ (0, H.jsx)(hpe, { scan: i }),
e ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
title: "清理内容",
- children: vfe(i)
+ children: wfe(i)
}) : null,
/* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -37751,7 +37759,7 @@ function upe({ toast: e }) {
variant: "danger",
...X(o),
onClick: () => l(i),
- children: o ? "正在复核并清理…" : bM
+ children: o ? "正在复核并清理…" : hM
}) : /* @__PURE__ */ (0, H.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -37768,16 +37776,16 @@ function upe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(dT, {
+ /* @__PURE__ */ (0, H.jsx)(sT, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, H.jsxs)(pT, {
+ /* @__PURE__ */ (0, H.jsxs)(lT, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, H.jsx)(J, {
"data-resource-scan": !0,
- leadingIcon: s && !a ? spe : ope,
+ leadingIcon: s && !a ? ppe : fpe,
...X(a),
onClick: () => {
a || n.start.mutate();
@@ -37785,7 +37793,7 @@ function upe({ toast: e }) {
children: c
}),
children: [
- /* @__PURE__ */ (0, H.jsx)(fT, {
+ /* @__PURE__ */ (0, H.jsx)(cT, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -37811,16 +37819,16 @@ function upe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function CM(e, t) {
+function vM(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function wM({ section: e, label: t, icon: n, value: r, open: i }) {
+function yM({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
- className: eM({ interactive: !0 }),
+ className: Yj({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, H.jsx)(tM, {
+ children: /* @__PURE__ */ (0, H.jsx)(Xj, {
label: t,
icon: n,
figure: r.figure,
@@ -37828,80 +37836,80 @@ function wM({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var dpe = NC("square-check-big"), fpe = NC("sparkles"), ppe = NC("file-stack"), mpe = NC("file-archive"), hpe = NC("trash"), gpe = [
- Wj,
- WA,
- MA
-], _pe = () => {
- for (let e of gpe) z.invalidateQueries({
+var _pe = kC("square-check-big"), vpe = kC("sparkles"), ype = kC("file-stack"), bpe = kC("file-archive"), xpe = kC("trash"), Spe = [
+ zj,
+ zA,
+ DA
+], Cpe = () => {
+ for (let e of Spe) z.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function vpe({ toast: e, failure: t, open: n }) {
- let r = bw({
- queryKey: Wj,
- queryFn: ({ signal: e }) => Jj(e)
- }), i = bw({
- queryKey: WA,
- queryFn: ({ signal: e }) => GA(e)
- }), a = bw({
- queryKey: MA,
- queryFn: ({ signal: e }) => PA(e)
- }), o = bw({
- queryKey: Gj,
- queryFn: ({ signal: e }) => Yj(e)
- }), s = bw({
- queryKey: qj,
- queryFn: ({ signal: e }) => Xj(e)
- }), c = bw({
- queryKey: kA,
- queryFn: ({ signal: e }) => AA(e)
+function wpe({ toast: e, failure: t, open: n }) {
+ let r = gw({
+ queryKey: zj,
+ queryFn: ({ signal: e }) => Uj(e)
+ }), i = gw({
+ queryKey: zA,
+ queryFn: ({ signal: e }) => BA(e)
+ }), a = gw({
+ queryKey: DA,
+ queryFn: ({ signal: e }) => kA(e)
+ }), o = gw({
+ queryKey: Bj,
+ queryFn: ({ signal: e }) => Wj(e)
+ }), s = gw({
+ queryKey: Hj,
+ queryFn: ({ signal: e }) => Gj(e)
+ }), c = gw({
+ queryKey: wA,
+ queryFn: ({ signal: e }) => TA(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, H.jsxs)(Fk, { children: [
+ return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: Mfe,
+ className: Rfe,
children: [
- /* @__PURE__ */ (0, H.jsx)(wM, {
+ /* @__PURE__ */ (0, H.jsx)(yM, {
section: "review",
label: "人工复核",
- icon: dpe,
+ icon: _pe,
open: n,
- value: CM(r, Tfe)
+ value: vM(r, jfe)
}),
- /* @__PURE__ */ (0, H.jsx)(wM, {
+ /* @__PURE__ */ (0, H.jsx)(yM, {
section: "quality",
label: "高清版",
- icon: fpe,
+ icon: vpe,
open: n,
- value: CM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: vM(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, H.jsx)(wM, {
+ /* @__PURE__ */ (0, H.jsx)(yM, {
section: "duplicates",
label: "重复文件",
- icon: ppe,
+ icon: ype,
open: n,
- value: CM(a, (e) => Number(e.total || 0) ? {
+ value: vM(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${I(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, H.jsx)(wM, {
+ /* @__PURE__ */ (0, H.jsx)(yM, {
section: "ads",
label: "垃圾文件",
- icon: mpe,
+ icon: bpe,
open: n,
- value: CM(o, (e) => ({
+ value: vM(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: Efe(e)
+ meta: Mfe(e)
}))
}),
- /* @__PURE__ */ (0, H.jsx)(wM, {
+ /* @__PURE__ */ (0, H.jsx)(yM, {
section: "trash",
label: "回收站",
- icon: hpe,
+ icon: xpe,
open: n,
- value: CM(s, (e) => ({
+ value: vM(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${I(e.bytes || 0)}` : ""
}))
@@ -37914,30 +37922,30 @@ function vpe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, H.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, H.jsx)(BT, {
+ children: /* @__PURE__ */ (0, H.jsx)(FT, {
toast: l,
monitor: !0,
- onComplete: _pe
+ onComplete: Cpe
})
}),
/* @__PURE__ */ (0, H.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, H.jsx)(Ife, {})
+ children: /* @__PURE__ */ (0, H.jsx)(Hfe, {})
}),
- /* @__PURE__ */ (0, H.jsx)(Jfe, {
+ /* @__PURE__ */ (0, H.jsx)(epe, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(Ufe, {}),
- /* @__PURE__ */ (0, H.jsx)(ape, { toast: l }),
- Rj(c.data) ? /* @__PURE__ */ (0, H.jsx)(upe, { toast: e }) : null
+ /* @__PURE__ */ (0, H.jsx)(Yfe, {}),
+ /* @__PURE__ */ (0, H.jsx)(dpe, { toast: l }),
+ Nj(c.data) ? /* @__PURE__ */ (0, H.jsx)(gpe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var ype = [
+var Tpe = [
"loc",
"creator",
"tag",
@@ -37947,51 +37955,51 @@ var ype = [
"orient",
"sort",
"dir"
-], TM = {
+], bM = {
media: "videos",
set: 0
-}, EM = (e, t) => [
+}, xM = (e, t) => [
"entity",
e,
t
-], bpe = (e, t, n, r) => [
+], Epe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], DM = (e, t, n, r) => [
+], SM = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], OM = (e) => String(e || "").split(",").filter(Boolean), xpe = (e, t) => OM(e).includes(t);
-function kM(e, t, n, r, i = 0) {
+], CM = (e) => String(e || "").split(",").filter(Boolean), Dpe = (e, t) => CM(e).includes(t);
+function wM(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), 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 ype) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of Tpe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function AM(e, t, n, r, i, a) {
- return await N(`/api/items?${kM(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function TM(e, t, n, r, i, a) {
+ return await N(`/api/items?${wM(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var jM = (e) => {
+var EM = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = kM(e.kind, e.name, e.filters, t).toString();
+ }, n = wM(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: bpe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => AM(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: Epe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => TM(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, MM = (e, t) => ({
- queryKey: EM(e, t),
+}, DM = (e, t) => ({
+ queryKey: xM(e, t),
queryFn: ({ signal: n }) => N(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Spe(e, t, n, r, i, a) {
+function Ope(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)}` : ""}`;
@@ -38000,10 +38008,10 @@ function Spe(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 NM = (e, t, n, r) => ({
- queryKey: DM(e, t, n, r),
+var OM = (e, t, n, r) => ({
+ queryKey: SM(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await N(Spe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await N(Ope(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -38016,8 +38024,8 @@ var NM = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), PM = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function Cpe(e) {
+}), kM = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function kpe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -38029,51 +38037,51 @@ async function Cpe(e) {
n
] });
await Promise.all([
- z.fetchQuery(MM(t, n)).then((t) => !t || t.error || !t.id ? null : (z.removeQueries({ queryKey: ew(Number(t.id)) }), z.fetchQuery(tw(Number(t.id), e.helpers.feedRowHtml, !0)))),
- z.fetchQuery(jM(e)),
- z.fetchInfiniteQuery(NM(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? z.fetchInfiniteQuery(NM(t, n, e.media.set, "")) : null
+ z.fetchQuery(DM(t, n)).then((t) => !t || t.error || !t.id ? null : (z.removeQueries({ queryKey: XC(Number(t.id)) }), z.fetchQuery(ZC(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ z.fetchQuery(EM(e)),
+ z.fetchInfiniteQuery(OM(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? z.fetchInfiniteQuery(OM(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var FM = "/api/follow/authors", IM = "/api/follow/tags", LM = (e) => [
+var Ape = "/api/follow/authors", jpe = "/api/follow/tags", AM = (e) => [
"follow",
"authors",
e
-], RM = (e, t) => [
+], jM = (e, t) => [
"follow",
"tags",
e,
t
];
-function zM(e, t, n) {
+function MM(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${FM}?${r}`;
+ return e && r.set("q", e), `${Ape}?${r}`;
}
-function BM(e, t, n, r) {
+function NM(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), `${IM}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${jpe}?${i}`;
}
-var VM = (e, t, n, r) => K(zM(e, t, n), r), HM = (e, t, n, r, i) => K(BM(e, t, n, r), i), UM = "/api/index", WM = {
+var PM = (e, t, n, r) => K(MM(e, t, n), r), FM = (e, t, n, r, i) => K(NM(e, t, n, r), i), IM = "/api/index", LM = {
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, GM = {
+}, RM = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, KM = [
+}, zM = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -38083,26 +38091,26 @@ var VM = (e, t, n, r) => K(zM(e, t, n), r), HM = (e, t, n, r, i) => K(BM(e, t, n
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], qM = [
+], BM = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], JM = {
+], VM = {
people: 120,
tags: 180
-}, YM = (e) => e !== "tags", XM = (e) => e === "studios" || e === "agencies";
-function ZM(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? qM : KM).some(([t]) => t === e.category);
+}, HM = (e) => e !== "tags", UM = (e) => e === "studios" || e === "agencies";
+function WM(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (t === "online" ? BM : zM).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: e.kind === "tags" && n ? e.category : "all"
};
}
-function QM(e) {
+function GM(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -38121,50 +38129,50 @@ function QM(e) {
q: n
};
}
-var $M = (e, t, n = "all") => [
+var KM = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" ? [n] : []
];
-function eN(e, t, n, r, i) {
+function qM(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${UM}?${a}`;
+ return t && a.set("q", t), e === "tags" && n !== "all" && a.set("category", n), `${IM}?${a}`;
}
-function tN(e) {
- let t = e.what === "people" || e.what === "online-authors" ? JM.people : JM.tags, n = {
+function JM(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? VM.people : VM.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: $M(e.kind, e.q),
- queryFn: ({ pageParam: n, signal: r }) => K(eN(e.kind, e.q, "all", t, n), r)
+ queryKey: KM(e.kind, e.q),
+ queryFn: ({ pageParam: n, signal: r }) => K(qM(e.kind, e.q, "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: $M("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => K(eN("tags", e.q, e.category, t, n), r)
+ queryKey: KM("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => K(qM("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: LM(e.q),
- queryFn: ({ pageParam: n, signal: r }) => VM(e.q, t, n, r)
+ queryKey: AM(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => PM(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: RM(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => HM(e.q, e.category, t, n, r)
+ queryKey: jM(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => FM(e.q, e.category, t, n, r)
};
}
}
-async function nN(e, t) {
- let n = tN(QM(ZM(e)));
+async function YM(e, t) {
+ let n = JM(GM(WM(e)));
z.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -38178,13 +38186,13 @@ async function nN(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var rN = (e) => e ? e.pages.flatMap((e) => e.items) : [], iN = (e, t) => `${e}${t ? "+" : ""} 项`, aN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", oN = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), sN = {
+var XM = (e) => e ? e.pages.flatMap((e) => e.items) : [], ZM = (e, t) => `${e}${t ? "+" : ""} 项`, QM = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", $M = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), eN = {
numeric: !0,
sensitivity: "base"
};
-function cN(e, t) {
+function tN(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", sN))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", eN))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).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]);
}
@@ -38192,7 +38200,7 @@ function cN(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function lN({ html: e, face: t, company: n, big: r }) {
+function nN({ html: e, face: t, company: n, big: r }) {
let i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -38204,18 +38212,18 @@ function lN({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var uN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function dN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var rN = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function iN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: cT({
+ className: iT({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${uN} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${rN} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -38232,8 +38240,8 @@ function dN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function fN({ kind: e, items: t, layout: n, props: r }) {
- let i = GM[e], a = XM(e), o = n === "big";
+function aN({ kind: e, items: t, layout: n, props: r }) {
+ let i = RM[e], a = UM(e), o = n === "big";
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
@@ -38241,14 +38249,14 @@ function fN({ kind: e, items: t, layout: n, props: r }) {
className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, H.jsx)(dN, {
+ return /* @__PURE__ */ (0, H.jsx)(iN, {
"data-k": t.k,
"data-kind": i,
name: t.k,
- readout: oN(e, t),
+ readout: $M(e, t),
big: o,
onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, H.jsx)(lN, {
+ children: /* @__PURE__ */ (0, H.jsx)(nN, {
html: n.html,
face: n.face,
company: a,
@@ -38258,21 +38266,21 @@ function fN({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function pN({ items: e, layout: t, props: n }) {
+function oN({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(dN, {
+ children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(iN, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, H.jsx)(lN, {
+ children: /* @__PURE__ */ (0, H.jsx)(nN, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -38282,14 +38290,14 @@ function pN({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function mN(e) {
+function sN(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}%`);
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var hN = "/vendor/swiper/14.2.0/", gN = null, _N = () => gN ??= Promise.all([new Promise((e, t) => {
- let n = `${hN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var cN = "/vendor/swiper/14.2.0/", lN = null, uN = () => lN ??= Promise.all([new Promise((e, t) => {
+ let n = `${cN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -38303,11 +38311,11 @@ var hN = "/vendor/swiper/14.2.0/", gN = null, _N = () => gN ??= Promise.all([new
return;
}
let r = document.createElement("script");
- r.src = `${hN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${cN}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 gN = null, e;
+ throw lN = null, e;
});
-function vN(e, t, n) {
+function dN(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);
@@ -38328,48 +38336,48 @@ function vN(e, t, n) {
}
};
}
-var yN = (e) => {
+var fN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : I(t)).replace(" ", "\xA0") : "大小未知";
-}, bN = (e) => e.asset?.name || e.name || "未命名图片";
-function xN(e, t) {
+}, pN = (e) => e.asset?.name || e.name || "未命名图片";
+function mN(e, t) {
let n = e.asset;
- if (n) return [M[n.location ?? ""] || n.location || "来源未知", yN(n.size)].join(" · ");
+ if (n) return [M[n.location ?? ""] || n.location || "来源未知", fN(n.size)].join(" · ");
let r = (e.total ?? 0) > 1 ? `第 ${e.position} / ${e.total} 张` : "", i = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
i,
- e.size ? yN(e.size) : ""
+ e.size ? fN(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var SN = null, CN = null, wN = 0;
-function wpe() {
- return (!CN || !SN?.isConnected) && (CN?.unmount(), SN = document.createElement("div"), SN.className = "peach-react", SN.dataset.photoLightboxHost = "", document.body.append(SN), CN = (0, Ot.createRoot)(SN)), CN;
+var hN = null, gN = null, _N = 0;
+function Mpe() {
+ return (!gN || !hN?.isConnected) && (gN?.unmount(), hN = document.createElement("div"), hN.className = "peach-react", hN.dataset.photoLightboxHost = "", document.body.append(hN), gN = (0, Ot.createRoot)(hN)), gN;
}
-async function TN(e, t, n) {
+async function vN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await _N();
+ r = await uN();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = wpe();
- (0, Dt.flushSync)(() => i.render(/* @__PURE__ */ (0, H.jsx)(Tpe, {
+ let i = Mpe();
+ (0, Dt.flushSync)(() => i.render(/* @__PURE__ */ (0, H.jsx)(Npe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++wN)));
+ }, ++_N)));
}
-function EN() {
- CN && (0, Dt.flushSync)(() => CN.render(null));
+function yN() {
+ gN && (0, Dt.flushSync)(() => gN.render(null));
}
-function Tpe({ slides: e, index: t, Swiper: n, host: r }) {
+function Npe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, B.useId)(), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), [_, v] = (0, B.useState)(t), [y, b] = (0, B.useState)(100), [S, C] = (0, B.useState)({}), [T, E] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [O, k] = (0, B.useState)(!1), [A, j] = (0, B.useState)({
at: t,
text: ""
@@ -38412,7 +38420,7 @@ function Tpe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = vN(e, a, b);
+ i(t, 0), h.current = dN(e, a, b);
let m = D(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();
};
@@ -38429,13 +38437,13 @@ function Tpe({ 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) : EN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : yN());
};
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, B.useLayoutEffect)(() => {
- m.current && mN(m.current);
+ m.current && sN(m.current);
}, [y]);
let M = e[_], N = M.asset ?? null, ee = async (e) => {
if (!N || !r || e.getAttribute("aria-busy") === "true") return;
@@ -38466,18 +38474,18 @@ function Tpe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), EN();
+ e.preventDefault(), yN();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && EN();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && yN();
},
children: [
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: EN,
+ onClick: yN,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -38610,10 +38618,10 @@ function Tpe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: bN(M)
+ children: pN(M)
}, _), /* @__PURE__ */ (0, H.jsx)("span", {
"data-photo-detail-meta": "",
- children: xN(M, S[_])
+ children: mN(M, S[_])
})]
}),
/* @__PURE__ */ (0, H.jsx)("button", {
@@ -38652,33 +38660,33 @@ function Tpe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function Epe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, H.jsx)(Dpe, {
+function Ppe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, H.jsx)(Fpe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, H.jsx)(Ope, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, H.jsx)(jpe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, H.jsx)(Ipe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, H.jsx)(zpe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function Dpe({ roster: e, props: t }) {
+function Fpe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, B.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, H.jsx)(fN, {
+ return /* @__PURE__ */ (0, H.jsx)(aN, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function Ope(e) {
- let t = cA(!e.items, e.skeletonHtml);
+function Ipe(e) {
+ let t = rA(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, H.jsx)(EA, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, H.jsx)(xA, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -38697,16 +38705,16 @@ function Ope(e) {
}) : null]
});
}
-var kpe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var Lpe = (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 || "官方样张"
-})), DN = (e) => e.sample === !0, ON = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, kN = (e) => DN(e) ? `/sample-thumb?${ON(e)}` : `/photo-thumb?id=${e.id}`, Ape = (e) => DN(e) ? {
- src: `/sample-image?${ON(e)}`,
- thumb: kN(e),
+})), bN = (e) => e.sample === !0, xN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, SN = (e) => bN(e) ? `/sample-thumb?${xN(e)}` : `/photo-thumb?id=${e.id}`, Rpe = (e) => bN(e) ? {
+ src: `/sample-image?${xN(e)}`,
+ thumb: SN(e),
name: e.name,
asset: null,
source: e.source,
@@ -38714,18 +38722,18 @@ var kpe = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: kN(e),
+ thumb: SN(e),
name: e.name || "",
asset: e
};
-function jpe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, B.useMemo)(() => [...e.codeSets.flatMap(kpe), ...e.items], [e]), [s, c] = (0, B.useState)(() => /* @__PURE__ */ new Set()), l = (0, B.useCallback)((e) => c((t) => {
+function zpe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, B.useMemo)(() => [...e.codeSets.flatMap(Lpe), ...e.items], [e]), [s, c] = (0, B.useState)(() => /* @__PURE__ */ new Set()), l = (0, B.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, B.useCallback)((e) => {
- TN(e, o.map(Ape), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, H.jsx)(Mpe, {
+ vN(e, o.map(Rpe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, H.jsx)(Bpe, {
item: e,
index: t,
lost: s.has(t),
@@ -38743,7 +38751,7 @@ function jpe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(AN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(CN, {
label: e.code,
title: e.name,
meta: [
@@ -38755,7 +38763,7 @@ function jpe({ 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, H.jsx)(AN, {
+ m.length && e.total ? /* @__PURE__ */ (0, H.jsx)(CN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -38764,14 +38772,14 @@ function jpe({ 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, H.jsx)(DA, {
+ e.hasMore ? /* @__PURE__ */ (0, H.jsx)(SA, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function AN({ label: e, title: t, meta: n }) {
+function CN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -38788,7 +38796,7 @@ function AN({ label: e, title: t, meta: n }) {
]
});
}
-function Mpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function Bpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -38797,7 +38805,7 @@ function Mpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, H.jsx)("img", {
- src: kN(e),
+ src: SN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -38806,7 +38814,7 @@ function Mpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
})
});
}
-function jN(e) {
+function wN(e) {
return {
x0: 0,
y0: 0,
@@ -38814,7 +38822,7 @@ function jN(e) {
y1: e.height
};
}
-function MN(e) {
+function TN(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -38822,40 +38830,40 @@ function MN(e) {
y1: Math.round(e.y1)
};
}
-function NN(e) {
+function EN(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function PN(e, t) {
- if (!NN(e)) return {
+function DN(e, t) {
+ if (!EN(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return jN(e);
+ if (t == null || !(t > 0)) return wN(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 MN({
+ return TN({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function Npe(e, t) {
- if (!NN(e) || !(t > 0)) return jN(e);
+function Vpe(e, t) {
+ if (!EN(e) || !(t > 0)) return wN(e);
let n = Math.min(e.width, e.height * t);
- return MN({
+ return TN({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function Ppe(e, t, n) {
- if (!NN(t) || !(n > 0)) return jN(t);
- let r = FN(e, t), i = PN({
+function Hpe(e, t, n) {
+ if (!EN(t) || !(n > 0)) return wN(t);
+ let r = ON(e, t), i = DN({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -38866,8 +38874,8 @@ function Ppe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function FN(e, t, n = null, r = "width") {
- if (!NN(t)) return {
+function ON(e, t, n = null, r = "width") {
+ if (!EN(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -38876,43 +38884,43 @@ function FN(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 MN({
+ return TN({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function IN(e, t, n, r) {
+function kN(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 MN({
+ return TN({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function LN(e, t, n, r = null) {
- if (!NN(n) || !(t > 0)) return e;
+function AN(e, t, n, r = null) {
+ if (!EN(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 FN({
+ return ON({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function Fpe(e, t, n, r, i = null) {
+function Upe(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 FN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return ON(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function Ipe(e, t) {
- return NN(t) ? {
+function Wpe(e, t) {
+ return EN(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -38924,8 +38932,8 @@ function Ipe(e, t) {
height: 0
};
}
-function Lpe(e, t) {
- if (!NN(t)) return {
+function Gpe(e, t) {
+ if (!EN(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -38935,7 +38943,7 @@ function Lpe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function Rpe(e, t) {
+function Kpe(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}%`,
@@ -38944,17 +38952,17 @@ function Rpe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function RN(e, t, n) {
+function jN(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var zpe = {
+var qpe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function zN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function MN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = La();
return /* @__PURE__ */ (0, H.jsx)(og, {
isOpen: e,
@@ -38965,7 +38973,7 @@ function zN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
children: /* @__PURE__ */ (0, H.jsx)(oee, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${zpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ className: `flex max-h-full w-full ${qpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
children: /* @__PURE__ */ (0, H.jsx)(mh, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
@@ -38974,7 +38982,7 @@ function zN({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function BN({ children: e }) {
+function NN({ children: e }) {
return /* @__PURE__ */ (0, H.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",
@@ -38983,8 +38991,8 @@ function BN({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var Bpe = .02, VN = 1.08;
-function HN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var Jpe = .02, PN = 1.08;
+function FN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, B.useRef)(null), c = (0, B.useRef)(null), [l, u] = (0, B.useState)(!1);
(0, B.useEffect)(() => {
u(!1);
@@ -38995,8 +39003,8 @@ function HN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: RN(e, n.clientWidth, r.width),
- dy: RN(t, n.clientHeight, r.height)
+ dx: jN(e, n.clientWidth, r.width),
+ dy: jN(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -39014,29 +39022,29 @@ function HN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(IN(n.box, o.dx, o.dy, r));
+ i(kN(n.box, o.dx, o.dy, r));
return;
}
- i(Fpe(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));
+ i(Upe(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 m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * Bpe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * Jpe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(IN(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(kN(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(LN(n, e.key === "-" ? 1 / VN : VN, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(AN(n, e.key === "-" ? 1 / PN : PN, r, t)));
}
- let g = n && r ? Ipe(FN(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? Wpe(ON(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -39055,7 +39063,7 @@ function HN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- NN({
+ EN({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -39094,7 +39102,7 @@ function HN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(LN(n, e.deltaY > 0 ? VN : 1 / VN, r, t));
+ !n || !r || i(AN(n, e.deltaY > 0 ? PN : 1 / PN, 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, H.jsx)("span", {
@@ -39116,61 +39124,61 @@ function HN({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var Vpe = "/api/avatar-choices", UN = "/api/avatar-pick", Hpe = "/api/avatar-code-cover", Upe = "/avatar-choice", WN = (e, t) => [
+var Ype = "/api/avatar-choices", IN = "/api/avatar-pick", Xpe = "/api/avatar-code-cover", Zpe = "/avatar-choice", LN = (e, t) => [
"avatar-choices",
e,
t
-], GN = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, KN = (e, t, n, r = "") => `${Upe}${GN(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), qN = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Wpe = (e, t, n) => K(Vpe + GN(e, t), n), Gpe = (e) => q(Hpe, { code: e });
-function JN(e, t, n) {
+], RN = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, zN = (e, t, n, r = "") => `${Zpe}${RN(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), BN = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", Qpe = (e, t, n) => K(Ype + RN(e, t), n), $pe = (e) => q(Xpe, { code: e });
+function VN(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? Ppe(e.focus, t, n) : PN(t, n);
+ return e.focus && r ? Hpe(e.focus, t, n) : DN(t, n);
}
-var Kpe = (e) => e.crop && NN({
+var eme = (e) => e.crop && EN({
width: e.width,
height: e.height
});
-async function qpe(e, t, n) {
+async function tme(e, t, n) {
if (!("file" in n)) {
- await q(UN, {
+ await q(IN, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${UN}${GN(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${IN}${RN(e, t)}&name=${encodeURIComponent(r.name)}`, {
method: "POST",
credentials: "same-origin",
body: r
});
if (i.ok) return;
let a = await i.json().catch(() => null);
- throw new HC(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new RC(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function Jpe(e, t) {
+function nme(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var Ype = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function Xpe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Ype(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var rme = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function ime(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${rme(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var YN = (e) => e.cast > 1, Zpe = (e) => YN(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Qpe = {
+var HN = (e) => e.cast > 1, ame = (e) => HN(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, ome = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function $pe(e) {
+function sme(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var eme = (e) => `${Qpe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (YN(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), tme = 8, nme = 3 / 4;
-function rme({ kind: e, entityId: t, name: n, onPicked: r }) {
+var cme = (e) => `${ome[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (HN(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), lme = 8, ume = 3 / 4;
+function dme({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -39180,17 +39188,17 @@ function rme({ 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, H.jsx)(Uae, {
+ children: /* @__PURE__ */ (0, H.jsx)(qae, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, H.jsx)(zN, {
+ }), /* @__PURE__ */ (0, H.jsx)(MN, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, H.jsx)(ime, {
+ children: /* @__PURE__ */ (0, H.jsx)(fme, {
kind: e,
entityId: t,
name: n,
@@ -39199,33 +39207,33 @@ function rme({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, B.useRef)(null), o = mT(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = WN(e, t), g = (0, B.useRef)(!1), _ = bw({
+function fme({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, B.useRef)(null), o = uT(), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(null), h = LN(e, t), g = (0, B.useRef)(!1), _ = gw({
queryKey: h,
- queryFn: ({ signal: n }) => Wpe(e, t, n),
+ queryFn: ({ signal: n }) => Qpe(e, t, n),
retryOnMount: !0
});
(0, B.useEffect)(() => () => {
- g.current && z.removeQueries({ queryKey: WN(e, t) });
+ g.current && z.removeQueries({ queryKey: LN(e, t) });
}, [e, t]);
- let v = Cw({
- mutationFn: (n) => qpe(e, t, n),
+ let v = yw({
+ mutationFn: (n) => tme(e, t, n),
onSuccess: () => {
g.current = !0, i(), r();
}
- }), y = Cw({
- mutationFn: (e) => Gpe(e),
+ }), y = yw({
+ mutationFn: (e) => $pe(e),
onSuccess: (e) => m(e)
});
function b(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && v.mutate({ file: n });
}
- let x = _.data, S = x?.choices ?? [], C = d || (v.error ? G(v.error) : "") || (!p && y.error ? G(y.error) : "") || (_.error ? G(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : Xpe(x);
+ let x = _.data, S = x?.choices ?? [], C = d || (v.error ? G(v.error) : "") || (!p && y.error ? G(y.error) : "") || (_.error ? G(_.error) : ""), w = v.isPending || y.isPending, T = p ? "" : ime(x);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, H.jsx)(BN, { children: /* @__PURE__ */ (0, H.jsx)($w, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, H.jsx)(NN, { children: /* @__PURE__ */ (0, H.jsx)(Yw, { className: "size-6" }) }),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -39235,14 +39243,14 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: p ? "框出头像那一块" : "更换头像"
- }), !p && S.length ? /* @__PURE__ */ (0, H.jsxs)(Nk, {
+ }), !p && S.length ? /* @__PURE__ */ (0, H.jsxs)(Ok, {
color: "soft",
children: [S.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: p ? Zpe(p) : Jpe(n, x)
+ children: p ? ame(p) : nme(n, x)
}),
T ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "neutral",
@@ -39254,14 +39262,14 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsx)(gT, {
- icon: Bw,
+ /* @__PURE__ */ (0, H.jsx)(fT, {
+ icon: Iw,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), p ? /* @__PURE__ */ (0, H.jsx)(ome, {
+ }), p ? /* @__PURE__ */ (0, H.jsx)(mme, {
kind: e,
entityId: t,
choice: p,
@@ -39285,7 +39293,7 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": _.isPending || void 0,
"data-skeleton": _.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: _.isPending ? Array.from({ length: tme }, (e, t) => /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: _.isPending ? Array.from({ length: lme }, (e, t) => /* @__PURE__ */ (0, H.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",
@@ -39298,15 +39306,15 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: eme(n),
+ title: cme(n),
...X(w),
onClick: () => {
w || (n.crop ? m(n) : v.mutate({ ref: n.ref }));
},
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, H.jsx)(ame, {
- src: KN(e, t, n.ref, qN(n, n.ref)),
+ /* @__PURE__ */ (0, H.jsx)(pme, {
+ src: zN(e, t, n.ref, BN(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, H.jsx)("span", {
@@ -39315,15 +39323,15 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, H.jsx)(Nk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- YN(n) ? /* @__PURE__ */ (0, H.jsx)("span", {
+ HN(n) ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, H.jsxs)(Nk, {
+ children: /* @__PURE__ */ (0, H.jsxs)(Ok, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -39342,7 +39350,7 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -39377,7 +39385,7 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fk, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -39397,7 +39405,7 @@ function ime({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function ame({ src: e, choice: t }) {
+function pme({ src: e, choice: t }) {
let n = (0, B.useRef)(null), [r, i] = (0, B.useState)(!1);
(0, B.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -39405,7 +39413,7 @@ function ame({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = Kpe(t) ? Rpe(JN(t, a, nme), a) : null, s = r ? !0 : void 0;
+ }, o = eme(t) ? Kpe(VN(t, a, ume), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, H.jsx)("img", {
@@ -39430,23 +39438,23 @@ function ame({ src: e, choice: t }) {
})]
});
}
-function ome({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, B.useState)(o[0]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = qN(n, s), m = KN(e, t, s, p), h = mT();
+function mme({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, B.useState)(o[0]), [l, u] = (0, B.useState)(null), [d, f] = (0, B.useState)(null), p = BN(n, s), m = zN(e, t, s, p), h = uT();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? Lpe(d, l) : null;
+ let _ = d && l ? Gpe(d, l) : null;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, H.jsx)(HN, {
+ children: [/* @__PURE__ */ (0, H.jsx)(FN, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), NN(e) && f(s === n.ref ? JN(n, e, 1) : PN(e, 1));
+ u(e), EN(e) && f(s === n.ref ? VN(n, e, 1) : DN(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
@@ -39460,7 +39468,7 @@ function ome({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: $pe(e)
+ children: sme(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -39494,12 +39502,12 @@ function ome({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var sme = {
+var hme = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function XN({ name: e }) {
- let t = sme[e];
+function UN({ name: e }) {
+ let t = hme[e];
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -39509,19 +39517,19 @@ function XN({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function ZN(e, t) {
+function WN(e, t) {
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;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var QN = (e) => !!e?.isConnected && e.matches(":popover-open");
-function $N(e, t, n, r) {
+var GN = (e) => !!e?.isConnected && e.matches(":popover-open");
+function KN(e, t, n, r) {
let i = (0, B.useRef)(r);
i.current = r, (0, B.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && QN(n.current) ? ZN(t.current, n.current) : i.current();
+ t.current && GN(n.current) ? WN(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -39535,17 +39543,17 @@ function $N(e, t, n, r) {
n
]);
}
-function eP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function qN({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(!1), u = (0, B.useRef)(!1), d = (0, B.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, QN(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, GN(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || QN(s.current)) && (s.current.showPopover(), ZN(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || GN(s.current)) && (s.current.showPopover(), WN(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 $N(c, o, s, f), (0, B.useEffect)(() => {
+ return KN(c, o, s, f), (0, B.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -39571,7 +39579,7 @@ function eP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && QN(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && GN(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -39589,16 +39597,16 @@ function eP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function cme({ following: e, busy: t, onToggle: n, tip: r }) {
+function gme({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), [s, c] = (0, B.useState)(!1), l = (0, B.useRef)(!1), u = () => {
- QN(o.current) && o.current.hidePopover(), c(!1);
+ GN(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || QN(o.current) || (o.current.showPopover(), ZN(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || GN(o.current) || (o.current.showPopover(), WN(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return $N(s, i, o, () => c(!1)), (0, B.useEffect)(() => {
- i.current && QN(o.current) && ZN(i.current, o.current);
+ return KN(s, i, o, () => c(!1)), (0, B.useEffect)(() => {
+ i.current && GN(o.current) && WN(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, H.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -39607,7 +39615,7 @@ function cme({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, H.jsx)(XN, { name: "rss" }),
+ /* @__PURE__ */ (0, H.jsx)(UN, { name: "rss" }),
/* @__PURE__ */ (0, H.jsx)("input", {
ref: a,
type: "checkbox",
@@ -39642,7 +39650,7 @@ function cme({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function lme({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function _me({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, B.useState)(!1), o = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
@@ -39653,12 +39661,12 @@ function lme({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, H.jsx)(XN, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, H.jsx)(UN, { name: "chevron-down" })
}), /* @__PURE__ */ (0, H.jsx)(nm, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: aT,
+ className: tT,
"data-namepick-menu": "",
children: /* @__PURE__ */ (0, H.jsxs)(ih, {
"aria-label": "名字与别名",
@@ -39676,7 +39684,7 @@ function lme({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, H.jsx)(XN, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
}, e))
}),
/* @__PURE__ */ (0, H.jsx)(Eu, { "data-namepick-rule": "" }),
@@ -39685,18 +39693,18 @@ function lme({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, H.jsx)(XN, { name: "plus" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "plus" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var ume = (e) => e === "studio" || e === "agency", dme = (e) => e === "performer" || e === "creator", fme = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function pme(e) {
+var vme = (e) => e === "studio" || e === "agency", yme = (e) => e === "performer" || e === "creator", bme = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
+function xme(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function tP(e) {
+function JN(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -39707,13 +39715,13 @@ function tP(e) {
linked: !1
} : null;
}
-function nP(e, t) {
+function YN(e, t) {
let n = oe(e, "performer"), r = re(t);
return r && [e.label, n].map(re).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var rP = (e) => ({ site: ie(e) });
-function mme(e, t) {
- let n = tP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var XN = (e) => ({ site: ie(e) });
+function Sme(e, t) {
+ let n = JN(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -39723,7 +39731,7 @@ function mme(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${nP(e, n)} · ${t}`
+ title: `${YN(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -39734,8 +39742,8 @@ function mme(e, t) {
if (t === "performer" && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: nP(e, n),
- mark: rP(e)
+ title: YN(e, n),
+ mark: XN(e)
};
if (e.link_kind === "social") {
let t = ee(r);
@@ -39743,7 +39751,7 @@ function mme(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : rP(e)
+ mark: t ? { brand: t } : XN(e)
};
}
return {
@@ -39751,13 +39759,13 @@ function mme(e, t) {
url: r,
title: e.label || "",
text: oe(e, t, i),
- mark: rP(e)
+ mark: XN(e)
};
});
return [...r, ...a];
}
-var iP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function hme(e) {
+var ZN = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Cme(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -39814,14 +39822,14 @@ function hme(e) {
tags: e.tags
}), t;
}
-function gme(e) {
+function wme(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function _me(e) {
+function Tme(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 ? {
@@ -39832,7 +39840,7 @@ function _me(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function vme(e) {
+function Eme(e) {
return ge({
id: e.id,
hasImage: e.has_image,
@@ -39842,8 +39850,8 @@ function vme(e) {
focus: e.avatar_focus
});
}
-function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = dme(e), c = ume(e), l = e === "performer" ? hme(n.profile) : [], u = mme(n, e), d = iP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, B.useRef)(null), m = (0, B.useRef)(null);
+function Dme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = yme(e), c = vme(e), l = e === "performer" ? Cme(n.profile) : [], u = Sme(n, e), d = ZN(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, B.useRef)(null), m = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, B.useEffect)(() => {
@@ -39856,7 +39864,7 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, H.jsx)(bme, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Ome, {
kind: e,
name: t,
helpers: o,
@@ -39864,7 +39872,7 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, H.jsx)(rme, {
+ children: /* @__PURE__ */ (0, H.jsx)(dme, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -39877,14 +39885,14 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, H.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, H.jsx)(lme, {
+ children: [/* @__PURE__ */ (0, H.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, H.jsx)(_me, {
current: n.canonical_name,
- choices: pme(n),
+ choices: xme(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
})]
}),
- /* @__PURE__ */ (0, H.jsx)(xme, {
+ /* @__PURE__ */ (0, H.jsx)(kme, {
kind: e,
entity: n,
actions: a
@@ -39892,9 +39900,9 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, H.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, H.jsx)(Tme, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, H.jsx)(Nme, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, H.jsx)(Eme, {
+ d.length || n.feed ? /* @__PURE__ */ (0, H.jsx)(Pme, {
entity: n,
actions: a,
helpers: o
@@ -39903,11 +39911,11 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, H.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(Cme, {
+ children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(jme, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, H.jsx)(wme, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, H.jsx)(Mme, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -39926,7 +39934,7 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, H.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${P(e.k.slice(0, 1))}</span>${vme(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${P(e.k.slice(0, 1))}</span>${Eme(e)}` }
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -39934,14 +39942,14 @@ function yme({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Ew, {
+ }), i ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Sw, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function bme({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function Ome({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, B.useState)(() => `${n.portraitImg()}<span>${P(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -39950,8 +39958,8 @@ function bme({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function xme({ kind: e, entity: t, actions: n }) {
- let r = tP(t), i = (e, t) => (r) => {
+function kme({ kind: e, entity: t, actions: n }) {
+ let r = JN(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, H.jsx)("a", {
href: te("agency", r.name),
@@ -39960,36 +39968,36 @@ function xme({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer") {
- let e = _me(t.name_groups);
+ let e = Tme(t.name_groups);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-entity-alias": "meta",
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, H.jsx)(XN, { name: "film" }), /* @__PURE__ */ (0, H.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "film" }), /* @__PURE__ */ (0, H.jsx)("span", { children: o })]
}),
a ? /* @__PURE__ */ (0, H.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, H.jsx)(XN, { name: "briefcase" }), /* @__PURE__ */ (0, H.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: "briefcase" }), /* @__PURE__ */ (0, H.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, H.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, H.jsx)(XN, { name: "id-card" }),
+ /* @__PURE__ */ (0, H.jsx)(UN, { name: "id-card" }),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, H.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, H.jsx)(eP, {
+ e.rest > 0 ? /* @__PURE__ */ (0, H.jsx)(qN, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, H.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, H.jsx)(Sme, {
+ children: /* @__PURE__ */ (0, H.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, H.jsx)(Ame, {
label: e.label,
names: e.names
}, t)) })
@@ -40024,25 +40032,25 @@ function xme({ kind: e, entity: t, actions: n }) {
]
});
}
-function Sme({ label: e, names: t }) {
+function Ame({ label: e, names: t }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e ? /* @__PURE__ */ (0, H.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, H.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, H.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function Cme({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("dt", { children: [/* @__PURE__ */ (0, H.jsx)(XN, { name: e }), t] }), /* @__PURE__ */ (0, H.jsx)("dd", {
+function jme({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("dt", { children: [/* @__PURE__ */ (0, H.jsx)(UN, { name: e }), t] }), /* @__PURE__ */ (0, H.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function wme({ tags: e }) {
- let { shown: t, rest: n } = gme(e);
+function Mme({ tags: e }) {
+ let { shown: t, rest: n } = wme(e);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, H.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, H.jsx)(eP, {
+ }, e)), n ? /* @__PURE__ */ (0, H.jsx)(qN, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -40057,10 +40065,10 @@ function wme({ tags: e }) {
})
}) : null] });
}
-function aP({ mark: e }) {
+function QN({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, H.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, H.jsx)(XN, { name: e.brand })
+ children: /* @__PURE__ */ (0, H.jsx)(UN, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${P(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, H.jsx)("span", {
@@ -40068,7 +40076,7 @@ function aP({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Tme({ link: e }) {
+function Nme({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, H.jsx)("a", {
"data-link": "icon",
@@ -40077,19 +40085,19 @@ function Tme({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, H.jsx)(aP, { mark: e.mark })
+ children: /* @__PURE__ */ (0, H.jsx)(QN, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, H.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, H.jsx)(aP, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, H.jsx)(QN, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, H.jsxs)("span", {
"data-link": "private",
title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, H.jsx)(aP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(QN, { mark: { globe: !0 } }), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -40100,14 +40108,14 @@ function Tme({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, H.jsx)(aP, { mark: e.mark }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(QN, { mark: e.mark }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Eme({ entity: e, actions: t, helpers: n }) {
+function Pme({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, B.useState)(!!e.feed?.following), [a, o] = (0, B.useState)(!1), s = (0, B.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -40125,47 +40133,47 @@ function Eme({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-entry-marks": "",
- children: [iP(e).map((e, t) => /* @__PURE__ */ (0, H.jsxs)("a", {
+ children: [ZN(e).map((e, t) => /* @__PURE__ */ (0, H.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, H.jsx)(XN, { name: e.mark }) : /* @__PURE__ */ (0, H.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, H.jsx)(UN, { name: e.mark }) : /* @__PURE__ */ (0, H.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, H.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, H.jsx)(cme, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, H.jsx)(gme, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: fme(r)
+ tip: bme(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Dme(e) {
- let { kind: t, name: n } = e, r = bw(MM(t, n)), i = !!r.data?.error, { actions: a } = e;
+function Fme(e) {
+ let { kind: t, name: n } = e, r = gw(DM(t, n)), i = !!r.data?.error, { actions: a } = e;
return (0, B.useLayoutEffect)(() => {
i && a.missing();
- }, [a, i]), r.isError ? /* @__PURE__ */ (0, H.jsx)(lA, {
+ }, [a, i]), r.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
message: G(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i ? null : /* @__PURE__ */ (0, H.jsx)(Ame, {
+ }) : !r.data || i ? null : /* @__PURE__ */ (0, H.jsx)(Rme, {
...e,
entity: r.data
});
}
-function oP(e) {
+function $N(e) {
let [t, n] = (0, B.useState)({
key: e,
n: 1
@@ -40177,14 +40185,14 @@ function oP(e) {
};
return n(r), r.n;
}
-var Ome = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function kme(e, t) {
+var Ime = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function Lme(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function Ame(e) {
- let { kind: t, name: n, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = t === "agency" || t === "studio", d = t === "agency" ? i.related_performers || [] : t === "studio" && i.labels || [], f = Number(i.id) || 0, p = ww(NM(t, n, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || PM(m).length > 0, _ = o.media === "photos" && g ? o : TM, [v, y] = (0, B.useState)("people"), b = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [x, S] = (0, B.useState)(b);
+function Rme(e) {
+ let { kind: t, name: n, entity: i, filters: a, media: o, helpers: s, actions: c, hosts: l } = e, u = t === "agency" || t === "studio", d = t === "agency" ? i.related_performers || [] : t === "studio" && i.labels || [], f = Number(i.id) || 0, p = bw(OM(t, n, 0, "")).data?.pages[0], m = p && !p.error ? p : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || kM(m).length > 0, _ = o.media === "photos" && g ? o : bM, [v, y] = (0, B.useState)("people"), b = new URLSearchParams(Object.entries(a).filter(([, e]) => e)).toString(), [x, S] = (0, B.useState)(b);
x !== b && (S(b), y("videos"));
- let C = u && v === "people" && d.length ? "people" : _.media, [w, T] = (0, B.useState)(0), E = jM(e), D = bw(E), O = oP(JSON.stringify([E.queryKey, w])), [k] = (0, B.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
+ let C = u && v === "people" && d.length ? "people" : _.media, [w, T] = (0, B.useState)(0), E = EM(e), D = gw(E), O = $N(JSON.stringify([E.queryKey, w])), [k] = (0, B.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
(0, B.useLayoutEffect)(() => {
c.javContext(k);
}, [c, k]);
@@ -40194,26 +40202,26 @@ function Ame(e) {
}, [e.layout, k]), j = {
jav: e.jav,
seed: e.seed
- }, M = (0, B.useCallback)((e, r) => AM(t, n, a, j, e, r), [O]), [ee, te] = (0, B.useState)({}), P = _.set, F = ee[P] || "", ne = ww({
- ...NM(t, n, P, F),
+ }, M = (0, B.useCallback)((e, r) => TM(t, n, a, j, e, r), [O]), [ee, te] = (0, B.useState)({}), P = _.set, F = ee[P] || "", ne = bw({
+ ...OM(t, n, P, F),
enabled: C === "photos"
- }), I = ne.data?.pages[0], re = oP(JSON.stringify(DM(t, n, P, F))), L = (0, B.useMemo)(() => {
+ }), I = ne.data?.pages[0], re = $N(JSON.stringify(SM(t, n, P, F))), L = (0, B.useMemo)(() => {
let e = ne.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: re,
- codeSets: t.id ? [] : PM(t),
+ codeSets: t.id ? [] : kM(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
- }, [ne.data, re]), ie = ne.refetch, ae = ne.fetchNextPage, oe = bw({
- ...tw(f, s.feedRowHtml),
+ }, [ne.data, re]), ie = ne.refetch, ae = ne.fetchNextPage, oe = gw({
+ ...ZC(f, s.feedRowHtml),
enabled: !!f
}), se = (0, B.useRef)(e.feedRevision);
(0, B.useEffect)(() => {
- se.current !== e.feedRevision && (se.current = e.feedRevision, z.invalidateQueries({ queryKey: ew(f) }));
+ se.current !== e.feedRevision && (se.current = e.feedRevision, z.invalidateQueries({ queryKey: XC(f) }));
}, [f, e.feedRevision]);
let ce = !!D.data;
(0, B.useEffect)(() => {
@@ -40230,12 +40238,12 @@ function Ame(e) {
le.current = !1;
}, []);
let R = (0, B.useCallback)(async () => {
- await z.invalidateQueries({ queryKey: EM(t, n) }), await z.invalidateQueries({ queryKey: [
+ await z.invalidateQueries({ queryKey: xM(t, n) }), await z.invalidateQueries({ queryKey: [
"entity-items",
t,
n
] });
- }, [t, n]), ue = Cw({
+ }, [t, n]), ue = yw({
mutationFn: (e) => N("/api/entity-alias", {
method: "POST",
body: JSON.stringify({
@@ -40245,14 +40253,14 @@ function Ame(e) {
})
}),
onSuccess: () => R()
- }), de = Cw({ mutationFn: ({ from: e, to: n }) => N("/api/entity-name", {
+ }), de = yw({ mutationFn: ({ from: e, to: n }) => N("/api/entity-name", {
method: "POST",
body: JSON.stringify({
kind: t,
name: e,
canonical: n
})
- }) }), fe = Cw({
+ }) }), fe = yw({
mutationFn: (e) => N("/api/feeds/source", {
method: "POST",
body: JSON.stringify({
@@ -40261,7 +40269,7 @@ function Ame(e) {
enabled: e
})
}),
- onSuccess: (e, r) => z.setQueryData(EM(t, n), (e) => e && {
+ onSuccess: (e, r) => z.setQueryData(xM(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -40309,10 +40317,10 @@ function Ame(e) {
let e = await N("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- le.current && await z.invalidateQueries({ queryKey: ew(f) });
+ le.current && await z.invalidateQueries({ queryKey: XC(f) });
})();
},
- feedAction: nw,
+ feedAction: QC,
avatarPicked: () => {
c.avatarChanged(), R().then(() => {
le.current && T((e) => e + 1);
@@ -40343,19 +40351,19 @@ function Ame(e) {
e === C && !_.set || (y(e === "people" ? "people" : "videos"), c.route(a, e === "photos" ? {
media: "photos",
set: 0
- } : TM));
+ } : bM));
},
setState: (e) => c.route({
...a,
state: e
- }, TM),
+ }, bM),
toggleTag: c.toggleTag,
clearFilter: c.clearFilter,
clearAll: c.clearAll,
setSort: c.setSort,
reshuffle: async () => {
if (C !== "photos") {
- let r = c.reshuffleVideos(), i = jM({
+ let r = c.reshuffleVideos(), i = EM({
kind: t,
name: n,
filters: {
@@ -40369,7 +40377,7 @@ function Ame(e) {
await z.fetchQuery(i).catch(() => null);
return;
}
- let r = Ome(), i = await z.fetchInfiniteQuery(NM(t, n, P, r)).catch(() => null);
+ let r = Ime(), i = await z.fetchInfiniteQuery(OM(t, n, P, r)).catch(() => null);
!le.current || !i?.pages[0] || i.pages[0].error || te((e) => ({
...e,
[P]: r
@@ -40402,7 +40410,7 @@ function Ame(e) {
k: e.k,
label: Je(e.k),
n: e.n,
- selected: xpe(a.tag, e.k)
+ selected: Dpe(a.tag, e.k)
})), ve = h || d.length ? {
label: d.length ? "页面视图" : "媒体类型",
people: d.length ? {
@@ -40428,9 +40436,9 @@ function Ame(e) {
if (C === "people") Se = `${t === "studio" ? "厂牌" : "艺人"} · ${d.length.toLocaleString()}`;
else if (C === "videos") {
Ce = !D.data;
- let e = OM(a.tag).map((e) => Je(e));
+ let e = CM(a.tag).map((e) => Je(e));
Se = `视频 · ${(D.data?.total || 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;
- } else I && !I.error ? Se = be ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : kme(I, PM(I).length) : Ce = ne.isPending;
+ } else I && !I.error ? Se = be ? `${I.title} · ${(I.total || 0).toLocaleString()} 张` : Lme(I, kM(I).length) : Ce = ne.isPending;
let we = (0, B.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -40447,7 +40455,7 @@ function Ame(e) {
d
]);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(yme, {
+ /* @__PURE__ */ (0, H.jsx)(Dme, {
kind: t,
name: n,
entity: i,
@@ -40457,7 +40465,7 @@ function Ame(e) {
actions: pe,
helpers: me
}, w),
- (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Kie, {
+ (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(Xie, {
kind: t,
name: n,
view: C,
@@ -40473,12 +40481,12 @@ function Ame(e) {
actions: he,
helpers: ge
}), l.filter),
- (0, Dt.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, H.jsx)(lA, {
+ (0, Dt.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
message: G(D.error),
onRetry: () => {
D.refetch();
}
- }) : /* @__PURE__ */ (0, H.jsx)(Epe, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Ppe, {
kind: t,
name: n,
view: C,
@@ -40504,7 +40512,7 @@ function Ame(e) {
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function sP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function eP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, H.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
@@ -40531,29 +40539,29 @@ function sP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var jme = NC("play"), Mme = NC("file-stack"), Nme = cT({
+var zme = kC("play"), Bme = kC("file-stack"), Vme = iT({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), cP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", lP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", uP = "font-mono text-caption-1-regular leading-5 text-text-secondary", dP = () => {
+}), tP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", nP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", rP = "font-mono text-caption-1-regular leading-5 text-text-secondary", iP = () => {
z.invalidateQueries({
- queryKey: MA,
+ queryKey: DA,
exact: !0
}), z.invalidateQueries({
- queryKey: qj,
+ queryKey: Hj,
exact: !0
});
};
-function Pme(e) {
+function Hme(e) {
return e.identical ? /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${lP} text-(--keep)`,
+ className: `${nP} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${lP} text-text-secondary`,
+ className: `${nP} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function Fme({ file: t, openItem: n }) {
+function Ume({ file: t, openItem: n }) {
let r = () => n(t.id);
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -40563,7 +40571,7 @@ function Fme({ file: t, openItem: n }) {
onClick: r,
"aria-label": `预览 ${t.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, H.jsx)(jme, {
+ children: [/* @__PURE__ */ (0, H.jsx)(zme, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, H.jsx)("img", {
@@ -40587,55 +40595,55 @@ function Fme({ file: t, openItem: n }) {
}), t.is_largest || t.is_longest ? /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex flex-none gap-1",
children: [t.is_largest ? /* @__PURE__ */ (0, H.jsx)("i", {
- className: `${cP} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${tP} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, t.is_longest ? /* @__PURE__ */ (0, H.jsx)("i", {
- className: `${cP} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${tP} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
- className: `${uP} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, H.jsx)(LT, { mark: e[t.location] || "database" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ className: `${rP} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: e[t.location] || "database" }), /* @__PURE__ */ (0, H.jsx)("span", {
className: "whitespace-nowrap",
children: M[t.location] || t.location || t.drive
})]
}),
/* @__PURE__ */ (0, H.jsx)("span", {
- className: uP,
+ className: rP,
children: I(t.size || 0)
}),
/* @__PURE__ */ (0, H.jsx)("span", {
- className: uP,
+ className: rP,
children: ne(t.duration)
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-middle-truncate": !0,
title: t.path ?? "",
- className: `${uP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${rP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: t.path ?? ""
})
]
});
}
-function Ime({ openItem: e, toast: t, failure: n }) {
- let i = bw({
- queryKey: MA,
- queryFn: ({ signal: e }) => PA(e)
- }), a = bw({
- queryKey: kA,
- queryFn: ({ signal: e }) => AA(e)
- }), [o, s] = (0, B.useState)(""), c = Cw({
- mutationFn: (e) => LA(e, "dispose"),
+function Wme({ openItem: e, toast: t, failure: n }) {
+ let i = gw({
+ queryKey: DA,
+ queryFn: ({ signal: e }) => kA(e)
+ }), a = gw({
+ queryKey: wA,
+ queryFn: ({ signal: e }) => TA(e)
+ }), [o, s] = (0, B.useState)(""), c = yw({
+ mutationFn: (e) => MA(e, "dispose"),
onSuccess: (e, r) => {
- dP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ iP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await LA(r, "restore");
+ await MA(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- dP();
+ iP();
}
} });
},
@@ -40649,12 +40657,12 @@ function Ime({ openItem: e, toast: t, failure: n }) {
children: i.error ? G(i.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let u = l.groups ?? [], d = cde(a.data), f = ({ groups: e, keep: t, key: n }) => {
+ let u = l.groups ?? [], d = mde(a.data), f = ({ groups: e, keep: t, key: n }) => {
if (c.isPending) return;
- let i = pde(e, t);
+ let i = yde(e, t);
i.length && r({
title: "移入回收站",
- body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${FA[t] ?? FA.largest}。文件共 ${I(mde(e, i))},记录可从回收站还原。`,
+ body: `将把 ${i.length} 个重复文件的馆藏记录移入回收站,每组保留${AA[t] ?? AA.largest}。文件共 ${I(bde(e, i))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (s(n), c.mutateAsync(i))
});
@@ -40662,7 +40670,7 @@ function Ime({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, H.jsx)(sP, {
+ /* @__PURE__ */ (0, H.jsx)(eP, {
label: "重复内容",
figure: `${Number(l.total || 0).toLocaleString()} 组`,
detail: `${l.files} 个文件 · 可回收 ${I(l.reclaimable)}`
@@ -40688,7 +40696,7 @@ function Ime({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- fde(u, d).map((e) => /* @__PURE__ */ (0, H.jsx)(br, {
+ vde(u, d).map((e) => /* @__PURE__ */ (0, H.jsx)(br, {
busy: o === `all:${e}`,
onPress: () => f({
groups: u,
@@ -40711,7 +40719,7 @@ function Ime({ openItem: e, toast: t, failure: n }) {
let r = [t], i = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": t.code,
- className: Nme,
+ className: Vme,
children: [/* @__PURE__ */ (0, H.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: [
@@ -40723,9 +40731,9 @@ function Ime({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${t.count} 个 · 可回收 ${I(t.reclaimable)}`
}),
- Pme(t),
+ Hme(t),
t.cross_drive ? /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${lP} text-text-secondary`,
+ className: `${nP} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, H.jsxs)("span", {
@@ -40753,7 +40761,7 @@ function Ime({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- IA(t.files, d).map((e) => /* @__PURE__ */ (0, H.jsx)(J, {
+ jA(t.files, d).map((e) => /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
...p(i(e)),
@@ -40778,13 +40786,13 @@ function Ime({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, H.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, H.jsx)(Fme, {
+ }), /* @__PURE__ */ (0, H.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, H.jsx)(Ume, {
file: t,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: Mme,
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: Bme,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -40792,8 +40800,212 @@ function Ime({ openItem: e, toast: t, failure: n }) {
});
}
//#endregion
+//#region src/react/diagnostics/diagnostics.ts
+var aP = ["diagnostics"], oP = (e) => K("/api/diagnostics", e);
+async function Gme(e) {
+ await z.fetchQuery({
+ queryKey: aP,
+ queryFn: () => oP(e),
+ staleTime: 1e4
+ });
+}
+//#endregion
+//#region src/react/diagnostics/diagnostics-page.tsx
+var sP = {
+ ok: "正常",
+ warning: "需检查",
+ failed: "需处理",
+ unknown: "未取得",
+ disabled: "未配置"
+}, Kme = [
+ ["媒体库与挂载", ["media_mounts", "data_root"]],
+ ["数据库与迁移", ["database", "schema"]],
+ ["工具", ["ffmpeg"]],
+ ["配置与访问", [
+ "configured",
+ "security",
+ "port",
+ "version"
+ ]],
+ ["后台任务", ["tasks"]]
+], cP = (e) => new Date(e).toLocaleString();
+function qme({ name: e, check: t, navigate: n, configure: r }) {
+ let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";
+ return /* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
+ children: [
+ /* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "flex flex-wrap items-center justify-between gap-2",
+ children: [/* @__PURE__ */ (0, H.jsx)("h3", {
+ className: "text-body-medium text-text-primary",
+ children: t.label
+ }), /* @__PURE__ */ (0, H.jsx)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: sP[t.status] ?? "未取得"
+ })]
+ }),
+ /* @__PURE__ */ (0, H.jsx)("p", {
+ className: "text-body-regular text-text-primary break-words",
+ children: t.reason
+ }),
+ t.action ? /* @__PURE__ */ (0, H.jsx)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: t.action
+ }) : null,
+ t.target ? /* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ size: "small",
+ variant: "secondary",
+ onClick: () => t.target === "/configuration" ? r(i) : n(t.target),
+ children: t.target === "/configuration" ? `打开${i}配置` : "查看任务"
+ }) }) : null
+ ]
+ });
+}
+function Jme({ group: e, openItem: t, receipt: n }) {
+ let r = pT(), i = uT(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, H.jsx)(MT, {
+ summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count} 项`}`,
+ children: e.count === null ? /* @__PURE__ */ (0, H.jsx)(Y, {
+ tone: "neutral",
+ children: "清单未取得,请重新检查。"
+ }) : e.items.length ? /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "flex flex-wrap items-center justify-between gap-2",
+ children: [e.truncated ? /* @__PURE__ */ (0, H.jsxs)("span", {
+ className: "text-body-2-regular text-text-secondary",
+ children: [
+ "当前显示 ",
+ e.items.length,
+ " 项"
+ ]
+ }) : null, /* @__PURE__ */ (0, H.jsx)(J, {
+ size: "small",
+ variant: "secondary",
+ ...X(r.busy === "copy"),
+ onClick: () => void r.run("copy", () => navigator.clipboard.writeText(a), () => n("已复制清单")),
+ children: "复制当前清单"
+ })]
+ }),
+ r.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
+ tone: "error",
+ children: r.error
+ }) : null,
+ /* @__PURE__ */ (0, H.jsx)("div", {
+ className: "relative",
+ children: /* @__PURE__ */ (0, H.jsx)("ul", {
+ ref: i,
+ className: "flex max-h-80 flex-col gap-2 overflow-y-auto",
+ children: e.items.map((e) => /* @__PURE__ */ (0, H.jsx)("li", { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ size: "small",
+ variant: "ghost",
+ onClick: () => t(e.id),
+ children: e.code || `作品 #${e.id}`
+ }) }, e.id))
+ })
+ })
+ ] }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: Qae,
+ title: "清单为空",
+ shell: "plain",
+ children: "没有需要处理的作品。"
+ })
+ });
+}
+function Yme(e) {
+ let t = gw({
+ queryKey: aP,
+ queryFn: ({ signal: e }) => oP(e),
+ staleTime: 1e4
+ }), n = pT(), [r, i] = (0, B.useState)(""), a = () => void n.run("refresh", async () => {
+ let e = await t.refetch();
+ if (e.error) throw e.error;
+ return e.data;
+ }, () => i(""), (e) => i(G(e))), o = t.data;
+ return o ? /* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "configpage flex flex-col gap-6",
+ children: [
+ /* @__PURE__ */ (0, H.jsx)("div", {
+ className: "flex justify-end",
+ children: /* @__PURE__ */ (0, H.jsx)(J, {
+ variant: "secondary",
+ onClick: a,
+ ...X(n.busy === "refresh"),
+ children: "重新检查"
+ })
+ }),
+ r ? /* @__PURE__ */ (0, H.jsx)(Y, {
+ tone: "error",
+ children: r
+ }) : null,
+ /* @__PURE__ */ (0, H.jsx)(ST, {
+ title: "库健康",
+ children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [o.library.issue_at ? /* @__PURE__ */ (0, H.jsxs)("p", {
+ className: "text-body-2-regular text-text-secondary",
+ children: ["处理记录 · ", cP(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, H.jsx)(Jme, {
+ group: n,
+ ...e
+ }, t))] })
+ }),
+ Kme.map(([t, n]) => /* @__PURE__ */ (0, H.jsx)(ST, {
+ title: t,
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, H.jsx)(qme, {
+ name: t,
+ check: o.checks[t],
+ ...e
+ }, t) : null)
+ }, t)),
+ /* @__PURE__ */ (0, H.jsx)(ST, {
+ title: "来源会话",
+ children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [o.sources.map((e) => /* @__PURE__ */ (0, H.jsxs)("div", {
+ className: "flex flex-col gap-2",
+ children: [
+ /* @__PURE__ */ (0, H.jsxs)("h3", {
+ className: "text-body-medium text-text-primary",
+ children: [
+ e.label,
+ " · ",
+ sP[e.status]
+ ]
+ }),
+ /* @__PURE__ */ (0, H.jsx)("p", {
+ className: "text-body-regular text-text-primary",
+ children: e.reason
+ }),
+ /* @__PURE__ */ (0, H.jsxs)(AT, { children: [/* @__PURE__ */ (0, H.jsx)(jT, {
+ term: "上次解析成功",
+ children: e.last_success_at ? cP(e.last_success_at) : "未取得"
+ }), /* @__PURE__ */ (0, H.jsx)(jT, {
+ term: "冷却截止",
+ children: e.cooldown_until ? cP(e.cooldown_until) : "未在冷却"
+ })] })
+ ]
+ }, e.source)), /* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ size: "small",
+ variant: "secondary",
+ onClick: () => e.navigate("/scraping"),
+ children: "打开来源和凭证"
+ }) })] })
+ })
+ ]
+ }) : /* @__PURE__ */ (0, H.jsx)("div", {
+ className: "configpage",
+ children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ tone: "error",
+ title: "诊断读取失败",
+ action: /* @__PURE__ */ (0, H.jsx)(J, {
+ variant: "secondary",
+ onClick: a,
+ ...X(n.busy === "refresh"),
+ children: "重新检查"
+ }),
+ children: t.error ? G(t.error) : "诊断报告未取得。"
+ })
+ });
+}
+//#endregion
//#region src/follow-sort.ts
-var fP = [
+var lP = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -40801,7 +41013,7 @@ var fP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], Lme = "checked", pP = {
+], Xme = "checked", uP = {
checked: "desc",
added: "desc",
name: "asc",
@@ -40809,32 +41021,32 @@ var fP = [
source: "asc",
provider: "asc",
status: "asc"
-}, Rme = (e) => fP.some(([t]) => t === e);
-function mP(e, t) {
- let n = Rme(e) ? e : Lme;
+}, Zme = (e) => lP.some(([t]) => t === e);
+function dP(e, t) {
+ let n = Zme(e) ? e : Xme;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : pP[n]
+ dir: t === "asc" || t === "desc" ? t : uP[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var hP = "/api/follow", gP = "/api/follow/credentials", _P = "/api/follow/check", vP = "/api/follow/source", yP = "/api/follow/resolve", zme = "/api/follow/suggest", bP = "/api/follow/author-alias", Bme = "/api/follow/credential", xP = "/api/follow/status", Vme = "/api/feeds", SP = "/api/feeds/source", Hme = "/api/feeds/check", Ume = "/api/feeds/lookup", CP = ["follow-manage"], wP = ["follow-manage", "credentials"], Wme = ["follow-manage", "check"], Gme = ["follow-manage", "resolve"], TP = ["follow-manage", "feeds"], Kme = (e) => [
+var fP = "/api/follow", pP = "/api/follow/credentials", mP = "/api/follow/check", hP = "/api/follow/source", gP = "/api/follow/resolve", Qme = "/api/follow/suggest", _P = "/api/follow/author-alias", $me = "/api/follow/credential", vP = "/api/follow/status", ehe = "/api/feeds", yP = "/api/feeds/source", the = "/api/feeds/check", nhe = "/api/feeds/lookup", bP = ["follow-manage"], xP = ["follow-manage", "credentials"], rhe = ["follow-manage", "check"], ihe = ["follow-manage", "resolve"], SP = ["follow-manage", "feeds"], ahe = (e) => [
"follow-manage",
"suggest",
e
-], EP = [["default", "默认视图"], ["table", "表格视图"]], DP = [
+], CP = [["default", "默认视图"], ["table", "表格视图"]], wP = [
10,
20,
50,
100
-], qme = Object.fromEntries(fP), OP = {
+], ohe = Object.fromEntries(lP), TP = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Jme = (e) => EP.some(([t]) => t === e), Yme = (e) => DP.includes(Number(e)) ? Number(e) : 20, Xme = {
+}, she = (e) => CP.some(([t]) => t === e), che = (e) => wP.includes(Number(e)) ? Number(e) : 20, lhe = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -40842,25 +41054,25 @@ var hP = "/api/follow", gP = "/api/follow/credentials", _P = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, Zme = (e, t) => `按${qme[e]}${Xme[e][t === "asc" ? 0 : 1]}排序`;
-function kP(e) {
+}, uhe = (e, t) => `按${ohe[e]}${lhe[e][t === "asc" ? 0 : 1]}排序`;
+function EP(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function Qme(e) {
+function dhe(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var AP = (e) => e.last_status === "error" || e.last_status === "unauthorized", jP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), MP = {
- source: jP,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || jP(e, t),
- status: (e, t) => kP(e) - kP(t) || jP(e, t)
-}, NP = (e) => Date.parse(e || "") || 0, PP = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function FP(e, t = []) {
+var DP = (e) => e.last_status === "error" || e.last_status === "unauthorized", OP = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), kP = {
+ source: OP,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || OP(e, t),
+ status: (e, t) => EP(e) - EP(t) || OP(e, t)
+}, AP = (e) => Date.parse(e || "") || 0, jP = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function MP(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || PP(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || jP(e.label), r = e.find((e) => e.entity_name);
if (r) return r.entity_name;
let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);
- if (i) return PP(i.canonical_name);
+ if (i) return jP(i.canonical_name);
let a = e.find((e) => e.official_avatar_url);
if (a && n(a)) return n(a);
let o = e.map(n).filter(Boolean);
@@ -40868,18 +41080,18 @@ function FP(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function IP(e) {
+function NP(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function LP(e) {
+function PP(e) {
let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";
return {
src: r,
fallback: t && n && n.avatar_url !== r && n.avatar_url || ""
};
}
-function RP(e) {
+function FP(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -40887,32 +41099,32 @@ function RP(e) {
}
return t.map((e) => n.get(e));
}
-function $me(e, t, n, r = []) {
- let i = RP(e), a = n === pP[t] ? 1 : -1, o = (e) => FP(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = MP[t];
+function fhe(e, t, n, r = []) {
+ let i = FP(e), a = n === uP[t] ? 1 : -1, o = (e) => MP(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = kP[t];
if (c) {
for (let e of i) e.sort((e, t) => a * c(e, t));
return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));
}
- let l = (e) => Math.max(...e.map((e) => NP(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => NP(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => AP(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => AP(e.created_at)));
return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));
}
-function ehe(e, t, n, r = []) {
+function phe(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = FP(e, r);
+ let t = MP(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = MP[t];
+ }), a = kP[t];
if (a) {
- let e = n === pP[t] ? 1 : -1;
+ let e = n === uP[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function zP(e, t, n) {
- let r = qA(e, t), i = JA(n, r), a = (i - 1) * t;
+function IP(e, t, n) {
+ let r = HA(e, t), i = UA(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -40921,91 +41133,91 @@ function zP(e, t, n) {
end: Math.min(a + t, e)
};
}
-function the(e, t) {
+function mhe(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function BP(e, t) {
+function LP(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
all: t.length > 0 && n === t.length,
some: n > 0 && n < t.length
};
}
-function VP(e, t, n) {
+function RP(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var HP = (e) => K(`${hP}?summary=1`, e), UP = (e) => K(gP, e), nhe = (e) => K(_P, e), rhe = (e) => K(yP, e), ihe = (e, t) => K(`${zme}?q=${encodeURIComponent(e)}`, t), WP = (e) => q(_P, {
+var zP = (e) => K(`${fP}?summary=1`, e), BP = (e) => K(pP, e), hhe = (e) => K(mP, e), ghe = (e) => K(gP, e), _he = (e, t) => K(`${Qme}?q=${encodeURIComponent(e)}`, t), VP = (e) => q(mP, {
...e?.length ? { sources: e } : {},
background: !0
-}), ahe = (e) => q(yP, {
+}), vhe = (e) => q(gP, {
lines: e,
background: !0
-}), GP = (e, t) => q(vP, {
+}), HP = (e, t) => q(hP, {
action: "enabled",
id: e,
enabled: t
-}), KP = (e) => q(vP, {
+}), UP = (e) => q(hP, {
action: "remove",
id: e
-}), ohe = (e) => q(vP, {
+}), yhe = (e) => q(hP, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), qP = (e, t) => q(bP, {
+}), WP = (e, t) => q(_P, {
action: "add",
canonical: e,
alias: t
-}), she = (e) => q(bP, {
+}), bhe = (e) => q(_P, {
action: "remove",
alias: e
-}), che = (e, t) => q(Bme, {
+}), xhe = (e, t) => q($me, {
provider: e,
values: t
-}), lhe = (e, t) => q(xP, {
+}), She = (e, t) => q(vP, {
item: e,
to: t
-}), uhe = () => K(`${hP}?status=new&limit=1000`);
-async function JP(e) {
- let t = await K(Vme, e);
+}), Che = () => K(`${fP}?status=new&limit=1000`);
+async function GP(e) {
+ let t = await K(ehe, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var YP = (e, t, n) => q(SP, {
+var KP = (e, t, n) => q(yP, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), XP = (e, t) => q(SP, {
+}, "POST", n), qP = (e, t) => q(yP, {
action: "remove",
id: e
-}, "POST", t), ZP = (e, t) => q(Hme, t?.length ? { sources: t } : { all: !0 }, "POST", e), dhe = (e, t) => K(`${Ume}?q=${encodeURIComponent(e)}`, t), fhe = (e, t, n) => q(SP, {
+}, "POST", t), JP = (e, t) => q(the, t?.length ? { sources: t } : { all: !0 }, "POST", e), whe = (e, t) => K(`${nhe}?q=${encodeURIComponent(e)}`, t), The = (e, t, n) => q(yP, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function phe(e, t = "") {
+async function Ehe(e, t = "") {
await Promise.all([
z.fetchQuery({
- queryKey: CP,
- queryFn: () => HP(e)
+ queryKey: bP,
+ queryFn: () => zP(e)
}),
z.fetchQuery({
- queryKey: wP,
- queryFn: () => UP(e)
+ queryKey: xP,
+ queryFn: () => BP(e)
}),
t === "feeds" ? z.fetchQuery({
- queryKey: TP,
- queryFn: () => JP(e)
+ queryKey: SP,
+ queryFn: () => GP(e)
}) : null
]);
}
-function QP(e, t) {
- z.setQueryData(CP, (n) => n && {
+function YP(e, t) {
+ z.setQueryData(bP, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -41013,24 +41225,24 @@ function QP(e, t) {
} : n)
});
}
-function $P(e) {
+function XP(e) {
let t = new Set(e);
- z.setQueryData(CP, (e) => e && {
+ z.setQueryData(bP, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var eF = () => z.invalidateQueries({
- queryKey: CP,
+var ZP = () => z.invalidateQueries({
+ queryKey: bP,
exact: !0
});
-function mhe(e) {
+function Dhe(e) {
let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];
r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");
let f = t.filter((e) => e.exhausted).length;
return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;
}
-var hhe = (e) => (e?.results || []).filter((e) => !e.ok), ghe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", tF = (e) => e.last_checked_at ? YA(e.last_checked_at) : "未检查", _he = /* @__PURE__ */ new Set([
+var Ohe = (e) => (e?.results || []).filter((e) => !e.ok), khe = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", QP = (e) => e.last_checked_at ? WA(e.last_checked_at) : "未检查", Ahe = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -41043,50 +41255,50 @@ var hhe = (e) => (e?.results || []).filter((e) => !e.ok), ghe = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), nF = (e) => _he.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", vhe = {
+]), $P = (e) => Ahe.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", jhe = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, rF = (e) => !!e.present && !e.missing.length, yhe = [
+}, eF = (e) => !!e.present && !e.missing.length, Mhe = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], bhe = [
+], Nhe = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], iF = {
+], tF = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function aF(e, t) {
+function nF(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function oF(e, t) {
+function rF(e, t) {
return {
queryKey: [
"follow-feed",
- aF(e, 0),
+ nF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => K(aF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => K(nF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
- placeholderData: Tw.keepPreviousData
+ placeholderData: xw.keepPreviousData
};
}
-var sF = ["follow-feed", "credentials"], cF = (e) => K(gP, e).catch(() => ({ providers: [] }));
-async function xhe(e, t) {
- let n = oF(e.view, e.revision);
+var iF = ["follow-feed", "credentials"], aF = (e) => K(pP, e).catch(() => ({ providers: [] }));
+async function Phe(e, t) {
+ let n = rF(e.view, e.revision);
z.removeQueries({
queryKey: n.queryKey,
exact: !0
}), z.removeQueries({
- queryKey: sF,
+ queryKey: iF,
exact: !0
}), await Promise.all([z.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -41097,11 +41309,11 @@ async function xhe(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), z.fetchQuery({
- queryKey: sF,
- queryFn: () => cF(t)
+ queryKey: iF,
+ queryFn: () => aF(t)
})]);
}
-function lF(e) {
+function oF(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -41110,10 +41322,10 @@ function lF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function uF(e, t, n) {
+function sF(e, t, n) {
return [...e].sort((e, r) => le(n, t(e)) - le(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function dF(e) {
+function cF(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -41121,14 +41333,14 @@ function dF(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function She(e) {
+function Fhe(e) {
let t = z.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);
for (let n of t) {
let t = n.state.data;
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let r = t.pages[t.pages.length - 1];
for (let n of t.pages) for (let t of n.groups || []) {
- let n = dF(t).find((t) => t.id === e);
+ let n = cF(t).find((t) => t.id === e);
if (n) return {
item: n,
group: t,
@@ -41139,7 +41351,7 @@ function She(e) {
}
return null;
}
-function Che(e) {
+function Ihe(e) {
z.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -41149,7 +41361,7 @@ function Che(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return dF(t).some((t) => t.id === e.id) ? {
+ return cF(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -41159,39 +41371,39 @@ function Che(e) {
}))
});
}
-function whe(e, t) {
+function Lhe(e, t) {
z.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && yF(n, null, e, t));
+ }, (n) => n && gF(n, null, e, t));
}
-function fF(e) {
- return dF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function lF(e) {
+ return cF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function pF(e) {
+function uF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function mF(e) {
+function dF(e) {
let t = /* @__PURE__ */ new Set();
- return dF(e).forEach((e) => pF(e).forEach((e) => t.add(e))), t;
+ return cF(e).forEach((e) => uF(e).forEach((e) => t.add(e))), t;
}
-function hF(e, t) {
+function fF(e, t) {
let n = t === "images" ? "image" : "video";
- return fF(e).find((e) => pF(e).has(n)) || e.primary;
+ return lF(e).find((e) => uF(e).has(n)) || e.primary;
}
-function gF(e) {
- return fF(e).filter((e) => e.playable && e.media_kind === "video");
+function pF(e) {
+ return lF(e).filter((e) => e.playable && e.media_kind === "video");
}
-var _F = {
+var mF = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function The({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${_F[s] || _F.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function Rhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${mF[s] || mF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -41200,14 +41412,14 @@ function The({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function Ehe(e) {
+function zhe(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function vF(e, t, n) {
- return e === t ? iF[e] ? {
+function hF(e, t, n) {
+ return e === t ? tF[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -41215,13 +41427,13 @@ function vF(e, t, n) {
dir: "desc"
};
}
-function Dhe(e, t, n, r) {
- let i = vF(e, n, r);
+function Bhe(e, t, n, r) {
+ let i = hF(e, n, r);
if (!i) return "";
- let a = iF[i.sort];
+ let a = tF[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function yF(e, t, n, r) {
+function gF(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -41251,7 +41463,7 @@ function yF(e, t, n, r) {
})
};
}
-function Ohe(e, t) {
+function Vhe(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -41271,7 +41483,7 @@ function Ohe(e, t) {
label: e
})), n;
}
-function khe(e, t) {
+function Hhe(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -41286,7 +41498,7 @@ function khe(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function Ahe(e, t) {
+function Uhe(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -41295,7 +41507,7 @@ function Ahe(e, t) {
}
//#endregion
//#region src/sidebar.ts
-var jhe = [
+var Whe = [
"",
"follow",
"jav",
@@ -41304,7 +41516,7 @@ var jhe = [
"studios",
"flagged",
"manage"
-], Mhe = [
+], Ghe = [
"playlists",
"immerse",
"stats",
@@ -41314,77 +41526,77 @@ var jhe = [
"follow-manage",
"quality"
];
-[...jhe, ...Mhe];
-function Nhe(e) {
+[...Whe, ...Ghe];
+function Khe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var bF = (e) => typeof e == "string" ? e : "", xF = (e) => e.aliases;
-function SF(e, t = "") {
- let n = nF(e);
+var _F = (e) => typeof e == "string" ? e : "", vF = (e) => e.aliases;
+function yF(e, t = "") {
+ let n = $P(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${P(t)}"${t ? ` title="${P(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-var CF = (e, t) => FP(e, xF(t));
-function wF(e, t) {
- let { src: n, fallback: r } = LP(e), i = IP(t);
+var bF = (e, t) => MP(e, vF(t));
+function xF(e, t) {
+ let { src: n, fallback: r } = PP(e), i = NP(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${P(i)}</span>`;
let a = r ? ` data-fallbacks="${P(r)}"` : "";
return `<img class="favatar" src="${P(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${P(i)}" data-drop-class="favatar none">`;
}
-function TF(e, t, n) {
- let r = xF(n), i = e.credit, a = i?.poster;
+function SF(e, t, n) {
+ let r = vF(n), i = e.credit, a = i?.poster;
if (!a) {
- let n = FP(t, r);
+ let n = MP(t, r);
return {
- author: n || bF(e.author) || bF(e.source_label) || "创作者未取得",
- avatar: wF(t, n),
+ author: n || _F(e.author) || _F(e.source_label) || "创作者未取得",
+ avatar: xF(t, n),
credited: ""
};
}
- 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 && FP(c, r) || a;
+ 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 && MP(c, r) || a;
return {
author: l,
- avatar: wF(c, l),
+ avatar: xF(c, l),
credited: i.credited || ""
};
}
-function EF(e, t = e.primary) {
+function CF(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 = bF(e.primary.version);
+ let i = _F(e.primary.version);
i && n.push(r("version", P(i)));
- let a = bF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = _F(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function DF(e, t = e.primary) {
+function wF(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]) => SF(e, t) || `<span>${P(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => yF(e, t) || `<span>${P(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${P([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function OF(e, t) {
- let n = bF(e.media_error);
+function TF(e, t) {
+ let n = _F(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var kF = (e) => e.published_at ? YA(e.published_at) : "时间未取得", AF = /* @__PURE__ */ new Set(), jF = [], MF = null;
-function NF() {
- if (MF = null, !jF.length) return;
- let e = jF.splice(0, 200);
+var EF = (e) => e.published_at ? WA(e.published_at) : "时间未取得", DF = /* @__PURE__ */ new Set(), OF = [], kF = null;
+function AF() {
+ if (kF = null, !OF.length) return;
+ let e = OF.splice(0, 200);
N("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), jF.length && (MF = setTimeout(NF, 800));
+ }).catch(() => {}), OF.length && (kF = setTimeout(AF, 800));
}
-function Phe(e, t, n, r) {
+function qhe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- AF.has(i) || (AF.add(i), jF.push(t === null ? {
+ DF.has(i) || (DF.add(i), OF.push(t === null ? {
item: e,
width: n,
height: r
@@ -41393,15 +41605,15 @@ function Phe(e, t, n, r) {
width: n,
height: r,
media: t
- }), MF ||= setTimeout(NF, 800));
+ }), kF ||= setTimeout(AF, 800));
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var Fhe = (e) => Number(e) > 0;
-function Ihe(e) {
+var Jhe = (e) => Number(e) > 0;
+function Yhe(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function Lhe({ src: e, width: t, height: n, onLearn: r }) {
+function Xhe({ src: e, width: t, height: n, onLearn: r }) {
let [i, a] = (0, B.useState)(!1);
return i ? null : /* @__PURE__ */ (0, H.jsx)("img", {
src: e,
@@ -41417,8 +41629,8 @@ function Lhe({ src: e, width: t, height: n, onLearn: r }) {
} : void 0
});
}
-function Rhe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = hF(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 = f && f.thumb_url === p ? f : null, h = !m || p === u.thumb_url, g = d ? [m, h ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, _ = d && !g && p ? (e, t) => Phe(u.id, m ? m.index : null, e, t) : void 0, v = r === "videos" ? gF(t) : [], y = (u.media_items || []).length > 1 ? u.id : v[0]?.id || u.id, b = The({
+function Zhe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = fF(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 = f && f.thumb_url === p ? f : null, h = !m || p === u.thumb_url, g = d ? [m, h ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, _ = d && !g && p ? (e, t) => qhe(u.id, m ? m.index : null, e, t) : void 0, v = r === "videos" ? pF(t) : [], y = (u.media_items || []).length > 1 ? u.id : v[0]?.id || u.id, b = Rhe({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -41426,7 +41638,7 @@ function Rhe(e) {
limit: 9
}), x = (0, B.useRef)(b.faces);
x.current = b.faces;
- let S = SA({
+ let S = _A({
load: async () => x.current,
canFlip: () => x.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -41434,7 +41646,7 @@ function Rhe(e) {
C.current = S.onPointerLeave;
let w = (0, B.useCallback)((e) => {
e && (e._stopHover = () => C.current());
- }, []), T = TF(u, n, i), E = kF(u), D = (u.tags || []).slice(0, 3), O = OF(u, i), k = DF(t, u), A = u.status === "saved", j = (e) => {
+ }, []), T = SF(u, n, i), E = EF(u), D = (u.tags || []).slice(0, 3), O = TF(u, i), k = wF(t, u), A = u.status === "saved", j = (e) => {
if (!e.target.closest("[data-media-tag]")) {
if (o || e.shiftKey || e.ctrlKey || e.metaKey) {
e.preventDefault(), l.toggleSelection(u.id, e.shiftKey);
@@ -41468,14 +41680,14 @@ function Rhe(e) {
"data-follow-open": "",
"aria-label": `打开 ${u.title} 详情`
}),
- p ? /* @__PURE__ */ (0, H.jsx)(Lhe, {
+ p ? /* @__PURE__ */ (0, H.jsx)(Xhe, {
src: p,
width: g?.width,
height: g?.height,
onLearn: _
}, p) : /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: SF(u.resource_provider || u.provider) }
+ dangerouslySetInnerHTML: { __html: yF(u.resource_provider || u.provider) }
}),
b.faces.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
"data-mix-faces": "",
@@ -41494,7 +41706,7 @@ function Rhe(e) {
"data-media-badge": "",
title: u.provider_label,
"aria-label": `来源:${u.provider_label || ""}`,
- dangerouslySetInnerHTML: { __html: SF(u.provider) }
+ dangerouslySetInnerHTML: { __html: yF(u.provider) }
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
@@ -41503,7 +41715,7 @@ function Rhe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}),
- Fhe(u.duration) ? /* @__PURE__ */ (0, H.jsx)("span", {
+ Jhe(u.duration) ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-duration": "",
children: ne(u.duration)
}) : null,
@@ -41585,7 +41797,7 @@ function Rhe(e) {
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: EF(t, u) + P(u.title) }
+ dangerouslySetInnerHTML: { __html: CF(t, u) + P(u.title) }
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-follow-byline": "",
@@ -41596,7 +41808,7 @@ function Rhe(e) {
}), /* @__PURE__ */ (0, H.jsx)("time", {
dateTime: u.published_at || "",
title: E,
- children: Ihe(E)
+ children: Yhe(E)
})]
}),
T.credited ? /* @__PURE__ */ (0, H.jsx)("div", {
@@ -41632,10 +41844,10 @@ function Rhe(e) {
]
});
}
-var zhe = (0, B.memo)(Rhe), PF = () => /* @__PURE__ */ (0, H.jsx)("span", {
+var Qhe = (0, B.memo)(Zhe), jF = () => /* @__PURE__ */ (0, H.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Bhe = NC("settings"), Vhe = NC("chevron-down"), Hhe = NC("history"), Uhe = [[
+}), $he = kC("settings"), ege = kC("chevron-down"), tge = kC("history"), nge = [[
"fixed",
"固定比例",
"layout-grid"
@@ -41644,19 +41856,19 @@ var zhe = (0, B.memo)(Rhe), PF = () => /* @__PURE__ */ (0, H.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function Whe(e, t, n) {
+function rge(e, t, n) {
return (0, B.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) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = uF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = uF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = sF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = sF(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = uF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = sF([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -41664,7 +41876,7 @@ function Whe(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => mF(e).forEach((e) => {
+ r.forEach((e) => dF(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -41679,7 +41891,7 @@ function Whe(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => mF(e).has(_)),
+ visible: r.filter((e) => dF(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -41692,15 +41904,15 @@ function Whe(e, t, n) {
n
]);
}
-function Ghe(e) {
- let { view: t, seed: n, revision: r, actions: i } = e, a = oF(t, r), o = ww(a), s = bw({
- queryKey: sF,
- queryFn: ({ signal: e }) => cF(e)
- }), c = (0, B.useMemo)(() => lF(o.data), [o.data]), l = (0, B.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, B.useMemo)(() => ({
+function ige(e) {
+ let { view: t, seed: n, revision: r, actions: i } = e, a = rF(t, r), o = bw(a), s = gw({
+ queryKey: iF,
+ queryFn: ({ signal: e }) => aF(e)
+ }), c = (0, B.useMemo)(() => oF(o.data), [o.data]), l = (0, B.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, B.useMemo)(() => ({
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = Whe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, B.useMemo)(() => Nhe(d.visible.flatMap(dF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
+ }), [c, l]), d = rge(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, B.useMemo)(() => Khe(d.visible.flatMap(cF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
(0, B.useEffect)(() => {
p && i.loaded(m);
}, [
@@ -41708,20 +41920,20 @@ function Ghe(e) {
m,
i
]);
- let h = Khe(e, !!c);
- if (!c) return o.isError ? /* @__PURE__ */ (0, H.jsx)(lA, {
+ let h = age(e, !!c);
+ if (!c) return o.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
message: ce(o.error),
onRetry: () => void o.refetch()
}) : null;
let g = (e) => i.route({
...t,
...e
- }), _ = Ohe({
+ }), _ = Vhe({
...t,
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, CF(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, bF(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);
@@ -41741,7 +41953,7 @@ function Ghe(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
- leadingIcon: Bhe,
+ leadingIcon: $he,
"data-follow-manage": "",
onClick: i.openManage,
children: "管理关注"
@@ -41758,20 +41970,20 @@ function Ghe(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, H.jsx)(qhe, {
+ /* @__PURE__ */ (0, H.jsx)(oge, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, H.jsx)(Jhe, {
+ /* @__PURE__ */ (0, H.jsx)(sge, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, H.jsx)(Yhe, {
+ /* @__PURE__ */ (0, H.jsx)(cge, {
facets: d,
view: t,
total: v,
@@ -41779,9 +41991,9 @@ function Ghe(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, H.jsx)(Xhe, {
+ /* @__PURE__ */ (0, H.jsx)(lge, {
conditions: _,
- onDrop: (e) => i.route(khe(t, e)),
+ onDrop: (e) => i.route(Hhe(t, e)),
onClear: () => g({
author: "",
provider: "",
@@ -41789,11 +42001,11 @@ function Ghe(e) {
tags: []
})
}),
- d.broken.length ? /* @__PURE__ */ (0, H.jsx)(Zhe, {
+ d.broken.length ? /* @__PURE__ */ (0, H.jsx)(uge, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, H.jsx)(Qhe, {
+ /* @__PURE__ */ (0, H.jsx)(dge, {
pending: f,
facets: d,
data: c,
@@ -41804,19 +42016,19 @@ function Ghe(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, H.jsxs)(DA, {
+ children: /* @__PURE__ */ (0, H.jsxs)(SA, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, H.jsx)(Vhe, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, H.jsx)(ege, { className: "size-3.5" }), "加载更多"]
}, o.data?.pages.length)
}) : null, y ? /* @__PURE__ */ (0, H.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : Hhe,
+ leadingIcon: h.olderBusy ? void 0 : tge,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -41826,14 +42038,14 @@ function Ghe(e) {
}), /* @__PURE__ */ (0, H.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-backfill": "",
- children: Ehe(d.sources)
+ children: zhe(d.sources)
})]
}) : null]
}) : null
]
})] });
}
-function Khe(e, t) {
+function age(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, B.useState)(0), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), f = (0, B.useRef)(!1), p = (0, B.useRef)(null), m = (0, B.useRef)({
helpers: n,
actions: r
@@ -41848,7 +42060,7 @@ function Khe(e, t) {
return m.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => K(_P, e),
+ read: (e) => K(mP, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -41873,7 +42085,7 @@ function Khe(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await q(_P, e ? {
+ let n = await q(mP, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -41891,7 +42103,7 @@ function Khe(e, t) {
olderBusy: c === "older" || u && o
};
}
-function qhe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function oge({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -41908,16 +42120,16 @@ function qhe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
onClick: () => i(r),
children: [/* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: wF(a, CF(a, n)) }
+ dangerouslySetInnerHTML: { __html: xF(a, bF(a, n)) }
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-name": "",
- children: CF(a, n)
+ children: bF(a, n)
})]
}, r);
})
}) : null;
}
-function Jhe({ rows: e, pressed: t, props: n, onPick: r }) {
+function sge({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -41938,7 +42150,7 @@ function Jhe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+function cge({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let { helpers: o, actions: s } = i, c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)(null), d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = Sr(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = Sr(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, B.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
@@ -41996,7 +42208,7 @@ function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, H.jsx)(PF, {})] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
+ }), /* @__PURE__ */ (0, H.jsx)(jF, {})] }) : null, /* @__PURE__ */ (0, H.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -42005,7 +42217,7 @@ function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: h.leave,
- children: [yhe.map(([e, n]) => /* @__PURE__ */ (0, H.jsx)("button", {
+ children: [Mhe.map(([e, n]) => /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -42016,7 +42228,7 @@ function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, H.jsx)(PF, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, H.jsx)(jF, {}) : null]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -42029,13 +42241,13 @@ function Yhe({ 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: SF(t) }
+ dangerouslySetInnerHTML: { __html: yF(t) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, H.jsx)(PF, {}) : null,
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, H.jsx)(jF, {}) : null,
e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, H.jsxs)(vr, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${Ahe(e.groups, n)}`,
+ "data-tag-cat": `r34-${Uhe(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [Je(n), r ? /* @__PURE__ */ (0, H.jsx)("span", {
@@ -42053,11 +42265,11 @@ function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, H.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(LC, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(IC, {
+ /* @__PURE__ */ (0, H.jsx)(NC, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(MC, {
label: "图片布局",
value: i.photoLayout,
- options: Uhe,
+ options: nge,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
@@ -42074,17 +42286,17 @@ function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- bhe.map(([e, n]) => {
- let r = t.sort === e, i = NC(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ Nhe.map(([e, n]) => {
+ let r = t.sort === e, i = kC(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-entity-sort": e,
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": Dhe(e, n, t.sort, t.dir) || void 0,
+ "aria-label": Bhe(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = vF(e, t.sort, t.dir);
+ let n = hF(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, H.jsx)(i, { className: "size-3.5" }) : null]
@@ -42094,7 +42306,7 @@ function Yhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Xhe({ conditions: e, onDrop: t, onClear: n }) {
+function lge({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -42119,7 +42331,7 @@ function Xhe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function Zhe({ count: e, onManage: t }) {
+function uge({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -42128,12 +42340,12 @@ function Zhe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function Qhe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = cA(e, () => o.listSkeletonHtml(a.media));
+function dge({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = rA(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, H.jsx)($he, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, H.jsx)(fge, {
facets: t,
data: n,
context: r,
@@ -42142,38 +42354,38 @@ function Qhe({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function $he({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, actions: o } = r, s = nge(r), c = i ? {
+function fge({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, actions: o } = r, s = hge(r), c = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, l;
return l = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;
- return /* @__PURE__ */ (0, H.jsx)(zhe, {
+ return /* @__PURE__ */ (0, H.jsx)(Qhe, {
group: t,
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(FF(t, a)),
+ selected: r.selected.has(MF(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(FF(t, a)) || "",
- failure: s.failures.get(FF(t, a)) || "",
+ busy: s.busy.get(MF(t, a)) || "",
+ failure: s.failures.get(MF(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
}, `${l}:${a.media}`);
- }) : /* @__PURE__ */ (0, H.jsx)(ege, { data: t }), /* @__PURE__ */ (0, H.jsx)("div", {
+ }) : /* @__PURE__ */ (0, H.jsx)(pge, { data: t }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...c,
children: l
});
}
-function FF(e, t) {
- return hF(e, t.media).id;
+function MF(e, t) {
+ return fF(e, t.media).id;
}
-function ege({ data: e }) {
+function pge({ data: e }) {
let t = (e.groups || []).length ? o("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? o("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : o("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-empty": "",
@@ -42181,36 +42393,36 @@ function ege({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var tge = {
+var mge = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function nge(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, B.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, B.useState)(() => /* @__PURE__ */ new Map()), c = oF(t, n).queryKey, l = (e, t, n) => n((n) => {
+function hge(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, B.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, B.useState)(() => /* @__PURE__ */ new Map()), c = rF(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- z.setQueryData(c, (r) => r && yF(r, t, e, n));
+ z.setQueryData(c, (r) => r && gF(r, t, e, n));
}, d = () => void z.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = lF(z.getQueryData(c));
+ let t = oF(z.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
...n.duplicates
]) if (t.id === e) return t.status;
return "new";
- }, p = Cw({
- mutationFn: ({ id: e, to: t }) => q(xP, {
+ }, p = yw({
+ mutationFn: ({ id: e, to: t }) => q(vP, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(tge[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await q(xP, {
+ u(t, n), d(), r.toast(mge[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await q(vP, {
item: t,
to: i
}), u(t, i), d();
@@ -42220,7 +42432,7 @@ function nge(e) {
l(t, ce(e), s), r.failure("更新关注状态", e);
},
onSettled: (e, t, { id: n }) => l(n, "", a)
- }), m = Cw({
+ }), m = yw({
mutationFn: (e) => q("/api/follow/save", { item: e }),
onSuccess: (e, t) => {
u(t, "saved"), d(), r.toast("已保存到账本");
@@ -42255,8 +42467,8 @@ function nge(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function IF({ provider: e, label: t }) {
- let n = nF(e), [r, i] = (0, B.useState)(!1);
+function NF({ provider: e, label: t }) {
+ let n = $P(e), [r, i] = (0, B.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: t }) : null : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("img", {
src: n,
alt: "",
@@ -42267,8 +42479,8 @@ function IF({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, H.jsx)(Jc, { children: t }) : null] });
}
-function LF({ group: e, name: t }) {
- let { src: n, fallback: r } = LP(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];
+function PF({ group: e, name: t }) {
+ let { src: n, fallback: r } = PP(e), [i, a] = (0, B.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, H.jsx)("img", {
src: o,
alt: "",
@@ -42281,18 +42493,18 @@ function LF({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, H.jsx)("span", {
title: "没有可用头像",
className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",
- children: IP(t)
+ children: NP(t)
});
}
-function RF({ source: e }) {
- let t = AP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, H.jsx)(Nk, {
+function FF({ source: e }) {
+ let t = DP(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: t,
- children: Qme(e)
+ children: dhe(e)
});
}
-function zF({ source: e }) {
+function IF({ source: e }) {
return /* @__PURE__ */ (0, H.jsxs)("a", {
href: e.url,
target: "_blank",
@@ -42307,8 +42519,8 @@ function zF({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var BF = dr(oT, sT, "text-body-2-medium"), rge = "粘贴来源链接,或输入创作者名、id…", ige = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", age = "识别中…", oge = "站内没有查到来源", VF = (e, t) => `${e}:${t.url}`;
-function sge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var LF = dr(nT, rT, "text-body-2-medium"), gge = "粘贴来源链接,或输入创作者名、id…", _ge = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", vge = "识别中…", yge = "站内没有查到来源", RF = (e, t) => `${e}:${t.url}`;
+function bge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, B.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
}, [t, r]), /* @__PURE__ */ (0, H.jsxs)(nm, {
@@ -42323,17 +42535,17 @@ function sge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: dr(aT, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: dr(tT, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, H.jsx)(yT, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, H.jsxs)(B.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, H.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? dr(BF, "bg-background-secondary-default") : BF,
+ className: t === r ? dr(LF, "bg-background-secondary-default") : LF,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -42353,7 +42565,7 @@ function sge({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function cge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function xge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, B.useRef)(null), [a, o] = (0, B.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);
@@ -42361,7 +42573,7 @@ function cge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
ref: i,
variant: "secondary",
- leadingIcon: Jae,
+ leadingIcon: $ae,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
@@ -42373,7 +42585,7 @@ function cge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: aT,
+ className: tT,
children: /* @__PURE__ */ (0, H.jsxs)(mh, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
@@ -42390,16 +42602,16 @@ function cge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, H.jsx)(AT, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(cM, {
+ children: [/* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(IF, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "ghost",
@@ -42415,7 +42627,7 @@ function cge({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function lge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Sge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: e.line,
@@ -42423,7 +42635,7 @@ function lge({ 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, H.jsxs)("div", {
- className: cT({
+ className: iT({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -42434,15 +42646,15 @@ function lge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = VF(t, e);
- return /* @__PURE__ */ (0, H.jsx)(cM, {
+ let n = RF(t, e);
+ return /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, H.jsx)(IF, { provider: e.provider }),
+ /* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider }),
/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -42458,22 +42670,22 @@ function lge({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, H.jsx)(AT, { children: oge }),
+ }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: yge }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, H.jsx)(NT, {
+ }), /* @__PURE__ */ (0, H.jsx)(kT, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, H.jsx)(AT, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, H.jsx)(ET, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Cge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(!1), [p, m] = (0, B.useState)(null), [h, g] = (0, B.useState)(-1), _ = (0, B.useRef)(null), v = (0, B.useRef)(null), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, B.useState)(""), [T, E] = (0, B.useState)(0);
(0, B.useEffect)(() => {
let e = a.trim();
@@ -42484,19 +42696,19 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = bw({
- queryKey: Kme(l),
- queryFn: ({ signal: e }) => ihe(l, e),
+ let D = gw({
+ queryKey: ahe(l),
+ queryFn: ({ signal: e }) => _he(l, e),
enabled: l.length > 0 && d
}), O = (0, B.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = iM({
- queryKey: Gme,
- queryFn: ({ signal: e }) => rhe(e),
- start: (e) => ahe([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = $j({
+ queryKey: ihe,
+ queryFn: ({ signal: e }) => ghe(e),
+ start: (e) => vhe([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(G(e)),
onFinish: (e) => {
@@ -42530,14 +42742,14 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, I = j?.results || [], re = I.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: VF(t, e)
- })).filter((e) => !x.has(e.key))), L = Cw({
+ key: RF(t, e)
+ })).filter((e) => !x.has(e.key))), L = yw({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await ohe(r.candidate);
+ let e = await yhe(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${G(e)}`);
@@ -42545,7 +42757,7 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await WP(n);
+ await VP(n);
} catch (e) {
t.push(G(e));
}
@@ -42555,7 +42767,7 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (eF(), e.failures.length) {
+ if (ZP(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -42564,7 +42776,7 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(G(e))
}), ie = e.suggestions || [], ae = !s.includes("/");
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42584,15 +42796,15 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "来源链接、名字或 id",
- placeholder: rge,
+ placeholder: gge,
value: a,
- leadingIcon: Zw,
+ leadingIcon: qw,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), P ? /* @__PURE__ */ (0, H.jsx)(sge, {
+ }), P ? /* @__PURE__ */ (0, H.jsx)(bge, {
field: _,
menu: v,
options: O,
@@ -42602,7 +42814,7 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: F
}) : null]
}),
- /* @__PURE__ */ (0, H.jsx)(cge, {
+ /* @__PURE__ */ (0, H.jsx)(xge, {
credentials: t,
hidden: y,
onHidden: b,
@@ -42620,9 +42832,9 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, H.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : ae ? ige : age),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : ae ? _ge : vge),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -42634,8 +42846,8 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
I.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "查找结果" }),
- I.map((e, t) => /* @__PURE__ */ (0, H.jsx)(lge, {
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "查找结果" }),
+ I.map((e, t) => /* @__PURE__ */ (0, H.jsx)(Sge, {
row: e,
at: t,
hidden: y,
@@ -42690,16 +42902,16 @@ function uge({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var dge = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, HF = (e) => e.alias;
-function fge(e, t, n) {
+var wge = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, zF = (e) => e.alias;
+function Tge(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 UF({ sources: e, name: t, canonicalKey: n }) {
+function BF({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(LF, {
- group: fge(e, t, n),
+ children: [/* @__PURE__ */ (0, H.jsx)(PF, {
+ group: Tge(e, t, n),
name: t
}), /* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium",
@@ -42707,15 +42919,15 @@ function UF({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a }) {
- let [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = Cw({
+function Ege({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a }) {
+ let [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = yw({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await qP(n.canonical, n.alias);
+ await WP(n.canonical, n.alias);
} catch (n) {
- throw t && eF(), Error(`${G(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && ZP(), Error(`${G(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -42725,19 +42937,19 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
};
},
onSuccess: (e) => {
- l(""), s(/* @__PURE__ */ new Set()), eF(), a(`已合并 ${e.done} 组创作者别名`);
+ l(""), s(/* @__PURE__ */ new Set()), ZP(), a(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => l(G(e))
- }), h = Cw({
- mutationFn: (e) => qP(e.canonical, e.alias),
+ }), h = yw({
+ mutationFn: (e) => WP(e.canonical, e.alias),
onSuccess: () => {
- l(""), d(""), p(""), eF(), a("已保存创作者别名");
+ l(""), d(""), p(""), ZP(), a("已保存创作者别名");
},
onError: (e) => l(G(e))
- }), g = Cw({
- mutationFn: (e) => she(e),
+ }), g = yw({
+ mutationFn: (e) => bhe(e),
onSuccess: () => {
- l(""), eF(), a("已移除创作者别名");
+ l(""), ZP(), a("已移除创作者别名");
},
onError: (e) => l(G(e))
}), _ = (e, t) => {
@@ -42747,9 +42959,9 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => m.mutateAsync(e)
});
- }, v = t.filter((e) => o.has(HF(e))), y = t.length > 0 && v.length === t.length, b = X(m.isPending);
+ }, v = t.filter((e) => o.has(zF(e))), y = t.length > 0 && v.length === t.length, b = X(m.isPending);
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42760,10 +42972,10 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "手动添加别名" }), /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "手动添加别名" }), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: u,
@@ -42771,7 +42983,7 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
isDisabled: i,
className: "w-56"
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: f,
@@ -42792,13 +43004,13 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
]
})]
}),
- c ? /* @__PURE__ */ (0, H.jsx)(jT, { children: c }) : null,
+ c ? /* @__PURE__ */ (0, H.jsx)(DT, { children: c }) : null,
t.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "待合并" }),
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "待合并" }),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -42820,44 +43032,44 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, H.jsx)(dM, { children: /* @__PURE__ */ (0, H.jsxs)(lM, {
+ }), /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, H.jsxs)(C_, { children: [
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "select",
- children: /* @__PURE__ */ (0, H.jsx)(cM, {
+ children: /* @__PURE__ */ (0, H.jsx)(rM, {
slot: null,
isSelected: y,
isIndeterminate: v.length > 0 && !y,
"aria-label": "全选待合并别名",
- onChange: (e) => s(e ? new Set(t.map(HF)) : /* @__PURE__ */ new Set())
+ onChange: (e) => s(e ? new Set(t.map(zF)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, H.jsx)(w_, {
+ /* @__PURE__ */ (0, H.jsx)(C_, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, H.jsx)(E_, { children: t.map((e) => {
- let t = HF(e);
- return /* @__PURE__ */ (0, H.jsxs)(k_, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: t.map((e) => {
+ let t = zF(e);
+ return /* @__PURE__ */ (0, H.jsxs)(O_, {
id: t,
"data-board-selected": o.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)(cM, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(rM, {
slot: null,
isSelected: o.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -42866,16 +43078,16 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
e ? n.add(t) : n.delete(t), s(n);
}
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)(UF, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(BF, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: e.alias }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: e.alias }),
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
disabled: i,
@@ -42892,27 +43104,27 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "已保存别名" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "已保存别名" }), /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, H.jsx)(dM, { children: /* @__PURE__ */ (0, H.jsxs)(lM, {
+ }), e.length ? /* @__PURE__ */ (0, H.jsx)(oM, { children: /* @__PURE__ */ (0, H.jsxs)(iM, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, H.jsxs)(C_, { children: [/* @__PURE__ */ (0, H.jsx)(w_, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(S_, { children: [/* @__PURE__ */ (0, H.jsx)(C_, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, H.jsx)(w_, {
+ }), /* @__PURE__ */ (0, H.jsx)(C_, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, H.jsx)(E_, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(k_, {
+ })] }), /* @__PURE__ */ (0, H.jsx)(T_, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(O_, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)(UF, {
+ children: [/* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)(BF, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, H.jsx)(j_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, H.jsx)(A_, { children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",
@@ -42920,13 +43132,13 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: Bw,
+ leadingIcon: Iw,
"aria-label": `移除别名 ${e.name}`,
disabled: i,
...X(g.isPending),
onClick: () => void r({
title: "移除创作者别名",
- body: dge(e.name),
+ body: wge(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => g.mutateAsync(e.name)
})
@@ -42934,9 +43146,9 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: $w,
+ icon: Yw,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -42946,33 +43158,33 @@ function pge({ groups: e, suggestions: t, sources: n = [], readOnly: i, toast: a
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var mge = "这些账号信息存在哪里", hge = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", gge = "将清除这个来源在本机和共享副本中的登录凭据。", _ge = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function vge(e, t) {
+var Dge = "这些账号信息存在哪里", Oge = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", kge = "将清除这个来源在本机和共享副本中的登录凭据。", Age = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function jge(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function yge({ row: e }) {
- if (rF(e)) return /* @__PURE__ */ (0, H.jsx)(Nk, {
+function Mge({ row: e }) {
+ if (eF(e)) return /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, H.jsx)(Nk, {
+ return /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: t,
- children: vhe[e.requirement] || ""
+ children: jhe[e.requirement] || ""
});
}
-function bge({ row: e, readOnly: t, toast: n }) {
- let [i, a] = (0, B.useState)({}), [o, s] = (0, B.useState)(""), c = rF(e), l = Cw({
- mutationFn: (t) => che(e.provider, t),
+function Nge({ row: e, readOnly: t, toast: n }) {
+ let [i, a] = (0, B.useState)({}), [o, s] = (0, B.useState)(""), c = eF(e), l = yw({
+ mutationFn: (t) => xhe(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
s(e.note);
return;
}
s(""), a({}), z.invalidateQueries({
- queryKey: wP,
+ queryKey: xP,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -42988,17 +43200,17 @@ function bge({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: [e.why, e.where ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)(NT, {
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: [e.why, e.where ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)(kT, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, H.jsx)(AT, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, H.jsx)(ET, { children: e.howto }) : null,
/* @__PURE__ */ (0, H.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, H.jsx)(Fk, {
type: "password",
label: n,
- placeholder: vge(e, n),
+ placeholder: jge(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -43026,7 +43238,7 @@ function bge({ row: e, readOnly: t, toast: n }) {
...X(l.isPending),
onClick: () => void r({
title: "清除来源凭据",
- body: gge,
+ body: kge,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => l.mutateAsync({})
@@ -43034,9 +43246,9 @@ function bge({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- o ? /* @__PURE__ */ (0, H.jsx)(jT, { children: o }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, H.jsx)(AT, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, H.jsx)(vT, {
+ o ? /* @__PURE__ */ (0, H.jsx)(DT, { children: o }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, H.jsx)(ET, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, H.jsx)(mT, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -43044,18 +43256,18 @@ function bge({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "凭据文件权限过宽",
- children: _ge
+ children: Age
}) : null
]
});
}
-function xge({ row: e, readOnly: t, toast: n }) {
+function Pge({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, H.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, H.jsx)(IF, { provider: e.provider })
+ children: /* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider })
}),
/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium text-text-primary",
@@ -43065,8 +43277,8 @@ function xge({ row: e, readOnly: t, toast: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.nature
}) : null,
- /* @__PURE__ */ (0, H.jsx)(yge, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, H.jsx)(Nk, {
+ /* @__PURE__ */ (0, H.jsx)(Mge, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -43075,13 +43287,13 @@ function xge({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, H.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, H.jsx)(AT, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, H.jsx)(ET, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, H.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, H.jsx)(IT, {
- summary: rF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !rF(e),
- children: /* @__PURE__ */ (0, H.jsx)(bge, {
+ children: [r, /* @__PURE__ */ (0, H.jsx)(MT, {
+ summary: eF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !eF(e),
+ children: /* @__PURE__ */ (0, H.jsx)(Nge, {
row: e,
readOnly: t,
toast: n
@@ -43089,10 +43301,10 @@ function xge({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function Sge({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !rF(e));
+function Fge({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !eF(e));
return r.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -43127,12 +43339,12 @@ function Sge({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, H.jsx)("div", {
- className: cT({
+ className: iT({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(xge, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(Pge, {
row: e,
readOnly: t,
toast: n
@@ -43144,13 +43356,13 @@ function Sge({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: mge
+ children: Dge
}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: hge
+ children: Oge
}),
- /* @__PURE__ */ (0, H.jsx)(vT, {
+ /* @__PURE__ */ (0, H.jsx)(mT, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -43159,16 +43371,16 @@ function Sge({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: $ae,
+ icon: ioe,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function WF() {
+function VF() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -43181,24 +43393,24 @@ function WF() {
group: (e) => e
};
}
-function GF(e, t) {
+function HF(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function KF(e, t) {
+function UF(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: GF(n, t[e])
+ [e]: HF(n, t[e])
}));
};
}
-function qF(e) {
+function WF(e) {
return e instanceof Function;
}
-function Cge(e) {
+function Ige(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function wge(e, t) {
+function Lge(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -43208,7 +43420,7 @@ function wge(e, t) {
};
return r(e), n;
}
-function JF(e, t, n) {
+function GF(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -43230,21 +43442,21 @@ function JF(e, t, n) {
return i;
};
}
-function YF(e, t, n, r) {
+function KF(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function Tge(e, t, n, r) {
+function Rge(e, t, n, r) {
let i = {
id: `${t.id}_${n.id}`,
row: t,
column: n,
getValue: () => t.getValue(r),
renderValue: () => i.getValue() ?? e.options.renderFallbackValue,
- getContext: JF(() => [
+ getContext: GF(() => [
e,
n,
t,
@@ -43256,13 +43468,13 @@ function Tge(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), YF(e.options, "debugCells", "cell.getContext"))
+ }), KF(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function Ege(e, t, n, r) {
+function zge(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -43279,17 +43491,17 @@ function Ege(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: JF(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], YF(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: JF(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: GF(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], KF(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: GF(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, YF(e.options, "debugColumns", "column.getLeafColumns"))
+ }, KF(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var XF = "debugHeaders";
-function ZF(e, t, n) {
+var qF = "debugHeaders";
+function JF(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -43317,42 +43529,42 @@ function ZF(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var Dge = { createTable: (e) => {
- e.getHeaderGroups = JF(() => [
+var Bge = { createTable: (e) => {
+ e.getHeaderGroups = GF(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (t, n, r, i) => {
let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));
- return QF(t, [
+ return YF(t, [
...a,
...s,
...o
], e);
- }, YF(e.options, XF, "getHeaderGroups")), e.getCenterHeaderGroups = JF(() => [
+ }, KF(e.options, qF, "getHeaderGroups")), e.getCenterHeaderGroups = GF(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
- ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), QF(t, n, e, "center")), YF(e.options, XF, "getCenterHeaderGroups")), e.getLeftHeaderGroups = JF(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), YF(t, n, e, "center")), KF(e.options, qF, "getCenterHeaderGroups")), e.getLeftHeaderGroups = GF(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => QF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), YF(e.options, XF, "getLeftHeaderGroups")), e.getRightHeaderGroups = JF(() => [
+ ], (t, n, r) => YF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), KF(e.options, qF, "getLeftHeaderGroups")), e.getRightHeaderGroups = GF(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => QF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), YF(e.options, XF, "getRightHeaderGroups")), e.getFooterGroups = JF(() => [e.getHeaderGroups()], (e) => [...e].reverse(), YF(e.options, XF, "getFooterGroups")), e.getLeftFooterGroups = JF(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), YF(e.options, XF, "getLeftFooterGroups")), e.getCenterFooterGroups = JF(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), YF(e.options, XF, "getCenterFooterGroups")), e.getRightFooterGroups = JF(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), YF(e.options, XF, "getRightFooterGroups")), e.getFlatHeaders = JF(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), YF(e.options, XF, "getFlatHeaders")), e.getLeftFlatHeaders = JF(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), YF(e.options, XF, "getLeftFlatHeaders")), e.getCenterFlatHeaders = JF(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), YF(e.options, XF, "getCenterFlatHeaders")), e.getRightFlatHeaders = JF(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), YF(e.options, XF, "getRightFlatHeaders")), e.getCenterLeafHeaders = JF(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => YF(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), KF(e.options, qF, "getRightHeaderGroups")), e.getFooterGroups = GF(() => [e.getHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getFooterGroups")), e.getLeftFooterGroups = GF(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getLeftFooterGroups")), e.getCenterFooterGroups = GF(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getCenterFooterGroups")), e.getRightFooterGroups = GF(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), KF(e.options, qF, "getRightFooterGroups")), e.getFlatHeaders = GF(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getFlatHeaders")), e.getLeftFlatHeaders = GF(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getLeftFlatHeaders")), e.getCenterFlatHeaders = GF(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getCenterFlatHeaders")), e.getRightFlatHeaders = GF(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), KF(e.options, qF, "getRightFlatHeaders")), e.getCenterLeafHeaders = GF(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), YF(e.options, XF, "getCenterLeafHeaders")), e.getLeftLeafHeaders = JF(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), KF(e.options, qF, "getCenterLeafHeaders")), e.getLeftLeafHeaders = GF(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), YF(e.options, XF, "getLeftLeafHeaders")), e.getRightLeafHeaders = JF(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), KF(e.options, qF, "getLeftLeafHeaders")), e.getRightLeafHeaders = GF(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), YF(e.options, XF, "getRightLeafHeaders")), e.getLeafHeaders = JF(() => [
+ }), KF(e.options, qF, "getRightLeafHeaders")), e.getLeafHeaders = GF(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -43360,9 +43572,9 @@ var Dge = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), YF(e.options, XF, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), KF(e.options, qF, "getLeafHeaders"));
} };
-function QF(e, t, n, r) {
+function YF(e, t, n, r) {
let i = 0, a = function(e, t) {
t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {
var n;
@@ -43380,7 +43592,7 @@ function QF(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = ZF(n, c, {
+ let i = JF(n, c, {
id: [
r,
t,
@@ -43397,7 +43609,7 @@ function QF(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => ZF(n, e, {
+ s(t.map((e, t) => JF(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -43415,7 +43627,7 @@ function QF(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var Oge = (e, t, n, r, i, a, o) => {
+var Vge = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -43436,7 +43648,7 @@ var Oge = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => wge(s.subRows, (e) => e.subRows),
+ getLeafRows: () => Lge(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -43447,95 +43659,95 @@ var Oge = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: JF(() => [e.getAllLeafColumns()], (t) => t.map((t) => Tge(e, s, t, t.id)), YF(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: JF(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), YF(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: GF(() => [e.getAllLeafColumns()], (t) => t.map((t) => Rge(e, s, t, t.id)), KF(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: GF(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), KF(e.options, "debugRows", "getAllCellsByColumnId"))
};
for (let t = 0; t < e._features.length; t++) {
let n = e._features[t];
n == null || n.createRow == null || n.createRow(s, e);
}
return s;
-}, kge = { createColumn: (e, t) => {
+}, Hge = { createColumn: (e, t) => {
e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();
};
-} }, $F = (e, t, n) => {
+} }, XF = (e, t, n) => {
var r, i;
let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();
return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));
};
-$F.autoRemove = (e) => lI(e);
-var eI = (e, t, n) => {
+XF.autoRemove = (e) => oI(e);
+var ZF = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-eI.autoRemove = (e) => lI(e);
-var tI = (e, t, n) => {
+ZF.autoRemove = (e) => oI(e);
+var QF = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-tI.autoRemove = (e) => lI(e);
-var nI = (e, t, n) => e.getValue(t)?.includes(n);
-nI.autoRemove = (e) => lI(e);
-var rI = (e, t, n) => !n.some((n) => {
+QF.autoRemove = (e) => oI(e);
+var $F = (e, t, n) => e.getValue(t)?.includes(n);
+$F.autoRemove = (e) => oI(e);
+var eI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-rI.autoRemove = (e) => lI(e) || !(e != null && e.length);
-var iI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-iI.autoRemove = (e) => lI(e) || !(e != null && e.length);
-var aI = (e, t, n) => e.getValue(t) === n;
-aI.autoRemove = (e) => lI(e);
-var oI = (e, t, n) => e.getValue(t) == n;
-oI.autoRemove = (e) => lI(e);
-var sI = (e, t, n) => {
+eI.autoRemove = (e) => oI(e) || !(e != null && e.length);
+var tI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+tI.autoRemove = (e) => oI(e) || !(e != null && e.length);
+var nI = (e, t, n) => e.getValue(t) === n;
+nI.autoRemove = (e) => oI(e);
+var rI = (e, t, n) => e.getValue(t) == n;
+rI.autoRemove = (e) => oI(e);
+var iI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-sI.resolveFilterValue = (e) => {
+iI.resolveFilterValue = (e) => {
let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;
if (a > o) {
let e = a;
a = o, o = e;
}
return [a, o];
-}, sI.autoRemove = (e) => lI(e) || lI(e[0]) && lI(e[1]);
-var cI = {
- includesString: $F,
- includesStringSensitive: eI,
- equalsString: tI,
- arrIncludes: nI,
- arrIncludesAll: rI,
- arrIncludesSome: iI,
- equals: aI,
- weakEquals: oI,
- inNumberRange: sI
+}, iI.autoRemove = (e) => oI(e) || oI(e[0]) && oI(e[1]);
+var aI = {
+ includesString: XF,
+ includesStringSensitive: ZF,
+ equalsString: QF,
+ arrIncludes: $F,
+ arrIncludesAll: eI,
+ arrIncludesSome: tI,
+ equals: nI,
+ weakEquals: rI,
+ inNumberRange: iI
};
-function lI(e) {
+function oI(e) {
return e == null || e === "";
}
-var Age = {
+var Uge = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: KF("columnFilters", e),
+ onColumnFiltersChange: UF("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? cI.includesString : typeof n == "number" ? cI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? cI.equals : Array.isArray(n) ? cI.arrIncludes : cI.weakEquals;
- }, e.getFilterFn = () => qF(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? cI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? aI.includesString : typeof n == "number" ? aI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? aI.equals : Array.isArray(n) ? aI.arrIncludes : aI.weakEquals;
+ }, e.getFilterFn = () => WF(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? aI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
var n;
return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;
}, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {
t.setColumnFilters((t) => {
- let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = GF(n, i ? i.value : void 0);
- if (uI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = HF(n, i ? i.value : void 0);
+ if (sI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -43550,19 +43762,19 @@ var Age = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => GF(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => HF(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && uI(t.getFilterFn(), e.value, t));
+ return !(t && sI(t.getFilterFn(), e.value, t));
}));
}, e.resetColumnFilters = (t) => {
e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);
}, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());
}
};
-function uI(e, t, n) {
+function sI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var dI = {
+var cI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -43598,7 +43810,7 @@ var dI = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!Cge(n)) return;
+ if (!Ige(n)) return;
if (n.length === 1) return n[0];
let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);
return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];
@@ -43606,7 +43818,7 @@ var dI = {
unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),
uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,
count: (e, t) => t.length
-}, jge = {
+}, Wge = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -43619,7 +43831,7 @@ var dI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: KF("grouping", e),
+ onGroupingChange: UF("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -43632,11 +43844,11 @@ var dI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return dI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return dI.extent;
+ if (typeof n == "number") return cI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return cI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return qF(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? dI[e.columnDef.aggregationFn];
+ return WF(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? cI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -43658,27 +43870,27 @@ var dI = {
};
}
};
-function Mge(e, t, n) {
+function Gge(e, t, n) {
if (!(t != null && t.length) || !n) return e;
let r = e.filter((e) => !t.includes(e.id));
return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];
}
-var Nge = {
+var Kge = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: KF("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: UF("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = JF((e) => [_I(t, e)], (t) => t.findIndex((t) => t.id === e.id), YF(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => _I(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = _I(t, n);
+ e.getIndex = GF((e) => [mI(t, e)], (t) => t.findIndex((t) => t.id === e.id), KF(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => mI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = mI(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = JF(() => [
+ }, e._getOrderColumnsFn = GF(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -43693,18 +43905,18 @@ var Nge = {
}
i = [...i, ...n];
}
- return Mge(i, t, n);
- }, YF(e.options, "debugTable", "_getOrderColumnsFn"));
+ return Gge(i, t, n);
+ }, KF(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, fI = () => ({
+}, lI = () => ({
left: [],
right: []
-}), Pge = {
+}), qge = {
getInitialState: (e) => ({
- columnPinning: fI(),
+ columnPinning: lI(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: KF("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: UF("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -43728,75 +43940,75 @@ var Nge = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = JF(() => [
+ e.getCenterVisibleCells = GF(() => [
e._getAllVisibleCells(),
t.getState().columnPinning.left,
t.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.column.id));
- }, YF(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = JF(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, KF(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = GF(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "left"
- })), YF(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = JF(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), KF(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = GF(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
...e,
position: "right"
- })), YF(t.options, "debugRows", "getRightVisibleCells"));
+ })), KF(t.options, "debugRows", "getRightVisibleCells"));
},
createTable: (e) => {
- e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? fI() : e.initialState?.columnPinning ?? fI()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? lI() : e.initialState?.columnPinning ?? lI()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = JF(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), YF(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = JF(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), YF(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = JF(() => [
+ }, e.getLeftLeafColumns = GF(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), KF(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = GF(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), KF(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = GF(() => [
e.getAllLeafColumns(),
e.getState().columnPinning.left,
e.getState().columnPinning.right
], (e, t, n) => {
let r = [...t ?? [], ...n ?? []];
return e.filter((e) => !r.includes(e.id));
- }, YF(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, KF(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function Fge(e) {
+function Jge(e) {
return e || (typeof document < "u" ? document : null);
}
-var pI = {
+var uI = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, mI = () => ({
+}, dI = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), Ige = {
- getDefaultColumnDef: () => pI,
+}), Yge = {
+ getDefaultColumnDef: () => uI,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: mI(),
+ columnSizingInfo: dI(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: KF("columnSizing", e),
- onColumnSizingInfoChange: KF("columnSizingInfo", e)
+ onColumnSizingChange: UF("columnSizing", e),
+ onColumnSizingInfoChange: UF("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? pI.minSize, n ?? e.columnDef.size ?? pI.size), e.columnDef.maxSize ?? pI.maxSize);
- }, e.getStart = JF((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? uI.minSize, n ?? e.columnDef.size ?? uI.size), e.columnDef.maxSize ?? uI.maxSize);
+ }, e.getStart = GF((e) => [
e,
- _I(t, e),
+ mI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), YF(t.options, "debugColumns", "getStart")), e.getAfter = JF((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), KF(t.options, "debugColumns", "getStart")), e.getAfter = GF((e) => [
e,
- _I(t, e),
+ mI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), YF(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), KF(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -43818,8 +44030,8 @@ var pI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), gI(a) && a.touches && a.touches.length > 1)) return;
- let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = gI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), pI(a) && a.touches && a.touches.length > 1)) return;
+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = pI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
typeof n == "number" && (t.setColumnSizingInfo((e) => {
let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);
return e.columnSizingStart.forEach((e) => {
@@ -43844,7 +44056,7 @@ var pI = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = Fge(n), m = {
+ }, p = Jge(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -43854,8 +44066,8 @@ var pI = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = Lge() ? { passive: !1 } : !1;
- gI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = Xge() ? { passive: !1 } : !1;
+ pI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
...e,
startOffset: c,
startSize: o,
@@ -43871,12 +44083,12 @@ var pI = {
e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {
e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});
}, e.resetHeaderSizeInfo = (t) => {
- e.setColumnSizingInfo(t ? mI() : e.initialState.columnSizingInfo ?? mI());
+ e.setColumnSizingInfo(t ? dI() : e.initialState.columnSizingInfo ?? dI());
}, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;
}
-}, hI = null;
-function Lge() {
- if (typeof hI == "boolean") return hI;
+}, fI = null;
+function Xge() {
+ if (typeof fI == "boolean") return fI;
let e = !1;
try {
let t = { get passive() {
@@ -43886,17 +44098,17 @@ function Lge() {
} catch {
e = !1;
}
- return hI = e, hI;
+ return fI = e, fI;
}
-function gI(e) {
+function pI(e) {
return e.type === "touchstart";
}
-var Rge = {
+var Zge = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: KF("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: UF("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -43911,7 +44123,7 @@ var Rge = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = JF(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), YF(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = JF(() => [
+ e._getAllVisibleCells = GF(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), KF(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = GF(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -43919,10 +44131,10 @@ var Rge = {
...e,
...t,
...n
- ], YF(t.options, "debugRows", "getVisibleCells"));
+ ], KF(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => JF(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), YF(e.options, "debugColumns", t));
+ let t = (t, n) => GF(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), KF(e.options, "debugColumns", t));
e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {
e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});
}, e.toggleAllColumnsVisible = (t) => {
@@ -43935,20 +44147,20 @@ var Rge = {
};
}
};
-function _I(e, t) {
+function mI(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var zge = { createTable: (e) => {
+var Qge = { createTable: (e) => {
e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();
};
-} }, Bge = {
+} }, $ge = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: KF("globalFilter", e),
+ onGlobalFilterChange: UF("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -43960,22 +44172,22 @@ var zge = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => cI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => aI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return qF(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? cI[t];
+ return WF(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? aI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, Vge = {
+}, e_e = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: KF("expanded", e),
+ onExpandedChange: UF("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -44046,18 +44258,18 @@ var zge = { createTable: (e) => {
};
};
}
-}, vI = 0, yI = 10, bI = () => ({
- pageIndex: vI,
- pageSize: yI
-}), Hge = {
+}, hI = 0, gI = 10, _I = () => ({
+ pageIndex: hI,
+ pageSize: gI
+}), t_e = {
getInitialState: (e) => ({
...e,
pagination: {
- ...bI(),
+ ..._I(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: KF("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: UF("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -44073,11 +44285,11 @@ var zge = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => GF(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? bI() : e.initialState.pagination ?? bI());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => HF(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? _I() : e.initialState.pagination ?? _I());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = GF(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = HF(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
@@ -44085,13 +44297,13 @@ var zge = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? vI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? vI);
+ e.setPageIndex(t ? hI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? hI);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? yI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? yI);
+ e.setPageSize(t ? gI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? gI);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, GF(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, HF(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -44099,28 +44311,28 @@ var zge = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = GF(t, e.options.pageCount ?? -1);
+ let r = HF(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = JF(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = GF(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, YF(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, KF(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();
return n === -1 || n !== 0 && t < n - 1;
}, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;
}
-}, xI = () => ({
+}, vI = () => ({
top: [],
bottom: []
-}), Uge = {
+}), n_e = {
getInitialState: (e) => ({
- rowPinning: xI(),
+ rowPinning: vI(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: KF("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: UF("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -44159,7 +44371,7 @@ var zge = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? xI() : e.initialState?.rowPinning ?? xI()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? vI() : e.initialState?.rowPinning ?? vI()), e.getIsSomeRowsPinned = (t) => {
let n = e.getState().rowPinning;
return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);
}, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {
@@ -44168,22 +44380,22 @@ var zge = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = JF(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), YF(e.options, "debugRows", "getTopRows")), e.getBottomRows = JF(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), YF(e.options, "debugRows", "getBottomRows")), e.getCenterRows = JF(() => [
+ })), e.getTopRows = GF(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), KF(e.options, "debugRows", "getTopRows")), e.getBottomRows = GF(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), KF(e.options, "debugRows", "getBottomRows")), e.getCenterRows = GF(() => [
e.getRowModel().rows,
e.getState().rowPinning.top,
e.getState().rowPinning.bottom
], (e, t, n) => {
let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);
return e.filter((e) => !r.has(e.id));
- }, YF(e.options, "debugRows", "getCenterRows"));
+ }, KF(e.options, "debugRows", "getCenterRows"));
}
-}, Wge = {
+}, r_e = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: KF("rowSelection", e),
+ onRowSelectionChange: UF("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -44202,21 +44414,21 @@ var zge = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- SI(i, t.id, r, !0, e);
+ yI(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = JF(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? CI(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = GF(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? bI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, YF(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = JF(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? CI(e, n) : {
+ }, KF(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = GF(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? bI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, YF(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = JF(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? CI(e, n) : {
+ }, KF(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = GF(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? bI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, YF(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, KF(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);
return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;
}, e.getIsAllPageRowsSelected = () => {
@@ -44240,17 +44452,17 @@ var zge = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return SI(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return yI(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return wI(e, n);
+ return xI(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return TI(e, n) === "some";
+ return SI(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return TI(e, n) === "all";
+ return SI(e, n) === "all";
}, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {
let t = e.getCanSelect();
return (n) => {
@@ -44258,16 +44470,16 @@ var zge = { createTable: (e) => {
};
};
}
-}, SI = (e, t, n, r, i) => {
+}, yI = (e, t, n, r, i) => {
var a;
let o = i.getRow(t, !0);
- n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => SI(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => yI(e, t.id, n, r, i));
};
-function CI(e, t) {
+function bI(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = wI(e, n);
+ let o = xI(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -44280,32 +44492,32 @@ function CI(e, t) {
rowsById: i
};
}
-function wI(e, t) {
+function xI(e, t) {
return t[e.id] ?? !1;
}
-function TI(e, t, n) {
+function SI(e, t, n) {
var r;
if (!((r = e.subRows) != null && r.length)) return !1;
let i = !0, a = !1;
return e.subRows.forEach((e) => {
- if (!(a && !i) && (e.getCanSelect() && (wI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = TI(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (xI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = SI(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var EI = /([0-9]+)/gm, Gge = (e, t, n) => kI(OI(e.getValue(n)).toLowerCase(), OI(t.getValue(n)).toLowerCase()), Kge = (e, t, n) => kI(OI(e.getValue(n)), OI(t.getValue(n))), qge = (e, t, n) => DI(OI(e.getValue(n)).toLowerCase(), OI(t.getValue(n)).toLowerCase()), Jge = (e, t, n) => DI(OI(e.getValue(n)), OI(t.getValue(n))), Yge = (e, t, n) => {
+var CI = /([0-9]+)/gm, i_e = (e, t, n) => EI(TI(e.getValue(n)).toLowerCase(), TI(t.getValue(n)).toLowerCase()), a_e = (e, t, n) => EI(TI(e.getValue(n)), TI(t.getValue(n))), o_e = (e, t, n) => wI(TI(e.getValue(n)).toLowerCase(), TI(t.getValue(n)).toLowerCase()), s_e = (e, t, n) => wI(TI(e.getValue(n)), TI(t.getValue(n))), c_e = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Xge = (e, t, n) => DI(e.getValue(n), t.getValue(n));
-function DI(e, t) {
+}, l_e = (e, t, n) => wI(e.getValue(n), t.getValue(n));
+function wI(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function OI(e) {
+function TI(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function kI(e, t) {
- let n = e.split(EI).filter(Boolean), r = t.split(EI).filter(Boolean);
+function EI(e, t) {
+ let n = e.split(CI).filter(Boolean), r = t.split(CI).filter(Boolean);
for (; n.length && r.length;) {
let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();
if (isNaN(o[0])) {
@@ -44319,22 +44531,22 @@ function kI(e, t) {
}
return n.length - r.length;
}
-var AI = {
- alphanumeric: Gge,
- alphanumericCaseSensitive: Kge,
- text: qge,
- textCaseSensitive: Jge,
- datetime: Yge,
- basic: Xge
-}, Zge = [
- Dge,
- Rge,
- Nge,
- Pge,
- kge,
- Age,
- zge,
+var DI = {
+ alphanumeric: i_e,
+ alphanumericCaseSensitive: a_e,
+ text: o_e,
+ textCaseSensitive: s_e,
+ datetime: c_e,
+ basic: l_e
+}, u_e = [
Bge,
+ Zge,
+ Kge,
+ qge,
+ Hge,
+ Uge,
+ Qge,
+ $ge,
{
getInitialState: (e) => ({
sorting: [],
@@ -44345,7 +44557,7 @@ var AI = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: KF("sorting", e),
+ onSortingChange: UF("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -44353,13 +44565,13 @@ var AI = {
let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;
for (let t of n) {
let n = t?.getValue(e.id);
- if (Object.prototype.toString.call(n) === "[object Date]") return AI.datetime;
- if (typeof n == "string" && (r = !0, n.split(EI).length > 1)) return AI.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return DI.datetime;
+ if (typeof n == "string" && (r = !0, n.split(CI).length > 1)) return DI.alphanumeric;
}
- return r ? AI.text : AI.basic;
+ return r ? DI.text : DI.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return qF(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? AI[e.columnDef.sortingFn];
+ return WF(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? DI[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -44396,15 +44608,15 @@ var AI = {
}, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
}
},
- jge,
- Vge,
- Hge,
- Uge,
Wge,
- Ige
+ e_e,
+ t_e,
+ n_e,
+ r_e,
+ Yge
];
-function Qge(e) {
- let t = [...Zge, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function d_e(e) {
+ let t = [...u_e, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
...r,
...e
}, a = { ...e.initialState ?? {} };
@@ -44430,7 +44642,7 @@ function Qge(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = GF(e, n.options);
+ let t = HF(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -44445,7 +44657,7 @@ function Qge(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: JF(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: GF(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -44456,20 +44668,20 @@ function Qge(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), YF(e, "debugColumns", "_getDefaultColumnDef")),
+ }), KF(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: JF(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: GF(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = Ege(n, e, i, r), o = e;
+ let a = zge(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, YF(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: JF(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), YF(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: JF(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), YF(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: JF(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), YF(e, "debugColumns", "getAllLeafColumns")),
+ }, KF(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: GF(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), KF(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: GF(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), KF(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: GF(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), KF(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -44479,8 +44691,8 @@ function Qge(e) {
}
return n;
}
-function jI() {
- return (e) => JF(() => [e.options.data], (t) => {
+function OI() {
+ return (e) => GF(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -44489,7 +44701,7 @@ function jI() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = Oge(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = Vge(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {
var s;
l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));
@@ -44498,9 +44710,9 @@ function jI() {
return o;
};
return n.rows = r(t), n;
- }, YF(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, KF(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function $ge(e) {
+function f_e(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -44511,8 +44723,8 @@ function $ge(e) {
rowsById: e.rowsById
};
}
-function MI(e) {
- return (e) => JF(() => [
+function kI(e) {
+ return (e) => GF(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -44525,7 +44737,7 @@ function MI(e) {
rows: a,
flatRows: o,
rowsById: s
- } : $ge({
+ } : f_e({
rows: a,
flatRows: o,
rowsById: s
@@ -44534,32 +44746,32 @@ function MI(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, YF(e.options, "debugTable", "getPaginationRowModel"));
+ }, KF(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function NI(e, t) {
- return e ? e_e(e) ? /*#__PURE__*/ B.createElement(e, t) : e : null;
+function AI(e, t) {
+ return e ? p_e(e) ? /*#__PURE__*/ B.createElement(e, t) : e : null;
}
-function e_e(e) {
- return t_e(e) || typeof e == "function" || n_e(e);
+function p_e(e) {
+ return m_e(e) || typeof e == "function" || h_e(e);
}
-function t_e(e) {
+function m_e(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function n_e(e) {
+function h_e(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function PI(e) {
+function jI(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = B.useState(() => ({ current: Qge(t) })), [r, i] = B.useState(() => n.current.initialState);
+ }, [n] = B.useState(() => ({ current: d_e(t) })), [r, i] = B.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -44574,7 +44786,7 @@ function PI(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var r_e = fr({
+var g_e = fr({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -44636,8 +44848,8 @@ var r_e = fr({
}
}
});
-function i_e({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = r_e[t];
+function __e({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = g_e[t];
return /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: dr("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? dr("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"),
@@ -44647,12 +44859,12 @@ function i_e({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function FI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+function MI({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
return /* @__PURE__ */ (0, H.jsx)(Oee, {
ref: i,
...a,
className: (t) => dr("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, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(i_e, {
+ children: (e) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(__e, {
state: e,
size: n,
shape: r
@@ -44664,8 +44876,8 @@ function FI({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var II = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", a_e = "输入女优名,到 JavDB 找她的演员页";
-function o_e(e, t) {
+var NI = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", v_e = "输入女优名,到 JavDB 找她的演员页";
+function y_e(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 {
@@ -44684,10 +44896,10 @@ function o_e(e, t) {
blocked: !1
};
}
-function s_e({ card: e, picked: t, onPick: n }) {
+function b_e({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(cM, {
+ children: [/* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -44697,7 +44909,7 @@ function s_e({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, H.jsx)(Nk, {
+ e.record ? /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "neutral",
children: e.record
@@ -44708,16 +44920,16 @@ function s_e({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, H.jsx)(NT, {
+ }), /* @__PURE__ */ (0, H.jsx)(kT, {
href: e.url,
children: e.id
})]
});
}
-function c_e({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(/* @__PURE__ */ new Set()), l = _T(), u = () => {
+function x_e({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(/* @__PURE__ */ new Set()), l = pT(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => dhe(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => whe(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -44725,12 +44937,12 @@ function c_e({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => fhe(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => The(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? o_e(a, s) : null;
+ }, m = a ? y_e(a, s) : null;
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -44743,11 +44955,11 @@ function c_e({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "女优名",
- placeholder: a_e,
+ placeholder: v_e,
value: r,
- leadingIcon: Zw,
+ leadingIcon: qw,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -44768,16 +44980,16 @@ function c_e({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(s_e, {
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, H.jsx)(b_e, {
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, H.jsx)(AT, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, H.jsx)(AT, {
+ }, e.id)) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -44804,19 +45016,19 @@ function c_e({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var l_e = Object.fromEntries(Object.entries(OP).map(([e, t]) => [t, e])), LI = 740;
-function u_e() {
+var S_e = Object.fromEntries(Object.entries(TP).map(([e, t]) => [t, e])), PI = 740;
+function C_e() {
let [e, t] = (0, B.useState)(!1), n = (0, B.useRef)(null), r = (0, B.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < LI));
- r.observe(e), n.current = r, t(e.clientWidth < LI);
+ let r = new ResizeObserver(() => t(e.clientWidth < PI));
+ r.observe(e), n.current = r, t(e.clientWidth < PI);
}, []);
return (0, B.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var d_e = {
+var w_e = {
select: "选择",
author: "创作者",
source: "来源",
@@ -44825,7 +45037,7 @@ var d_e = {
checked: "上次检查",
actions: "操作"
};
-function RI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function FI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, H.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -44839,7 +45051,7 @@ function RI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: KA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
+ children: VA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -44862,22 +45074,22 @@ function RI({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function f_e({ source: e, selected: t, onToggle: n, handlers: r }) {
+function T_e({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- uM(e, e.currentTarget) && n(!t);
+ aM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, H.jsx)(cM, {
+ /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, H.jsx)(zF, { source: e }), e.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
+ children: [/* @__PURE__ */ (0, H.jsx)(IF, { source: e }), e.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -44885,17 +45097,17 @@ function f_e({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, H.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, H.jsx)(IF, {
+ children: /* @__PURE__ */ (0, H.jsx)(NF, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, H.jsx)(RF, { source: e }),
+ /* @__PURE__ */ (0, H.jsx)(FF, { source: e }),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: tF(e)
+ children: QP(e)
}),
- /* @__PURE__ */ (0, H.jsx)(FI, {
+ /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -44907,7 +45119,7 @@ function f_e({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Yw,
+ leadingIcon: Gw,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...X(r.busy),
@@ -44916,7 +45128,7 @@ function f_e({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Uw,
+ leadingIcon: zw,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -44925,11 +45137,11 @@ function f_e({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function p_e({ 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(AP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = BP(r, c);
+function E_e({ 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(DP).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = LP(r, c);
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: cT({
+ className: iT({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -44939,7 +45151,7 @@ function p_e({ 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, H.jsx)(LF, {
+ /* @__PURE__ */ (0, H.jsx)(PF, {
group: e,
name: t
}),
@@ -44951,7 +45163,7 @@ function p_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Yw,
+ leadingIcon: Gw,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...X(i.busy),
@@ -44960,7 +45172,7 @@ function p_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, H.jsx)(IF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, H.jsx)(Jc, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, H.jsx)(NF, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, H.jsx)(Jc, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -44969,7 +45181,7 @@ function p_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: zw,
+ leadingIcon: Fw,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -44980,7 +45192,7 @@ function p_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? Rw : Fw,
+ leadingIcon: n ? Pw : jw,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -44990,7 +45202,7 @@ function p_e({ 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, H.jsx)(f_e, {
+ children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(T_e, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -44999,37 +45211,37 @@ function p_e({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function m_e(e) {
- let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: c, readOnly: l, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, B.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, B.useState)(/* @__PURE__ */ new Set()), [S, C] = u_e(), [w, T] = (0, B.useState)(""), E = (0, B.useMemo)(() => $me(_, n, i, v), [
+function D_e(e) {
+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: s, selected: c, readOnly: l, onSort: u, onPage: d, onLayout: f, onPageSize: p, onSelected: m, toast: h, openFollow: g } = e, _ = t.sources, v = (0, B.useMemo)(() => t.author_aliases || [], [t.author_aliases]), y = t.counts || {}, [b, x] = (0, B.useState)(/* @__PURE__ */ new Set()), [S, C] = C_e(), [w, T] = (0, B.useState)(""), E = (0, B.useMemo)(() => fhe(_, n, i, v), [
_,
n,
i,
v
- ]), D = (0, B.useMemo)(() => ehe(E, n, i, v), [
+ ]), D = (0, B.useMemo)(() => phe(E, n, i, v), [
E,
n,
i,
v
- ]), { job: O, running: k, outcome: A, start: j } = iM({
- queryKey: Wme,
- queryFn: ({ signal: e }) => nhe(e),
- start: (e) => WP(e),
+ ]), { job: O, running: k, outcome: A, start: j } = $j({
+ queryKey: rhe,
+ queryFn: ({ signal: e }) => hhe(e),
+ start: (e) => VP(e),
onError: (e) => T(G(e)),
onFinish: (e) => {
- eF(), h(e.status === "failed" ? e.error || "检查失败" : mhe(e));
+ ZP(), h(e.status === "failed" ? e.error || "检查失败" : Dhe(e));
}
}), M = (e) => {
k || j.isPending || (T(""), j.mutate(e));
- }, N = (e, t) => m(VP(c, [e], t)), ee = (e, t) => m(VP(c, e, t)), te = Cw({
- mutationFn: (e) => KP(e),
+ }, N = (e, t) => m(RP(c, [e], t)), ee = (e, t) => m(RP(c, e, t)), te = yw({
+ mutationFn: (e) => UP(e),
onSuccess: (e, t) => {
- $P([t]), m(VP(c, [t], !1)), h("已取消关注来源");
+ XP([t]), m(RP(c, [t], !1)), h("已取消关注来源");
},
onError: (e) => T(G(e))
- }), P = Cw({
- mutationFn: (e) => GP(e.id, e.enabled),
+ }), P = yw({
+ mutationFn: (e) => HP(e.id, e.enabled),
onSuccess: (e, t) => {
- QP(t.id, { enabled: t.enabled }), T("");
+ YP(t.id, { enabled: t.enabled }), T("");
},
onError: (e) => T(G(e))
}), F = (e) => void r({
@@ -45038,10 +45250,10 @@ function m_e(e) {
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => te.mutateAsync(e.id)
- }), ne = Cw({
+ }), ne = yw({
mutationFn: async (e) => {
let t = await ae(e.ids, 4, async (t) => {
- e.action === "remove" ? await KP(t) : await GP(t, e.action === "enabled");
+ e.action === "remove" ? await UP(t) : await HP(t, e.action === "enabled");
});
return {
...e,
@@ -45050,9 +45262,9 @@ function m_e(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") $P(e.done);
- else for (let t of e.done) QP(t, { enabled: e.action === "enabled" });
- m(VP(c, e.done, !1));
+ if (e.action === "remove") XP(e.done);
+ else for (let t of e.done) YP(t, { enabled: e.action === "enabled" });
+ m(RP(c, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
T(`${t.length}/${e.ids.length} 个来源未更新:${G(t[0]?.error)}`);
@@ -45063,20 +45275,20 @@ function m_e(e) {
h(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => T(G(e))
- }), I = Cw({
+ }), I = yw({
mutationFn: async (e) => {
- let t = ((await uhe()).groups || []).flatMap((e) => [
+ let t = ((await Che()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await ae(t, 6, (t) => lhe(t, e))).filter((e) => !e.ok)
+ failed: (await ae(t, 6, (t) => She(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (eF(), e.failed.length) {
+ if (ZP(), e.failed.length) {
T(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -45101,12 +45313,12 @@ function m_e(e) {
readOnly: l
};
let ie = L.current, oe = (0, B.useMemo)(() => {
- let e = WF(), t = (e) => () => d_e[e] || e;
+ let e = VF(), t = (e) => () => w_e[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(cM, {
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(rM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -45118,7 +45330,7 @@ function m_e(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(LF, {
+ children: [/* @__PURE__ */ (0, H.jsx)(PF, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, H.jsx)("span", {
@@ -45132,7 +45344,7 @@ function m_e(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, H.jsx)(zF, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
+ children: [/* @__PURE__ */ (0, H.jsx)(IF, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -45143,18 +45355,18 @@ function m_e(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(IF, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, H.jsx)(NF, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(RF, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(FF, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => tF(e.row.original.source)
+ cell: (e) => QP(e.row.original.source)
}),
e.display({
id: "actions",
@@ -45162,7 +45374,7 @@ function m_e(e) {
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, H.jsx)(FI, {
+ /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ie.readOnly,
@@ -45172,7 +45384,7 @@ function m_e(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Yw,
+ leadingIcon: Gw,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ie.readOnly,
...X(ie.busy),
@@ -45182,7 +45394,7 @@ function m_e(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: Uw,
+ leadingIcon: zw,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ie.readOnly,
onClick: () => L.current.remove(e.row.original.source)
@@ -45192,12 +45404,12 @@ function m_e(e) {
})
];
}, [ie]), se = (0, B.useMemo)(() => {
- let e = l_e[n];
+ let e = S_e[n];
return e ? [{
id: e,
desc: i === "desc"
}] : [];
- }, [n, i]), ce = (0, B.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), le = o === "table", R = zP(le ? D.length : E.length, s, a), ue = PI({
+ }, [n, i]), ce = (0, B.useMemo)(() => Object.fromEntries([...c].map((e) => [String(e), !0])), [c]), le = o === "table", R = IP(le ? D.length : E.length, s, a), ue = jI({
data: D,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -45214,7 +45426,7 @@ function m_e(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(se) : e)[0];
if (!t) return;
- let n = OP[t.id];
+ let n = TP[t.id];
n && u(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -45228,11 +45440,11 @@ function m_e(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === s ? n.pageIndex !== t.pageIndex && d(n.pageIndex + 1) : p(n.pageSize);
},
- getCoreRowModel: jI(),
- getPaginationRowModel: MI()
- }), de = ue.getRowModel().rows, fe = le ? de.map((e) => e.original.source.id) : E.slice(R.start, R.end).flatMap((e) => e.map((e) => e.id)), pe = BP(c, fe), me = [...c], he = hhe(A), ge = ghe(A), _e = E.length > 0 && b.size >= E.length;
+ getCoreRowModel: OI(),
+ getPaginationRowModel: kI()
+ }), de = ue.getRowModel().rows, fe = le ? de.map((e) => e.original.source.id) : E.slice(R.start, R.end).flatMap((e) => e.map((e) => e.id)), pe = LP(c, fe), me = [...c], he = Ohe(A), ge = khe(A), _e = E.length > 0 && b.size >= E.length;
return _.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45251,7 +45463,7 @@ function m_e(e) {
}),
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "primary",
- leadingIcon: Yw,
+ leadingIcon: Gw,
disabled: l,
"aria-label": "检查全部",
iconOnly: C,
@@ -45266,28 +45478,28 @@ function m_e(e) {
children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: eoe,
- "aria-label": EP[0][1],
+ leadingIcon: aoe,
+ "aria-label": CP[0][1],
"aria-pressed": !le,
onClick: () => f("default")
}), /* @__PURE__ */ (0, H.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: roe,
- "aria-label": EP[1][1],
+ leadingIcon: coe,
+ "aria-label": CP[1][1],
"aria-pressed": le,
onClick: () => f("table")
})]
}),
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- u(t, pP[t]);
+ u(t, uP[t]);
},
- children: fP.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: lP.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: t
}, e))
@@ -45295,14 +45507,14 @@ function m_e(e) {
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: i === "asc" ? Gae : Wae,
- "aria-label": Zme(n, i),
+ leadingIcon: i === "asc" ? Yae : Jae,
+ "aria-label": uhe(n, i),
onClick: () => u(n, i === "asc" ? "desc" : "asc")
}),
le ? null : /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
iconOnly: C,
- leadingIcon: _e ? Fw : Rw,
+ leadingIcon: _e ? jw : Pw,
"aria-label": _e ? "全部展开" : "全部收起",
onClick: () => x(_e ? /* @__PURE__ */ new Set() : new Set(E.map((e) => String(e[0].author_key || e[0].id)))),
children: _e ? "全部展开" : "全部收起"
@@ -45313,7 +45525,7 @@ function m_e(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- k ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ k ? /* @__PURE__ */ (0, H.jsx)(vT, {
embedded: !0,
label: O?.message || (O?.total ? `${O.older ? "抓取历史" : "检查更新"}:已完成 ${O.checked || 0}/${O.total} 个来源` : "正在准备检查任务"),
value: O?.checked,
@@ -45339,7 +45551,7 @@ function m_e(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(YE, {
+ /* @__PURE__ */ (0, H.jsxs)(WE, {
label: "关注来源批量操作",
visible: me.length > 0,
count: `已选 ${me.length} 个来源`,
@@ -45399,10 +45611,10 @@ function m_e(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, H.jsx)(dM, {
+ le ? /* @__PURE__ */ (0, H.jsx)(oM, {
follow: !0,
onRowClick: (e) => N(Number(e), !c.has(Number(e))),
- children: /* @__PURE__ */ (0, H.jsxs)(lM, {
+ children: /* @__PURE__ */ (0, H.jsxs)(iM, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -45413,9 +45625,9 @@ function m_e(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, H.jsx)(C_, { children: ue.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in OP, n = NI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, H.jsx)(w_, {
+ children: [/* @__PURE__ */ (0, H.jsx)(S_, { children: ue.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in TP, n = AI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, H.jsx)(C_, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -45424,20 +45636,20 @@ function m_e(e) {
children: [n, /* @__PURE__ */ (0, H.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, H.jsx)(gue, {})
+ children: /* @__PURE__ */ (0, H.jsx)(Sue, {})
})]
}) : /* @__PURE__ */ (0, H.jsx)(Jc, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, H.jsx)(E_, {
+ }) }), /* @__PURE__ */ (0, H.jsx)(T_, {
renderEmptyState: () => "这一页没有来源",
- children: de.map((e) => /* @__PURE__ */ (0, H.jsx)(k_, {
+ children: de.map((e) => /* @__PURE__ */ (0, H.jsx)(O_, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(j_, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(A_, { children: AI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(cM, {
+ }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: pe.all,
isIndeterminate: pe.some,
onChange: (e) => ee(fe, e),
@@ -45447,9 +45659,9 @@ function m_e(e) {
className: "flex flex-col gap-3",
children: E.slice(R.start, R.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, H.jsx)(p_e, {
+ return /* @__PURE__ */ (0, H.jsx)(E_e, {
group: e,
- name: FP(e, v),
+ name: MP(e, v),
handlers: ie,
selected: c,
open: !b.has(t),
@@ -45469,19 +45681,19 @@ function m_e(e) {
className: "text-body-2-regular text-text-secondary",
children: `${R.start + 1}–${R.end} / ${R.total} ${le ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(s),
onSelectionChange: (e) => {
e !== null && ue.setPageSize(Number(e));
},
- children: DP.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: wP.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: String(e),
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(RI, {
+ /* @__PURE__ */ (0, H.jsx)(FI, {
page: R.page,
pages: R.pages,
onPage: (e) => ue.setPageIndex(e - 1)
@@ -45530,11 +45742,11 @@ function m_e(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Xw,
+ icon: Kw,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, H.jsx)(nT, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -45545,7 +45757,7 @@ function m_e(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var h_e = {
+var O_e = {
select: "选择",
name: "名称",
kind: "类型",
@@ -45555,33 +45767,33 @@ var h_e = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, g_e = /* @__PURE__ */ new Set(["select", "actions"]), zI = () => z.invalidateQueries({
- queryKey: TP,
+}, k_e = /* @__PURE__ */ new Set(["select", "actions"]), II = () => z.invalidateQueries({
+ queryKey: SP,
exact: !0
-}), BI = (e) => e.name || e.url, __e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function v_e(e) {
+}), LI = (e) => e.name || e.url, A_e = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function j_e(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function y_e({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, H.jsx)(Nk, {
+function M_e({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, H.jsx)(Nk, {
+ }) : e.enabled ? /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, H.jsx)(Nk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function b_e({ source: e }) {
+function N_e({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -45590,31 +45802,31 @@ function b_e({ source: e }) {
} : null;
return /* @__PURE__ */ (0, H.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 ${II}`,
- dangerouslySetInnerHTML: { __html: ue(BI(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 ${NI}`,
+ dangerouslySetInnerHTML: { __html: ue(LI(e), t, null, "performer") }
});
}
-var x_e = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function S_e(e) {
+var P_e = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function F_e(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 VI(e, t) {
+function RI(e, t) {
let n = e.length === 1 ? e[0] : null;
return r({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${BI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${LI(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function C_e({ readOnly: e, toast: t }) {
- let n = bw({
- queryKey: TP,
- queryFn: ({ signal: e }) => JP(e)
- }), r = _T(), i = n.data, a = (0, B.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(1), [u, d] = (0, B.useState)(20), f = zP(a.length, u, c);
+function I_e({ readOnly: e, toast: t }) {
+ let n = gw({
+ queryKey: SP,
+ queryFn: ({ signal: e }) => GP(e)
+ }), r = pT(), i = n.data, a = (0, B.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, B.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, B.useState)(1), [u, d] = (0, B.useState)(20), f = IP(a.length, u, c);
(0, B.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, B.useEffect)(() => {
@@ -45623,10 +45835,10 @@ function C_e({ readOnly: e, toast: t }) {
return n.size === e.size ? e : n;
});
}, [a]);
- let p = Cw({
+ let p = yw({
mutationFn: async (e) => {
let t = await ae(e.ids, 4, async (t) => {
- e.action === "remove" ? await XP(t) : await YP(t, e.action === "enabled");
+ e.action === "remove" ? await qP(t) : await KP(t, e.action === "enabled");
});
return {
...e,
@@ -45635,13 +45847,13 @@ function C_e({ 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()), zI(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), II(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : G(e.error)}`);
}
},
onError: (e) => r.setError(G(e))
- }), m = (0, B.useMemo)(() => S_e(a), [a]), h = (0, B.useRef)({
+ }), m = (0, B.useMemo)(() => F_e(a), [a]), h = (0, B.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -45653,34 +45865,34 @@ function C_e({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => YP(e.id, t, n), () => void zI()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => ZP(t, [e.id]), () => void zI()),
- remove: (e) => void VI([e], async () => {
- await XP(e.id), t(`已移除订阅源「${BI(e)}」`), zI();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => KP(e.id, t, n), () => void II()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => JP(t, [e.id]), () => void II()),
+ remove: (e) => void RI([e], async () => {
+ await qP(e.id), t(`已移除订阅源「${LI(e)}」`), II();
})
};
let g = (0, B.useMemo)(() => {
- let e = WF(), t = (e) => () => h_e[e] || e;
+ let e = VF(), t = (e) => () => O_e[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(cM, {
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(rM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${BI(e.row.original)}`
+ "aria-label": `选择 ${LI(e.row.original)}`
})
}),
- e.accessor(BI, {
+ e.accessor(LI, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = x_e(e.row.original, h.current.shared);
+ let t = P_e(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, H.jsx)(b_e, { source: e.row.original }),
+ /* @__PURE__ */ (0, H.jsx)(N_e, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -45708,15 +45920,15 @@ function C_e({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: v_e(e.getValue())
+ children: j_e(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, H.jsx)(y_e, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, H.jsx)(M_e, { source: e.row.original })
}),
- e.accessor((e) => __e(e.interval_minutes), {
+ e.accessor((e) => A_e(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, H.jsx)("span", {
@@ -45724,7 +45936,7 @@ function C_e({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? YA(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? WA(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, H.jsx)("span", {
@@ -45746,8 +45958,8 @@ function C_e({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, H.jsx)(FI, {
- "aria-label": `启用 ${BI(e.row.original)}`,
+ /* @__PURE__ */ (0, H.jsx)(MI, {
+ "aria-label": `启用 ${LI(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -45756,8 +45968,8 @@ function C_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Yw,
- "aria-label": `拉取 ${BI(e.row.original)}`,
+ leadingIcon: Gw,
+ "aria-label": `拉取 ${LI(e.row.original)}`,
disabled: h.current.readOnly,
...X(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -45766,8 +45978,8 @@ function C_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: Uw,
- "aria-label": `移除 ${BI(e.row.original)}`,
+ leadingIcon: zw,
+ "aria-label": `移除 ${LI(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -45775,7 +45987,7 @@ function C_e({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = PI({
+ }, []), _ = (0, B.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = jI({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -45791,27 +46003,27 @@ function C_e({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(_) : e;
s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: jI(),
- getPaginationRowModel: MI()
+ getCoreRowModel: OI(),
+ getPaginationRowModel: kI()
});
if (!i) return n.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "打不开订阅源",
children: G(n.error)
- }) : /* @__PURE__ */ (0, H.jsx)(AT, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => ZP(e), () => void zI()), b = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => JP(e), () => void II()), b = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), x = a.filter((e) => o.has(e.id)), S = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, H.jsx)(c_e, {
+ children: [/* @__PURE__ */ (0, H.jsx)(x_e, {
readOnly: e,
toast: t,
- onAdded: () => void zI()
+ onAdded: () => void II()
}), /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45839,11 +46051,11 @@ function C_e({ readOnly: e, toast: t }) {
className: "flex flex-col gap-3",
children: [S.map((e) => /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
- title: `${BI(e)} 拉取失败`,
+ title: `${LI(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(YE, {
+ /* @__PURE__ */ (0, H.jsxs)(WE, {
visible: x.length > 0,
label: "订阅源批量操作",
count: `已选 ${x.length} 条订阅源`,
@@ -45875,7 +46087,7 @@ function C_e({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...X(p.isPending),
- onClick: () => void VI(x, () => p.mutateAsync({
+ onClick: () => void RI(x, () => p.mutateAsync({
ids: x.map((e) => e.id),
action: "remove"
})),
@@ -45889,26 +46101,26 @@ function C_e({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, H.jsx)(dM, {
+ a.length ? /* @__PURE__ */ (0, H.jsx)(oM, {
onRowClick: (e) => b(Number(e)),
- children: /* @__PURE__ */ (0, H.jsxs)(lM, {
+ children: /* @__PURE__ */ (0, H.jsxs)(iM, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, H.jsx)(C_, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = NI(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, H.jsx)(w_, {
+ children: [/* @__PURE__ */ (0, H.jsx)(S_, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = AI(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, H.jsx)(C_, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: g_e.has(e.column.id) ? /* @__PURE__ */ (0, H.jsx)(Jc, { children: t }) : t
+ children: k_e.has(e.column.id) ? /* @__PURE__ */ (0, H.jsx)(Jc, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, H.jsx)(E_, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, H.jsx)(k_, {
+ }) }), /* @__PURE__ */ (0, H.jsx)(T_, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, H.jsx)(O_, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(j_, { children: NI(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, H.jsx)(A_, { children: AI(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: Xw,
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: Kw,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -45920,19 +46132,19 @@ function C_e({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${f.start + 1}–${f.end} / ${f.total} 个订阅源`
}),
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: DP.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: wP.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(RI, {
+ /* @__PURE__ */ (0, H.jsx)(FI, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -45954,8 +46166,8 @@ function C_e({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
- let a = (0, B.useRef)(null), [o, s] = (0, B.useState)(typeof IntersectionObserver > "u"), [c, l] = (0, B.useState)([]), u = _T(), d = iw();
+function L_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
+ let a = (0, B.useRef)(null), [o, s] = (0, B.useState)(typeof IntersectionObserver > "u"), [c, l] = (0, B.useState)([]), u = pT(), d = ew();
(0, B.useEffect)(() => {
if (!a.current || o) return;
let e = new IntersectionObserver((t) => {
@@ -45963,7 +46175,7 @@ function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
}, { rootMargin: "100px" });
return e.observe(a.current), () => e.disconnect();
}, [o]);
- let f = bw({
+ let f = gw({
queryKey: [
"want-magnets",
e.id,
@@ -45977,7 +46189,7 @@ function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
}), p = n?.providers.find((e) => e.key === r && e.configured), m = (r) => {
t || !n?.available || !p || r.protocol !== "magnet" || u.run(r.id, async (t) => {
- let n = await q($k, {
+ let n = await q(Jk, {
magnet: r.uri,
provider: p.key,
target: p.target,
@@ -45988,7 +46200,7 @@ function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- l((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), d.invalidateQueries({ queryKey: eA });
+ l((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), d.invalidateQueries({ queryKey: Yk });
});
}, h = (e) => {
u.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -46013,7 +46225,7 @@ function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
children: "重新查询"
})]
}),
- g ? /* @__PURE__ */ (0, H.jsx)(yT, { label: "正在查找资源链接…" }) : null,
+ g ? /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在查找资源链接…" }) : null,
_ ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "资源链接未取得",
@@ -46057,7 +46269,7 @@ function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(nT, {
+ /* @__PURE__ */ (0, H.jsx)(Qw, {
"data-button-link": "",
variant: "secondary",
size: "small",
@@ -46091,41 +46303,41 @@ function w_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i }) {
}
//#endregion
//#region src/react/wants/wants.ts
-var HI = "/api/wants", UI = ["wants"], T_e = (e) => [
+var zI = "/api/wants", BI = ["wants"], R_e = (e) => [
"wants",
"follow",
e
-], E_e = [
+], z_e = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], D_e = (e) => K(HI, e), O_e = (e, t) => K(`${HI}?follow=${encodeURIComponent(e)}`, t), WI = (e, t) => q(HI, {
+], B_e = (e) => K(zI, e), V_e = (e, t) => K(`${zI}?follow=${encodeURIComponent(e)}`, t), VI = (e, t) => q(zI, {
action: "add",
...e
-}, "POST", t), GI = (e, t) => q(HI, {
+}, "POST", t), HI = (e, t) => q(zI, {
action: "remove",
ids: e
-}, "POST", t), k_e = (e, t) => q(HI, {
+}, "POST", t), H_e = (e, t) => q(zI, {
action: "reset",
ids: e
-}, "POST", t), KI = () => z.invalidateQueries({ queryKey: UI }), qI = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function A_e(e) {
+}, "POST", t), UI = () => z.invalidateQueries({ queryKey: BI }), WI = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function U_e(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/wants/want-list.tsx
-var j_e = {
+var W_e = {
code: "手动添加",
feed: "Feed 新作",
follow: "关注"
-}, JI = (e) => [
+}, GI = (e) => [
e.release_date,
e.studio,
e.performers,
- j_e[e.origin]
+ W_e[e.origin]
].filter(Boolean).join(" · ");
-function M_e({ want: e }) {
+function G_e({ want: e }) {
return /* @__PURE__ */ (0, H.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, H.jsx)("span", {
@@ -46141,36 +46353,36 @@ function M_e({ want: e }) {
}) : null]
});
}
-function N_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function K_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-want-id": e.id,
- className: cT({
+ className: iT({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, H.jsx)(M_e, { want: e }), /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, H.jsx)(G_e, { want: e }), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, H.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, H.jsx)("b", {
className: "text-headline-medium text-text-primary",
- children: qI(e)
+ children: WI(e)
}), e.code && e.title ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- JI(e) ? /* @__PURE__ */ (0, H.jsx)("p", {
+ GI(e) ? /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: JI(e)
+ children: GI(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, H.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: A_e(e)
+ children: U_e(e)
}) : null,
e.scrape_error ? /* @__PURE__ */ (0, H.jsxs)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -46179,7 +46391,7 @@ function N_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "mt-1 flex flex-wrap items-center gap-2",
children: [
- e.link ? /* @__PURE__ */ (0, H.jsx)(nT, {
+ e.link ? /* @__PURE__ */ (0, H.jsx)(Qw, {
"data-button-link": "",
variant: "secondary",
size: "small",
@@ -46215,7 +46427,7 @@ function N_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, H.jsx)(w_e, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, H.jsx)(L_e, {
want: e,
readOnly: t,
downloads: o,
@@ -46224,36 +46436,36 @@ function N_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
- let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = _T(), c = bw({
- queryKey: UI,
- queryFn: ({ signal: e }) => D_e(e),
+function q_e({ readOnly: e, toast: t, cloudDownload: n }) {
+ let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = pT(), c = gw({
+ queryKey: BI,
+ queryFn: ({ signal: e }) => B_e(e),
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- !n || e || s.run("add", (e) => WI({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${qI(e.want)}` : `${qI(e.want)} 已经在想要里`), i(""), KI();
+ !n || e || s.run("add", (e) => VI({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${WI(e.want)}` : `${WI(e.want)} 已经在想要里`), i(""), UI();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => GI([e.id], t), () => {
- t(`已移除:${qI(e)}`), KI();
+ s.run(`remove:${e.id}`, (t) => HI([e.id], t), () => {
+ t(`已移除:${WI(e)}`), UI();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => k_e([e.id], t), () => {
- t(`${qI(e)} 回到待找`), KI();
+ s.run(`reset:${e.id}`, (t) => H_e([e.id], t), () => {
+ t(`${WI(e)} 回到待找`), UI();
});
- }, p = c.data, m = p?.items || [], h = bw({
- queryKey: eA,
- queryFn: ({ signal: e }) => K(`${$k}?limit=100`, e),
+ }, p = c.data, m = p?.items || [], h = gw({
+ queryKey: Yk,
+ queryFn: ({ signal: e }) => K(`${Jk}?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.find((e) => e.key === a)?.key || g[0]?.key || "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -46266,7 +46478,7 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -46282,7 +46494,7 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
children: "添加"
})]
}),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
s.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "这一次没有完成",
@@ -46295,7 +46507,7 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
title: "想要清单读取失败",
children: G(c.error)
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, H.jsx)(AT, {
+ p?.scraping ? /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -46306,16 +46518,16 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "text-body-medium text-text-primary",
children: "下载到"
}),
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "下载到",
selectedKey: _,
onSelectionChange: (e) => o(String(e)),
- children: g.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: g.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e.key,
children: e.label
}, e.key))
}),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
]
}) : null,
h.error ? /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -46331,13 +46543,13 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, H.jsx)(Pk, {
+ p && !m.length ? /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: noe,
+ icon: soe,
title: "还没有想要的作品",
children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"
}) : null,
- E_e.map(([r, i]) => {
+ z_e.map(([r, i]) => {
let a = m.filter((e) => e.phase === r);
return a.length ? /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": i,
@@ -46351,7 +46563,7 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
})]
}), /* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex flex-col gap-4",
- children: a.map((r) => /* @__PURE__ */ (0, H.jsx)(N_e, {
+ children: a.map((r) => /* @__PURE__ */ (0, H.jsx)(K_e, {
want: r,
readOnly: e,
busy: s.busy,
@@ -46374,16 +46586,16 @@ function P_e({ readOnly: e, toast: t, cloudDownload: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var YI = [
+var KI = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["wants", "JAV 入库"],
["source", "来源和凭证"]
-], XI = (e) => YI.some(([t]) => t === e);
-function ZI({ term: e, figure: t, unit: n }) {
+], qI = (e) => KI.some(([t]) => t === e);
+function JI({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -46399,23 +46611,23 @@ function ZI({ term: e, figure: t, unit: n }) {
})]
});
}
-function F_e(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, B.useState)(XI(e.tab) ? e.tab : "list"), [d, f] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, B.useState)(() => mP(e.sort, e.dir).sort), [h, g] = (0, B.useState)(() => mP(e.sort, e.dir).dir), [_, v] = (0, B.useState)(Jme(e.layout) ? e.layout : "default"), [y, b] = (0, B.useState)(Yme(e.pageSize)), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), C = bw({
- queryKey: CP,
- queryFn: ({ signal: e }) => HP(e)
- }), w = bw({
- queryKey: wP,
- queryFn: ({ signal: e }) => UP(e)
- }), T = bw({
- queryKey: TP,
- queryFn: ({ signal: e }) => JP(e)
+function J_e(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, B.useState)(qI(e.tab) ? e.tab : "list"), [d, f] = (0, B.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, B.useState)(() => dP(e.sort, e.dir).sort), [h, g] = (0, B.useState)(() => dP(e.sort, e.dir).dir), [_, v] = (0, B.useState)(she(e.layout) ? e.layout : "default"), [y, b] = (0, B.useState)(che(e.pageSize)), [x, S] = (0, B.useState)(/* @__PURE__ */ new Set()), C = gw({
+ queryKey: bP,
+ queryFn: ({ signal: e }) => zP(e)
+ }), w = gw({
+ queryKey: xP,
+ queryFn: ({ signal: e }) => BP(e)
+ }), T = gw({
+ queryKey: SP,
+ queryFn: ({ signal: e }) => GP(e)
}), E = C.data || { sources: [] }, D = w.data || {
root: "",
providers: []
}, O = E.sources;
(0, B.useEffect)(() => {
S((e) => {
- let t = the(e, O);
+ let t = mhe(e, O);
return t.size === e.size ? e : t;
});
}, [O]);
@@ -46425,10 +46637,10 @@ function F_e(e) {
tab: e.tab ?? l,
page: e.page ?? d,
sort: n === "checked" ? "" : n,
- dir: r === pP[n] ? "" : r
+ dir: r === uP[n] ? "" : r
});
- }, A = RP(O), j = O.filter(AP).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !rF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, H.jsxs)(Fk, { children: [
+ }, A = FP(O), j = O.filter(DP).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !eF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
o ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "本机只能浏览",
@@ -46443,64 +46655,64 @@ function F_e(e) {
children: s
}) : null,
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: jfe,
+ className: Lfe,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, H.jsx)(ZI, {
+ /* @__PURE__ */ (0, H.jsx)(JI, {
term: "关注创作者",
figure: A.length,
unit: "位"
}),
- /* @__PURE__ */ (0, H.jsx)(ZI, {
+ /* @__PURE__ */ (0, H.jsx)(JI, {
term: "启用来源",
figure: M,
unit: `/ ${O.length}`
}),
- /* @__PURE__ */ (0, H.jsx)(ZI, {
+ /* @__PURE__ */ (0, H.jsx)(JI, {
term: "检查失败",
figure: j,
unit: "个来源"
}),
- /* @__PURE__ */ (0, H.jsx)(ZI, {
+ /* @__PURE__ */ (0, H.jsx)(JI, {
term: "未看更新",
figure: E.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, H.jsx)(ZI, {
+ /* @__PURE__ */ (0, H.jsx)(JI, {
term: "JAV 订阅",
figure: ee,
unit: "位"
}),
- /* @__PURE__ */ (0, H.jsx)(ZI, {
+ /* @__PURE__ */ (0, H.jsx)(JI, {
term: "未看新作",
figure: T.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, H.jsxs)(L_, {
+ /* @__PURE__ */ (0, H.jsxs)(I_, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- XI(t) && (u(t), k({ tab: t }));
+ qI(t) && (u(t), k({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, H.jsx)(R_, {
+ /* @__PURE__ */ (0, H.jsx)(L_, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: YI.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(z_, {
+ children: KI.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(R_, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && N ? `${t}(${N})` : t
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(m_e, {
+ children: /* @__PURE__ */ (0, H.jsx)(D_e, {
data: E,
sort: p,
dir: h,
@@ -46530,10 +46742,10 @@ function F_e(e) {
}
})
}),
- /* @__PURE__ */ (0, H.jsxs)(B_, {
+ /* @__PURE__ */ (0, H.jsxs)(z_, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, H.jsx)(uge, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Cge, {
data: E,
credentials: D,
readOnly: o,
@@ -46541,7 +46753,7 @@ function F_e(e) {
openCredentials: () => {
u("source"), k({ tab: "source" });
}
- }), /* @__PURE__ */ (0, H.jsx)(pge, {
+ }), /* @__PURE__ */ (0, H.jsx)(Ege, {
groups: E.author_aliases || [],
readOnly: o,
toast: r,
@@ -46549,27 +46761,27 @@ function F_e(e) {
sources: E.sources
})]
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(C_e, {
+ children: /* @__PURE__ */ (0, H.jsx)(I_e, {
readOnly: o,
toast: r
})
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "wants",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(P_e, {
+ children: /* @__PURE__ */ (0, H.jsx)(q_e, {
readOnly: o,
toast: r,
cloudDownload: a
})
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, H.jsx)(Sge, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fge, {
data: D,
readOnly: o,
toast: r
@@ -46581,23 +46793,23 @@ function F_e(e) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var QI = () => /* @__PURE__ */ (0, H.jsx)("span", {
+var YI = () => /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function I_e({ tag: e, actions: t }) {
+function Y_e({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": aN(t.online, e.cat),
+ "data-tag-cat": QM(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 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, H.jsx)(QI, {}),
+ /* @__PURE__ */ (0, H.jsx)(YI, {}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -46609,23 +46821,23 @@ function I_e({ tag: e, actions: t }) {
]
});
}
-function L_e({ groups: e, actions: t }) {
+function X_e({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, H.jsxs)("section", {
"data-alpha-group": r,
- className: cT({
+ className: iT({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, H.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, H.jsx)(WC, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, H.jsx)(BC, { value: n.length })]
}), /* @__PURE__ */ (0, H.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, H.jsx)(I_e, {
+ children: n.map((e) => /* @__PURE__ */ (0, H.jsx)(Y_e, {
tag: e,
actions: t
}, e.k))
@@ -46633,8 +46845,8 @@ function L_e({ groups: e, actions: t }) {
}, e))
});
}
-var R_e = "\xA0";
-function z_e({ tags: e, actions: t }) {
+var Z_e = "\xA0";
+function Q_e({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -46642,11 +46854,11 @@ function z_e({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": aN(t.online, e.cat),
+ "data-tag-cat": QM(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 + R_e, /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [e.label + Z_e, /* @__PURE__ */ (0, H.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -46654,7 +46866,7 @@ function z_e({ tags: e, actions: t }) {
}, e.k))
});
}
-var B_e = [[
+var $_e = [[
"cloud",
"标签云",
"tags"
@@ -46663,16 +46875,16 @@ var B_e = [[
"字母表",
"text-aa"
]];
-function V_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+function eve({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
return /* @__PURE__ */ (0, H.jsx)(gr, {
label: "标签筛选",
topLabel: "标签类型",
top: e.map(([e, r]) => /* @__PURE__ */ (0, H.jsxs)(vr, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : aN(n, e),
+ "data-tag-cat": e === "all" ? "all" : QM(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, H.jsx)(QI, {}), r]
+ children: [/* @__PURE__ */ (0, H.jsx)(YI, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsx)("span", {
@@ -46696,14 +46908,14 @@ function V_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${AC}`,
- children: B_e.map(([e, t, n]) => {
- let r = NC(n);
+ className: `ml-auto ${EC}`,
+ children: $_e.map(([e, t, n]) => {
+ let r = kC(n);
return /* @__PURE__ */ (0, H.jsx)(dg, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: jC,
+ className: DC,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: t,
className: "contents",
@@ -46715,13 +46927,13 @@ function V_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function H_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, H.jsxs)(YE, {
+function tve({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, H.jsxs)(WE, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, H.jsx)(cM, {
+ /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -46753,7 +46965,7 @@ function H_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var U_e = [{
+var nve = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -46761,7 +46973,7 @@ var U_e = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], $I = [{
+}], XI = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -46769,7 +46981,7 @@ var U_e = [{
value: "online",
label: "在线",
symbol: "rss"
-}], W_e = {
+}], rve = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -46789,20 +47001,20 @@ var U_e = [{
"layout-grid"
]]
};
-function G_e({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, H.jsx)(DC, {
- "aria-label": `${WM[e]}索引版式`,
+function ive({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, H.jsx)(CC, {
+ "aria-label": `${LM[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${OC}`,
- children: W_e[XM(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = NC(n);
+ className: `flex-none max-board-narrow:order-3 ${wC}`,
+ children: rve[UM(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = kC(n);
return /* @__PURE__ */ (0, H.jsx)(dg, {
value: e,
"aria-label": t,
- className: Uie,
+ className: qie,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: t,
className: "contents",
@@ -46812,8 +47024,8 @@ function G_e({ kind: e, layout: t, onChange: n }) {
})
});
}
-var K_e = NC("search");
-function q_e({ label: e, value: t, onQuery: n }) {
+var ave = kC("search");
+function ove({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, B.useState)(t), a = (0, B.useRef)(!1), o = (0, B.useRef)(void 0);
(0, B.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -46828,15 +47040,15 @@ function q_e({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, H.jsx)(Lk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Mk, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, H.jsx)(zk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Pk, {
type: "search",
- leadingIcon: K_e,
+ leadingIcon: ave,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -46846,14 +47058,14 @@ function q_e({ label: e, value: t, onQuery: n }) {
})
});
}
-function J_e(e) {
- let [t, n] = (0, B.useState)(() => ZM({
+function sve(e) {
+ let [t, n] = (0, B.useState)(() => WM({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, B.useState)(e.layout), [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)("any"), l = (0, B.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = WM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
+ })), [r, i] = (0, B.useState)(e.layout), [a, o] = (0, B.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, B.useState)("any"), l = (0, B.useRef)(null), { kind: u, q: f, scope: p, view: m, category: h } = t, g = LM[u], _ = u === "tags" && p === "online", v = u === "performers" && p === "online";
(0, B.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -46863,7 +47075,7 @@ function J_e(e) {
...r
};
b(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, S = tN(QM(t)), C = ww({
+ }, S = JM(GM(t)), C = bw({
queryKey: S.queryKey,
queryFn: ({ pageParam: e, signal: t }) => S.queryFn({
pageParam: e,
@@ -46871,22 +47083,22 @@ function J_e(e) {
}),
initialPageParam: 0,
getNextPageParam: S.getNextPageParam,
- placeholderData: y ? Tw.keepPreviousData : void 0
- }), w = rN(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = iN(w.length, !!C.hasNextPage);
+ placeholderData: y ? xw.keepPreviousData : void 0
+ }), w = XM(C.data), T = !!C.hasNextPage && !C.isPlaceholderData, E = ZM(w.length, !!C.hasNextPage);
(0, B.useLayoutEffect)(() => {
l.current && we(l.current);
}, [r]);
let D = (0, B.useMemo)(() => u === "tags" ? w.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [w, u]), O = (0, B.useMemo)(() => u === "tags" && m === "alphabet" ? cN(D, (t) => e.tagLabel(t)) : [], [
+ })) : [], [w, u]), O = (0, B.useMemo)(() => u === "tags" && m === "alphabet" ? tN(D, (t) => e.tagLabel(t)) : [], [
D,
m,
u
]), k = (t) => {
i(t), e.savePreference({ layout: t });
- }, A = u === "tags" ? /* @__PURE__ */ (0, H.jsx)(GC, {
- tabs: $I,
+ }, A = u === "tags" ? /* @__PURE__ */ (0, H.jsx)(VC, {
+ tabs: XI,
value: p,
label: "词表",
onChange: (e) => {
@@ -46896,15 +47108,15 @@ function J_e(e) {
view: e === "online" ? "alphabet" : m
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, H.jsx)(GC, {
- tabs: $I,
+ }) : u === "performers" ? /* @__PURE__ */ (0, H.jsx)(VC, {
+ tabs: XI,
value: p,
label: "名册",
onChange: (t) => {
t === "online" && e.exitSelectMode(), x({ scope: t });
}
- }) : XM(u) ? /* @__PURE__ */ (0, H.jsx)(GC, {
- tabs: U_e,
+ }) : UM(u) ? /* @__PURE__ */ (0, H.jsx)(VC, {
+ tabs: nve,
value: u,
label: "公司类型",
onChange: (e) => x({ kind: e })
@@ -46921,7 +47133,7 @@ function J_e(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, M = (_ ? qM : KM).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, M = (_ ? BM : zM).filter(([e]) => e === "all" || Number(C.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, H.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -46936,12 +47148,12 @@ function J_e(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: g
}),
- YM(u) ? /* @__PURE__ */ (0, H.jsx)("span", {
+ HM(u) ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: C.isPending ? "" : E
}) : null,
- YM(u) ? /* @__PURE__ */ (0, H.jsx)(G_e, {
+ HM(u) ? /* @__PURE__ */ (0, H.jsx)(ive, {
kind: u,
layout: r,
onChange: k
@@ -46950,7 +47162,7 @@ function J_e(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, H.jsx)(q_e, {
+ /* @__PURE__ */ (0, H.jsx)(ove, {
label: `过滤${g}`,
value: f,
onQuery: (e) => {
@@ -46960,7 +47172,7 @@ function J_e(e) {
]
}),
A,
- u === "tags" ? /* @__PURE__ */ (0, H.jsx)(V_e, {
+ u === "tags" ? /* @__PURE__ */ (0, H.jsx)(eve, {
categories: M,
category: h,
online: _,
@@ -46985,8 +47197,8 @@ function J_e(e) {
mode: m
}) }
});
- if (C.isError) return /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: NC("search"),
+ if (C.isError) return /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: kC("search"),
title: `没能读取${g}`,
actions: /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
@@ -46995,18 +47207,18 @@ function J_e(e) {
}),
children: ce(C.error)
});
- if (!w.length) return /* @__PURE__ */ (0, H.jsx)(X_e, {
+ if (!w.length) return /* @__PURE__ */ (0, H.jsx)(lve, {
kind: u,
filtered: !!f || u === "tags" && h !== "all",
online: _ || v,
configurable: e.configurable
});
- if (v) return /* @__PURE__ */ (0, H.jsx)(pN, {
+ if (v) return /* @__PURE__ */ (0, H.jsx)(oN, {
items: w,
layout: r,
props: e
});
- if (YM(u)) return /* @__PURE__ */ (0, H.jsx)(fN, {
+ if (HM(u)) return /* @__PURE__ */ (0, H.jsx)(aN, {
kind: u,
items: w,
layout: r,
@@ -47017,10 +47229,10 @@ function J_e(e) {
picked: a,
press: j
};
- return m === "alphabet" ? /* @__PURE__ */ (0, H.jsx)(L_e, {
+ return m === "alphabet" ? /* @__PURE__ */ (0, H.jsx)(X_e, {
groups: O,
actions: t
- }) : /* @__PURE__ */ (0, H.jsx)(z_e, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Q_e, {
tags: D,
actions: t
});
@@ -47035,13 +47247,13 @@ function J_e(e) {
disabled: C.isFetchingNextPage,
"aria-busy": C.isFetchingNextPage || void 0,
onClick: () => void C.fetchNextPage(),
- children: C.isFetchingNextPage ? /* @__PURE__ */ (0, H.jsx)(yT, {
+ children: C.isFetchingNextPage ? /* @__PURE__ */ (0, H.jsx)(hT, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, H.jsx)(H_e, {
+ u === "tags" && !_ && e.selectMode ? /* @__PURE__ */ (0, H.jsx)(tve, {
count: a.size,
match: s,
onMatch: c,
@@ -47054,31 +47266,31 @@ function J_e(e) {
]
});
}
-var Y_e = {
+var cve = {
tags: "标签",
performers: "艺人",
creators: "创作者",
studios: "厂牌",
agencies: "事务所"
};
-function X_e({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: NC("search"),
+function lve({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: kC("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, H.jsx)(nT, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : Y_e[e], a = /* @__PURE__ */ (0, H.jsx)(nT, {
+ let i = n && e === "performers" ? "创作者" : cve[e], a = /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: NC(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: kC(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [r ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "primary",
@@ -47088,15 +47300,15 @@ function X_e({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var eL = {
+var ZI = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, Z_e = (e) => eL[e.junk_kind || "other"] || eL.other;
-function Q_e(e) {
+}, uve = (e) => ZI[e.junk_kind || "other"] || ZI.other;
+function dve(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -47107,21 +47319,21 @@ function Q_e(e) {
glyph: "check"
};
}
-var tL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), $_e = (e, t) => [
+var QI = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), fve = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function eve({ kind: e, view: t }) {
+function pve({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function tve(e, t) {
- let n = await K(`/api/ads?${eve(e)}`, t);
+async function mve(e, t) {
+ let n = await K(`/api/ads?${pve(e)}`, t);
return {
...n,
items: n.items || []
@@ -47129,19 +47341,19 @@ async function tve(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function nL({ name: e }) {
+function $I({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-var rL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = e.junk_kind || "other", [f, p] = Z_e(e), m = String(e.name || ""), h = Q_e(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]") || rL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var eL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function hve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, B.useRef)(null), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = e.junk_kind || "other", [f, p] = uve(e), m = String(e.name || ""), h = dve(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]") || eL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- if (t.stopPropagation(), rL(r, t)) {
+ if (t.stopPropagation(), eL(r, t)) {
t.preventDefault(), a.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -47183,7 +47395,7 @@ function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, H.jsx)(nL, { name: p }), /* @__PURE__ */ (0, H.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, H.jsx)($I, { name: p }), /* @__PURE__ */ (0, H.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-media-art": "thumb",
@@ -47195,7 +47407,7 @@ function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, H.jsx)(nL, { name: "check" })
+ children: /* @__PURE__ */ (0, H.jsx)($I, { name: "check" })
})
]
}),
@@ -47232,7 +47444,7 @@ function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: w("正在定位") }
- }) : /* @__PURE__ */ (0, H.jsx)(nL, { name: "folder-open" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ }) : /* @__PURE__ */ (0, H.jsx)($I, { name: "folder-open" }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -47244,7 +47456,7 @@ function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, H.jsx)(nL, { name: h.glyph }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)($I, { name: h.glyph }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -47256,7 +47468,7 @@ function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, H.jsx)(nL, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [/* @__PURE__ */ (0, H.jsx)($I, { name: "trash" }), /* @__PURE__ */ (0, H.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -47271,7 +47483,7 @@ function nve({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var rve = (0, B.memo)(nve), iL = [
+var gve = (0, B.memo)(hve), tL = [
[
"",
"全部",
@@ -47308,53 +47520,53 @@ var rve = (0, B.memo)(nve), iL = [
"hard-drive"
]
];
-function aL(e = "", t = "pending") {
+function nL(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 ive(e) {
+function _ve(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: aL("", "pending")
+ href: nL("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: aL("", "dismissed")
+ href: nL("", "dismissed")
};
}
-var ave = (e) => e === "dismissed" ? "已排除" : "待判断";
+var vve = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function oL({ name: e }) {
+function rL({ name: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
});
}
-function sL({ scope: e, count: t }) {
+function iL({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [" ", /* @__PURE__ */ (0, H.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function ove({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = mT(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = Sr(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? iL.map(([e]) => tL(t, e)).join(",") : ""}`), l = ive(s), u = (e) => {
+function yve({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = uT(), a = (0, B.useRef)(null), { kind: o, view: s } = e, c = Sr(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? tL.map(([e]) => QI(t, e)).join(",") : ""}`), l = _ve(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") || aL()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || nL()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, H.jsx)(sP, {
- label: ave(s),
+ children: /* @__PURE__ */ (0, H.jsx)(eP, {
+ label: vve(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -47374,17 +47586,17 @@ function ove({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- iL.map(([e, n, r]) => /* @__PURE__ */ (0, H.jsxs)("a", {
- href: aL(e, s),
+ tL.map(([e, n, r]) => /* @__PURE__ */ (0, H.jsxs)("a", {
+ href: nL(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, H.jsx)(oL, { name: r }),
+ /* @__PURE__ */ (0, H.jsx)(rL, { name: r }),
n,
- /* @__PURE__ */ (0, H.jsx)(sL, {
+ /* @__PURE__ */ (0, H.jsx)(iL, {
scope: e,
- count: t ? tL(t, e) : 0
+ count: t ? QI(t, e) : 0
})
]
}, e || "all")),
@@ -47398,9 +47610,9 @@ function ove({ 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, H.jsx)(oL, { name: l.glyph }),
+ /* @__PURE__ */ (0, H.jsx)(rL, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, H.jsx)(sL, {
+ /* @__PURE__ */ (0, H.jsx)(iL, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -47413,33 +47625,33 @@ function ove({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var sve = NC("check"), cve = (e, t) => e[1] === t.view && e[2] === t.kind;
-function lve(e) {
+var bve = kC("check"), xve = (e, t) => e[1] === t.view && e[2] === t.kind;
+function Sve(e) {
let t = {
kind: e.kind,
view: e.view
- }, n = bw({
- queryKey: $_e(t, e.revision),
- queryFn: ({ signal: e }) => tve(t, e),
- placeholderData: (e, n) => n && cve(n.queryKey, t) ? e : void 0
+ }, n = gw({
+ queryKey: fve(t, e.revision),
+ queryFn: ({ signal: e }) => mve(t, e),
+ placeholderData: (e, n) => n && xve(n.queryKey, t) ? e : void 0
});
(0, B.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = uve(e.countRow), i = n.isPending;
+ let r = Cve(e.countRow), i = n.isPending;
(0, B.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, B.useLayoutEffect)(() => {
r && n.data && h(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(ove, {
+ let { navigate: a } = e.actions, o = r ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)(yve, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o, /* @__PURE__ */ (0, H.jsx)(dve, {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [o, /* @__PURE__ */ (0, H.jsx)(wve, {
props: e,
data: n.data,
pending: i,
@@ -47447,7 +47659,7 @@ function lve(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function uve(e) {
+function Cve(e) {
let [t, n] = (0, B.useState)(null);
return (0, B.useLayoutEffect)(() => {
if (!e) return;
@@ -47457,8 +47669,8 @@ function uve(e) {
};
}, [e]), t;
}
-function dve({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = cA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, B.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, B.useCallback)(() => {
+function wve({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = rA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, B.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, B.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -47466,14 +47678,14 @@ function dve({ 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, H.jsx)(lA, {
+ if (!t) return /* @__PURE__ */ (0, H.jsx)(iA, {
message: ce(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: sve,
+ return /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: bve,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -47482,7 +47694,7 @@ function dve({ 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, H.jsx)(rve, {
+ children: u.map((t) => /* @__PURE__ */ (0, H.jsx)(gve, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -47490,11 +47702,11 @@ function dve({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, H.jsx)(fve, { onMore: f }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, H.jsx)(Tve, { onMore: f }, s) : null] });
})()]
});
}
-function fve({ onMore: e }) {
+function Tve({ onMore: e }) {
let t = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
let n = t.current;
@@ -47512,32 +47724,32 @@ function fve({ onMore: e }) {
}
//#endregion
//#region src/react/playlists/playlists.ts
-var pve = "/api/playlists", cL = "/api/playlist", lL = ["playlists"], uL = (e) => K(pve, e);
-async function mve(e) {
+var Eve = "/api/playlists", aL = "/api/playlist", oL = ["playlists"], sL = (e) => K(Eve, e);
+async function Dve(e) {
await z.fetchQuery({
- queryKey: lL,
- queryFn: () => uL(e),
+ queryKey: oL,
+ queryFn: () => sL(e),
staleTime: 0
});
}
-var dL = () => z.invalidateQueries({
- queryKey: lL,
+var cL = () => z.invalidateQueries({
+ queryKey: oL,
exact: !0
-}), hve = (e) => e.current_asset_id || e.preview_asset_id || null, fL = (e) => `/poster?id=${e}&c=4`, gve = (e) => q(cL, {
+}), Ove = (e) => e.current_asset_id || e.preview_asset_id || null, lL = (e) => `/poster?id=${e}&c=4`, kve = (e) => q(aL, {
action: "create",
name: e,
asset_ids: []
-}), pL = (e, t) => q(cL, {
+}), uL = (e, t) => q(aL, {
action: "rename",
id: e,
name: t
-}), mL = (e) => q(cL, {
+}), dL = (e) => q(aL, {
action: "delete",
id: e
-}), _ve = (e) => K(`${cL}?id=${e}`).catch(() => null);
-function vve(e) {
+}), Ave = (e) => K(`${aL}?id=${e}`).catch(() => null);
+function jve(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return q(cL, {
+ return q(aL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -47547,18 +47759,18 @@ function vve(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var yve = NC("ellipsis"), bve = NC("pencil"), xve = NC("trash"), Sve = NC("playlist"), hL = dr(oT, sT, "text-body-2-medium"), gL = "播放列表名称不能为空", _L = (e) => async () => {
+var Mve = kC("ellipsis"), Nve = kC("pencil"), Pve = kC("trash"), Fve = kC("playlist"), fL = dr(nT, rT, "text-body-2-medium"), pL = "播放列表名称不能为空", mL = (e) => async () => {
try {
await e();
} finally {
- dL();
+ cL();
}
};
-function Cve({ toast: e }) {
- let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = Cw({
- mutationFn: (e) => gve(e),
+function Ive({ toast: e }) {
+ let [t, n] = (0, B.useState)(""), [r, i] = (0, B.useState)(""), a = yw({
+ mutationFn: (e) => kve(e),
onSuccess: (t) => {
- n(""), i(""), dL(), e("已新建播放列表", { undo: _L(() => mL(t.playlist.id)) });
+ n(""), i(""), cL(), e("已新建播放列表", { undo: mL(() => dL(t.playlist.id)) });
},
onError: (e) => i(G(e) || "新建失败")
});
@@ -47568,7 +47780,7 @@ function Cve({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(gL);
+ i(pL);
return;
}
a.mutate(t);
@@ -47577,7 +47789,7 @@ function Cve({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.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, H.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -47596,7 +47808,7 @@ function Cve({ toast: e }) {
})]
});
}
-function wve({ target: e, close: t, toast: n }) {
+function Lve({ target: e, close: t, toast: n }) {
let [r, i] = (0, B.useState)(""), [a, o] = (0, B.useState)(""), s = (0, B.useRef)(null);
(0, B.useEffect)(() => {
if (!e) return;
@@ -47606,14 +47818,14 @@ function wve({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = Cw({
- mutationFn: ({ row: e, value: t }) => pL(e.id, t),
+ let c = yw({
+ mutationFn: ({ row: e, value: t }) => uL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), dL(), n("已重命名播放列表", { undo: _L(() => pL(r.id, r.name)) });
+ t(), cL(), n("已重命名播放列表", { undo: mL(() => uL(r.id, r.name)) });
},
onError: (e) => o(G(e))
});
- return /* @__PURE__ */ (0, H.jsx)(zN, {
+ return /* @__PURE__ */ (0, H.jsx)(MN, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -47625,7 +47837,7 @@ function wve({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(gL);
+ o(pL);
return;
}
c.mutate({
@@ -47640,7 +47852,7 @@ function wve({ target: e, close: t, toast: n }) {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, H.jsx)(Bk, {
+ }), /* @__PURE__ */ (0, H.jsx)(Fk, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -47668,7 +47880,7 @@ function wve({ target: e, close: t, toast: n }) {
})
});
}
-function Tve({ name: e, onRename: t, onDelete: n }) {
+function Rve({ name: e, onRename: t, onDelete: n }) {
let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -47682,7 +47894,7 @@ function Tve({ 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, H.jsx)(yve, {
+ children: /* @__PURE__ */ (0, H.jsx)(Mve, {
"aria-hidden": !0,
className: "size-4.5"
})
@@ -47692,23 +47904,23 @@ function Tve({ name: e, onRename: t, onDelete: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: aT,
- children: /* @__PURE__ */ (0, H.jsxs)(eT, {
+ className: tT,
+ children: /* @__PURE__ */ (0, H.jsxs)(Xw, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
- className: hL,
+ className: fL,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, H.jsx)(bve, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Nve, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
- className: hL,
+ className: fL,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, H.jsx)(xve, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Pve, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -47716,13 +47928,13 @@ function Tve({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function Eve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a }) {
- let o = bw({
- queryKey: lL,
- queryFn: ({ signal: e }) => uL(e)
+function zve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a }) {
+ let o = gw({
+ queryKey: oL,
+ queryFn: ({ signal: e }) => sL(e)
}), [s, c] = (0, B.useState)(null), l = (0, B.useRef)(a);
(0, B.useEffect)(() => {
- l.current !== a && (l.current = a, dL());
+ l.current !== a && (l.current = a, cL());
}, [a]);
let u = o.data;
if (!u) return /* @__PURE__ */ (0, H.jsx)("div", {
@@ -47740,8 +47952,8 @@ function Eve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await _ve(e.id);
- await mL(e.id), dL(), i("已删除播放列表", t ? { undo: _L(() => vve(t)) } : void 0);
+ let t = await Ave(e.id);
+ await dL(e.id), cL(), i("已删除播放列表", t ? { undo: mL(() => jve(t)) } : void 0);
}
});
};
@@ -47756,38 +47968,38 @@ function Eve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a
}), /* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, H.jsx)(Cve, { toast: i })]
+ })] }), /* @__PURE__ */ (0, H.jsx)(Ive, { toast: i })]
}),
d.length ? /* @__PURE__ */ (0, H.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: d.map((r) => {
- let i = hve(r);
- return /* @__PURE__ */ (0, H.jsx)(TA, {
+ let i = Ove(r);
+ return /* @__PURE__ */ (0, H.jsx)(bA, {
"data-playlist-card": String(r.id),
name: r.name,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? fL(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(fL),
+ poster: r.preview_asset_id ? lL(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(lL),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${r.name}`,
- menu: /* @__PURE__ */ (0, H.jsx)(Tve, {
+ menu: /* @__PURE__ */ (0, H.jsx)(Rve, {
name: r.name,
onRename: () => c(r),
onDelete: () => f(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: Sve,
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: Fve,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, H.jsx)(wve, {
+ /* @__PURE__ */ (0, H.jsx)(Lve, {
target: s,
close: () => c(null),
toast: i
@@ -47797,11 +48009,11 @@ function Eve({ openPlaylist: e, openEntity: t, canFlip: n, toast: i, revision: a
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function Dve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function Bve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, H.jsxs)("li", {
"data-goal-id": e.id,
- className: cT({
+ className: iT({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -47817,7 +48029,7 @@ function Dve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, H.jsx)("img", {
- src: xde(e),
+ src: Dde(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -47875,38 +48087,38 @@ function Dve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function Ove(e) {
- let t = bw({
- queryKey: WA,
- queryFn: ({ signal: e }) => GA(e)
+function Vve(e) {
+ let t = gw({
+ queryKey: zA,
+ queryFn: ({ signal: e }) => BA(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "高清版目标读取失败",
children: t.error ? G(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, H.jsxs)(Fk, { children: [/* @__PURE__ */ (0, H.jsx)(sP, {
+ return r.length ? /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [/* @__PURE__ */ (0, H.jsx)(eP, {
label: "待升级",
figure: `${n.total} 部作品`,
flush: !0
}), /* @__PURE__ */ (0, H.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, H.jsx)(Dve, {
+ children: r.map((t) => /* @__PURE__ */ (0, H.jsx)(Bve, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsx)(Pk, {
+ })] }) : /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: soe,
+ icon: foe,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function kve(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 = Mde(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function Hve(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 = Rde(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -47914,29 +48126,29 @@ function kve(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, H.jsxs)(Hk, {
+ i.length > 1 ? /* @__PURE__ */ (0, H.jsxs)(Lk, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Rk, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -47944,7 +48156,7 @@ function kve(e) {
/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: zw,
+ leadingIcon: Fw,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -47955,12 +48167,12 @@ function kve(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, H.jsxs)(YE, {
+ }), /* @__PURE__ */ (0, H.jsxs)(WE, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, H.jsxs)(Hk, {
+ b ? /* @__PURE__ */ (0, H.jsxs)(Lk, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -47968,10 +48180,10 @@ function kve(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Rk, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ }), y.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: e
}, e))]
@@ -48007,7 +48219,7 @@ function kve(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var Ave = {
+var Uve = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -48017,14 +48229,14 @@ var Ave = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, vL = "reviewgenretags";
-function jve({ tags: e }) {
+}, hL = "reviewgenretags";
+function Wve({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("datalist", {
- id: vL,
+ id: hL,
children: e.map((e) => /* @__PURE__ */ (0, H.jsx)("option", { value: e }, e))
}) : null;
}
-function yL({ candidate: e, selectable: t = !1 }) {
+function gL({ 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, H.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -48061,7 +48273,7 @@ function yL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, H.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: Ave[e] || e
+ children: Uve[e] || e
}),
/* @__PURE__ */ (0, H.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -48076,11 +48288,11 @@ function yL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function Mve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function Gve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, H.jsx)(yL, { candidate: a[0] })
+ children: /* @__PURE__ */ (0, H.jsx)(gL, { candidate: a[0] })
}) : /* @__PURE__ */ (0, H.jsx)(ug, {
"aria-label": `${t || "候选"}的来源`,
value: n,
@@ -48090,22 +48302,22 @@ function Mve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
children: a.map((e) => /* @__PURE__ */ (0, H.jsx)(dg, {
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, H.jsx)(yL, {
+ children: /* @__PURE__ */ (0, H.jsx)(gL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function Nve({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = Cw({
- mutationFn: (t) => Bde(e, t),
+function Kve({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), c = yw({
+ mutationFn: (t) => Kde(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Hde();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Jde();
},
onError: (e) => s(G(e))
}), l = () => {
@@ -48124,16 +48336,16 @@ function Nve({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, H.jsx)(Lk, {
+ /* @__PURE__ */ (0, H.jsx)(Mk, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(zk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Pk, {
size: "small",
- list: t.length ? vL : void 0,
+ list: t.length ? hL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -48165,8 +48377,8 @@ function Nve({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function Pve({ row: e, tags: t, locked: n, toast: r }) {
- let i = Lde(e);
+function qve({ row: e, tags: t, locked: n, toast: r }) {
+ let i = Ude(e);
return i.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -48174,7 +48386,7 @@ function Pve({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, H.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Nve, {
+ }), i.map((e) => /* @__PURE__ */ (0, H.jsx)(Kve, {
genre: e,
tags: t,
locked: n,
@@ -48184,9 +48396,9 @@ function Pve({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var bL = (e = "") => /^https?:\/\//i.test(e) ? e : "", Fve = (e = "") => bL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function xL({ url: e }) {
- let t = Fve(e || ""), [n, r] = (0, B.useState)(!1);
+var _L = (e = "") => /^https?:\/\//i.test(e) ? e : "", Jve = (e = "") => _L(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function vL({ url: e }) {
+ let t = Jve(e || ""), [n, r] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, H.jsx)("img", {
@@ -48201,7 +48413,7 @@ function xL({ url: e }) {
})
});
}
-function SL({ asset: e, openItem: t }) {
+function yL({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -48227,21 +48439,21 @@ function SL({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: toe,
+ leadingIcon: ooe,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function Ive({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function Yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, H.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 ${II}`,
+ 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 ${NI}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -48257,8 +48469,8 @@ function Ive({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function Lve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = bL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function Xve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = _L(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, H.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -48268,10 +48480,10 @@ function Lve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, H.jsx)(nT, {
+ children: [o ? /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "secondary",
size: "small",
- trailingIcon: Ww,
+ trailingIcon: Bw,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -48283,7 +48495,7 @@ function Lve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, H.jsx)(xL, { url: e.preview_url }),
+ /* @__PURE__ */ (0, H.jsx)(vL, { url: e.preview_url }),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -48326,7 +48538,7 @@ function Lve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function Rve({ assets: e, picked: t, onPicked: n, locked: r }) {
+function Zve({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, B.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -48382,7 +48594,7 @@ function Rve({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, H.jsx)(sM, {
+ children: /* @__PURE__ */ (0, H.jsx)(nM, {
size: "sm",
state: {
isSelected: n,
@@ -48402,19 +48614,19 @@ function Rve({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var zve = cT({
+var Qve = iT({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), CL = "flex min-h-6 min-w-0 items-center", Bve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function Vve(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, B.useRef)(!1), m = mT(), h = mT(), g = t === "metadata_fields", _ = Ode[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Pde(t, n), x = nj(t, n), S = tj(t, n), C = Fde(n), w = Ide(n), T = ej(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
+}), bL = "flex min-h-6 min-w-0 items-center", $ve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function eye(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, B.useRef)(!1), m = uT(), h = uT(), g = t === "metadata_fields", _ = Pde[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = Bde(t, n), x = ZA(t, n), S = XA(t, n), C = Vde(n), w = Hde(n), T = YA(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", k = E.length > 1 ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, H.jsx)(SL, {
+ children: E.map((e) => /* @__PURE__ */ (0, H.jsx)(yL, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, H.jsx)(Ive, {
+ }) : y ? /* @__PURE__ */ (0, H.jsx)(Yve, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -48425,14 +48637,14 @@ function Vve(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, H.jsx)(SL, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, H.jsx)(yL, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, A = g ? /* @__PURE__ */ (0, H.jsx)(Mve, {
+ }) : null, A = g ? /* @__PURE__ */ (0, H.jsx)(Gve, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -48441,7 +48653,7 @@ function Vve(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, H.jsx)(Rve, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, H.jsx)(Zve, {
assets: D,
picked: r.assets,
locked: s,
@@ -48449,21 +48661,21 @@ function Vve(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "inset",
- icon: Xae,
+ icon: toe,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, H.jsx)(Lve, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, H.jsx)(Xve, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, H.jsx)(xL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, H.jsxs)("h4", {
- className: `${CL} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, H.jsx)(Nk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(vL, { url: n.preview_url }), j = y ? k : x ? /* @__PURE__ */ (0, H.jsxs)("h4", {
+ className: `${bL} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "blue",
children: x
@@ -48473,7 +48685,7 @@ function Vve(e) {
children: S
})]
}) : /* @__PURE__ */ (0, H.jsx)("h4", {
- className: CL,
+ className: bL,
children: /* @__PURE__ */ (0, H.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -48483,20 +48695,20 @@ function Vve(e) {
return /* @__PURE__ */ (0, H.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${zve} ${Bve(t)} overflow-hidden`,
+ className: `${Qve} ${$ve(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, H.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, H.jsx)("span", {
- className: `${CL} shrink-0`,
+ className: `${bL} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, H.jsx)(cM, {
+ children: /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -48506,7 +48718,7 @@ function Vve(e) {
className: "min-w-0 flex-1",
children: j
}),
- O ? /* @__PURE__ */ (0, H.jsx)(Nk, {
+ O ? /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -48530,7 +48742,7 @@ function Vve(e) {
!y && k ? k : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, H.jsx)(Nk, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, H.jsx)(Ok, {
variant: "caption",
color: "soft",
children: e
@@ -48540,7 +48752,7 @@ function Vve(e) {
})
}) : null,
A,
- /* @__PURE__ */ (0, H.jsx)(Pve, {
+ /* @__PURE__ */ (0, H.jsx)(qve, {
row: n,
tags: u,
locked: s,
@@ -48602,8 +48814,8 @@ function Vve(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Hve = "flex cursor-pointer items-center justify-between gap-2";
-function Uve({ page: e, pages: t, onPage: n }) {
+var tye = "flex cursor-pointer items-center justify-between gap-2";
+function nye({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, H.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -48617,7 +48829,7 @@ function Uve({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, H.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: KA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
+ children: VA(e, t).map((t, r) => /* @__PURE__ */ (0, H.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, H.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -48640,48 +48852,48 @@ function Uve({ page: e, pages: t, onPage: n }) {
]
});
}
-function Wve(e) {
+function rye(e) {
let [t, n] = (0, B.useState)(() => matchMedia("(max-width:900px)").matches);
(0, B.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, B.useState)(QA(e.category) ? e.category : Dde), [p, m] = (0, B.useState)("candidates"), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(1), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, B.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, B.useState)(""), D = (0, B.useRef)(null), [O, k] = (0, B.useState)(0), [A, j] = (0, B.useState)(""), M = (0, B.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, B.useState)(qA(e.category) ? e.category : Nde), [p, m] = (0, B.useState)("candidates"), [h, g] = (0, B.useState)(""), [_, v] = (0, B.useState)(1), [y, b] = (0, B.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, B.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, B.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, B.useState)(""), D = (0, B.useRef)(null), [O, k] = (0, B.useState)(0), [A, j] = (0, B.useState)(""), M = (0, B.useRef)(!0);
(0, B.useEffect)(() => () => {
M.current = !1;
}, []);
- let N = bw({
- queryKey: XA,
- queryFn: ({ signal: e }) => ij(e)
+ let N = gw({
+ queryKey: GA,
+ queryFn: ({ signal: e }) => $A(e)
}).data || {
sections: {},
counts: {}
- }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = kde(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", I = $A(ee, ne), re = I.some((e) => e.key === h) ? h : "", L = jde(Ade(ee, ne, re), _), ie = L.rows.map((e) => e.item_key), ae = new Set(ie), oe = I.map((e) => ({
+ }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = Fde(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", I = JA(ee, ne), re = I.some((e) => e.key === h) ? h : "", L = Lde(Ide(ee, ne, re), _), ie = L.rows.map((e) => e.item_key), ae = new Set(ie), oe = I.map((e) => ({
...e,
rows: e.rows.filter((e) => ae.has(e.item_key))
- })).filter((e) => e.rows.length), se = (e) => x.get(e.item_key) || Rde(e), ce = ee.filter((e) => y.has(e.item_key)), le = (e) => {
+ })).filter((e) => e.rows.length), se = (e) => x.get(e.item_key) || Wde(e), ce = ee.filter((e) => y.has(e.item_key)), le = (e) => {
let t = new Set(e);
b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, R = (e, t) => w((n) => new Map(n).set(e, t)), ue = (e) => {
f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), E(""), D.current = null, r({ category: e === "metadata_fields" ? "" : e });
- }, de = Cw({
- mutationFn: ({ row: e, status: t }) => aj(rj(d, e, t, se(e))),
+ }, de = yw({
+ mutationFn: ({ row: e, status: t }) => ej(QA(d, e, t, se(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
R(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- oj(d, [t.item_key]), le([t.item_key]), s(zde(n));
+ tj(d, [t.item_key]), le([t.item_key]), s(Gde(n));
},
onError: (e, { row: t }) => R(t.item_key, G(e))
- }), fe = Cw({
+ }), fe = yw({
mutationFn: async (e) => {
let t = ce, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!M.current) break;
E(`正在处理 ${i} / ${t.length}`);
try {
- let t = await aj(rj(d, a, e, se(a)));
+ let t = await ej(QA(d, a, e, se(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -48695,7 +48907,7 @@ function Wve(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- oj(d, t), le(t), n.forEach(([e, t]) => R(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ tj(d, t), le(t), n.forEach(([e, t]) => R(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
E(G(e));
@@ -48725,7 +48937,7 @@ function Wve(e) {
k(e), j("");
let t = await o(e);
M.current && (k(0), j(t));
- }, ge = Ude(N.mirror, l), _e = N.genre_tags || [], ve = {
+ }, ge = Yde(N.mirror, l), _e = N.genre_tags || [], ve = {
openItem: i,
openEntity: a,
onReveal: he,
@@ -48733,7 +48945,7 @@ function Wve(e) {
revealNote: A,
toast: s
};
- return /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsxs)("div", {
+ return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
P ? /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -48749,13 +48961,13 @@ function Wve(e) {
}) : void 0,
children: ge
}) : null,
- /* @__PURE__ */ (0, H.jsx)(jve, { tags: _e }),
- /* @__PURE__ */ (0, H.jsxs)(L_, {
+ /* @__PURE__ */ (0, H.jsx)(Wve, { tags: _e }),
+ /* @__PURE__ */ (0, H.jsxs)(I_, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- QA(t) && ue(t);
+ qA(t) && ue(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -48764,27 +48976,27 @@ function Wve(e) {
children: [/* @__PURE__ */ (0, H.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, H.jsx)(R_, {
+ }), /* @__PURE__ */ (0, H.jsx)(L_, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: Ede.map((e) => {
+ children: Mde.map((e) => {
let t = Number(N.counts[e] || 0);
- return /* @__PURE__ */ (0, H.jsxs)(z_, {
+ return /* @__PURE__ */ (0, H.jsxs)(R_, {
id: e,
- className: Hve,
- children: [ZA[e], t ? /* @__PURE__ */ (0, H.jsx)("span", {
+ className: tye,
+ children: [KA[e], t ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, H.jsxs)(B_, {
+ }), /* @__PURE__ */ (0, H.jsxs)(z_, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !P ? /* @__PURE__ */ (0, H.jsx)(kve, {
+ ee.length && !P ? /* @__PURE__ */ (0, H.jsx)(Hve, {
groupOptions: F,
groupBy: ne,
onGroupBy: (e) => {
@@ -48800,7 +49012,7 @@ function Wve(e) {
onSelected: b,
selectedRows: ce,
metadata: te,
- approvable: ce.every((e) => ej(d, e)),
+ approvable: ce.every((e) => YA(d, e)),
busy: fe.isPending,
feedback: T,
onUnifySource: me,
@@ -48825,7 +49037,7 @@ function Wve(e) {
})]
}) : null, /* @__PURE__ */ (0, H.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(Vve, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, H.jsx)(eye, {
category: d,
row: e,
choice: se(e),
@@ -48833,7 +49045,7 @@ function Wve(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => b((r) => {
let i = new Set(r);
- return D.current = Nde(i, ie, D.current, e.item_key, t, n), i;
+ return D.current = zde(i, ie, D.current, e.item_key, t, n), i;
}),
locked: P,
busy: de.isPending && de.variables?.row.item_key === e.item_key,
@@ -48848,12 +49060,12 @@ function Wve(e) {
handlers: ve
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, H.jsx)(Pk, {
- icon: Kae,
+ }, e.key)) : /* @__PURE__ */ (0, H.jsx)(kk, {
+ icon: Xae,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, H.jsx)(Uve, {
+ /* @__PURE__ */ (0, H.jsx)(nye, {
page: L.page,
pages: L.pages,
onPage: v
@@ -48866,30 +49078,30 @@ function Wve(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Gve = "/api/scraping", Kve = "/api/scraping/settings", qve = "/api/scraping/check", wL = "/api/scraping/cover", Jve = "/api/scraping/amane-bridge", Yve = "/api/scraping/amane-bridge/check", Xve = "/api/scraping/amane-bridge/rebuild", TL = ["scraping"], EL = ["scraping", "cover"], DL = ["scraping", "amane-bridge"], OL = (e) => K(Gve, e), kL = (e) => K(wL, e), AL = (e) => K(Jve, e);
-async function Zve(e) {
+var iye = "/api/scraping", aye = "/api/scraping/settings", oye = "/api/scraping/check", xL = "/api/scraping/cover", sye = "/api/scraping/amane-bridge", cye = "/api/scraping/amane-bridge/check", lye = "/api/scraping/amane-bridge/rebuild", SL = ["scraping"], CL = ["scraping", "cover"], wL = ["scraping", "amane-bridge"], TL = (e) => K(iye, e), EL = (e) => K(xL, e), DL = (e) => K(sye, e);
+async function uye(e) {
await Promise.all([
z.fetchQuery({
- queryKey: TL,
- queryFn: () => OL(e)
+ queryKey: SL,
+ queryFn: () => TL(e)
}),
z.fetchQuery({
- queryKey: EL,
- queryFn: () => kL(e)
+ queryKey: CL,
+ queryFn: () => EL(e)
}),
z.fetchQuery({
- queryKey: DL,
- queryFn: () => AL(e)
+ queryKey: wL,
+ queryFn: () => DL(e)
})
]);
}
-function Qve(e, t) {
+function dye(e, t) {
return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");
}
//#endregion
//#region src/react/scraping/scraping-page.tsx
-var $ve = [["peach", "Peach 代理"], ["direct", "直接连接"]], jL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function ML({ source: e }) {
+var fye = [["peach", "Peach 代理"], ["direct", "直接连接"]], OL = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function kL({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -48907,16 +49119,16 @@ function ML({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function eye() {
- return /* @__PURE__ */ (0, H.jsx)(ML, { source: "github" });
+function pye() {
+ return /* @__PURE__ */ (0, H.jsx)(kL, { source: "github" });
}
-function tye({ source: e, toast: t }) {
- let [n, r] = (0, B.useState)(e.network), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(jL[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);
+function mye({ source: e, toast: t }) {
+ let [n, r] = (0, B.useState)(e.network), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(OL[0][0]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), m = (0, B.useRef)(null);
function h() {
a(""), s(""), d(""), p(""), m.current && (m.current.value = "");
}
- let g = Cw({
- mutationFn: (t) => q(Kve, {
+ let g = yw({
+ mutationFn: (t) => q(aye, {
source: e.source,
network: n,
cookie: i,
@@ -48924,12 +49136,12 @@ function tye({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- z.setQueryData(TL, (t) => t && {
+ z.setQueryData(SL, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), _ = Cw({ mutationFn: () => q(qve, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
+ }), _ = yw({ mutationFn: () => q(oye, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {
e.preventDefault(), !v && (_.reset(), g.mutate(!1));
}, b = () => {
v || (_.reset(), g.mutate(!0));
@@ -48954,43 +49166,43 @@ function tye({ source: e, toast: t }) {
}
}
let C = f || (g.error ? G(g.error) : "") || (_.error ? G(_.error) : ""), w = _.data?.results ?? [], T = n === "peach" || e.accepts_cookie || e.browser || !!C || w.length > 0;
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: e.label,
onSubmit: y,
aside: /* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(ML, { source: e.source }), /* @__PURE__ */ (0, H.jsx)(NT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(kL, { source: e.source }), /* @__PURE__ */ (0, H.jsx)(kT, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, H.jsxs)(DT, { children: [/* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsxs)(CT, { children: [/* @__PURE__ */ (0, H.jsx)(xT, {
label: "来源性质",
children: e.nature || "公开页面"
- }), /* @__PURE__ */ (0, H.jsx)(TT, {
+ }), /* @__PURE__ */ (0, H.jsx)(xT, {
label: "连接方式",
- children: /* @__PURE__ */ (0, H.jsx)(Hk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: $ve.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: fye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: t
}, e))
})
})] }),
- T ? /* @__PURE__ */ (0, H.jsxs)(OT, {
+ T ? /* @__PURE__ */ (0, H.jsxs)(wT, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, H.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, H.jsx)(iT, {
+ children: /* @__PURE__ */ (0, H.jsx)(eT, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: Iw,
+ trailingIcon: Mw,
children: "配置 Peach 代理"
})
}) : null,
@@ -49003,20 +49215,20 @@ function tye({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, H.jsx)(DC, {
+ /* @__PURE__ */ (0, H.jsx)(CC, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), h();
},
- className: OC,
- children: jL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
+ className: wC,
+ children: OL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
value: e,
- className: kC,
+ className: TC,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, H.jsx)(Bk, {
+ c === "paste" ? /* @__PURE__ */ (0, H.jsx)(Fk, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -49025,7 +49237,7 @@ function tye({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
@@ -49051,14 +49263,14 @@ function tye({ source: e, toast: t }) {
]
})
] }) : null,
- C ? /* @__PURE__ */ (0, H.jsx)(jT, { children: C }) : null,
+ C ? /* @__PURE__ */ (0, H.jsx)(DT, { children: C }) : null,
w.map((t) => /* @__PURE__ */ (0, H.jsx)(Y, {
tone: t.ok ? "success" : "error",
- children: Qve(t, e.label)
+ children: dye(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(kT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(TT, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
onClick: b,
@@ -49080,26 +49292,26 @@ function tye({ source: e, toast: t }) {
]
});
}
-function nye({ toast: e }) {
- let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = iM({
- queryKey: EL,
- queryFn: ({ signal: e }) => kL(e),
- start: () => q(wL, { code: t }),
+function hye({ toast: e }) {
+ let [t, n] = (0, B.useState)(""), { running: r, outcome: i, start: a } = $j({
+ queryKey: CL,
+ queryFn: ({ signal: e }) => EL(e),
+ start: () => q(xL, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? G(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, H.jsx)(ET, {
+ return /* @__PURE__ */ (0, H.jsx)(ST, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, H.jsxs)(OT, { children: [
+ children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Fk, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -49114,7 +49326,7 @@ function nye({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, H.jsx)(yT, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: s
@@ -49126,11 +49338,11 @@ function nye({ toast: e }) {
] })
});
}
-function rye({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = iM({
- queryKey: DL,
- queryFn: ({ signal: e }) => AL(e),
- start: () => q(Xve, {}),
+function gye({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = $j({
+ queryKey: wL,
+ queryFn: ({ signal: e }) => DL(e),
+ start: () => q(lye, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -49139,45 +49351,45 @@ function rye({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = Cw({ mutationFn: () => q(Yve, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, H.jsx)(ET, {
+ }), a = yw({ mutationFn: () => q(cye, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, H.jsx)(ST, {
title: "amane",
- children: /* @__PURE__ */ (0, H.jsx)(OT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ children: /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: G(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? G(i.error) : a.error ? G(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "amane",
- aside: /* @__PURE__ */ (0, H.jsx)(NT, {
+ aside: /* @__PURE__ */ (0, H.jsx)(kT, {
href: o.repository,
- leadingIcon: eye,
+ leadingIcon: pye,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, H.jsxs)(PT, { children: [
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, H.jsxs)(OT, {
+ /* @__PURE__ */ (0, H.jsxs)(wT, {
divided: !0,
children: [
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -49186,7 +49398,7 @@ function rye({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, H.jsx)(yT, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: c
@@ -49197,7 +49409,7 @@ function rye({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(kT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsxs)(TT, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -49214,23 +49426,23 @@ function rye({ toast: e }) {
]
});
}
-function iye({ toast: e }) {
- let t = bw({
- queryKey: TL,
- queryFn: ({ signal: e }) => OL(e)
+function _ye({ toast: e }) {
+ let t = gw({
+ queryKey: SL,
+ queryFn: ({ signal: e }) => TL(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, H.jsxs)(Fk, { children: [
+ return n ? /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, H.jsx)(nye, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, H.jsx)(tye, {
+ /* @__PURE__ */ (0, H.jsx)(hye, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, H.jsx)(mye, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, H.jsx)(rye, { toast: e })
- ] }) : /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ /* @__PURE__ */ (0, H.jsx)(gye, { toast: e })
+ ] }) : /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? G(t.error) : "读取采集来源失败"
@@ -49238,24 +49450,24 @@ function iye({ toast: e }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var NL = "/api/configuration", aye = "/api/pick-folder", PL = ["configuration"], FL = (e) => K(NL, e);
-async function IL(e) {
+var AL = "/api/configuration", vye = "/api/pick-folder", jL = ["configuration"], ML = (e) => K(AL, e);
+async function NL(e) {
await z.fetchQuery({
- queryKey: PL,
- queryFn: () => FL(e)
+ queryKey: jL,
+ queryFn: () => ML(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var oye = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", sye = "仅填域名;留空使用默认地址";
+var yye = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", bye = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function cye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.sites), i = _T(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function xye({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.sites), i = pT(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -49264,9 +49476,9 @@ function cye({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: oye }),
- n.map((e) => /* @__PURE__ */ (0, H.jsx)(Bk, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: yye }),
+ n.map((e) => /* @__PURE__ */ (0, H.jsx)(Fk, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -49275,10 +49487,10 @@ function cye({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: sye
+ hint: bye
}, e.key)),
- i.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, H.jsx)(kT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ i.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
...X(i.busy === "save"),
children: "保存配置"
@@ -49287,21 +49499,21 @@ function cye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function lye({ data: e, receipt: t }) {
+function Sye({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, H.jsx)(uye, {
+ children: [e.startup ? /* @__PURE__ */ (0, H.jsx)(Cye, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, H.jsx)(cye, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, H.jsx)(xye, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function uye({ startup: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.enabled), [i, a] = (0, B.useState)(e.silent), [o, s] = (0, B.useState)(e.desktop), c = _T(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+function Cye({ startup: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.enabled), [i, a] = (0, B.useState)(e.silent), [o, s] = (0, B.useState)(e.desktop), c = pT(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => q("/api/configuration/startup", {
@@ -49311,30 +49523,30 @@ function uye({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, H.jsxs)(DT, { children: [
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -49342,11 +49554,11 @@ function uye({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, H.jsxs)(OT, {
+ e.message || c.error ? /* @__PURE__ */ (0, H.jsxs)(wT, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, H.jsx)(AT, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, H.jsx)(ET, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, H.jsx)(kT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(c.busy === "save"),
@@ -49357,23 +49569,23 @@ function uye({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var LL = /* @__PURE__ */ new Set([
+var PL = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), dye = [
+]), wye = [
65,
67,
90
-], RL = 120;
-function fye({ initial: e, initialJob: t }) {
+], FL = 120;
+function Tye({ initial: e, initialJob: t }) {
let [n, i] = (0, B.useState)(e), [a, o] = (0, B.useState)(t || {
state: "idle",
progress: 0
- }), [s, c] = (0, B.useState)(""), l = _T(), u = (0, B.useRef)(!1), d = (0, B.useRef)(!0), f = LL.has(a.state);
+ }), [s, c] = (0, B.useState)(""), l = pT(), u = (0, B.useRef)(!1), d = (0, B.useRef)(!0), f = PL.has(a.state);
(0, B.useEffect)(() => (d.current = !0, () => {
d.current = !1;
}), []);
@@ -49390,7 +49602,7 @@ function fye({ initial: e, initialJob: t }) {
(0, B.useEffect)(() => {
a.state !== "ready" || u.current || (u.current = !0, m());
}, [a.state]), (0, B.useEffect)(() => {
- let e = new AbortController(), t = LL.has(a.state) ? 1e3 : 3e4, n, r = 0, s = async () => {
+ let e = new AbortController(), t = PL.has(a.state) ? 1e3 : 3e4, n, r = 0, s = async () => {
try {
let t = await K("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -49403,9 +49615,9 @@ function fye({ initial: e, initialJob: t }) {
let n = await K("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && i(n.result);
} catch {
- r += 1, r >= RL && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");
+ r += 1, r >= FL && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && r < RL && (n = setTimeout(s, t));
+ !e.signal.aborted && r < FL && (n = setTimeout(s, t));
};
return n = setTimeout(s, t), () => {
e.abort(), clearTimeout(n);
@@ -49419,57 +49631,57 @@ function fye({ initial: e, initialJob: t }) {
state: "error"
}), l.setError(G(t));
}), _ = l.error || s, v = a.state === "downloading" && a.total ? `${((a.downloaded || 0) / 1048576).toFixed(1)} / ${(a.total / 1048576).toFixed(1)} MB` : `${a.progress}%`;
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, H.jsxs)(PT, { children: [
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, H.jsxs)(OT, {
+ /* @__PURE__ */ (0, H.jsxs)(wT, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, H.jsxs)(AT, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, H.jsxs)(ET, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !_ ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, H.jsx)(jT, { children: _ || n.message }) : /* @__PURE__ */ (0, H.jsx)(AT, {
+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: _ || n.message }) : /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: n.message
}),
- a.state === "error" ? /* @__PURE__ */ (0, H.jsx)(jT, { children: a.message }) : null,
+ a.state === "error" ? /* @__PURE__ */ (0, H.jsx)(DT, { children: a.message }) : null,
a.state !== "idle" && a.state !== "error" ? /* @__PURE__ */ (0, H.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: "更新准备进度",
value: a.progress,
- stops: dye
+ stops: wye
}),
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: ["下载 → 校验 → 解压 → 准备安装 · ", a.message] }),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: v })
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: ["下载 → 校验 → 解压 → 准备安装 · ", a.message] }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: v })
]
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(kT, {
- status: /* @__PURE__ */ (0, H.jsx)(NT, {
+ /* @__PURE__ */ (0, H.jsxs)(TT, {
+ status: /* @__PURE__ */ (0, H.jsx)(kT, {
href: n.release_url,
children: "查看发布页"
}),
@@ -49496,98 +49708,105 @@ function fye({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var pye = [
+var Eye = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function mye({ data: e, receipt: t, reopenTutorial: n }) {
+function Dye({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, H.jsx)(gye, {
+ e.automatic_updates ? /* @__PURE__ */ (0, H.jsx)(kye, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, H.jsx)(fye, {
+ e.updates ? /* @__PURE__ */ (0, H.jsx)(Tye, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, H.jsx)(_ye, { facts: e.facts }),
- /* @__PURE__ */ (0, H.jsx)(hye, {
+ /* @__PURE__ */ (0, H.jsx)(Aye, { facts: e.facts }),
+ /* @__PURE__ */ (0, H.jsx)(ST, {
+ title: "系统诊断",
+ children: /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(eT, {
+ href: "/diagnostics",
+ children: "打开系统诊断"
+ }) }) })
+ }),
+ /* @__PURE__ */ (0, H.jsx)(Oye, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, H.jsx)(vye, {
+ e.uninstall ? /* @__PURE__ */ (0, H.jsx)(jye, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function hye({ receipt: e, reopenTutorial: t }) {
- let n = _T();
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+function Oye({ receipt: e, reopenTutorial: t }) {
+ let n = pT();
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, H.jsxs)(OT, { children: [/* @__PURE__ */ (0, H.jsx)(AT, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: n.error }) : null] }), /* @__PURE__ */ (0, H.jsx)(kT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [/* @__PURE__ */ (0, H.jsx)(ET, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: n.error }) : null] }), /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...X(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function gye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = _T(e.error), s = (r) => {
+function kye({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.mode), [i, a] = (0, B.useState)(e.interval_hours), o = pT(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => q("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, H.jsxs)(DT, { children: [
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, H.jsx)(Hk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: pye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: Eye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ o.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(jT, { children: o.error })
+ children: /* @__PURE__ */ (0, H.jsx)(DT, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(kT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(o.busy === "save"),
@@ -49596,19 +49815,19 @@ function gye({ initial: e, receipt: t }) {
]
});
}
-function _ye({ facts: e }) {
- return /* @__PURE__ */ (0, H.jsx)(ET, {
+function Aye({ facts: e }) {
+ return /* @__PURE__ */ (0, H.jsx)(ST, {
title: "运行信息",
- children: /* @__PURE__ */ (0, H.jsx)(PT, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(FT, {
+ children: /* @__PURE__ */ (0, H.jsx)(AT, { children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)(jT, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, H.jsx)(NT, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, H.jsx)(kT, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function vye({ uninstall: e, receipt: t }) {
+function jye({ uninstall: e, receipt: t }) {
let [n, i] = (0, B.useState)(!1), [a, o] = (0, B.useState)(""), s = () => void r({
title: "卸载 Peach",
danger: !0,
@@ -49622,26 +49841,26 @@ function vye({ uninstall: e, receipt: t }) {
o(e.message);
}
}), c = a || e.message, l = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- e.available ? /* @__PURE__ */ (0, H.jsx)(AT, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, H.jsx)(cM, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ e.available ? /* @__PURE__ */ (0, H.jsx)(ET, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: n,
isDisabled: !e.full_available || !!a,
onChange: i,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, H.jsx)(IT, {
+ /* @__PURE__ */ (0, H.jsx)(MT, {
summary: "数据目录",
- children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(vT, {
+ children: l.map((e) => /* @__PURE__ */ (0, H.jsx)(mT, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, H.jsx)(kT, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(TT, {
status: c ? /* @__PURE__ */ (0, H.jsx)("p", {
role: a ? "status" : void 0,
children: c
@@ -49657,7 +49876,7 @@ function vye({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/clouddrive-guide.tsx
-var yye = [
+var Mye = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -49676,32 +49895,32 @@ var yye = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], bye = [
+], Nye = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function xye() {
+function Pye() {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, H.jsxs)(AT, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, H.jsx)(NT, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(ET, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, H.jsx)(kT, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, H.jsxs)(IT, {
+ })] }), /* @__PURE__ */ (0, H.jsxs)(MT, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, H.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: yye.map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
+ children: Mye.map((e) => /* @__PURE__ */ (0, H.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, H.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: bye.map(([t, n]) => /* @__PURE__ */ (0, H.jsxs)("div", {
+ children: Nye.map(([t, n]) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, H.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -49722,9 +49941,9 @@ function xye() {
/* @__PURE__ */ (0, H.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, H.jsx)(NT, {
+ /* @__PURE__ */ (0, H.jsx)(kT, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -49736,15 +49955,15 @@ function xye() {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var Sye = "/api/configuration/downloads", zL = "/api/configuration/downloads/check", Cye = "/api/configuration/downloads/folder", wye = "/api/configuration/downloads/pikpak/login", Tye = "/api/configuration/downloads/pikpak/logout", BL = "/api/configuration/downloads/pikpak/browser-login", VL = 2e3;
-function Eye({ initial: e, receipt: t }) {
+var Fye = "/api/configuration/downloads", IL = "/api/configuration/downloads/check", Iye = "/api/configuration/downloads/folder", Lye = "/api/configuration/downloads/pikpak/login", Rye = "/api/configuration/downloads/pikpak/logout", LL = "/api/configuration/downloads/pikpak/browser-login", RL = 2e3;
+function zye({ initial: e, receipt: t }) {
let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Dye, {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Bye, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, H.jsx)(kye, {
+ }), /* @__PURE__ */ (0, H.jsx)(Hye, {
state: n,
settle: r,
receipt: t,
@@ -49752,8 +49971,8 @@ function Eye({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, B.useState)(e.config), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(String(e.config.wait_hours)), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(HL), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = _T(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
+function Bye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, B.useState)(e.config), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(String(e.config.wait_hours)), [u, d] = (0, B.useState)(null), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(zL), [g, _] = (0, B.useState)(""), [v, y] = (0, B.useState)(!1), b = pT(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -49782,8 +50001,8 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => K(zL, e), (e) => w(e, t), (e) => _(G(e)));
- }, []), /* @__PURE__ */ (0, H.jsxs)(ET, {
+ b.run("auto", (e) => K(IL, e), (e) => w(e, t), (e) => _(G(e)));
+ }, []), /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), C) {
@@ -49796,19 +50015,19 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- b.run("save", (e) => q(Sye, f, "POST", e), (e) => {
+ b.run("save", (e) => q(Fye, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? w(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(HL), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(zL), y(!1), _("")), n("已保存配置");
}, (e) => _(G(e)));
},
children: [
- /* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "CloudDrive2 地址",
placeholder: "留空自动探测本机 19798 / 29798",
autoComplete: "off",
@@ -49820,7 +50039,7 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -49831,7 +50050,7 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "115 目标目录",
placeholder: "留空时按推送发现自动填写",
autoComplete: "off",
@@ -49843,7 +50062,7 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => S("115", e)
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "PikPak 目标目录",
placeholder: "以 / 开头的网盘路径",
autoComplete: "off",
@@ -49855,7 +50074,7 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, H.jsx)(Hk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -49864,13 +50083,13 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, H.jsx)(AT, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
+ }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -49881,11 +50100,11 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- b.busy === "auto" ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ b.busy === "auto" ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(yT, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, H.jsx)(hT, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, H.jsx)(Oye, {
+ u ? /* @__PURE__ */ (0, H.jsx)(Vye, {
report: u,
detected: f,
suggested: m,
@@ -49897,7 +50116,7 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => q(Cye, t, "POST", e), (t) => {
+ b.run("folder", (e) => q(Iye, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -49909,11 +50128,11 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: b.busy === "folder"
}) : null,
- g || b.error ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ g || b.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(jT, { children: g || b.error })
+ children: /* @__PURE__ */ (0, H.jsx)(DT, { children: g || b.error })
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(kT, {
+ /* @__PURE__ */ (0, H.jsxs)(TT, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => {
@@ -49928,7 +50147,7 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => q(zL, t, "POST", e), (t) => w(t, e), (e) => _(G(e)));
+ b.run("check", (e) => q(IL, t, "POST", e), (t) => w(t, e), (e) => _(G(e)));
},
disabled: !e.available,
...X(b.busy === "check"),
@@ -49943,25 +50162,25 @@ function Dye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var HL = {
+var zL = {
target: null,
root: "",
saved: !1
};
-function Oye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function Vye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, H.jsxs)(OT, {
+ return /* @__PURE__ */ (0, H.jsxs)(wT, {
divided: !0,
- children: [/* @__PURE__ */ (0, H.jsxs)(PT, { children: [
- t ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ t ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ a?.exists ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "115 目标目录",
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, H.jsxs)(FT, {
+ a && !a.exists ? /* @__PURE__ */ (0, H.jsxs)(jT, {
term: "115 目标目录",
children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
@@ -49970,49 +50189,49 @@ function Oye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ n.root ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "PikPak 根目录",
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ e.permissions.length ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ e.folder ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ e.quota ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "115 离线配额",
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, H.jsx)(jT, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, H.jsx)(DT, { children: e }, e))]
});
}
-function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(!1), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = _T(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function Hye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, B.useState)(""), [s, c] = (0, B.useState)(!1), [l, u] = (0, B.useState)(""), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = pT(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, B.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await K(BL, e.signal);
+ let r = await K(LL, 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(G(t));
}
- r = setTimeout(i, VL);
+ r = setTimeout(i, RL);
};
- return r = setTimeout(i, VL), () => {
+ return r = setTimeout(i, RL), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => q(BL, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => q(LL, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(G(e)));
}, b = () => {
- h.run("cancel", (e) => q(`${BL}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => q(`${LL}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(G(e)));
}, x = (e) => {
@@ -50022,7 +50241,7 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => q(wye, i, "POST", e), (e) => {
+ h.run("login", (e) => q(Lye, i, "POST", e), (e) => {
if (t(e.settings), f(""), !e.ok) {
u(e.captcha_url ?? "");
return;
@@ -50030,11 +50249,11 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
u(""), o(""), n("已登录 PikPak");
}, (e) => f(G(e)));
}, S = () => {
- h.run("logout", (e) => q(Tye, {}, "POST", e), (e) => {
+ h.run("logout", (e) => q(Rye, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(G(e)));
}, C = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -50043,7 +50262,7 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -50052,7 +50271,7 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, H.jsx)(cM, {
+ /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -50063,7 +50282,7 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, H.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, H.jsx)(NT, {
+ children: /* @__PURE__ */ (0, H.jsx)(kT, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -50076,32 +50295,32 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...X(h.busy === "login"),
children: "登录"
}), T = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "PikPak 账号",
onSubmit: x,
children: [
- g.logged_in ? /* @__PURE__ */ (0, H.jsxs)(PT, { children: [/* @__PURE__ */ (0, H.jsx)(FT, {
+ g.logged_in ? /* @__PURE__ */ (0, H.jsxs)(AT, { children: [/* @__PURE__ */ (0, H.jsx)(jT, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, H.jsx)(FT, {
+ }) : /* @__PURE__ */ (0, H.jsx)(jT, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
- p ? T ? /* @__PURE__ */ (0, H.jsx)(jT, { children: p }) : /* @__PURE__ */ (0, H.jsx)(AT, {
+ })] }) : _.available ? /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
+ p ? T ? /* @__PURE__ */ (0, H.jsx)(DT, { children: p }) : /* @__PURE__ */ (0, H.jsx)(ET, {
role: "status",
children: p
}) : null,
- /* @__PURE__ */ (0, H.jsx)(IT, {
+ /* @__PURE__ */ (0, H.jsx)(MT, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
C,
/* @__PURE__ */ (0, H.jsx)("div", {
className: "flex justify-end",
@@ -50110,13 +50329,13 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
]
})
})
- ] }) : /* @__PURE__ */ (0, H.jsxs)(OT, { children: [/* @__PURE__ */ (0, H.jsx)(AT, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
- d || h.error ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ ] }) : /* @__PURE__ */ (0, H.jsxs)(wT, { children: [/* @__PURE__ */ (0, H.jsx)(ET, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
+ d || h.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(jT, { children: d || h.error })
+ children: /* @__PURE__ */ (0, H.jsx)(DT, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(kT, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, H.jsx)(yT, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, H.jsx)(TT, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, H.jsx)(hT, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, H.jsx)(J, {
onClick: S,
disabled: !e.available,
@@ -50140,42 +50359,42 @@ function kye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var UL = "/api/configuration/indexers";
-function Aye({ receipt: e }) {
- let t = bw({
+var BL = "/api/configuration/indexers";
+function Uye({ receipt: e }) {
+ let t = gw({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => K(UL, e)
+ queryFn: ({ signal: e }) => K(BL, e)
});
- return t.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: G(t.error) }) : t.data ? /* @__PURE__ */ (0, H.jsx)(jye, {
+ return t.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: G(t.error) }) : t.data ? /* @__PURE__ */ (0, H.jsx)(Wye, {
initial: t.data,
receipt: e
}) : null;
}
-function jye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e.indexers), i = _T(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function Wye({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e.indexers), i = pT(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "资源索引器",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => q(UL, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => q(BL, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
+ children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
n.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: `索引器 ${t + 1} API 地址`,
value: e.url,
type: "url",
@@ -50184,7 +50403,7 @@ function jye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -50193,13 +50412,13 @@ function jye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, H.jsx)(cM, {
+ /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用 · 用户自配索引器"
}),
- e.api_key_set ? /* @__PURE__ */ (0, H.jsx)(cM, {
+ e.api_key_set ? /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -50213,8 +50432,8 @@ function jye({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, H.jsxs)(kT, {
+ i.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, H.jsxs)(TT, {
status: "保存后生效;关闭或移除索引器会停止向它查询。",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
type: "button",
@@ -50237,7 +50456,7 @@ function jye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var WL = [
+var VL = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -50281,13 +50500,13 @@ var WL = [
["star", "收藏"],
["tags", "主题"]
];
-function Mye(t) {
+function Gye(t) {
let n = t === "local" ? "" : e[t];
return n ? [n, "自动识别"] : ["hard-drive", "默认"];
}
-var GL = "auto";
-function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(e), [l, u] = Mye(n);
+var HL = "auto";
+function Kye({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, B.useRef)(null), [a, o] = (0, B.useState)(!1), [s, c] = (0, B.useState)(e), [l, u] = Gye(n);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(J, {
ref: i,
variant: "secondary",
@@ -50301,7 +50520,7 @@ function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, H.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, H.jsx)(LT, { mark: e || l }), ((e) => e && WL.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: e || l }), ((e) => e && VL.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, H.jsx)(nm, {
triggerRef: i,
@@ -50309,7 +50528,7 @@ function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: aT,
+ className: tT,
children: /* @__PURE__ */ (0, H.jsxs)(mh, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
@@ -50321,15 +50540,15 @@ function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, H.jsx)(ug, {
"aria-label": "候选图标",
- value: s || GL,
- onChange: (e) => c(e === GL ? "" : e),
+ value: s || HL,
+ onChange: (e) => c(e === HL ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: WL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
- value: e || GL,
+ children: VL.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
+ value: e || HL,
"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, H.jsx)(LT, { mark: e || l })
- }, e || GL))
+ children: /* @__PURE__ */ (0, H.jsx)(NT, { mark: e || l })
+ }, e || HL))
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -50351,15 +50570,15 @@ function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Pye = "/api/configuration/push-discovery", Fye = "/api/configuration/push-discovery/secret";
-function Iye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = _T(), l = mT(), u = n.media_roots, [d, f] = (0, B.useState)(e), p = (e, n) => {
+var qye = "/api/configuration/push-discovery", Jye = "/api/configuration/push-discovery/secret";
+function Yye({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.prefixes), [o, s] = (0, B.useState)(""), c = pT(), l = uT(), u = n.media_roots, [d, f] = (0, B.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -50369,14 +50588,14 @@ function Iye({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => q(Pye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(G(e)));
+ c.run("save", (e) => q(qye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(G(e)));
},
children: [
- /* @__PURE__ */ (0, H.jsxs)(DT, { children: [
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsxs)(CT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -50386,10 +50605,10 @@ function Iye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -50399,10 +50618,10 @@ function Iye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(xT, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, H.jsx)(FI, {
+ children: /* @__PURE__ */ (0, H.jsx)(MI, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -50413,30 +50632,30 @@ function Iye({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ d.enabled ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsxs)(PT, { children: [d.watch_local ? /* @__PURE__ */ (0, H.jsx)(FT, {
+ children: /* @__PURE__ */ (0, H.jsxs)(AT, { children: [d.watch_local ? /* @__PURE__ */ (0, H.jsx)(jT, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, H.jsx)(FT, {
+ }) : null, /* @__PURE__ */ (0, H.jsx)(jT, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("div", { children: /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, H.jsx)(IT, {
+ }) }), /* @__PURE__ */ (0, H.jsx)(MT, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, H.jsx)("div", {
className: "relative",
@@ -50447,17 +50666,17 @@ function Iye({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, H.jsx)(AT, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, H.jsx)(ET, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
children: /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, H.jsx)(AT, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, H.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -50465,7 +50684,7 @@ function Iye({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -50474,19 +50693,19 @@ function Iye({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: u.map((e) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(gT, {
- icon: Bw,
+ /* @__PURE__ */ (0, H.jsx)(fT, {
+ icon: Iw,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -50504,15 +50723,15 @@ function Iye({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ o || c.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(jT, { children: o || c.error })
+ children: /* @__PURE__ */ (0, H.jsx)(DT, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, H.jsxs)(kT, {
+ /* @__PURE__ */ (0, H.jsxs)(TT, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => {
- c.run("secret", (e) => q(Fye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(G(e)));
+ c.run("secret", (e) => q(Jye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(G(e)));
},
disabled: !n.available,
...X(c.busy === "secret"),
@@ -50529,8 +50748,8 @@ function Iye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Lye = 8e3;
-function Rye({ className: e }) {
+var Xye = 8e3;
+function Zye({ className: e }) {
return /* @__PURE__ */ (0, H.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -50543,33 +50762,33 @@ function Rye({ className: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-folder-search" })
});
}
-var KL = [
+var UL = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], zye = (e) => KL.find(([t]) => t === e)?.[1] ?? e, qL = (t) => e[t] || "database", JL = (e = "") => ({
+], Qye = (e) => UL.find(([t]) => t === e)?.[1] ?? e, WL = (t) => e[t] || "database", GL = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function Bye(e) {
- let t = e.media_sources?.filter((e) => KL.some(([t]) => t === e.location));
+function $ye(e) {
+ let t = e.media_sources?.filter((e) => UL.some(([t]) => t === e.location));
return t?.length ? t.map((e) => ({
path: e.path,
location: e.location,
root: e.root,
library: e.library || "",
library_icon: e.library_icon || ""
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => JL(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => GL(e));
}
-var Vye = (e) => !(e instanceof HC) || e.status !== 400 ? null : e.body?.errors ?? null;
-function Hye({ data: e, receipt: t }) {
+var ebe = (e) => !(e instanceof RC) || e.status !== 400 ? null : e.body?.errors ?? null;
+function tbe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, H.jsx)(Uye, {
+ e.editable ? /* @__PURE__ */ (0, H.jsx)(nbe, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, H.jsx)(Y, {
@@ -50577,26 +50796,26 @@ function Hye({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, H.jsx)(Gye, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, H.jsx)(Iye, {
+ /* @__PURE__ */ (0, H.jsx)(ibe, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, H.jsx)(Yye, {
initial: e.push_discovery,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, H.jsx)(Eye, {
+ e.downloads ? /* @__PURE__ */ (0, H.jsx)(zye, {
initial: e.downloads,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, H.jsx)(Aye, { receipt: t }) : null
+ e.downloads ? /* @__PURE__ */ (0, H.jsx)(Uye, { receipt: t }) : null
]
});
}
-function Uye({ data: e, receipt: t }) {
- let [n, r] = (0, B.useState)(() => Bye(e)), [i, a] = (0, B.useState)(String(e.port)), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)([]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(null), [g, _] = (0, B.useState)(null), [v, y] = (0, B.useState)(null), b = (0, B.useRef)(!1), x = (0, B.useRef)(e.revision), S = (0, B.useRef)([]), C = _T();
+function nbe({ data: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(() => $ye(e)), [i, a] = (0, B.useState)(String(e.port)), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)([]), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(null), [g, _] = (0, B.useState)(null), [v, y] = (0, B.useState)(null), b = (0, B.useRef)(!1), x = (0, B.useRef)(e.revision), S = (0, B.useRef)([]), C = pT();
(0, B.useLayoutEffect)(() => {
g !== null && (S.current[g]?.focus(), _(null));
}, [g]), (0, B.useEffect)(() => {
if (!m) return;
- let e = setTimeout(() => location.assign(m.url), Lye);
+ let e = setTimeout(() => location.assign(m.url), Xye);
return () => clearTimeout(e);
}, [m]);
let w = (e, t) => r((n) => n.map((n, r) => r === e ? {
@@ -50607,14 +50826,14 @@ function Uye({ data: e, receipt: t }) {
for (; r.length <= e;) r.push("");
return r[e] = t, r;
}), E = () => {
- _(n.length), r((e) => [...e, JL()]);
+ _(n.length), r((e) => [...e, GL()]);
}, D = (e) => {
r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));
}, O = async (e) => {
if (!b.current) {
b.current = !0, y(e);
try {
- let { path: t } = await q(aye, { initial: n[e]?.path ?? "" });
+ let { path: t } = await q(vye, { initial: n[e]?.path ?? "" });
t && (w(e, { path: t }), T(e, ""));
} catch (t) {
T(e, G(t));
@@ -50623,7 +50842,7 @@ function Uye({ data: e, receipt: t }) {
}
}
}, k = (r) => {
- r.preventDefault(), p(""), C.run("save", (t) => q(NL, {
+ r.preventDefault(), p(""), C.run("save", (t) => q(AL, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -50632,18 +50851,18 @@ function Uye({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);
}, (e) => {
- let t = Vye(e);
+ let t = ebe(e);
l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(G(e));
});
};
- if (m) return /* @__PURE__ */ (0, H.jsx)(ET, {
+ if (m) return /* @__PURE__ */ (0, H.jsx)(ST, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, H.jsx)(OT, { children: /* @__PURE__ */ (0, H.jsxs)(Y, {
+ children: /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsxs)(Y, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, H.jsx)(iT, {
+ /* @__PURE__ */ (0, H.jsx)(eT, {
href: m.url,
size: "small",
children: "进入馆藏"
@@ -50653,14 +50872,14 @@ function Uye({ data: e, receipt: t }) {
}) })
});
let A = n.some((e) => e.location === "115" || e.location === "pikpak"), j = A ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "这台电脑",
onSubmit: k,
- children: [/* @__PURE__ */ (0, H.jsxs)(OT, { children: [
+ children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, H.jsx)(MT, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, H.jsx)(OT, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, H.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
@@ -50671,7 +50890,7 @@ function Uye({ data: e, receipt: t }) {
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
className: "min-w-0 flex-1",
"aria-label": `媒体文件夹 ${r + 1}`,
placeholder: "本机文件夹路径",
@@ -50684,14 +50903,14 @@ function Uye({ data: e, receipt: t }) {
isInvalid: !!c[r],
hint: c[r] || void 0
}),
- /* @__PURE__ */ (0, H.jsx)(gT, {
- icon: Rye,
+ /* @__PURE__ */ (0, H.jsx)(fT, {
+ icon: Zye,
"aria-label": "选择文件夹",
onClick: () => void O(r),
...X(v === r)
}),
- n.length > 1 ? /* @__PURE__ */ (0, H.jsx)(gT, {
- icon: Bw,
+ n.length > 1 ? /* @__PURE__ */ (0, H.jsx)(fT, {
+ icon: Iw,
"aria-label": "移除这个文件夹",
onClick: () => D(r)
}) : null
@@ -50699,7 +50918,7 @@ function Uye({ data: e, receipt: t }) {
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -50708,7 +50927,7 @@ function Uye({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "媒体库图标" }), /* @__PURE__ */ (0, H.jsx)(Nye, {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "媒体库图标" }), /* @__PURE__ */ (0, H.jsx)(Kye, {
label: `媒体库图标 ${r + 1}`,
value: t.library_icon,
kind: t.location,
@@ -50717,20 +50936,20 @@ function Uye({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, H.jsx)(MT, { children: "媒体来源" }), /* @__PURE__ */ (0, H.jsx)(Hk, {
+ children: [/* @__PURE__ */ (0, H.jsx)(OT, { children: "媒体来源" }), /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": `媒体来源 ${r + 1}`,
selectedKey: t.location,
onSelectionChange: (e) => {
e !== null && w(r, { location: String(e) });
},
- children: KL.map(([e, t]) => /* @__PURE__ */ (0, H.jsxs)(Uk, {
+ children: UL.map(([e, t]) => /* @__PURE__ */ (0, H.jsxs)(Rk, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, H.jsx)(LT, { mark: qL(e) }), t]
+ children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: WL(e) }), t]
}, e))
})]
}),
- e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(Bk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(Fk, {
label: "Windows 中的对应路径",
placeholder: "例如 B:\\",
value: t.root,
@@ -50747,18 +50966,18 @@ function Uye({ data: e, receipt: t }) {
})
]
}),
- A ? /* @__PURE__ */ (0, H.jsx)(xye, {}) : null,
- j.map((e) => /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ A ? /* @__PURE__ */ (0, H.jsx)(Pye, {}) : null,
+ j.map((e) => /* @__PURE__ */ (0, H.jsxs)(ET, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, H.jsxs)(NT, {
+ /* @__PURE__ */ (0, H.jsxs)(kT, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(AT, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, H.jsx)(Bk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, H.jsx)(ET, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, H.jsx)(Fk, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -50768,7 +50987,7 @@ function Uye({ data: e, receipt: t }) {
isInvalid: !!u,
hint: u || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, H.jsx)(cM, {
+ /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: o,
onChange: s,
children: "保存后扫描并补全资料"
@@ -50778,7 +50997,7 @@ function Uye({ data: e, receipt: t }) {
title: "没有保存",
children: f
}) : null
- ] }), /* @__PURE__ */ (0, H.jsx)(kT, {
+ ] }), /* @__PURE__ */ (0, H.jsx)(TT, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
@@ -50788,7 +51007,7 @@ function Uye({ data: e, receipt: t }) {
})]
});
}
-function Wye({ online: e }) {
+function rbe({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, H.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -50812,21 +51031,21 @@ function Wye({ online: e }) {
}), "未检测"]
});
}
-function Gye({ data: e }) {
- let t = e.media_sources, n = _T();
- return t ? /* @__PURE__ */ (0, H.jsxs)(ET, {
+function ibe({ data: e }) {
+ let t = e.media_sources, n = pT();
+ return t ? /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, H.jsx)(PT, { children: t.map((e, t) => /* @__PURE__ */ (0, H.jsxs)(FT, {
- term: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(LT, { mark: qL(e.location) }), zye(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, H.jsx)(Wye, { online: e.online })]
+ /* @__PURE__ */ (0, H.jsx)(AT, { children: t.map((e, t) => /* @__PURE__ */ (0, H.jsxs)(jT, {
+ term: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(NT, { mark: WL(e.location) }), Qye(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, H.jsx)(rbe, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, H.jsx)(OT, {
+ n.error ? /* @__PURE__ */ (0, H.jsx)(wT, {
divided: !0,
- children: /* @__PURE__ */ (0, H.jsx)(jT, { children: n.error })
+ children: /* @__PURE__ */ (0, H.jsx)(DT, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, H.jsx)(kT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
- onClick: () => void n.run("refresh", (e) => FL(e), (e) => z.setQueryData(PL, e)),
+ /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ onClick: () => void n.run("refresh", (e) => ML(e), (e) => z.setQueryData(jL, e)),
...X(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -50835,13 +51054,13 @@ function Gye({ data: e }) {
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Kye = {
+var abe = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function qye({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)({}), m = (0, B.useRef)(null), h = _T(), g = (e) => {
+function obe({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(""), [o, s] = (0, B.useState)(""), [c, l] = (0, B.useState)(""), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)({}), m = (0, B.useRef)(null), h = pT(), g = (e) => {
e.preventDefault();
let f = {};
if (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) {
@@ -50858,28 +51077,28 @@ function qye({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof HC ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof RC ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(G(e));
});
- }, _ = Kye[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ }, _ = abe[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- _ ? /* @__PURE__ */ (0, H.jsx)(AT, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ _ ? /* @__PURE__ */ (0, H.jsx)(ET, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, H.jsx)(cM, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, H.jsx)(rM, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, H.jsx)(Bk, {
+ n.mode === "password" ? /* @__PURE__ */ (0, H.jsx)(Fk, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -50892,7 +51111,7 @@ function qye({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Bk, {
+ v ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
id: "access-password",
type: "password",
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
@@ -50905,7 +51124,7 @@ function qye({ initial: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !u && !!f.password,
hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"
- }), /* @__PURE__ */ (0, H.jsx)(Bk, {
+ }), /* @__PURE__ */ (0, H.jsx)(Fk, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -50924,9 +51143,9 @@ function qye({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, H.jsx)(kT, {
+ }), v ? /* @__PURE__ */ (0, H.jsx)(TT, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
@@ -50938,19 +51157,19 @@ function qye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var Jye = 2e3, Yye = [["quick", "临时链接"], ["named", "命名隧道"]], Xye = {
+var sbe = 2e3, cbe = [["quick", "临时链接"], ["named", "命名隧道"]], lbe = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function Zye({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, B.useState)(t), [a, o] = (0, B.useState)(e), [s, c] = (0, B.useState)(t.mode), [l, u] = (0, B.useState)(t.hostname), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)({}), h = _T(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
+function ube({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, B.useState)(t), [a, o] = (0, B.useState)(e), [s, c] = (0, B.useState)(t.mode), [l, u] = (0, B.useState)(t.hostname), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)({}), h = pT(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, B.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- FL(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (z.setQueryData(PL, t), i(t.tunnel), o(t.revision));
+ ML(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (z.setQueryData(jL, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, Jye);
+ }, sbe);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -50965,30 +51184,30 @@ function Zye({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof HC ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof RC ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : h.setError(G(e));
});
};
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), v("save", g, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, H.jsxs)(OT, { children: [
- r.named_available ? /* @__PURE__ */ (0, H.jsx)(DC, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(wT, { children: [
+ r.named_available ? /* @__PURE__ */ (0, H.jsx)(CC, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: g,
onChange: (e) => c(e),
- className: OC,
- children: Yye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
+ className: wC,
+ children: cbe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(dg, {
value: e,
- className: kC,
+ className: TC,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, H.jsx)(AT, { children: Xye[_ ? "named" : "quick"] }),
- _ ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Bk, {
+ /* @__PURE__ */ (0, H.jsx)(ET, { children: lbe[_ ? "named" : "quick"] }),
+ _ ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Fk, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -50999,7 +51218,7 @@ function Zye({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!p.hostname,
hint: p.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, H.jsx)(Bk, {
+ }), /* @__PURE__ */ (0, H.jsx)(Fk, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -51019,7 +51238,7 @@ function Zye({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, H.jsx)(NT, {
+ children: /* @__PURE__ */ (0, H.jsx)(kT, {
href: r.url,
children: r.url
})
@@ -51029,9 +51248,9 @@ function Zye({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: r.error }) : null,
- h.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: h.error }) : null
- ] }), /* @__PURE__ */ (0, H.jsxs)(kT, {
+ r.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: r.error }) : null,
+ h.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: h.error }) : null
+ ] }), /* @__PURE__ */ (0, H.jsxs)(TT, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
onClick: () => v("toggle", !g, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -51047,24 +51266,24 @@ function Zye({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Qye = [
+var dbe = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function $ye({ data: e, receipt: t }) {
+function fbe({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, H.jsx)(ebe, {
+ e.peach_proxy ? /* @__PURE__ */ (0, H.jsx)(pbe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, H.jsx)(qye, {
+ e.access ? /* @__PURE__ */ (0, H.jsx)(obe, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, H.jsx)(Zye, {
+ e.tunnel ? /* @__PURE__ */ (0, H.jsx)(ube, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -51072,9 +51291,9 @@ function $ye({ data: e, receipt: t }) {
]
});
}
-function ebe({ initial: e, receipt: t }) {
- let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = _T();
- return /* @__PURE__ */ (0, H.jsxs)(ET, {
+function pbe({ initial: e, receipt: t }) {
+ let [n, r] = (0, B.useState)(e), [i, a] = (0, B.useState)(e.mode), [o, s] = (0, B.useState)(""), c = pT();
+ return /* @__PURE__ */ (0, H.jsxs)(ST, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -51086,25 +51305,25 @@ function ebe({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, H.jsx)(DT, { children: /* @__PURE__ */ (0, H.jsx)(TT, {
+ /* @__PURE__ */ (0, H.jsx)(CT, { children: /* @__PURE__ */ (0, H.jsx)(xT, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, H.jsx)(Hk, {
+ children: /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Qye.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: dbe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, H.jsxs)(OT, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, H.jsxs)(wT, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, H.jsx)(Bk, {
+ i === "proxy" ? /* @__PURE__ */ (0, H.jsx)(Fk, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -51118,10 +51337,10 @@ function ebe({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, H.jsx)(jT, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, H.jsx)(DT, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, H.jsx)(kT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
+ /* @__PURE__ */ (0, H.jsx)(TT, { children: /* @__PURE__ */ (0, H.jsx)(J, {
type: "submit",
...X(c.busy === "save"),
children: "保存配置"
@@ -51131,10 +51350,10 @@ function ebe({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function tbe({ receipt: e, reopenTutorial: t }) {
- let n = bw({
- queryKey: PL,
- queryFn: ({ signal: e }) => FL(e)
+function mbe({ receipt: e, reopenTutorial: t }) {
+ let n = gw({
+ queryKey: jL,
+ queryFn: ({ signal: e }) => ML(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, H.jsx)("div", {
className: "configpage",
@@ -51155,22 +51374,22 @@ function tbe({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, H.jsx)(lye, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, H.jsx)(Sye, { ...i }) : null,
/* @__PURE__ */ (0, H.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, H.jsx)(Hye, { ...i }),
+ /* @__PURE__ */ (0, H.jsx)(tbe, { ...i }),
o ? /* @__PURE__ */ (0, H.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, H.jsx)($ye, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, H.jsx)(fbe, { ...i }) : null,
/* @__PURE__ */ (0, H.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, H.jsx)(mye, {
+ /* @__PURE__ */ (0, H.jsx)(Dye, {
...i,
reopenTutorial: t
})
@@ -51179,14 +51398,14 @@ function tbe({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var nbe = "/api/stats", YL = ["stats"], XL = (e) => K(nbe, e);
-async function rbe(e) {
+var hbe = "/api/stats", KL = ["stats"], qL = (e) => K(hbe, e);
+async function gbe(e) {
await z.fetchQuery({
- queryKey: YL,
- queryFn: () => XL(e)
+ queryKey: KL,
+ queryFn: () => qL(e)
});
}
-var ZL = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, QL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, $L = (e) => (e.max_reached || 0) * 100, abe = (e) => e.kind === "online" ? "在线直接观看" : QL(e) < $L(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", obe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, sbe = (e) => Math.max(1, ...e) * 1.1, cbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), lbe = {
+var JL = (e, t) => t ? Math.round(e / t * 100) : 0, _be = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, YL = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, XL = (e) => (e.max_reached || 0) * 100, vbe = (e) => e.kind === "online" ? "在线直接观看" : YL(e) < XL(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ybe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, bbe = (e) => Math.max(1, ...e) * 1.1, xbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), Sbe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -51194,18 +51413,18 @@ var ZL = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, ube = (e) => e.map((e) => ({
- name: lbe[e.k] ?? e.k,
+}, Cbe = (e) => e.map((e) => ({
+ name: Sbe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), dbe = {
+})).sort((e, t) => t.value - e.value), wbe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, eR = (e, t = {}) => e.map((e) => ({
+}, ZL = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), fbe = (e) => eR(e, dbe), pbe = [
+})), Tbe = (e) => ZL(e, wbe), Ebe = [
[
1,
1,
@@ -51241,49 +51460,49 @@ var ZL = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], mbe = (e) => pbe.map(([t, n, r]) => ({
+], Dbe = (e) => Ebe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), hbe = /* @__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 tR(e) {
- return typeof e == "string" && hbe.includes(e);
+})), Obe = /* @__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 QL(e) {
+ return typeof e == "string" && Obe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var gbe = /* @__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 nR(e) {
- return typeof e == "string" && gbe.has(e);
+var kbe = /* @__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 $L(e) {
+ return typeof e == "string" && kbe.has(e);
}
-function rR(e) {
+function eR(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function iR(e) {
+function tR(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nR(n) || rR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($L(n) || eR(n)) && (t[n] = e[n]);
return t;
}
-function aR(e) {
+function nR(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, B.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return iR(t);
+ return tR(t);
}
- return typeof e == "object" && !Array.isArray(e) ? iR(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? tR(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function oR(e) {
+function rR(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (nR(n) || rR(n) || tR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && ($L(n) || eR(n) || QL(n)) && (t[n] = e[n]);
return t;
}
-function _be(e) {
- return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? oR(e.props) : typeof e == "object" && !Array.isArray(e) ? oR(e) : null;
+function Abe(e) {
+ return e == null ? null : /*#__PURE__*/ (0, B.isValidElement)(e) ? rR(e.props) : typeof e == "object" && !Array.isArray(e) ? rR(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var vbe = [
+var jbe = [
"children",
"width",
"height",
@@ -51293,25 +51512,25 @@ var vbe = [
"title",
"desc"
];
-function sR() {
- return sR = Object.assign ? Object.assign.bind() : function(e) {
+function iR() {
+ return iR = 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;
- }, sR.apply(null, arguments);
+ }, iR.apply(null, arguments);
}
-function ybe(e, t) {
+function Mbe(e, t) {
if (e == null) return {};
- var n, r, i = bbe(e, t);
+ var n, r, i = Nbe(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 bbe(e, t) {
+function Nbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51320,14 +51539,14 @@ function bbe(e, t) {
}
return n;
}
-var cR = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = ybe(e, vbe), d = a || {
+var aR = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = Mbe(e, jbe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Jr("recharts-surface", o);
- return /*#__PURE__*/ B.createElement("svg", sR({}, oR(u), {
+ return /*#__PURE__*/ B.createElement("svg", iR({}, rR(u), {
className: f,
width: r,
height: i,
@@ -51335,26 +51554,26 @@ var cR = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ B.createElement("title", null, c), /*#__PURE__*/ B.createElement("desc", null, l), n);
-}), xbe = ["children", "className"];
-function lR() {
- return lR = Object.assign ? Object.assign.bind() : function(e) {
+}), Pbe = ["children", "className"];
+function oR() {
+ return oR = 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;
- }, lR.apply(null, arguments);
+ }, oR.apply(null, arguments);
}
-function Sbe(e, t) {
+function Fbe(e, t) {
if (e == null) return {};
- var n, r, i = Cbe(e, t);
+ var n, r, i = Ibe(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 Cbe(e, t) {
+function Ibe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51363,39 +51582,39 @@ function Cbe(e, t) {
}
return n;
}
-var uR = /*#__PURE__*/ B.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = Sbe(e, xbe), a = Jr("recharts-layer", r);
- return /*#__PURE__*/ B.createElement("g", lR({ className: a }, oR(i), { ref: t }), n);
-}), dR = /*#__PURE__*/ (0, B.createContext)(null), wbe = () => (0, B.useContext)(dR);
+var sR = /*#__PURE__*/ B.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Fbe(e, Pbe), a = Jr("recharts-layer", r);
+ return /*#__PURE__*/ B.createElement("g", oR({ className: a }, rR(i), { ref: t }), n);
+}), cR = /*#__PURE__*/ (0, B.createContext)(null), Lbe = () => (0, B.useContext)(cR);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function fR(e) {
+function lR(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var pR = Math.cos, mR = Math.sin, hR = Math.sqrt, gR = Math.PI;
-gR / 2;
-var _R = 2 * gR, vR = Math.PI, yR = 2 * vR, bR = 1e-6, Tbe = yR - bR;
-function xR(e) {
+var uR = Math.cos, dR = Math.sin, fR = Math.sqrt, pR = Math.PI;
+pR / 2;
+var mR = 2 * pR, hR = Math.PI, gR = 2 * hR, _R = 1e-6, Rbe = gR - _R;
+function vR(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function Ebe(e) {
+function zbe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return xR;
+ if (t > 15) return vR;
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 SR = class {
+var yR = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? xR : Ebe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? vR : zbe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -51416,18 +51635,18 @@ var SR = 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 > bR) {
- if (!(Math.abs(u * s - c * l) > bR) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > _R) {
+ if (!(Math.abs(u * s - c * l) > _R) || !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((vR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > bR && 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((hR - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > _R && 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) > bR || Math.abs(this._y1 - l) > bR) && this._append`L${c},${l}`, n && (d < 0 && (d = d % yR + yR), d > Tbe ? 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 > bR && this._append`A${n},${n},0,${+(d >= vR)},${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) > _R || Math.abs(this._y1 - l) > _R) && this._append`L${c},${l}`, n && (d < 0 && (d = d % gR + gR), d > Rbe ? 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 > _R && this._append`A${n},${n},0,${+(d >= hR)},${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`;
@@ -51436,10 +51655,10 @@ var SR = class {
return this._;
}
};
-SR.prototype;
+yR.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function CR(e) {
+function bR(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -51450,18 +51669,18 @@ function CR(e) {
t = e;
}
return e;
- }, () => new SR(t);
+ }, () => new yR(t);
}
Array.prototype.slice;
-function wR(e) {
+function xR(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 TR(e) {
+function SR(e) {
this._context = e;
}
-TR.prototype = {
+SR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51484,33 +51703,33 @@ TR.prototype = {
}
}
};
-function ER(e) {
- return new TR(e);
+function CR(e) {
+ return new SR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function DR(e) {
+function wR(e) {
return e[0];
}
-function OR(e) {
+function TR(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function kR(e, t) {
- var n = fR(!0), r = null, i = ER, a = null, o = CR(s);
- e = typeof e == "function" ? e : e === void 0 ? DR : fR(e), t = typeof t == "function" ? t : t === void 0 ? OR : fR(t);
+function ER(e, t) {
+ var n = lR(!0), r = null, i = CR, a = null, o = bR(s);
+ e = typeof e == "function" ? e : e === void 0 ? wR : lR(e), t = typeof t == "function" ? t : t === void 0 ? TR : lR(t);
function s(s) {
- var c, l = (s = wR(s)).length, u, d = !1, f;
+ var c, l = (s = xR(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 : fR(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lR(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : fR(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lR(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : fR(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : lR(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -51519,11 +51738,11 @@ function kR(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function AR(e, t, n) {
- var r = null, i = fR(!0), a = null, o = ER, s = null, c = CR(l);
- e = typeof e == "function" ? e : e === void 0 ? DR : fR(+e), t = typeof t == "function" ? t : fR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? OR : fR(+n);
+function DR(e, t, n) {
+ var r = null, i = lR(!0), a = null, o = CR, s = null, c = bR(l);
+ e = typeof e == "function" ? e : e === void 0 ? wR : lR(+e), t = typeof t == "function" ? t : lR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? TR : lR(+n);
function l(l) {
- var u, d, f, p = (l = wR(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = xR(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();
@@ -51537,20 +51756,20 @@ function AR(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return kR().defined(i).curve(o).context(a);
+ return ER().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : fR(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lR(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : fR(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lR(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : fR(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : lR(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : fR(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lR(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : fR(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lR(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : fR(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : lR(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -51558,7 +51777,7 @@ function AR(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : fR(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : lR(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -51567,7 +51786,7 @@ function AR(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var jR = class {
+var OR = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -51594,70 +51813,70 @@ var jR = class {
this._x0 = e, this._y0 = t;
}
};
-function Dbe(e) {
- return new jR(e, !0);
+function Bbe(e) {
+ return new OR(e, !0);
}
-function Obe(e) {
- return new jR(e, !1);
+function Vbe(e) {
+ return new OR(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var MR = { draw(e, t) {
- let n = hR(t / gR);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, _R);
-} }, kbe = { draw(e, t) {
- let n = hR(t / 5) / 2;
+var kR = { draw(e, t) {
+ let n = fR(t / pR);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, mR);
+} }, Hbe = { draw(e, t) {
+ let n = fR(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();
-} }, NR = hR(1 / 3), Abe = NR * 2, jbe = { draw(e, t) {
- let n = hR(t / Abe), r = n * NR;
+} }, AR = fR(1 / 3), Ube = AR * 2, Wbe = { draw(e, t) {
+ let n = fR(t / Ube), r = n * AR;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Mbe = { draw(e, t) {
- let n = hR(t), r = -n / 2;
+} }, Gbe = { draw(e, t) {
+ let n = fR(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, Nbe = .8908130915292852, PR = mR(gR / 10) / mR(7 * gR / 10), Pbe = mR(_R / 10) * PR, Fbe = -pR(_R / 10) * PR, Ibe = { draw(e, t) {
- let n = hR(t * Nbe), r = Pbe * n, i = Fbe * n;
+} }, Kbe = .8908130915292852, jR = dR(pR / 10) / dR(7 * pR / 10), qbe = dR(mR / 10) * jR, Jbe = -uR(mR / 10) * jR, Ybe = { draw(e, t) {
+ let n = fR(t * Kbe), r = qbe * n, i = Jbe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = _R * t / 5, o = pR(a), s = mR(a);
+ let a = mR * t / 5, o = uR(a), s = dR(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, FR = hR(3), Lbe = { draw(e, t) {
- let n = -hR(t / (FR * 3));
- e.moveTo(0, n * 2), e.lineTo(-FR * n, -n), e.lineTo(FR * n, -n), e.closePath();
-} }, IR = -.5, LR = hR(3) / 2, RR = 1 / hR(12), Rbe = (RR / 2 + 1) * 3, zbe = { draw(e, t) {
- let n = hR(t / Rbe), r = n / 2, i = n * RR, a = r, o = n * RR + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(IR * r - LR * i, LR * r + IR * i), e.lineTo(IR * a - LR * o, LR * a + IR * o), e.lineTo(IR * s - LR * c, LR * s + IR * c), e.lineTo(IR * r + LR * i, IR * i - LR * r), e.lineTo(IR * a + LR * o, IR * o - LR * a), e.lineTo(IR * s + LR * c, IR * c - LR * s), e.closePath();
+} }, MR = fR(3), Xbe = { draw(e, t) {
+ let n = -fR(t / (MR * 3));
+ e.moveTo(0, n * 2), e.lineTo(-MR * n, -n), e.lineTo(MR * n, -n), e.closePath();
+} }, NR = -.5, PR = fR(3) / 2, FR = 1 / fR(12), Zbe = (FR / 2 + 1) * 3, Qbe = { draw(e, t) {
+ let n = fR(t / Zbe), r = n / 2, i = n * FR, a = r, o = n * FR + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(NR * r - PR * i, PR * r + NR * i), e.lineTo(NR * a - PR * o, PR * a + NR * o), e.lineTo(NR * s - PR * c, PR * s + NR * c), e.lineTo(NR * r + PR * i, NR * i - PR * r), e.lineTo(NR * a + PR * o, NR * o - PR * a), e.lineTo(NR * s + PR * c, NR * c - PR * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Bbe(e, t) {
- let n = null, r = CR(i);
- e = typeof e == "function" ? e : fR(e || MR), t = typeof t == "function" ? t : fR(t === void 0 ? 64 : +t);
+function $be(e, t) {
+ let n = null, r = bR(i);
+ e = typeof e == "function" ? e : lR(e || kR), t = typeof t == "function" ? t : lR(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 : fR(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lR(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : fR(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : lR(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function zR() {}
+function IR() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function BR(e, t, n) {
+function LR(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function VR(e) {
+function RR(e) {
this._context = e;
}
-VR.prototype = {
+RR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51669,7 +51888,7 @@ VR.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: BR(this, this._x1, this._y1);
+ case 3: LR(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -51683,22 +51902,22 @@ VR.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: BR(this, e, t);
+ default: LR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Vbe(e) {
- return new VR(e);
+function exe(e) {
+ return new RR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function HR(e) {
+function zR(e) {
this._context = e;
}
-HR.prototype = {
- areaStart: zR,
- areaEnd: zR,
+zR.prototype = {
+ areaStart: IR,
+ areaEnd: IR,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -51724,20 +51943,20 @@ HR.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: BR(this, e, t);
+ default: LR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Hbe(e) {
- return new HR(e);
+function txe(e) {
+ return new zR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function UR(e) {
+function BR(e) {
this._context = e;
}
-UR.prototype = {
+BR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51764,22 +51983,22 @@ UR.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: BR(this, e, t);
+ default: LR(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Ube(e) {
- return new UR(e);
+function nxe(e) {
+ return new BR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function WR(e) {
+function VR(e) {
this._context = e;
}
-WR.prototype = {
- areaStart: zR,
- areaEnd: zR,
+VR.prototype = {
+ areaStart: IR,
+ areaEnd: IR,
lineStart: function() {
this._point = 0;
},
@@ -51790,30 +52009,30 @@ WR.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Wbe(e) {
- return new WR(e);
+function rxe(e) {
+ return new VR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function GR(e) {
+function HR(e) {
return e < 0 ? -1 : 1;
}
-function KR(e, t, n) {
+function UR(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (GR(a) + GR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (HR(a) + HR(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function qR(e, t) {
+function WR(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function JR(e, t, n) {
+function GR(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function YR(e) {
+function KR(e) {
this._context = e;
}
-YR.prototype = {
+KR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51828,7 +52047,7 @@ YR.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: JR(this, this._t0, qR(this, this._t0));
+ case 3: GR(this, this._t0, WR(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -51843,24 +52062,24 @@ YR.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, JR(this, qR(this, n = KR(this, e, t)), n);
+ this._point = 3, GR(this, WR(this, n = UR(this, e, t)), n);
break;
- default: JR(this, this._t0, n = KR(this, e, t));
+ default: GR(this, this._t0, n = UR(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function XR(e) {
- this._context = new ZR(e);
+function qR(e) {
+ this._context = new JR(e);
}
-(XR.prototype = Object.create(YR.prototype)).point = function(e, t) {
- YR.prototype.point.call(this, t, e);
+(qR.prototype = Object.create(KR.prototype)).point = function(e, t) {
+ KR.prototype.point.call(this, t, e);
};
-function ZR(e) {
+function JR(e) {
this._context = e;
}
-ZR.prototype = {
+JR.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -51874,18 +52093,18 @@ ZR.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function Gbe(e) {
- return new YR(e);
+function ixe(e) {
+ return new KR(e);
}
-function Kbe(e) {
- return new XR(e);
+function axe(e) {
+ return new qR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function QR(e) {
+function YR(e) {
this._context = e;
}
-QR.prototype = {
+YR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51899,7 +52118,7 @@ QR.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = $R(e), i = $R(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = XR(e), i = XR(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -51907,7 +52126,7 @@ QR.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function $R(e) {
+function XR(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -51915,15 +52134,15 @@ function $R(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function qbe(e) {
- return new QR(e);
+function oxe(e) {
+ return new YR(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function ez(e, t) {
+function ZR(e, t) {
this._context = e, this._t = t;
}
-ez.prototype = {
+ZR.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51951,78 +52170,78 @@ ez.prototype = {
this._x = e, this._y = t;
}
};
-function Jbe(e) {
- return new ez(e, .5);
+function sxe(e) {
+ return new ZR(e, .5);
}
-function Ybe(e) {
- return new ez(e, 0);
+function cxe(e) {
+ return new ZR(e, 0);
}
-function Xbe(e) {
- return new ez(e, 1);
+function lxe(e) {
+ return new ZR(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function tz(e, t) {
+function QR(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function nz(e) {
+function $R(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function Zbe(e, t) {
+function uxe(e, t) {
return e[t];
}
-function Qbe(e) {
+function dxe(e) {
let t = [];
return t.key = e, t;
}
-function $be() {
- var e = fR([]), t = nz, n = tz, r = Zbe;
+function fxe() {
+ var e = lR([]), t = $R, n = QR, r = uxe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Qbe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), dxe), 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 = wR(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = xR(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 : fR(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : lR(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : fR(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : lR(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? nz : typeof e == "function" ? e : fR(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? $R : typeof e == "function" ? e : lR(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? tz, i) : n;
+ return arguments.length ? (n = e ?? QR, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function exe(e, t) {
+function pxe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- tz(e, t);
+ QR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function txe(e, t) {
+function mxe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- tz(e, t);
+ QR(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function nxe(e, t) {
+function hxe(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -52034,53 +52253,53 @@ function nxe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, tz(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, QR(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function rz(e) {
+function ez(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var rxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function iz(e) {
+var gxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function tz(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : rxe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : gxe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function az(e) {
+function nz(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 oz(e) {
+function rz(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function ixe(e) {
- return e == null ? "" : sz(e);
+function _xe(e) {
+ return e == null ? "" : iz(e);
}
-function sz(e) {
+function iz(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(sz).join(",");
- if (oz(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(iz).join(",");
+ if (rz(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 cz(e) {
- if (Array.isArray(e)) return e.map(az);
+function az(e) {
+ if (Array.isArray(e)) return e.map(nz);
if (typeof e == "symbol") return [e];
- e = ixe(e);
+ e = _xe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -52108,100 +52327,100 @@ function cz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function lz(e, t, n) {
+function oz(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (rz(t)) return n;
+ if (ez(t)) return n;
let r = e[t];
- return r === void 0 ? iz(t) && !Object.hasOwn(e, t) ? lz(e, cz(t), n) : n : r;
+ return r === void 0 ? tz(t) && !Object.hasOwn(e, t) ? oz(e, az(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = az(t));
+ typeof t == "number" && (t = nz(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return axe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), rz(t)) return n;
+ if (Array.isArray(t)) return vxe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), ez(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function axe(e, t, n) {
+function vxe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || rz(t[e])) return n;
+ if (r == null || ez(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var oxe = 4;
-function uz(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oxe), n = Math.round(e * t) / t;
+var yxe = 4;
+function sz(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : yxe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function dz(e) {
+function cz(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 + uz(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + sz(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var fz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, pz = (e) => typeof e == "number" && e != +e, mz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !pz(e), hz = (e) => Z(e) || typeof e == "string", sxe = 0, gz = (e) => {
- var t = ++sxe;
+var lz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, uz = (e) => typeof e == "number" && e != +e, dz = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !uz(e), fz = (e) => Z(e) || typeof e == "string", bxe = 0, pz = (e) => {
+ var t = ++bxe;
return `${e || ""}${t}`;
-}, _z = function(e, t) {
+}, mz = 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 (!Z(e) && typeof e != "string") return n;
var i;
- if (mz(e)) {
+ if (dz(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return pz(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, vz = (e) => {
+ return uz(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, hz = (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 yz(e, t, n) {
- return Z(e) && Z(t) ? uz(e + n * (t - e)) : t;
+function gz(e, t, n) {
+ return Z(e) && Z(t) ? sz(e + n * (t - e)) : t;
}
-function bz(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : lz(e, t)) === n);
+function _z(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : oz(e, t)) === n);
}
-var xz = (e) => e == null, Sz = (e) => xz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function Cz(e) {
+var vz = (e) => e == null, yz = (e) => vz(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function bz(e) {
return e != null;
}
-function wz() {}
+function xz() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var cxe = [
+var xxe = [
"type",
"size",
"sizeType"
];
-function Tz() {
- return Tz = Object.assign ? Object.assign.bind() : function(e) {
+function Sz() {
+ return Sz = 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;
- }, Tz.apply(null, arguments);
+ }, Sz.apply(null, arguments);
}
-function Ez(e, t) {
+function Cz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52211,30 +52430,30 @@ function Ez(e, t) {
}
return n;
}
-function Dz(e) {
+function wz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Ez(Object(n), !0).forEach(function(t) {
- lxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ez(Object(n)).forEach(function(t) {
+ t % 2 ? Cz(Object(n), !0).forEach(function(t) {
+ Sxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Cz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lxe(e, t, n) {
- return (t = uxe(t)) in e ? Object.defineProperty(e, t, {
+function Sxe(e, t, n) {
+ return (t = Cxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uxe(e) {
- var t = dxe(e, "string");
+function Cxe(e) {
+ var t = wxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dxe(e, t) {
+function wxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52244,16 +52463,16 @@ function dxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fxe(e, t) {
+function Txe(e, t) {
if (e == null) return {};
- var n, r, i = pxe(e, t);
+ var n, r, i = Exe(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 pxe(e, t) {
+function Exe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52262,68 +52481,68 @@ function pxe(e, t) {
}
return n;
}
-var Oz = {
- symbolCircle: MR,
- symbolCross: kbe,
- symbolDiamond: jbe,
- symbolSquare: Mbe,
- symbolStar: Ibe,
- symbolTriangle: Lbe,
- symbolWye: zbe
-}, mxe = Math.PI / 180, hxe = (e) => Oz[`symbol${Sz(e)}`] || MR, gxe = (e, t, n) => {
+var Tz = {
+ symbolCircle: kR,
+ symbolCross: Hbe,
+ symbolDiamond: Wbe,
+ symbolSquare: Gbe,
+ symbolStar: Ybe,
+ symbolTriangle: Xbe,
+ symbolWye: Qbe
+}, Dxe = Math.PI / 180, Oxe = (e) => Tz[`symbol${yz(e)}`] || kR, kxe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * mxe;
+ var r = 18 * Dxe;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, _xe = (e, t) => {
- Oz[`symbol${Sz(e)}`] = t;
-}, kz = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = Dz(Dz({}, fxe(e, cxe)), {}, {
+}, Axe = (e, t) => {
+ Tz[`symbol${yz(e)}`] = t;
+}, Ez = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = wz(wz({}, Txe(e, xxe)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = hxe(a), t = Bbe().type(e).size(gxe(n, r, a))();
+ var e = Oxe(a), t = $be().type(e).size(kxe(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = oR(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", Tz({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = rR(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ B.createElement("path", Sz({}, u, {
className: Jr("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-kz.registerSymbol = _xe;
+Ez.registerSymbol = Axe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var Az = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, jz = (e, t) => {
+var Dz = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, Oz = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, B.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- tR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ QL(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, vxe = (e, t, n) => (r) => (e(t, n, r), null), Mz = (e, t, n) => {
+}, jxe = (e, t, n) => (r) => (e(t, n, r), null), kz = (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];
- tR(i) && typeof a == "function" && (r ||= {}, r[i] = vxe(a, t, n));
+ QL(i) && typeof a == "function" && (r ||= {}, r[i] = jxe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function Nz(e, t) {
+function Az(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52333,30 +52552,30 @@ function Nz(e, t) {
}
return n;
}
-function yxe(e) {
+function Mxe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Nz(Object(n), !0).forEach(function(t) {
- bxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Nz(Object(n)).forEach(function(t) {
+ t % 2 ? Az(Object(n), !0).forEach(function(t) {
+ Nxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Az(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bxe(e, t, n) {
- return (t = xxe(t)) in e ? Object.defineProperty(e, t, {
+function Nxe(e, t, n) {
+ return (t = Pxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xxe(e) {
- var t = Sxe(e, "string");
+function Pxe(e) {
+ var t = Fxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sxe(e, t) {
+function Fxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52366,22 +52585,22 @@ function Sxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Pz(e, t) {
- var n = yxe({}, e), r = t;
+function jz(e, t) {
+ var n = Mxe({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function Fz() {
- return Fz = Object.assign ? Object.assign.bind() : function(e) {
+function Mz() {
+ return Mz = 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;
- }, Fz.apply(null, arguments);
+ }, Mz.apply(null, arguments);
}
-function Iz(e, t) {
+function Nz(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52391,30 +52610,30 @@ function Iz(e, t) {
}
return n;
}
-function Lz(e) {
+function Pz(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Iz(Object(n), !0).forEach(function(t) {
- Cxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Iz(Object(n)).forEach(function(t) {
+ t % 2 ? Nz(Object(n), !0).forEach(function(t) {
+ Ixe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Nz(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cxe(e, t, n) {
- return (t = wxe(t)) in e ? Object.defineProperty(e, t, {
+function Ixe(e, t, n) {
+ return (t = Lxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wxe(e) {
- var t = Txe(e, "string");
+function Lxe(e) {
+ var t = Rxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Txe(e, t) {
+function Rxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52424,7 +52643,7 @@ function Txe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Rz = 32, Exe = {
+var Fz = 32, zxe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -52432,20 +52651,20 @@ var Rz = 32, Exe = {
verticalAlign: "middle",
labelStyle: {}
};
-function Dxe(e) {
+function Bxe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Oxe(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = Rz / 2, a = Rz / 6, o = Rz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function Vxe(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = Fz / 2, a = Fz / 6, o = Fz / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ B.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Dxe(t.payload),
+ strokeDasharray: Bxe(t.payload),
x1: 0,
y1: i,
- x2: Rz,
+ x2: Fz,
y2: i,
className: "recharts-legend-icon"
});
@@ -52455,35 +52674,35 @@ function Oxe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${Rz}M${2 * o},${i}
+ H${Fz}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ B.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${Rz / 8}h${Rz}v${Rz * 3 / 4}h${-Rz}z`,
+ d: `M0,${Fz / 8}h${Fz}v${Fz * 3 / 4}h${-Fz}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ B.isValidElement(t.legendIcon)) {
- var l = Lz({}, t);
+ var l = Pz({}, t);
return delete l.legendIcon, /*#__PURE__*/ B.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ B.createElement(kz, {
+ return /*#__PURE__*/ B.createElement(Ez, {
fill: s,
cx: i,
cy: i,
- size: Rz,
+ size: Fz,
sizeType: "diameter",
type: c
});
}
-function kxe(e) {
+function Hxe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: Rz,
- height: Rz
+ width: Fz,
+ height: Fz
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -52499,20 +52718,20 @@ function kxe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? Lz({}, s) : {};
+ var p = typeof s == "object" ? Pz({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ B.createElement("li", Fz({
+ return /*#__PURE__*/ B.createElement("li", Mz({
className: f,
style: l,
key: `legend-item-${r}`
- }, Mz(e, t, r)), /*#__PURE__*/ B.createElement(cR, {
+ }, kz(e, t, r)), /*#__PURE__*/ B.createElement(aR, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ B.createElement(Oxe, {
+ }, /*#__PURE__*/ B.createElement(Vxe, {
data: t,
iconType: o,
inactiveColor: a
@@ -52522,8 +52741,8 @@ function kxe(e) {
}, m));
});
}
-var Axe = (e) => {
- var t = Pz(e, Exe), { payload: n, layout: r, align: i } = t;
+var Uxe = (e) => {
+ var t = jz(e, zxe), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -52533,11 +52752,11 @@ var Axe = (e) => {
return /*#__PURE__*/ B.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ B.createElement(kxe, Fz({}, t, { payload: n })));
+ }, /*#__PURE__*/ B.createElement(Hxe, Mz({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function jxe(e, t) {
+function Wxe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -52547,77 +52766,77 @@ function jxe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Mxe(e, t) {
+function Gxe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function zz(e) {
+function Iz(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function Nxe(e) {
+function Kxe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function Bz(e) {
- return e != null && typeof e != "function" && Nxe(e.length);
+function Lz(e) {
+ return e != null && typeof e != "function" && Kxe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Pxe(e) {
+function qxe(e) {
return function(t) {
- return lz(t, e);
+ return oz(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function Vz(e) {
+function Rz(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Fxe(e) {
+function Jxe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Ixe(e) {
+function Yxe(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function Hz(e) {
+function zz(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var Lxe = "[object RegExp]", Uz = "[object String]", Wz = "[object Number]", Gz = "[object Boolean]", Kz = "[object Arguments]", Rxe = "[object Symbol]", zxe = "[object Date]", Bxe = "[object Map]", Vxe = "[object Set]", Hxe = "[object Array]", Uxe = "[object ArrayBuffer]", Wxe = "[object Object]", Gxe = "[object DataView]", Kxe = "[object Uint8Array]", qxe = "[object Uint8ClampedArray]", Jxe = "[object Uint16Array]", Yxe = "[object Uint32Array]", Xxe = "[object Int8Array]", Zxe = "[object Int16Array]", Qxe = "[object Int32Array]", $xe = "[object Float32Array]", eSe = "[object Float64Array]", qz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Xxe = "[object RegExp]", Bz = "[object String]", Vz = "[object Number]", Hz = "[object Boolean]", Uz = "[object Arguments]", Zxe = "[object Symbol]", Qxe = "[object Date]", $xe = "[object Map]", eSe = "[object Set]", tSe = "[object Array]", nSe = "[object ArrayBuffer]", rSe = "[object Object]", iSe = "[object DataView]", aSe = "[object Uint8Array]", oSe = "[object Uint8ClampedArray]", sSe = "[object Uint16Array]", cSe = "[object Uint32Array]", lSe = "[object Int8Array]", uSe = "[object Int16Array]", dSe = "[object Int32Array]", Wz = "[object Float32Array]", Gz = "[object Float64Array]", Kz = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function tSe(e) {
- return qz.Buffer !== void 0 && qz.Buffer.isBuffer(e);
+function qz(e) {
+ return Kz.Buffer !== void 0 && Kz.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function nSe(e, t) {
- return Jz(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function Jz(e, t) {
+ return Yz(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function Jz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function Yz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (Vz(e)) return e;
+ if (Rz(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Jz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Yz(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -52628,132 +52847,132 @@ function Jz(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, Jz(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, Yz(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(Jz(a, void 0, n, r, i));
+ for (let a of e) t.add(Yz(a, void 0, n, r, i));
return t;
}
- if (tSe(e)) return e.subarray();
- if (Fxe(e)) {
+ if (qz(e)) return e.subarray();
+ if (Jxe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = Jz(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = Yz(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Yz(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, Xz(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
- if (typeof e == "object" && Xz(e)) {
+ if (typeof e == "object" && Zz(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), Yz(t, e, n, r, i), t;
+ return r.set(e, t), Xz(t, e, n, r, i), t;
}
return e;
}
-function Yz(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Ixe(t)];
+function Xz(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Yxe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = Jz(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = Yz(t[s], s, n, r, i));
}
}
-function Xz(e) {
- switch (Hz(e)) {
- case Kz:
- case Hxe:
- case Uxe:
- case Gxe:
+function Zz(e) {
+ switch (zz(e)) {
+ case Uz:
+ case tSe:
+ case nSe:
+ case iSe:
+ case Hz:
+ case Qxe:
+ case Wz:
case Gz:
- case zxe:
+ case lSe:
+ case uSe:
+ case dSe:
case $xe:
- case eSe:
+ case Vz:
+ case rSe:
case Xxe:
+ case eSe:
+ case Bz:
case Zxe:
- case Qxe:
- case Bxe:
- case Wz:
- case Wxe:
- case Lxe:
- case Vxe:
- case Uz:
- case Rxe:
- case Kxe:
- case qxe:
- case Jxe:
- case Yxe: return !0;
+ case aSe:
+ case oSe:
+ case sSe:
+ case cSe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function Zz(e) {
- return Jz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function Qz(e) {
+ return Yz(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function Qz(e, t) {
+function $z(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function $z(e) {
+function eB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function eB(e, t, n) {
- return typeof n == "function" ? tB(e, t, function e(t, r, i, a, o, s) {
+function tB(e, t, n) {
+ return typeof n == "function" ? nB(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? tB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : eB(e, t, () => void 0);
+ return c === void 0 ? nB(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : tB(e, t, () => void 0);
}
-function tB(e, t, n, r, i = !1) {
+function nB(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return nB(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? tB(e, { ...t }, n, r, i) : Qz(e, t);
- default: return $z(e) && i ? typeof t != "string" || t === "" : Qz(e, t);
+ case "object": return rB(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? nB(e, { ...t }, n, r, i) : $z(e, t);
+ default: return eB(e) && i ? typeof t != "string" || t === "" : $z(e, t);
}
}
-function nB(e, t, n, r, i = !1) {
+function rB(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return iB(e, t, n, r);
- if (t instanceof Map) return rB(e, t, n, r);
- if (t instanceof Set) return aB(e, t, n, r);
+ if (Array.isArray(t)) return aB(e, t, n, r);
+ if (t instanceof Map) return iB(e, t, n, r);
+ if (t instanceof Set) return oB(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) Vz(e) && (e = Object(e));
+ if (i) Rz(e) && (e = Object(e));
else {
- let t = Hz(e);
+ let t = zz(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -52769,13 +52988,13 @@ function nB(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function rB(e, t, n, r) {
+function iB(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function iB(e, t, n, r) {
+function aB(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -52793,40 +53012,40 @@ function iB(e, t, n, r) {
}
return !0;
}
-function aB(e, t, n, r) {
- return t.size === 0 || e instanceof Set && iB([...e], [...t], n, r);
+function oB(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && aB([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function oB(e, t) {
- return eB(e, t, () => void 0);
+function sB(e, t) {
+ return tB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function sB(e) {
- return e = Zz(e), (t) => oB(t, e);
+function cB(e) {
+ return e = Qz(e), (t) => sB(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function cB(e, t) {
- return nSe(e, (n, r, i, a) => {
+function lB(e, t) {
+ return Jz(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (Hz(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (zz(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), Yz(t, e, i, a), t;
+ return a.set(e, t), Xz(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case Wz:
- case Uz:
- case Gz: {
+ case Vz:
+ case Bz:
+ case Hz: {
let t = new e.constructor(e?.valueOf());
- return Yz(t, e), t;
+ return Xz(t, e), t;
}
- case Kz: {
+ case Uz: {
let t = {};
- return Yz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return Xz(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -52835,79 +53054,79 @@ function cB(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function lB(e) {
- return cB(e);
+function uB(e) {
+ return lB(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var uB = /^(?:0|[1-9]\d*)$/;
-function dB(e, t = 2 ** 53 - 1) {
+var dB = /^(?:0|[1-9]\d*)$/;
+function fB(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return uB.test(e);
+ case "string": return dB.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function fB(e) {
- return typeof e == "object" && !!e && Hz(e) === "[object Arguments]";
+function pB(e) {
+ return typeof e == "object" && !!e && zz(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function pB(e, t) {
+function mB(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && iz(t) && !(t in Object(e)) ? cz(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && tz(t) && !(t in Object(e)) ? az(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = az(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || fB(r)) && dB(t) && Number(t) < r.length)) return !1;
+ let t = nz(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || pB(r)) && fB(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function mB(e, t) {
+function hB(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = az(e);
+ case "number": e = nz(e);
}
- return t = lB(t), function(n) {
- let r = lz(n, e);
- return r === void 0 ? pB(n, e) : t === void 0 ? r === void 0 : oB(r, t);
+ return t = uB(t), function(n) {
+ let r = oz(n, e);
+ return r === void 0 ? mB(n, e) : t === void 0 ? r === void 0 : sB(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function hB(e) {
- if (e == null) return zz;
+function gB(e) {
+ if (e == null) return Iz;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? mB(e[0], e[1]) : sB(e);
- default: return Pxe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? hB(e[0], e[1]) : cB(e);
+ default: return qxe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function gB(e) {
+function _B(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function _B(e, t = zz) {
- return Bz(e) ? jxe(Array.from(e), Mxe(hB(t), 1)).map(gB) : [];
+function vB(e, t = Iz) {
+ return Lz(e) ? Wxe(Array.from(e), Gxe(gB(t), 1)).map(_B) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function vB(e, t, n) {
- return t === !0 ? _B(e, n) : typeof t == "function" ? _B(e, t) : e;
+function yB(e, t, n) {
+ return t === !0 ? vB(e, n) : typeof t == "function" ? vB(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var yB = /* @__PURE__ */ mt(((e) => {
+var bB = /* @__PURE__ */ mt(((e) => {
var t = St(), n = us();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -52952,60 +53171,60 @@ var yB = /* @__PURE__ */ mt(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), bB = /* @__PURE__ */ mt(((e, t) => {
- t.exports = yB();
-})), xB = /*#__PURE__*/ (0, B.createContext)(null), SB = bB(), CB = (e) => e, wB = () => {
- var e = (0, B.useContext)(xB);
- return e ? e.store.dispatch : CB;
-}, TB = () => {}, EB = () => TB, DB = (e, t) => e === t;
+})), xB = /* @__PURE__ */ mt(((e, t) => {
+ t.exports = bB();
+})), SB = /*#__PURE__*/ (0, B.createContext)(null), CB = xB(), wB = (e) => e, TB = () => {
+ var e = (0, B.useContext)(SB);
+ return e ? e.store.dispatch : wB;
+}, EB = () => {}, DB = () => EB, OB = (e, t) => e === t;
function Q(e) {
- var t = (0, B.useContext)(xB), n = (0, B.useMemo)(() => t ? (t) => {
+ var t = (0, B.useContext)(SB), n = (0, B.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : TB, [t, e]);
- return (0, SB.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : EB, t ? t.store.getState : TB, t ? t.store.getState : TB, n, DB);
+ } : EB, [t, e]);
+ return (0, CB.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : DB, t ? t.store.getState : EB, t ? t.store.getState : EB, n, OB);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function OB(e, t = `expected a function, instead received ${typeof e}`) {
+function kB(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function kB(e, t = `expected an object, instead received ${typeof e}`) {
+function AB(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function AB(e, t = "expected all items to be functions, instead received the following types: ") {
+function jB(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var jB = (e) => Array.isArray(e) ? e : [e];
-function MB(e) {
+var MB = (e) => Array.isArray(e) ? e : [e];
+function NB(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return AB(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return jB(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function NB(e, t) {
+function PB(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var PB = class {
+var FB = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, FB = typeof WeakRef < "u" ? WeakRef : PB, IB = 0, LB = 1;
-function RB() {
+}, IB = typeof WeakRef < "u" ? WeakRef : FB, LB = 0, RB = 1;
+function zB() {
return {
- s: IB,
+ s: LB,
v: void 0,
o: null,
p: null
};
}
-function zB(e, t = {}) {
- let n = RB(), { resultEqualityCheck: r } = t, i, a = 0;
+function BB(e, t = {}) {
+ let n = zB(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -53014,43 +53233,43 @@ function zB(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = RB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zB(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = RB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = zB(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === LB) c = t.v;
+ if (t.s === RB) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new FB(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new IB(c) : c;
}
- return s.s = LB, s.v = c, c;
+ return s.s = RB, s.v = c, c;
}
return o.clearCache = () => {
- n = RB(), o.resetResultsCount();
+ n = zB(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function BB(e, ...t) {
+function VB(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), OB(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = zB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), kB(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = BB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = jB(c), p = jB(u), m = MB(e), h = s(function() {
+ }, f = MB(c), p = MB(u), m = NB(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = NB(m, arguments);
+ let e = PB(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -53072,14 +53291,14 @@ function BB(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ BB(zB), VB = Object.assign((e, t = $) => {
- kB(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ VB(BB), HB = Object.assign((e, t = $) => {
+ AB(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => VB });
+}, { withTypes: () => HB });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function HB(e, t = 1) {
+function UB(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -53090,17 +53309,17 @@ function HB(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function UB(e, t, n) {
- return $z(n) && (typeof t == "number" && Bz(n) && dB(t) && t < n.length || typeof t == "string" && t in n) ? Qz(n[t], e) : !1;
+function WB(e, t, n) {
+ return eB(n) && (typeof t == "number" && Lz(n) && fB(t) && t < n.length || typeof t == "string" && t in n) ? $z(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function WB(e) {
+function GB(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var GB = (e, t, n) => {
+var KB = (e, t, n) => {
if (e !== t) {
- let r = WB(e), i = WB(t);
+ let r = GB(e), i = GB(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -53108,15 +53327,15 @@ var GB = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, KB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qB = /^\w*$/;
-function JB(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || oz(e) ? !0 : typeof e == "string" && (qB.test(e) || !KB.test(e)) || t != null && Object.hasOwn(t, e);
+}, qB = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, JB = /^\w*$/;
+function YB(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || rz(e) ? !0 : typeof e == "string" && (JB.test(e) || !qB.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function YB(e, t, n, r) {
+function XB(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = Bz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = Lz(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -53124,16 +53343,16 @@ function YB(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
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) || JB(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || YB(e) ? e : {
key: e,
- path: cz(e)
+ path: az(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = GB(e.criteria[r], t.criteria[r], n[r]);
+ let i = KB(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -53141,25 +53360,25 @@ function YB(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function XB(e, ...t) {
+function ZB(e, ...t) {
let n = t.length;
- return n > 1 && UB(e, t[0], t[1]) ? t = [] : n > 2 && UB(t[0], t[1], t[2]) && (t = [t[0]]), YB(e, HB(t), ["asc"]);
+ return n > 1 && WB(e, t[0], t[1]) ? t = [] : n > 2 && WB(t[0], t[1], t[2]) && (t = [t[0]]), XB(e, UB(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var ZB = (e) => e.legend.settings, QB = (e) => e.legend.size, $B = $([(e) => e.legend.payload, ZB], (e, t) => {
+var QB = (e) => e.legend.settings, $B = (e) => e.legend.size, eV = $([(e) => e.legend.payload, QB], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? XB(r, n) : r;
+ return n ? ZB(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function eV() {
- return Q($B);
+function tV() {
+ return Q(eV);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var tV = 1;
-function nV() {
+var nV = 1;
+function rV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, B.useState)({
height: 0,
left: 0,
@@ -53174,7 +53393,7 @@ function nV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > tV || Math.abs(i.left - t.left) > tV || Math.abs(i.top - t.top) > tV || Math.abs(i.width - t.width) > tV) && n({
+ (Math.abs(i.height - t.height) > nV || Math.abs(i.left - t.left) > nV || Math.abs(i.top - t.top) > nV || Math.abs(i.width - t.width) > nV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -53191,26 +53410,26 @@ function nV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function rV(e) {
+function iV(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var iV = typeof Symbol == "function" && Symbol.observable || "@@observable", aV = () => Math.random().toString(36).substring(7).split("").join("."), oV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ aV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ aV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${aV()}`
+var aV = typeof Symbol == "function" && Symbol.observable || "@@observable", oV = () => Math.random().toString(36).substring(7).split("").join("."), sV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ oV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ oV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${oV()}`
};
-function sV(e) {
+function cV(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function cV(e, t, n) {
- if (typeof e != "function") throw Error(rV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(rV(0));
+function lV(e, t, n) {
+ if (typeof e != "function") throw Error(iV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(iV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(rV(1));
- return n(cV)(e, t);
+ if (typeof n != "function") throw Error(iV(1));
+ return n(lV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -53219,27 +53438,27 @@ function cV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(rV(3));
+ if (c) throw Error(iV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(rV(4));
- if (c) throw Error(rV(5));
+ if (typeof e != "function") throw Error(iV(4));
+ if (c) throw Error(iV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(rV(6));
+ if (c) throw Error(iV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!sV(e)) throw Error(rV(7));
- if (e.type === void 0) throw Error(rV(8));
- if (typeof e.type != "string") throw Error(rV(17));
- if (c) throw Error(rV(9));
+ if (!cV(e)) throw Error(iV(7));
+ if (e.type === void 0) throw Error(iV(8));
+ if (typeof e.type != "string") throw Error(iV(17));
+ if (c) throw Error(iV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -53250,41 +53469,41 @@ function cV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(rV(10));
- r = e, f({ type: oV.REPLACE });
+ if (typeof e != "function") throw Error(iV(10));
+ r = e, f({ type: sV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(rV(11));
+ if (typeof t != "object" || !t) throw Error(iV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [iV]() {
+ [aV]() {
return this;
}
};
}
- return f({ type: oV.INIT }), {
+ return f({ type: sV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [iV]: m
+ [aV]: m
};
}
-function lV(e) {
+function uV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: oV.INIT }) === void 0) throw Error(rV(12));
- if (n(void 0, { type: oV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(rV(13));
+ if (n(void 0, { type: sV.INIT }) === void 0) throw Error(iV(12));
+ if (n(void 0, { type: sV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(iV(13));
});
}
-function uV(e) {
+function dV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -53292,7 +53511,7 @@ function uV(e) {
}
let r = Object.keys(n), i;
try {
- lV(n);
+ uV(n);
} catch (e) {
i = e;
}
@@ -53301,124 +53520,124 @@ function uV(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(rV(14));
+ if (u === void 0) throw t && t.type, Error(iV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function dV(...e) {
+function fV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function fV(...e) {
+function pV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(rV(15));
+ throw Error(iV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = dV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = fV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function pV(e) {
- return sV(e) && "type" in e && typeof e.type == "string";
+function mV(e) {
+ return cV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var mV = Symbol.for("immer-nothing"), hV = Symbol.for("immer-draftable"), gV = Symbol.for("immer-state");
-function _V(e, ...t) {
+var hV = Symbol.for("immer-nothing"), gV = Symbol.for("immer-draftable"), _V = Symbol.for("immer-state");
+function vV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var vV = Object, yV = vV.getPrototypeOf, bV = "constructor", xV = "prototype", SV = "configurable", CV = "enumerable", wV = "writable", TV = "value", EV = (e) => !!e && !!e[gV];
-function DV(e) {
- return e ? AV(e) || LV(e) || !!e[hV] || !!e[bV]?.[hV] || RV(e) || zV(e) : !1;
+var yV = Object, bV = yV.getPrototypeOf, xV = "constructor", SV = "prototype", CV = "configurable", wV = "enumerable", TV = "writable", EV = "value", DV = (e) => !!e && !!e[_V];
+function OV(e) {
+ return e ? jV(e) || RV(e) || !!e[gV] || !!e[xV]?.[gV] || zV(e) || BV(e) : !1;
}
-var OV = vV[xV][bV].toString(), kV = /* @__PURE__ */ new WeakMap();
-function AV(e) {
- if (!e || !BV(e)) return !1;
- let t = yV(e);
- if (t === null || t === vV[xV]) return !0;
- let n = vV.hasOwnProperty.call(t, bV) && t[bV];
+var kV = yV[SV][xV].toString(), AV = /* @__PURE__ */ new WeakMap();
+function jV(e) {
+ if (!e || !VV(e)) return !1;
+ let t = bV(e);
+ if (t === null || t === yV[SV]) return !0;
+ let n = yV.hasOwnProperty.call(t, xV) && t[xV];
if (n === Object) return !0;
- if (!VV(n)) return !1;
- let r = kV.get(n);
- return r === void 0 && (r = Function.toString.call(n), kV.set(n, r)), r === OV;
+ if (!HV(n)) return !1;
+ let r = AV.get(n);
+ return r === void 0 && (r = Function.toString.call(n), AV.set(n, r)), r === kV;
}
-function jV(e, t, n = !0) {
- MV(e) === 0 ? (n ? Reflect.ownKeys(e) : vV.keys(e)).forEach((n) => {
+function MV(e, t, n = !0) {
+ NV(e) === 0 ? (n ? Reflect.ownKeys(e) : yV.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function MV(e) {
- let t = e[gV];
- return t ? t.type_ : LV(e) ? 1 : RV(e) ? 2 : zV(e) ? 3 : 0;
+function NV(e) {
+ let t = e[_V];
+ return t ? t.type_ : RV(e) ? 1 : zV(e) ? 2 : BV(e) ? 3 : 0;
}
-var NV = (e, t, n = MV(e)) => n === 2 ? e.has(t) : vV[xV].hasOwnProperty.call(e, t), PV = (e, t, n = MV(e)) => n === 2 ? e.get(t) : e[t], FV = (e, t, n, r = MV(e)) => {
+var PV = (e, t, n = NV(e)) => n === 2 ? e.has(t) : yV[SV].hasOwnProperty.call(e, t), FV = (e, t, n = NV(e)) => n === 2 ? e.get(t) : e[t], IV = (e, t, n, r = NV(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function IV(e, t) {
+function LV(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var LV = Array.isArray, RV = (e) => e instanceof Map, zV = (e) => e instanceof Set, BV = (e) => typeof e == "object", VV = (e) => typeof e == "function", HV = (e) => typeof e == "boolean";
-function UV(e) {
+var RV = Array.isArray, zV = (e) => e instanceof Map, BV = (e) => e instanceof Set, VV = (e) => typeof e == "object", HV = (e) => typeof e == "function", UV = (e) => typeof e == "boolean";
+function fSe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
var WV = (e) => e.copy_ || e.base_, GV = (e) => e.modified_ ? e.copy_ : e.base_;
function KV(e, t) {
- if (RV(e)) return new Map(e);
- if (zV(e)) return new Set(e);
- if (LV(e)) return Array[xV].slice.call(e);
- let n = AV(e);
+ if (zV(e)) return new Map(e);
+ if (BV(e)) return new Set(e);
+ if (RV(e)) return Array[SV].slice.call(e);
+ let n = jV(e);
if (t === !0 || t === "class_only" && !n) {
- let t = vV.getOwnPropertyDescriptors(e);
- delete t[gV];
+ let t = yV.getOwnPropertyDescriptors(e);
+ delete t[_V];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[wV] === !1 && (a[wV] = !0, a[SV] = !0), (a.get || a.set) && (t[i] = {
- [SV]: !0,
- [wV]: !0,
- [CV]: a[CV],
- [TV]: e[i]
+ a[TV] === !1 && (a[TV] = !0, a[CV] = !0), (a.get || a.set) && (t[i] = {
+ [CV]: !0,
+ [TV]: !0,
+ [wV]: a[wV],
+ [EV]: e[i]
});
}
- return vV.create(yV(e), t);
+ return yV.create(bV(e), t);
}
{
- let t = yV(e);
+ let t = bV(e);
if (t !== null && n) return { ...e };
- let r = vV.create(t);
- return vV.assign(r, e);
+ let r = yV.create(t);
+ return yV.assign(r, e);
}
}
function qV(e, t = !1) {
- return XV(e) || EV(e) || !DV(e) ? e : (MV(e) > 1 && vV.defineProperties(e, {
- set: YV,
- add: YV,
- clear: YV,
- delete: YV
- }), vV.freeze(e), t && jV(e, (e, t) => {
+ return YV(e) || DV(e) || !OV(e) ? e : (NV(e) > 1 && yV.defineProperties(e, {
+ set: JV,
+ add: JV,
+ clear: JV,
+ delete: JV
+ }), yV.freeze(e), t && MV(e, (e, t) => {
qV(t, !0);
}, !1), e);
}
-function JV() {
- _V(2);
+function pSe() {
+ vV(2);
}
-var YV = { [TV]: JV };
-function XV(e) {
- return e === null || !BV(e) || vV.isFrozen(e);
+var JV = { [EV]: pSe };
+function YV(e) {
+ return e === null || !VV(e) || yV.isFrozen(e);
}
-var ZV = "MapSet", QV = "Patches", $V = "ArrayMethods", eH = {};
-function tH(e) {
- let t = eH[e];
- return t || _V(0, e), t;
+var XV = "MapSet", ZV = "Patches", QV = "ArrayMethods", $V = {};
+function eH(e) {
+ let t = $V[e];
+ return t || vV(0, e), t;
}
-var nH = (e) => !!eH[e], rH, iH = () => rH, rSe = (e, t) => ({
+var tH = (e) => !!$V[e], nH, rH = () => nH, mSe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -53426,114 +53645,114 @@ var nH = (e) => !!eH[e], rH, iH = () => rH, rSe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: nH(ZV) ? tH(ZV) : void 0,
- arrayMethodsPlugin_: nH($V) ? tH($V) : void 0
+ mapSetPlugin_: tH(XV) ? eH(XV) : void 0,
+ arrayMethodsPlugin_: tH(QV) ? eH(QV) : void 0
});
-function aH(e, t) {
- t && (e.patchPlugin_ = tH(QV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function iH(e, t) {
+ t && (e.patchPlugin_ = eH(ZV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function oH(e) {
- sH(e), e.drafts_.forEach(iSe), e.drafts_ = null;
+function aH(e) {
+ oH(e), e.drafts_.forEach(hSe), e.drafts_ = null;
}
-function sH(e) {
- e === rH && (rH = e.parent_);
+function oH(e) {
+ e === nH && (nH = e.parent_);
}
-var cH = (e) => rH = rSe(rH, e);
-function iSe(e) {
- let t = e[gV];
+var sH = (e) => nH = mSe(nH, e);
+function hSe(e) {
+ let t = e[_V];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function lH(e, t) {
+function cH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[gV].modified_ && (oH(t), _V(4)), DV(e) && (e = uH(t, e));
+ n[_V].modified_ && (aH(t), vV(4)), OV(e) && (e = lH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[gV].base_, e, t);
- } else e = uH(t, n);
- return aSe(t, e, !0), oH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === mV ? void 0 : e;
-}
-function uH(e, t) {
- if (XV(t)) return t;
- let n = t[gV];
- if (!n) return hH(t, e.handledSet_, e);
- if (!fH(n, e)) return t;
+ r && r.generateReplacementPatches_(n[_V].base_, e, t);
+ } else e = lH(t, n);
+ return gSe(t, e, !0), aH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hV ? void 0 : e;
+}
+function lH(e, t) {
+ if (YV(t)) return t;
+ let n = t[_V];
+ if (!n) return mH(t, e.handledSet_, e);
+ if (!dH(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- mH(n, e);
+ pH(n, e);
}
return n.copy_;
}
-function aSe(e, t, n = !1) {
+function gSe(e, t, n = !1) {
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && qV(t, n);
}
-function dH(e) {
+function uH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var fH = (e, t) => e.scope_ === t, oSe = [];
-function pH(e, t, n, r) {
+var dH = (e, t) => e.scope_ === t, _Se = [];
+function fH(e, t, n, r) {
let i = WV(e), a = e.type_;
- if (r !== void 0 && PV(i, r, a) === t) {
- FV(i, r, n, a);
+ if (r !== void 0 && FV(i, r, a) === t) {
+ IV(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- jV(i, (e, n) => {
- if (EV(n)) {
+ MV(i, (e, n) => {
+ if (DV(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? oSe;
- for (let e of o) FV(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? _Se;
+ for (let e of o) IV(i, e, n, a);
}
-function sSe(e, t, n) {
+function vSe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !fH(i, r)) return;
+ if (!i || !dH(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
let a = GV(i);
- pH(e, i.draft_ ?? i, a, n), mH(i, r);
+ fH(e, i.draft_ ?? i, a, n), pH(i, r);
});
}
-function mH(e, t) {
+function pH(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- dH(e);
+ uH(e);
}
}
-function cSe(e, t, n) {
+function ySe(e, t, n) {
let { scope_: r } = e;
- if (EV(n)) {
- let i = n[gV];
- fH(i, r) && i.callbacks_.push(function() {
- xH(e), pH(e, n, GV(i), t);
+ if (DV(n)) {
+ let i = n[_V];
+ dH(i, r) && i.callbacks_.push(function() {
+ bH(e), fH(e, n, GV(i), t);
});
- } else DV(n) && e.callbacks_.push(function() {
+ } else OV(n) && e.callbacks_.push(function() {
let i = WV(e);
- e.type_ === 3 ? i.has(n) && hH(n, r.handledSet_, r) : PV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && hH(PV(e.copy_, t, e.type_), r.handledSet_, r);
+ e.type_ === 3 ? i.has(n) && mH(n, r.handledSet_, r) : FV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && mH(FV(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function hH(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || EV(e) || t.has(e) || !DV(e) || XV(e) ? e : (t.add(e), jV(e, (r, i) => {
- if (EV(i)) {
- let t = i[gV];
- fH(t, n) && (FV(e, r, GV(t), e.type_), dH(t));
- } else DV(i) && hH(i, t, n);
+function mH(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || DV(e) || t.has(e) || !OV(e) || YV(e) ? e : (t.add(e), MV(e, (r, i) => {
+ if (DV(i)) {
+ let t = i[_V];
+ dH(t, n) && (IV(e, r, GV(t), e.type_), uH(t));
+ } else OV(i) && mH(i, t, n);
}), e);
}
-function lSe(e, t) {
- let n = LV(e), r = {
+function bSe(e, t) {
+ let n = RV(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : iH(),
+ scope_: t ? t.scope_ : rH(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -53544,23 +53763,23 @@ function lSe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = gH;
- n && (i = [r], a = _H);
+ }, i = r, a = hH;
+ n && (i = [r], a = gH);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var gH = {
+var hH = {
get(e, t) {
- if (t === gV) return e;
+ if (t === _V) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
let i = WV(e);
- if (!NV(i, t, e.type_)) return dSe(e, i, t);
+ if (!PV(i, t, e.type_)) return SSe(e, i, t);
let a = i[t];
- if (e.finalized_ || !DV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && UV(t)) return a;
- if (a === vH(e.base_, t) || uSe(e, t, a)) {
- xH(e);
- let n = e.type_ === 1 ? +t : t, r = SH(e.scope_, a, e, n);
+ if (e.finalized_ || !OV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && fSe(t)) return a;
+ if (a === _H(e.base_, t) || xSe(e, t, a)) {
+ bH(e);
+ let n = e.type_ === 1 ? +t : t, r = xH(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
@@ -53572,80 +53791,80 @@ var gH = {
return Reflect.ownKeys(WV(e));
},
set(e, t, n) {
- let r = yH(WV(e), t);
+ let r = vH(WV(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = vH(WV(e), t), i = r?.[gV];
+ let r = _H(WV(e), t), i = r?.[_V];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (IV(n, r) && (n !== void 0 || NV(e.base_, t, e.type_))) return !0;
- xH(e), bH(e);
+ if (LV(n, r) && (n !== void 0 || PV(e.base_, t, e.type_))) return !0;
+ bH(e), yH(e);
}
- return e.copy_[t] === n && (n !== void 0 || NV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), cSe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || PV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), ySe(e, t, n), !0);
},
deleteProperty(e, t) {
- return xH(e), vH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), bH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return bH(e), _H(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), yH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
let n = WV(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [wV]: !0,
- [SV]: e.type_ !== 1 || t !== "length",
- [CV]: r[CV],
- [TV]: n[t]
+ [TV]: !0,
+ [CV]: e.type_ !== 1 || t !== "length",
+ [wV]: r[wV],
+ [EV]: n[t]
};
},
defineProperty() {
- _V(11);
+ vV(11);
},
getPrototypeOf(e) {
- return yV(e.base_);
+ return bV(e.base_);
},
setPrototypeOf() {
- _V(12);
+ vV(12);
}
-}, _H = {};
-for (let e in gH) {
- let t = gH[e];
- _H[e] = function() {
+}, gH = {};
+for (let e in hH) {
+ let t = hH[e];
+ gH[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-_H.deleteProperty = function(e, t) {
- return _H.set.call(this, e, t, void 0);
-}, _H.set = function(e, t, n) {
- return gH.set.call(this, e[0], t, n, e[0]);
+gH.deleteProperty = function(e, t) {
+ return gH.set.call(this, e, t, void 0);
+}, gH.set = function(e, t, n) {
+ return hH.set.call(this, e[0], t, n, e[0]);
};
-function vH(e, t) {
- let n = e[gV];
+function _H(e, t) {
+ let n = e[_V];
return (n ? WV(n) : e)[t];
}
-function uSe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !DV(n) || n[gV] ? !1 : e.baseRefs_.has(n);
+function xSe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OV(n) || n[_V] ? !1 : e.baseRefs_.has(n);
}
-function dSe(e, t, n) {
- let r = yH(t, n);
- return r ? TV in r ? r[TV] : r.get?.call(e.draft_) : void 0;
+function SSe(e, t, n) {
+ let r = vH(t, n);
+ return r ? EV in r ? r[EV] : r.get?.call(e.draft_) : void 0;
}
-function yH(e, t) {
+function vH(e, t) {
if (!(t in e)) return;
- let n = yV(e);
+ let n = bV(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = yV(n);
+ n = bV(n);
}
}
-function bH(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && bH(e.parent_));
+function yH(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && yH(e.parent_));
}
-function xH(e) {
+function bH(e) {
e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), KV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var fSe = class {
+var CSe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (VV(e) && !VV(t)) {
+ if (HV(e) && !HV(t)) {
let n = t;
t = e;
let r = this;
@@ -53653,30 +53872,30 @@ var fSe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- VV(t) || _V(6), n !== void 0 && !VV(n) && _V(7);
+ HV(t) || vV(6), n !== void 0 && !HV(n) && vV(7);
let r;
- if (DV(e)) {
- let i = cH(this), a = SH(i, e, void 0), o = !0;
+ if (OV(e)) {
+ let i = sH(this), a = xH(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? oH(i) : sH(i);
+ o ? aH(i) : oH(i);
}
- return aH(i, n), lH(r, i);
+ return iH(i, n), cH(r, i);
}
- if (!e || !BV(e)) {
- if (r = t(e), r === void 0 && (r = e), r === mV && (r = void 0), this.autoFreeze_ && qV(r, !0), n) {
+ if (!e || !VV(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === hV && (r = void 0), this.autoFreeze_ && qV(r, !0), n) {
let t = [], i = [];
- tH(QV).generateReplacementPatches_(e, r, {
+ eH(ZV).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- _V(1, e);
+ vV(1, e);
}, this.produceWithPatches = (e, t) => {
- if (VV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (HV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -53685,18 +53904,18 @@ var fSe = class {
n,
r
];
- }, HV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), HV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), HV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, UV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), UV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), UV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- DV(e) || _V(8), EV(e) && (e = CH(e));
- let t = cH(this), n = SH(t, e, void 0);
- return n[gV].isManual_ = !0, sH(t), n;
+ OV(e) || vV(8), DV(e) && (e = SH(e));
+ let t = sH(this), n = xH(t, e, void 0);
+ return n[_V].isManual_ = !0, oH(t), n;
}
finishDraft(e, t) {
- let n = e && e[gV];
- (!n || !n.isManual_) && _V(9);
+ let n = e && e[_V];
+ (!n || !n.isManual_) && vV(9);
let { scope_: r } = n;
- return aH(r, t), lH(void 0, r);
+ return iH(r, t), cH(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -53720,48 +53939,48 @@ var fSe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = tH(QV).applyPatches_;
- return EV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = eH(ZV).applyPatches_;
+ return DV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function SH(e, t, n, r) {
- let [i, a] = RV(t) ? tH(ZV).proxyMap_(t, n) : zV(t) ? tH(ZV).proxySet_(t, n) : lSe(t, n);
- return (n?.scope_ ?? iH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? sSe(n, a, r) : a.callbacks_.push(function(e) {
+function xH(e, t, n, r) {
+ let [i, a] = zV(t) ? eH(XV).proxyMap_(t, n) : BV(t) ? eH(XV).proxySet_(t, n) : bSe(t, n);
+ return (n?.scope_ ?? rH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? vSe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function CH(e) {
- return EV(e) || _V(10, e), wH(e);
+function SH(e) {
+ return DV(e) || vV(10, e), CH(e);
}
-function wH(e) {
- if (!DV(e) || XV(e)) return e;
- let t = e[gV], n, r = !0;
+function CH(e) {
+ if (!OV(e) || YV(e)) return e;
+ let t = e[_V], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
t.finalized_ = !0, n = KV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
} else n = KV(e, !0);
- return jV(n, (e, t) => {
- FV(n, e, wH(t));
+ return MV(n, (e, t) => {
+ IV(n, e, CH(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var TH = new fSe().produce;
+var wH = new CSe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function EH(e) {
+function TH(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var pSe = EH(), mSe = EH, hSe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? dV : dV.apply(null, arguments);
+var wSe = TH(), TSe = TH, ESe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? fV : fV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function DH(e, t) {
+function EH(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(cU(0));
+ if (!r) throw Error(sU(0));
return {
type: e,
payload: r.payload,
@@ -53774,9 +53993,9 @@ function DH(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => pV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => mV(t) && t.type === e, n;
}
-var OH = class e extends Array {
+var DH = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -53790,29 +54009,29 @@ var OH = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function kH(e) {
- return DV(e) ? TH(e, () => {}) : e;
+function OH(e) {
+ return OV(e) ? wH(e, () => {}) : e;
}
-function AH(e, t, n) {
+function kH(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function gSe(e) {
+function DSe(e) {
return typeof e == "boolean";
}
-var _Se = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new OH();
- return t && (gSe(t) ? a.push(pSe) : a.push(mSe(t.extraArgument))), a;
-}, jH = "RTK_autoBatch", MH = () => (e) => ({
+var OSe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new DH();
+ return t && (DSe(t) ? a.push(wSe) : a.push(TSe(t.extraArgument))), a;
+}, AH = "RTK_autoBatch", jH = () => (e) => ({
payload: e,
- meta: { [jH]: !0 }
-}), NH = (e) => (t) => {
+ meta: { [AH]: !0 }
+}), MH = (e) => (t) => {
setTimeout(t, e);
-}, vSe = (e, t) => (n) => {
+}, kSe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, PH = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? vSe(window.requestAnimationFrame, 100) : NH(10) : e.type === "callback" ? e.queueNotification : NH(e.timeout), l = () => {
+}, NH = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? kSe(window.requestAnimationFrame, 100) : MH(10) : e.type === "callback" ? e.queueNotification : MH(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -53824,37 +54043,37 @@ var _Se = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[jH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[AH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, ySe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new OH(e);
- return n && r.push(PH(typeof n == "object" ? n : void 0)), r;
+}, ASe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new DH(e);
+ return n && r.push(NH(typeof n == "object" ? n : void 0)), r;
};
-function bSe(e) {
- let t = _Se(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function jSe(e) {
+ let t = OSe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (sV(n)) c = uV(n);
- else throw Error(cU(1));
+ else if (cV(n)) c = dV(n);
+ else throw Error(sU(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = dV;
- i && (u = hSe({
+ let u = fV;
+ i && (u = ESe({
trace: !1,
...typeof i == "object" && i
}));
- let d = ySe(fV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return cV(c, o, p);
+ let d = ASe(pV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return lV(c, o, p);
}
-function FH(e) {
+function PH(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(cU(28));
- if (r in t) throw Error(cU(29));
+ if (!r) throw Error(sU(28));
+ if (r in t) throw Error(sU(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -53879,25 +54098,25 @@ function FH(e) {
r
];
}
-function xSe(e) {
+function MSe(e) {
return typeof e == "function";
}
-function SSe(e, t) {
- let [n, r, i] = FH(t), a;
- if (xSe(e)) a = () => kH(e());
+function NSe(e, t) {
+ let [n, r, i] = PH(t), a;
+ if (MSe(e)) a = () => OH(e());
else {
- let t = kH(e);
+ let t = OH(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (EV(e)) {
+ if (DV(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (DV(e)) return TH(e, (e) => n(e, t));
+ if (OV(e)) return wH(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -53912,20 +54131,20 @@ function SSe(e, t) {
}
return o.getInitialState = a, o;
}
-var CSe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", wSe = (e = 21) => {
+var PSe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", FSe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += CSe[Math.random() * 64 | 0];
+ for (; n--;) t += PSe[Math.random() * 64 | 0];
return t;
-}, TSe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function ESe(e, t) {
+}, ISe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function LSe(e, t) {
return `${e}/${t}`;
}
-function DSe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[TSe];
+function RSe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[ISe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(cU(11));
- let i = (typeof e.reducers == "function" ? e.reducers(kSe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(sU(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(BSe()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -53933,8 +54152,8 @@ function DSe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(cU(12));
- if (n in o.sliceCaseReducersByType) throw Error(cU(13));
+ if (!n) throw Error(sU(12));
+ if (n in o.sliceCaseReducersByType) throw Error(sU(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -53953,17 +54172,17 @@ function DSe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: ESe(n, r),
+ type: LSe(n, r),
createNotation: typeof e.reducers == "function"
};
- jSe(a) ? NSe(o, a, s, t) : ASe(o, a, s);
+ HSe(a) ? WSe(o, a, s, t) : VSe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? FH(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? PH(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return SSe(e.initialState, (e) => {
+ return NSe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -53980,12 +54199,12 @@ function DSe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = AH(d, r, m)), i;
+ return i === void 0 && n && (i = kH(d, r, m)), i;
}
function i(t = l) {
- return AH(AH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return kH(kH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = OSe(a, t, () => AH(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = zSe(a, t, () => kH(d, t, m), n);
return r;
});
}
@@ -54019,15 +54238,15 @@ function DSe({ creators: e } = {}) {
return g;
};
}
-function OSe(e, t, n, r) {
+function zSe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var IH = /* @__PURE__ */ DSe();
-function kSe() {
+var FH = /* @__PURE__ */ RSe();
+function BSe() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -54051,57 +54270,57 @@ function kSe() {
asyncThunk: e
};
}
-function ASe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function VSe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !MSe(r)) throw Error(cU(17));
+ if (n && !USe(r)) throw Error(sU(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? DH(e, o) : DH(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? EH(e, o) : EH(e));
}
-function jSe(e) {
+function HSe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function MSe(e) {
+function USe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function NSe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(cU(18));
+function WSe({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(sU(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || LH,
- pending: s || LH,
- rejected: c || LH,
- settled: l || LH
+ fulfilled: o || IH,
+ pending: s || IH,
+ rejected: c || IH,
+ settled: l || IH
});
}
-function LH() {}
-var PSe = "task", RH = "listener", zH = "completed", BH = "cancelled", FSe = `task-${BH}`, ISe = `task-${zH}`, VH = `${RH}-${BH}`, LSe = `${RH}-${zH}`, HH = class {
+function IH() {}
+var GSe = "task", LH = "listener", RH = "completed", zH = "cancelled", KSe = `task-${zH}`, qSe = `task-${RH}`, BH = `${LH}-${zH}`, JSe = `${LH}-${RH}`, VH = class {
constructor(e) {
- this.code = e, this.message = `${PSe} ${BH} (reason: ${e})`;
+ this.code = e, this.message = `${GSe} ${zH} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, UH = (e, t) => {
- if (typeof e != "function") throw TypeError(cU(32));
-}, WH = () => {}, GH = (e, t = WH) => (e.catch(t), e), KH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), qH = (e) => {
- if (e.aborted) throw new HH(e.reason);
+}, HH = (e, t) => {
+ if (typeof e != "function") throw TypeError(sU(32));
+}, UH = () => {}, WH = (e, t = UH) => (e.catch(t), e), GH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), KH = (e) => {
+ if (e.aborted) throw new VH(e.reason);
};
-function JH(e, t) {
- let n = WH;
+function qH(e, t) {
+ let n = UH;
return new Promise((r, i) => {
- let a = () => i(new HH(e.reason));
+ let a = () => i(new VH(e.reason));
if (e.aborted) {
a();
return;
}
- n = KH(e, a), t.finally(() => n()).then(r, i);
+ n = GH(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = WH;
+ n = UH;
});
}
-var RSe = async (e, t) => {
+var YSe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -54109,40 +54328,40 @@ var RSe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof HH ? "cancelled" : "rejected",
+ status: e instanceof VH ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, YH = (e) => (t) => GH(JH(e, t).then((t) => (qH(e), t))), XH = (e) => {
- let t = YH(e);
+}, JH = (e) => (t) => WH(qH(e, t).then((t) => (KH(e), t))), YH = (e) => {
+ let t = JH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: ZH } = Object, QH = {}, $H = "listenerMiddleware", zSe = (e, t) => {
- let n = (t) => KH(e, () => t.abort(e.reason));
+}, { assign: XH } = Object, ZH = {}, QH = "listenerMiddleware", XSe = (e, t) => {
+ let n = (t) => GH(e, () => t.abort(e.reason));
return (r, i) => {
- UH(r, "taskExecutor");
+ HH(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = RSe(async () => {
- qH(e), qH(a.signal);
+ let o = YSe(async () => {
+ KH(e), KH(a.signal);
let t = await r({
- pause: YH(a.signal),
- delay: XH(a.signal),
+ pause: JH(a.signal),
+ delay: YH(a.signal),
signal: a.signal
});
- return qH(a.signal), t;
- }, () => a.abort(ISe));
- return i?.autoJoin && t.push(o.catch(WH)), {
- result: YH(e)(o),
+ return KH(a.signal), t;
+ }, () => a.abort(qSe));
+ return i?.autoJoin && t.push(o.catch(UH)), {
+ result: JH(e)(o),
cancel() {
- a.abort(FSe);
+ a.abort(KSe);
}
};
};
-}, BSe = (e, t) => {
+}, ZSe = (e, t) => {
let n = async (n, r) => {
- qH(t);
+ KH(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -54160,47 +54379,47 @@ var RSe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await JH(t, Promise.race(a));
- return qH(t), e;
+ let e = await qH(t, Promise.race(a));
+ return KH(t), e;
} finally {
i();
}
};
- return ((e, t) => GH(n(e, t)));
-}, eU = (e) => {
+ return ((e, t) => WH(n(e, t)));
+}, $H = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = DH(t).match;
+ if (t) i = EH(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(cU(21));
- return UH(a, "options.listener"), {
+ else if (!i) throw Error(sU(21));
+ return HH(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, tU = /* @__PURE__ */ ZH((e) => {
- let { type: t, predicate: n, effect: r } = eU(e);
+}, eU = /* @__PURE__ */ XH((e) => {
+ let { type: t, predicate: n, effect: r } = $H(e);
return {
- id: wSe(),
+ id: FSe(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(cU(22));
+ throw Error(sU(22));
}
};
-}, { withTypes: () => tU }), nU = (e, t) => {
- let { type: n, effect: r, predicate: i } = eU(t);
+}, { withTypes: () => eU }), tU = (e, t) => {
+ let { type: n, effect: r, predicate: i } = $H(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, rU = (e) => {
+}, nU = (e) => {
e.pending.forEach((e) => {
- e.abort(VH);
+ e.abort(BH);
});
-}, VSe = (e, t) => () => {
- for (let e of t.keys()) rU(e);
+}, QSe = (e, t) => () => {
+ for (let e of t.keys()) nU(e);
e.clear();
-}, iU = (e, t, n) => {
+}, rU = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -54208,74 +54427,74 @@ var RSe = async (e, t) => {
throw e;
}, 0);
}
-}, aU = /* @__PURE__ */ ZH(/* @__PURE__ */ DH(`${$H}/add`), { withTypes: () => aU }), HSe = /* @__PURE__ */ DH(`${$H}/removeAll`), oU = /* @__PURE__ */ ZH(/* @__PURE__ */ DH(`${$H}/remove`), { withTypes: () => oU }), USe = (...e) => {
- console.error(`${$H}/error`, ...e);
-}, sU = (e = {}) => {
+}, iU = /* @__PURE__ */ XH(/* @__PURE__ */ EH(`${QH}/add`), { withTypes: () => iU }), $Se = /* @__PURE__ */ EH(`${QH}/removeAll`), aU = /* @__PURE__ */ XH(/* @__PURE__ */ EH(`${QH}/remove`), { withTypes: () => aU }), eCe = (...e) => {
+ console.error(`${QH}/error`, ...e);
+}, oU = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = USe } = e;
- UH(o, "onError");
+ }, { extra: a, onError: o = eCe } = e;
+ HH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && rU(e);
+ e.unsubscribe(), t?.cancelActive && nU(e);
}), c = ((e) => {
- let n = nU(t, e) ?? tU(e);
+ let n = tU(t, e) ?? eU(e);
return s(n);
});
- ZH(c, { withTypes: () => c });
+ XH(c, { withTypes: () => c });
let l = (e) => {
- let n = nU(t, e);
- return n && (n.unsubscribe(), e.cancelActive && rU(n)), !!n;
+ let n = tU(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && nU(n)), !!n;
};
- ZH(l, { withTypes: () => l });
+ XH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = BSe(c, u.signal), f = [];
+ let u = new AbortController(), d = ZSe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, ZH({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, XH({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: XH(u.signal),
- pause: YH(u.signal),
+ delay: YH(u.signal),
+ pause: JH(u.signal),
extra: a,
signal: u.signal,
- fork: zSe(u.signal, f),
+ fork: XSe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(VH), n.delete(e));
+ e !== u && (e.abort(BH), n.delete(e));
});
},
cancel: () => {
- u.abort(VH), e.pending.delete(u);
+ u.abort(BH), e.pending.delete(u);
},
throwIfCancelled: () => {
- qH(u.signal);
+ KH(u.signal);
}
})));
} catch (e) {
- e instanceof HH || iU(o, e, { raisedBy: "effect" });
+ e instanceof VH || rU(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(LSe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(JSe), i(e), e.pending.delete(u);
}
- }, d = VSe(t, n);
+ }, d = QSe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!pV(r)) return n(r);
- if (aU.match(r)) return c(r.payload);
- if (HSe.match(r)) {
+ if (!mV(r)) return n(r);
+ if (iU.match(r)) return c(r.payload);
+ if ($Se.match(r)) {
d();
return;
}
- if (oU.match(r)) return l(r.payload);
+ if (aU.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === QH) throw Error(cU(23));
+ if (i === ZH) throw Error(sU(23));
return i;
}, s;
try {
@@ -54286,13 +54505,13 @@ var RSe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, iU(o, e, { raisedBy: "predicate" });
+ s = !1, rU(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = QH;
+ i = ZH;
}
return s;
},
@@ -54301,12 +54520,12 @@ var RSe = async (e, t) => {
clearListeners: d
};
};
-function cU(e) {
+function sU(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var lU = IH({
+var cU = FH({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -54334,23 +54553,23 @@ var lU = IH({
e.scale = t.payload;
}
}
-}), { setMargin: WSe, setLayout: GSe, setChartSize: KSe, setScale: qSe } = lU.actions, JSe = lU.reducer;
+}), { setMargin: tCe, setLayout: nCe, setChartSize: rCe, setScale: iCe } = cU.actions, aCe = cU.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function uU(e, t, n) {
+function lU(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function dU(e) {
+function uU(e) {
return Number.isFinite(e);
}
-function fU(e) {
+function dU(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function pU(e, t) {
+function fU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54360,30 +54579,30 @@ function pU(e, t) {
}
return n;
}
-function mU(e) {
+function pU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? pU(Object(n), !0).forEach(function(t) {
- YSe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pU(Object(n)).forEach(function(t) {
+ t % 2 ? fU(Object(n), !0).forEach(function(t) {
+ oCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YSe(e, t, n) {
- return (t = XSe(t)) in e ? Object.defineProperty(e, t, {
+function oCe(e, t, n) {
+ return (t = sCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XSe(e) {
- var t = ZSe(e, "string");
+function sCe(e) {
+ var t = cCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZSe(e, t) {
+function cCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54393,63 +54612,63 @@ function ZSe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function hU(e, t, n) {
- return xz(e) || xz(t) ? n : hz(t) ? lz(e, t, n) : typeof t == "function" ? t(e) : n;
+function mU(e, t, n) {
+ return vz(e) || vz(t) ? n : fz(t) ? oz(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var QSe = (e, t, n) => {
+var lCe = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return mU(mU({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return mU(mU({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return pU(pU({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return pU(pU({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, gU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", _U = (e, t, n, r) => {
+}, hU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", gU = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, vU = (e, t, n) => {
+}, _U = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
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 ? fz(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? lz(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 dU(i) ? {
+ return uU(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(Cz) : c && l ? l.map((e, t) => {
+ }).filter(bz) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(Cz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(bz) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(Cz) : o.domain().map((e, t) => {
+ }).filter(bz) : o.domain().map((e, t) => {
var n = o.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(Cz);
-}, yU = (e, t) => {
+ }).filter(bz);
+}, vU = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(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 (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, $Se = {
+}, uCe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -54457,16 +54676,16 @@ var QSe = (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 = pz(c) ? l : c;
+ var c = s[1], l = s[0], u = uz(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: exe,
- none: tz,
- silhouette: txe,
- wiggle: nxe,
+ expand: pxe,
+ none: QR,
+ silhouette: mxe,
+ wiggle: hxe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -54474,70 +54693,70 @@ var QSe = (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 = pz(o[1]) ? o[0] : o[1];
+ var s = uz(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, eCe = (e, t, n) => {
- var r = $Se[n] ?? tz, i = $be().keys(t).value((e, t) => Number(hU(e, t, 0))).order(nz).offset(r)(e);
+}, dCe = (e, t, n) => {
+ var r = uCe[n] ?? QR, i = fxe().keys(t).value((e, t) => Number(mU(e, t, 0))).order($R).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = hU(e[i], t[r], 0);
+ var a = mU(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function bU(e) {
+function yU(e) {
return e == null ? void 0 : String(e);
}
-function xU(e) {
+function bU(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !xz(i[t.dataKey])) {
- var s = bz(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !vz(i[t.dataKey])) {
+ var s = _z(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 = hU(i, xz(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = mU(i, vz(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var SU = (e) => {
+var xU = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = hU(a, t.dataKey, t.scale.domain()[o]);
- if (xz(s)) return null;
+ var s = mU(a, t.dataKey, t.scale.domain()[o]);
+ if (vz(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, CU = (e) => {
+}, SU = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, tCe = (e) => {
+}, fCe = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, nCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], rCe = (e, t, n) => {
- if (e != null) return nCe(Object.keys(e).reduce((r, i) => {
+}, pCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], mCe = (e, t, n) => {
+ if (e != null) return pCe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = tCe(uU(r, t, n));
- return !dU(i[0]) || !dU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = fCe(lU(r, t, n));
+ return !uU(i[0]) || !uU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, wU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, TU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, EU = (e, t, n) => {
+}, CU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, wU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, TU = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = XB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = ZB(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -54545,26 +54764,26 @@ var SU = (e) => {
}
return n ? void 0 : 0;
};
-function DU(e) {
+function EU(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return mU(mU({}, t), {}, {
+ return pU(pU({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function OU(e, t) {
+function DU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var iCe = (e, t) => {
+var hCe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, aCe = (e, t) => t === "centric" ? e.angle : e.radius, kU = (e) => e.layout.width, AU = (e) => e.layout.height, oCe = (e) => e.layout.scale, jU = (e) => e.layout.margin, MU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), NU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), sCe = "data-recharts-item-index";
+}, gCe = (e, t) => t === "centric" ? e.angle : e.radius, OU = (e) => e.layout.width, kU = (e) => e.layout.height, _Ce = (e) => e.layout.scale, AU = (e) => e.layout.margin, jU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), MU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), vCe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function PU(e, t) {
+function NU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54574,30 +54793,30 @@ function PU(e, t) {
}
return n;
}
-function FU(e) {
+function PU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? PU(Object(n), !0).forEach(function(t) {
- cCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PU(Object(n)).forEach(function(t) {
+ t % 2 ? NU(Object(n), !0).forEach(function(t) {
+ yCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cCe(e, t, n) {
- return (t = lCe(t)) in e ? Object.defineProperty(e, t, {
+function yCe(e, t, n) {
+ return (t = bCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lCe(e) {
- var t = uCe(e, "string");
+function bCe(e) {
+ var t = xCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uCe(e, t) {
+function xCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54607,58 +54826,58 @@ function uCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var dCe = (e) => e.brush.height;
-function fCe(e) {
- return NU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+var SCe = (e) => e.brush.height;
+function CCe(e) {
+ return MU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function pCe(e) {
- return NU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+function wCe(e) {
+ return MU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
-function mCe(e) {
- return MU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+function TCe(e) {
+ return jU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-function hCe(e) {
- return MU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+function ECe(e) {
+ return jU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var IU = $([
+var FU = $([
+ OU,
kU,
AU,
- jU,
- dCe,
- fCe,
- pCe,
- mCe,
- hCe,
- ZB,
- QB
+ SCe,
+ CCe,
+ wCe,
+ TCe,
+ ECe,
+ QB,
+ $B
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = FU(FU({}, {
+ }, d = PU(PU({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = QSe(d, c, l);
+ d.bottom += r, d = lCe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return FU(FU({ brushBottom: f }, d), {}, {
+ return PU(PU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), gCe = $(IU, (e) => ({
+}), DCe = $(FU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), LU = $(kU, AU, (e, t) => ({
+})), IU = $(OU, kU, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), _Ce = /*#__PURE__*/ (0, B.createContext)(null), RU = () => (0, B.useContext)(_Ce) != null, zU = (e) => e.brush, BU = $([
- zU,
- IU,
- jU
+})), OCe = /*#__PURE__*/ (0, B.createContext)(null), LU = () => (0, B.useContext)(OCe) != null, RU = (e) => e.brush, zU = $([
+ RU,
+ FU,
+ AU
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -54667,7 +54886,7 @@ var IU = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function vCe(e, t, { signal: n, edges: r } = {}) {
+function kCe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -54692,11 +54911,11 @@ function vCe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function yCe(e, t = 0, n = {}) {
+function ACe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = vCe(function(...t) {
+ let s, c = null, l = kCe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -54705,9 +54924,9 @@ function yCe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function bCe(e, t = 0, n = {}) {
+function jCe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return yCe(e, t, {
+ return ACe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -54715,7 +54934,7 @@ function bCe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var VU = function(e, t) {
+var BU = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -54724,7 +54943,7 @@ var VU = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, HU = {
+}, VU = {
width: "100%",
height: "100%",
debounce: 0,
@@ -54733,45 +54952,45 @@ var VU = function(e, t) {
width: -1,
height: -1
}
-}, UU = (e, t, n) => {
- var { width: r = HU.width, height: i = HU.height, aspect: a, maxHeight: o } = n, s = mz(r) ? e : Number(r), c = mz(i) ? t : Number(i);
+}, HU = (e, t, n) => {
+ var { width: r = VU.width, height: i = VU.height, aspect: a, maxHeight: o } = n, s = dz(r) ? e : Number(r), c = dz(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, xCe = {
+}, MCe = {
width: 0,
height: 0,
overflow: "visible"
-}, SCe = {
+}, NCe = {
width: 0,
overflowX: "visible"
-}, CCe = {
+}, PCe = {
height: 0,
overflowY: "visible"
-}, wCe = {}, TCe = (e) => {
- var { width: t, height: n } = e, r = mz(t), i = mz(n);
- return r && i ? xCe : r ? SCe : i ? CCe : wCe;
+}, FCe = {}, ICe = (e) => {
+ var { width: t, height: n } = e, r = dz(t), i = dz(n);
+ return r && i ? MCe : r ? NCe : i ? PCe : FCe;
};
-function ECe(e) {
+function LCe(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = HU.width, a = HU.height) : i === void 0 ? i = r && r > 0 ? void 0 : HU.width : a === void 0 && (a = r && r > 0 ? void 0 : HU.height), {
+ return i === void 0 && a === void 0 ? (i = VU.width, a = VU.height) : i === void 0 ? i = r && r > 0 ? void 0 : VU.width : a === void 0 && (a = r && r > 0 ? void 0 : VU.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function WU() {
- return WU = Object.assign ? Object.assign.bind() : function(e) {
+function UU() {
+ return UU = 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;
- }, WU.apply(null, arguments);
+ }, UU.apply(null, arguments);
}
-function GU(e, t) {
+function WU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54781,30 +55000,30 @@ function GU(e, t) {
}
return n;
}
-function KU(e) {
+function GU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? GU(Object(n), !0).forEach(function(t) {
- DCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GU(Object(n)).forEach(function(t) {
+ t % 2 ? WU(Object(n), !0).forEach(function(t) {
+ RCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function DCe(e, t, n) {
- return (t = OCe(t)) in e ? Object.defineProperty(e, t, {
+function RCe(e, t, n) {
+ return (t = zCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function OCe(e) {
- var t = kCe(e, "string");
+function zCe(e) {
+ var t = BCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function kCe(e, t) {
+function BCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54814,19 +55033,19 @@ function kCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var qU = /*#__PURE__*/ (0, B.createContext)(HU.initialDimension);
-function ACe(e) {
- return fU(e.width) && fU(e.height);
+var KU = /*#__PURE__*/ (0, B.createContext)(VU.initialDimension);
+function VCe(e) {
+ return dU(e.width) && dU(e.height);
}
-function JU(e) {
+function qU(e) {
var { children: t, width: n, height: r } = e, i = (0, B.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return ACe(i) ? /*#__PURE__*/ B.createElement(qU.Provider, { value: i }, t) : null;
+ return VCe(i) ? /*#__PURE__*/ B.createElement(KU.Provider, { value: i }, t) : null;
}
-var YU = () => (0, B.useContext)(qU), jCe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = HU.initialDimension, width: i, height: a, minWidth: o = HU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = HU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, B.useRef)(null), g = (0, B.useRef)();
+var JU = () => (0, B.useContext)(KU), HCe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = VU.initialDimension, width: i, height: a, minWidth: o = VU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = VU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, B.useRef)(null), g = (0, B.useRef)();
g.current = p, (0, B.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, B.useState)({
containerWidth: r.width,
@@ -54841,7 +55060,7 @@ var YU = () => (0, B.useContext)(qU), jCe = /*#__PURE__*/ (0, B.forwardRef)((e,
});
}, []);
(0, B.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return wz;
+ if (h.current == null || typeof ResizeObserver > "u") return xz;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -54849,7 +55068,7 @@ var YU = () => (0, B.useContext)(qU), jCe = /*#__PURE__*/ (0, B.forwardRef)((e,
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = bCe(e, u, {
+ u > 0 && (e = jCe(e, u, {
trailing: !0,
leading: !1
}));
@@ -54859,17 +55078,17 @@ var YU = () => (0, B.useContext)(qU), jCe = /*#__PURE__*/ (0, B.forwardRef)((e,
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- VU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = UU(b, x, {
+ BU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = HU(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return VU(S != null && S > 0 || C != null && C > 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.", S, C, i, a, o, s, n), /*#__PURE__*/ B.createElement("div", {
+ return BU(S != null && S > 0 || C != null && C > 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.", S, C, i, a, o, s, n), /*#__PURE__*/ B.createElement("div", {
id: d ? `${d}` : void 0,
className: Jr("recharts-responsive-container", f),
- style: KU(KU({}, m), {}, {
+ style: GU(GU({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -54877,30 +55096,30 @@ var YU = () => (0, B.useContext)(qU), jCe = /*#__PURE__*/ (0, B.forwardRef)((e,
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ B.createElement("div", { style: TCe({
+ }, /*#__PURE__*/ B.createElement("div", { style: ICe({
width: i,
height: a
- }) }, /*#__PURE__*/ B.createElement(JU, {
+ }) }, /*#__PURE__*/ B.createElement(qU, {
width: S,
height: C
}, l)));
-}), XU = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = YU();
- if (fU(n.width) && fU(n.height)) return e.children;
- var { width: r, height: i } = ECe({
+}), YU = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = JU();
+ if (dU(n.width) && dU(n.height)) return e.children;
+ var { width: r, height: i } = LCe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = UU(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = HU(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(JU, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ B.createElement(qU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ B.createElement(jCe, WU({}, e, {
+ }, e.children) : /*#__PURE__*/ B.createElement(HCe, UU({}, e, {
width: r,
height: i,
ref: t
@@ -54908,7 +55127,7 @@ var YU = () => (0, B.useContext)(qU), jCe = /*#__PURE__*/ (0, B.forwardRef)((e,
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function ZU(e) {
+function XU(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -54918,15 +55137,15 @@ function ZU(e) {
height: e.height
};
}
-var QU = () => {
- var e = RU(), t = Q(gCe), n = Q(BU), r = Q(zU)?.padding;
+var ZU = () => {
+ var e = LU(), t = Q(DCe), n = Q(zU), r = Q(RU)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, MCe = {
+}, UCe = {
top: 0,
bottom: 0,
left: 0,
@@ -54934,16 +55153,16 @@ var QU = () => {
width: 0,
height: 0,
brushBottom: 0
-}, $U = () => Q(IU) ?? MCe, eW = () => Q(kU), tW = () => Q(AU), NCe = () => Q((e) => e.layout.margin), nW = (e) => e.layout.layoutType, rW = () => Q(nW), iW = () => {
- var e = rW();
+}, QU = () => Q(FU) ?? UCe, $U = () => Q(OU), eW = () => Q(kU), WCe = () => Q((e) => e.layout.margin), tW = (e) => e.layout.layoutType, nW = () => Q(tW), rW = () => {
+ var e = nW();
if (e === "horizontal" || e === "vertical") return e;
-}, aW = (e) => {
+}, iW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, oW = () => Q(aW), PCe = () => rW() !== void 0, sW = (e) => {
- var t = wB(), n = RU(), { width: r, height: i } = e, a = YU(), o = r, s = i;
+}, aW = () => Q(iW), GCe = () => nW() !== void 0, oW = (e) => {
+ var t = TB(), n = LU(), { width: r, height: i } = e, a = JU(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, B.useEffect)(() => {
- !n && fU(o) && fU(s) && t(KSe({
+ !n && dU(o) && dU(s) && t(rCe({
width: o,
height: s
}));
@@ -54953,64 +55172,64 @@ var QU = () => {
o,
s
]), null;
-}, cW = Symbol.for("immer-nothing"), lW = Symbol.for("immer-draftable"), uW = Symbol.for("immer-state");
-function dW(e, ...t) {
+}, sW = Symbol.for("immer-nothing"), cW = Symbol.for("immer-draftable"), lW = Symbol.for("immer-state");
+function uW(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var fW = Object.getPrototypeOf;
-function pW(e) {
- return !!e && !!e[uW];
+var dW = Object.getPrototypeOf;
+function fW(e) {
+ return !!e && !!e[lW];
}
-function mW(e) {
- return e ? gW(e) || Array.isArray(e) || !!e[lW] || !!e.constructor?.[lW] || xW(e) || SW(e) : !1;
+function pW(e) {
+ return e ? hW(e) || Array.isArray(e) || !!e[cW] || !!e.constructor?.[cW] || bW(e) || xW(e) : !1;
}
-var FCe = Object.prototype.constructor.toString(), hW = /* @__PURE__ */ new WeakMap();
-function gW(e) {
+var KCe = Object.prototype.constructor.toString(), mW = /* @__PURE__ */ new WeakMap();
+function hW(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = hW.get(n);
- return r === void 0 && (r = Function.toString.call(n), hW.set(n, r)), r === FCe;
+ let r = mW.get(n);
+ return r === void 0 && (r = Function.toString.call(n), mW.set(n, r)), r === KCe;
}
-function _W(e, t, n = !0) {
- vW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function gW(e, t, n = !0) {
+ _W(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function vW(e) {
- let t = e[uW];
- return t ? t.type_ : Array.isArray(e) ? 1 : xW(e) ? 2 : SW(e) ? 3 : 0;
+function _W(e) {
+ let t = e[lW];
+ return t ? t.type_ : Array.isArray(e) ? 1 : bW(e) ? 2 : xW(e) ? 3 : 0;
}
-function yW(e, t) {
- return vW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function vW(e, t) {
+ return _W(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function bW(e, t, n) {
- let r = vW(e);
+function yW(e, t, n) {
+ let r = _W(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function ICe(e, t) {
+function qCe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function xW(e) {
+function bW(e) {
return e instanceof Map;
}
-function SW(e) {
+function xW(e) {
return e instanceof Set;
}
-function CW(e) {
+function SW(e) {
return e.copy_ || e.base_;
}
-function wW(e, t) {
- if (xW(e)) return new Map(e);
- if (SW(e)) return new Set(e);
+function CW(e, t) {
+ if (bW(e)) return new Map(e);
+ if (xW(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = gW(e);
+ let n = hW(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[uW];
+ delete t[lW];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -55021,40 +55240,40 @@ function wW(e, t) {
value: e[i]
});
}
- return Object.create(fW(e), t);
+ return Object.create(dW(e), t);
}
{
- let t = fW(e);
+ let t = dW(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function TW(e, t = !1) {
- return DW(e) || pW(e) || !mW(e) ? e : (vW(e) > 1 && Object.defineProperties(e, {
- set: EW,
- add: EW,
- clear: EW,
- delete: EW
- }), Object.freeze(e), t && Object.values(e).forEach((e) => TW(e, !0)), e);
+function wW(e, t = !1) {
+ return EW(e) || fW(e) || !pW(e) ? e : (_W(e) > 1 && Object.defineProperties(e, {
+ set: TW,
+ add: TW,
+ clear: TW,
+ delete: TW
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => wW(e, !0)), e);
}
-function LCe() {
- dW(2);
+function JCe() {
+ uW(2);
}
-var EW = { value: LCe };
-function DW(e) {
+var TW = { value: JCe };
+function EW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var RCe = {};
-function OW(e) {
- let t = RCe[e];
- return t || dW(0, e), t;
+var YCe = {};
+function DW(e) {
+ let t = YCe[e];
+ return t || uW(0, e), t;
}
-var kW;
-function AW() {
- return kW;
+var OW;
+function kW() {
+ return OW;
}
-function zCe(e, t) {
+function XCe(e, t) {
return {
drafts_: [],
parent_: e,
@@ -55063,62 +55282,62 @@ function zCe(e, t) {
unfinalizedDrafts_: 0
};
}
-function jW(e, t) {
- t && (OW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function AW(e, t) {
+ t && (DW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+}
+function jW(e) {
+ MW(e), e.drafts_.forEach(ZCe), e.drafts_ = null;
}
function MW(e) {
- NW(e), e.drafts_.forEach(BCe), e.drafts_ = null;
+ e === OW && (OW = e.parent_);
}
function NW(e) {
- e === kW && (kW = e.parent_);
-}
-function PW(e) {
- return kW = zCe(kW, e);
+ return OW = XCe(OW, e);
}
-function BCe(e) {
- let t = e[uW];
+function ZCe(e) {
+ let t = e[lW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function FW(e, t) {
+function PW(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[uW].modified_ && (MW(t), dW(4)), mW(e) && (e = IW(t, e), t.parent_ || RW(t, e)), t.patches_ && OW("Patches").generateReplacementPatches_(n[uW].base_, e, t.patches_, t.inversePatches_)) : e = IW(t, n, []), MW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === cW ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[lW].modified_ && (jW(t), uW(4)), pW(e) && (e = FW(t, e), t.parent_ || LW(t, e)), t.patches_ && DW("Patches").generateReplacementPatches_(n[lW].base_, e, t.patches_, t.inversePatches_)) : e = FW(t, n, []), jW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === sW ? void 0 : e;
}
-function IW(e, t, n) {
- if (DW(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[uW];
- if (!i) return _W(t, (r, a) => LW(e, i, t, r, a, n), r), t;
+function FW(e, t, n) {
+ if (EW(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[lW];
+ if (!i) return gW(t, (r, a) => IW(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return RW(e, i.base_, !0), i.base_;
+ if (!i.modified_) return LW(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), _W(a, (r, a) => LW(e, i, t, r, a, n, o), r), RW(e, t, !1), n && e.patches_ && OW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), gW(a, (r, a) => IW(e, i, t, r, a, n, o), r), LW(e, t, !1), n && e.patches_ && DW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function LW(e, t, n, r, i, a, o) {
+function IW(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = DW(i);
+ let s = EW(i);
if (!(s && !o)) {
- if (pW(i)) {
- let o = IW(e, i, a && t && t.type_ !== 3 && !yW(t.assigned_, r) ? a.concat(r) : void 0);
- if (bW(n, r, o), pW(o)) e.canAutoFreeze_ = !1;
+ if (fW(i)) {
+ let o = FW(e, i, a && t && t.type_ !== 3 && !vW(t.assigned_, r) ? a.concat(r) : void 0);
+ if (yW(n, r, o), fW(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (mW(i) && !s) {
+ if (pW(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- IW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (xW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && RW(e, i);
+ FW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (bW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && LW(e, i);
}
}
}
-function RW(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && TW(t, n);
+function LW(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && wW(t, n);
}
-function VCe(e, t) {
+function QCe(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : AW(),
+ scope_: t ? t.scope_ : kW(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -55128,41 +55347,41 @@ function VCe(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = zW;
- n && (i = [r], a = BW);
+ }, i = r, a = RW;
+ n && (i = [r], a = zW);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var zW = {
+var RW = {
get(e, t) {
- if (t === uW) return e;
- let n = CW(e);
- if (!yW(n, t)) return HCe(e, n, t);
+ if (t === lW) return e;
+ let n = SW(e);
+ if (!vW(n, t)) return $Ce(e, n, t);
let r = n[t];
- return e.finalized_ || !mW(r) ? r : r === VW(e.base_, t) ? (WW(e), e.copy_[t] = GW(r, e)) : r;
+ return e.finalized_ || !pW(r) ? r : r === BW(e.base_, t) ? (UW(e), e.copy_[t] = WW(r, e)) : r;
},
has(e, t) {
- return t in CW(e);
+ return t in SW(e);
},
ownKeys(e) {
- return Reflect.ownKeys(CW(e));
+ return Reflect.ownKeys(SW(e));
},
set(e, t, n) {
- let r = HW(CW(e), t);
+ let r = VW(SW(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = VW(CW(e), t), i = r?.[uW];
+ let r = BW(SW(e), t), i = r?.[lW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (ICe(n, r) && (n !== void 0 || yW(e.base_, t))) return !0;
- WW(e), UW(e);
+ if (qCe(n, r) && (n !== void 0 || vW(e.base_, t))) return !0;
+ UW(e), HW(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return VW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, WW(e), UW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return BW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, UW(e), HW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = CW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = SW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -55171,48 +55390,48 @@ var zW = {
};
},
defineProperty() {
- dW(11);
+ uW(11);
},
getPrototypeOf(e) {
- return fW(e.base_);
+ return dW(e.base_);
},
setPrototypeOf() {
- dW(12);
+ uW(12);
}
-}, BW = {};
-_W(zW, (e, t) => {
- BW[e] = function() {
+}, zW = {};
+gW(RW, (e, t) => {
+ zW[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), BW.deleteProperty = function(e, t) {
- return BW.set.call(this, e, t, void 0);
-}, BW.set = function(e, t, n) {
- return zW.set.call(this, e[0], t, n, e[0]);
+}), zW.deleteProperty = function(e, t) {
+ return zW.set.call(this, e, t, void 0);
+}, zW.set = function(e, t, n) {
+ return RW.set.call(this, e[0], t, n, e[0]);
};
-function VW(e, t) {
- let n = e[uW];
- return (n ? CW(n) : e)[t];
+function BW(e, t) {
+ let n = e[lW];
+ return (n ? SW(n) : e)[t];
}
-function HCe(e, t, n) {
- let r = HW(t, n);
+function $Ce(e, t, n) {
+ let r = VW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function HW(e, t) {
+function VW(e, t) {
if (!(t in e)) return;
- let n = fW(e);
+ let n = dW(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = fW(n);
+ n = dW(n);
}
}
-function UW(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && UW(e.parent_));
+function HW(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && HW(e.parent_));
}
-function WW(e) {
- e.copy_ ||= wW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function UW(e) {
+ e.copy_ ||= CW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var UCe = class {
+var ewe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -55223,25 +55442,25 @@ var UCe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && dW(6), n !== void 0 && typeof n != "function" && dW(7);
+ typeof t != "function" && uW(6), n !== void 0 && typeof n != "function" && uW(7);
let r;
- if (mW(e)) {
- let i = PW(this), a = GW(e, void 0), o = !0;
+ if (pW(e)) {
+ let i = NW(this), a = WW(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? MW(i) : NW(i);
+ o ? jW(i) : MW(i);
}
- return jW(i, n), FW(r, i);
+ return AW(i, n), PW(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === cW && (r = void 0), this.autoFreeze_ && TW(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === sW && (r = void 0), this.autoFreeze_ && wW(r, !0), n) {
let t = [], i = [];
- OW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ DW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- dW(1, e);
+ uW(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -55255,15 +55474,15 @@ var UCe = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- mW(e) || dW(8), pW(e) && (e = WCe(e));
- let t = PW(this), n = GW(e, void 0);
- return n[uW].isManual_ = !0, NW(t), n;
+ pW(e) || uW(8), fW(e) && (e = twe(e));
+ let t = NW(this), n = WW(e, void 0);
+ return n[lW].isManual_ = !0, MW(t), n;
}
finishDraft(e, t) {
- let n = e && e[uW];
- (!n || !n.isManual_) && dW(9);
+ let n = e && e[lW];
+ (!n || !n.isManual_) && uW(9);
let { scope_: r } = n;
- return jW(r, t), FW(void 0, r);
+ return AW(r, t), PW(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -55287,35 +55506,35 @@ var UCe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = OW("Patches").applyPatches_;
- return pW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = DW("Patches").applyPatches_;
+ return fW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function GW(e, t) {
- let n = xW(e) ? OW("MapSet").proxyMap_(e, t) : SW(e) ? OW("MapSet").proxySet_(e, t) : VCe(e, t);
- return (t ? t.scope_ : AW()).drafts_.push(n), n;
+function WW(e, t) {
+ let n = bW(e) ? DW("MapSet").proxyMap_(e, t) : xW(e) ? DW("MapSet").proxySet_(e, t) : QCe(e, t);
+ return (t ? t.scope_ : kW()).drafts_.push(n), n;
}
-function WCe(e) {
- return pW(e) || dW(10, e), KW(e);
+function twe(e) {
+ return fW(e) || uW(10, e), GW(e);
}
-function KW(e) {
- if (!mW(e) || DW(e)) return e;
- let t = e[uW], n, r = !0;
+function GW(e) {
+ if (!pW(e) || EW(e)) return e;
+ let t = e[lW], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = wW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = wW(e, !0);
- return _W(n, (e, t) => {
- bW(n, e, KW(t));
+ t.finalized_ = !0, n = CW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = CW(e, !0);
+ return gW(n, (e, t) => {
+ yW(n, e, GW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new UCe().produce;
-function qW(e) {
+new ewe().produce;
+function KW(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var JW = IH({
+var qW = FH({
name: "legend",
initialState: {
settings: {
@@ -55339,43 +55558,43 @@ var JW = IH({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(qW(t.payload));
+ e.payload.push(KW(t.payload));
},
- prepare: MH()
+ prepare: jH()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = CH(e).payload.indexOf(qW(n));
- i > -1 && (e.payload[i] = qW(r));
+ var { prev: n, next: r } = t.payload, i = SH(e).payload.indexOf(KW(n));
+ i > -1 && (e.payload[i] = KW(r));
},
- prepare: MH()
+ prepare: jH()
},
removeLegendPayload: {
reducer(e, t) {
- var n = CH(e).payload.indexOf(qW(t.payload));
+ var n = SH(e).payload.indexOf(KW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: MH()
+ prepare: jH()
}
}
-}), { setLegendSize: YW, setLegendSettings: GCe, addLegendPayload: XW, replaceLegendPayload: ZW, removeLegendPayload: QW } = JW.actions, KCe = JW.reducer, qCe = /* @__PURE__ */ mt(((e) => {
+}), { setLegendSize: JW, setLegendSettings: nwe, addLegendPayload: YW, replaceLegendPayload: XW, removeLegendPayload: ZW } = qW.actions, rwe = qW.reducer, iwe = /* @__PURE__ */ mt(((e) => {
var t = St();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ mt(((e, t) => {
- t.exports = qCe();
+ t.exports = iwe();
})))();
-function JCe(e) {
+function awe(e) {
e();
}
-function YCe() {
+function owe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- JCe(() => {
+ awe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -55397,12 +55616,12 @@ function YCe() {
}
};
}
-var $W = {
+var QW = {
notify() {},
get: () => []
};
-function XCe(e, t) {
- let n, r = $W, i = 0, a = !1;
+function swe(e, t) {
+ let n, r = QW, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -55420,10 +55639,10 @@ function XCe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = YCe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = owe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = $W);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = QW);
}
function f() {
a || (a = !0, u());
@@ -55442,44 +55661,44 @@ function XCe(e, t) {
};
return m;
}
-var ZCe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, QCe = typeof navigator < "u" && navigator.product === "ReactNative", $Ce = ZCe || QCe ? B.useLayoutEffect : B.useEffect;
-function eG(e, t) {
+var cwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, lwe = typeof navigator < "u" && navigator.product === "ReactNative", uwe = cwe || lwe ? B.useLayoutEffect : B.useEffect;
+function $W(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function ewe(e, t) {
- if (eG(e, t)) return !0;
+function dwe(e, t) {
+ if ($W(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !eG(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !$W(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var twe = /* @__PURE__ */ Symbol.for("react-redux-context"), nwe = typeof globalThis < "u" ? globalThis : {};
-function rwe() {
+var fwe = /* @__PURE__ */ Symbol.for("react-redux-context"), pwe = typeof globalThis < "u" ? globalThis : {};
+function mwe() {
if (!B.createContext) return {};
- let e = nwe[twe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);
+ let e = pwe[fwe] ??= /* @__PURE__ */ new Map(), t = e.get(B.createContext);
return t || (t = B.createContext(null), e.set(B.createContext, t)), t;
}
-var iwe = /* @__PURE__ */ rwe();
-function awe(e) {
+var hwe = /* @__PURE__ */ mwe();
+function gwe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = B.useMemo(() => {
- let e = XCe(i);
+ let e = swe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = B.useMemo(() => i.getState(), [i]);
- $Ce(() => {
+ uwe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || iwe;
+ let s = n || hwe;
return /* @__PURE__ */ B.createElement(s.Provider, { value: a }, t);
}
-var owe = awe, swe = /* @__PURE__ */ new Set([
+var _we = gwe, vwe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -55502,29 +55721,29 @@ var owe = awe, swe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function cwe(e, t) {
+function ywe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function tG(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (swe.has(n)) {
+function eG(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (vwe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!ewe(e[n], t[n])) return !1;
- } else if (!cwe(e[n], t[n])) return !1;
+ if (!dwe(e[n], t[n])) return !1;
+ } else if (!ywe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var lwe = ["contextPayload"];
-function nG() {
- return nG = Object.assign ? Object.assign.bind() : function(e) {
+var bwe = ["contextPayload"];
+function tG() {
+ return tG = 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;
- }, nG.apply(null, arguments);
+ }, tG.apply(null, arguments);
}
-function rG(e, t) {
+function nG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55534,30 +55753,30 @@ function rG(e, t) {
}
return n;
}
-function iG(e) {
+function rG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? rG(Object(n), !0).forEach(function(t) {
- uwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rG(Object(n)).forEach(function(t) {
+ t % 2 ? nG(Object(n), !0).forEach(function(t) {
+ xwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : nG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uwe(e, t, n) {
- return (t = dwe(t)) in e ? Object.defineProperty(e, t, {
+function xwe(e, t, n) {
+ return (t = Swe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dwe(e) {
- var t = fwe(e, "string");
+function Swe(e) {
+ var t = Cwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fwe(e, t) {
+function Cwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55567,16 +55786,16 @@ function fwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pwe(e, t) {
+function wwe(e, t) {
if (e == null) return {};
- var n, r, i = mwe(e, t);
+ var n, r, i = Twe(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 mwe(e, t) {
+function Twe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -55585,36 +55804,36 @@ function mwe(e, t) {
}
return n;
}
-function hwe(e) {
+function Ewe(e) {
return e.value;
}
-function gwe(e) {
- var { contextPayload: t } = e, n = pwe(e, lwe), r = vB(t, e.payloadUniqBy, hwe), i = iG(iG({}, n), {}, { payload: r });
- return /*#__PURE__*/ B.isValidElement(e.content) ? /*#__PURE__*/ B.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ B.createElement(e.content, i) : /*#__PURE__*/ B.createElement(Axe, i);
+function Dwe(e) {
+ var { contextPayload: t } = e, n = wwe(e, bwe), r = yB(t, e.payloadUniqBy, Ewe), i = rG(rG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ B.isValidElement(e.content) ? /*#__PURE__*/ B.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ B.createElement(e.content, i) : /*#__PURE__*/ B.createElement(Uxe, i);
}
-function _we(e, t, n, r, i, a) {
+function Owe(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), iG(iG({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), rG(rG({}, l), u);
}
-function vwe(e) {
- var t = wB();
+function kwe(e) {
+ var t = TB();
return (0, B.useEffect)(() => {
- t(GCe(e));
+ t(nwe(e));
}, [t, e]), null;
}
-function ywe(e) {
- var t = wB();
- return (0, B.useEffect)(() => (t(YW(e)), () => {
- t(YW({
+function Awe(e) {
+ var t = TB();
+ return (0, B.useEffect)(() => (t(JW(e)), () => {
+ t(JW({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function bwe(e, t, n, r) {
+function jwe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var xwe = {
+var Mwe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -55622,28 +55841,28 @@ var xwe = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function Swe(e) {
- var t = Pz(e, xwe), n = eV(), r = wbe(), i = NCe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = nV([n]), d = eW(), f = tW();
+function Nwe(e) {
+ var t = jz(e, Mwe), n = tV(), r = Lbe(), i = WCe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = rV([n]), d = $U(), f = eW();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = bwe(t.layout, o, a, p), h = c ? s : iG(iG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = jwe(t.layout, o, a, p), h = c ? s : rG(rG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, _we(s, t, i, d, f, l)), s), g = c ?? r;
+ }, Owe(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ B.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ B.createElement(vwe, {
+ }, /*#__PURE__*/ B.createElement(kwe, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ B.createElement(ywe, {
+ }), !c && /*#__PURE__*/ B.createElement(Awe, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ B.createElement(gwe, nG({}, t, m, {
+ }), /*#__PURE__*/ B.createElement(Dwe, tG({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -55651,20 +55870,20 @@ function Swe(e) {
})));
return /*#__PURE__*/ (0, Dt.createPortal)(_, g);
}
-var aG = /*#__PURE__*/ B.memo(Swe, tG);
-aG.displayName = "Legend";
+var iG = /*#__PURE__*/ B.memo(Nwe, eG);
+iG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function oG() {
- return oG = Object.assign ? Object.assign.bind() : function(e) {
+function aG() {
+ return aG = 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;
- }, oG.apply(null, arguments);
+ }, aG.apply(null, arguments);
}
-function sG(e, t) {
+function oG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55674,30 +55893,30 @@ function sG(e, t) {
}
return n;
}
-function cG(e) {
+function sG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? sG(Object(n), !0).forEach(function(t) {
- Cwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : sG(Object(n)).forEach(function(t) {
+ t % 2 ? oG(Object(n), !0).forEach(function(t) {
+ Pwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Cwe(e, t, n) {
- return (t = wwe(t)) in e ? Object.defineProperty(e, t, {
+function Pwe(e, t, n) {
+ return (t = Fwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wwe(e) {
- var t = Twe(e, "string");
+function Fwe(e) {
+ var t = Iwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Twe(e, t) {
+function Iwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55707,10 +55926,10 @@ function Twe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ewe(e) {
- return Array.isArray(e) && hz(e[0]) && hz(e[1]) ? e.join(" ~ ") : e;
+function Lwe(e) {
+ return Array.isArray(e) && fz(e[0]) && fz(e[1]) ? e.join(" ~ ") : e;
}
-var lG = {
+var cG = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -55728,30 +55947,30 @@ var lG = {
labelStyle: {},
accessibilityLayer: !1
};
-function Dwe(e, t) {
- return t == null ? e : XB(e, t);
+function Rwe(e, t) {
+ return t == null ? e : ZB(e, t);
}
-var Owe = (e) => {
- var { separator: t = lG.separator, contentStyle: n, itemStyle: r, labelStyle: i = lG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = lG.accessibilityLayer } = e, p = () => {
+var zwe = (e) => {
+ var { separator: t = cG.separator, contentStyle: n, itemStyle: r, labelStyle: i = cG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = cG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = Dwe(a, s).map((e, n) => {
+ }, n = Rwe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || Ewe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || Lwe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = cG(cG({}, lG.itemStyle), {}, { color: e.color || lG.itemStyle.color }, r);
+ var f = sG(sG({}, cG.itemStyle), {}, { color: e.color || cG.itemStyle.color }, r);
return /*#__PURE__*/ B.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, hz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, hz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, fz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, fz(u) ? /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ B.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ B.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -55759,30 +55978,30 @@ var Owe = (e) => {
}, n);
}
return null;
- }, m = cG(cG({}, lG.contentStyle), n), h = cG({ margin: 0 }, i), g = !xz(u), _ = g ? u : "", v = Jr("recharts-default-tooltip", c), y = Jr("recharts-tooltip-label", l);
+ }, m = sG(sG({}, cG.contentStyle), n), h = sG({ margin: 0 }, i), g = !vz(u), _ = g ? u : "", v = Jr("recharts-default-tooltip", c), y = Jr("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ B.createElement("div", oG({
+ return /*#__PURE__*/ B.createElement("div", aG({
className: v,
style: m
}, b), /*#__PURE__*/ B.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ B.isValidElement(_) ? _ : `${_}`), p());
-}, uG = "recharts-tooltip-wrapper", kwe = { visibility: "hidden" };
-function Awe(e) {
+}, lG = "recharts-tooltip-wrapper", Bwe = { visibility: "hidden" };
+function Vwe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Jr(uG, {
- [`${uG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${uG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${uG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${uG}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Jr(lG, {
+ [`${lG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${lG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${lG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${lG}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function dG(e) {
+function uG(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -55790,13 +56009,13 @@ function dG(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function jwe(e) {
+function Hwe(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function Mwe(e) {
+function Uwe(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
- return s.height > 0 && s.width > 0 && n ? (d = dG({
+ return s.height > 0 && s.width > 0 && n ? (d = uG({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -55806,7 +56025,7 @@ function Mwe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = dG({
+ }), f = uG({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -55816,27 +56035,27 @@ function Mwe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = jwe({
+ }), u = Hwe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = kwe, {
+ })) : u = Bwe, {
cssProperties: u,
- cssClasses: Awe({
+ cssClasses: Vwe({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var fG = {
+var dG = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function pG() {
- var [e, t] = (0, B.useState)(() => fG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function fG() {
+ var [e, t] = (0, B.useState)(() => dG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, B.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -55850,7 +56069,7 @@ function pG() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function mG(e, t) {
+function pG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55860,30 +56079,30 @@ function mG(e, t) {
}
return n;
}
-function hG(e) {
+function mG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? mG(Object(n), !0).forEach(function(t) {
- Nwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mG(Object(n)).forEach(function(t) {
+ t % 2 ? pG(Object(n), !0).forEach(function(t) {
+ Wwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : pG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Nwe(e, t, n) {
- return (t = Pwe(t)) in e ? Object.defineProperty(e, t, {
+function Wwe(e, t, n) {
+ return (t = Gwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Pwe(e) {
- var t = Fwe(e, "string");
+function Gwe(e) {
+ var t = Kwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Fwe(e, t) {
+function Kwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55893,11 +56112,11 @@ function Fwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Iwe(e) {
+function qwe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function Lwe(e) {
- var t = pG(), [n, r] = B.useState(() => ({
+function Jwe(e) {
+ var t = fG(), [n, r] = B.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -55917,8 +56136,8 @@ function Lwe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(hG(hG({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = Mwe({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(mG(mG({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = Uwe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -55931,7 +56150,7 @@ function Lwe(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = hG(hG({}, e.hasPortalFromProps ? {} : hG(hG({ transition: Iwe({
+ }), o = mG(mG({}, e.hasPortalFromProps ? {} : mG(mG({ transition: qwe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -55951,19 +56170,19 @@ function Lwe(e) {
ref: e.innerRef
}, e.children);
}
-var Rwe = /*#__PURE__*/ B.memo(Lwe), gG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var Ywe = /*#__PURE__*/ B.memo(Jwe), hG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function _G() {
- return _G = Object.assign ? Object.assign.bind() : function(e) {
+function gG() {
+ return gG = 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;
- }, _G.apply(null, arguments);
+ }, gG.apply(null, arguments);
}
-function vG(e, t) {
+function _G(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55973,30 +56192,30 @@ function vG(e, t) {
}
return n;
}
-function yG(e) {
+function vG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? vG(Object(n), !0).forEach(function(t) {
- zwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vG(Object(n)).forEach(function(t) {
+ t % 2 ? _G(Object(n), !0).forEach(function(t) {
+ Xwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : _G(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zwe(e, t, n) {
- return (t = Bwe(t)) in e ? Object.defineProperty(e, t, {
+function Xwe(e, t, n) {
+ return (t = Zwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Bwe(e) {
- var t = Vwe(e, "string");
+function Zwe(e) {
+ var t = Qwe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Vwe(e, t) {
+function Qwe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56006,40 +56225,40 @@ function Vwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bG = {
- curveBasisClosed: Hbe,
- curveBasisOpen: Ube,
- curveBasis: Vbe,
- curveBumpX: Dbe,
- curveBumpY: Obe,
- curveLinearClosed: Wbe,
- curveLinear: ER,
- curveMonotoneX: Gbe,
- curveMonotoneY: Kbe,
- curveNatural: qbe,
- curveStep: Jbe,
- curveStepAfter: Xbe,
- curveStepBefore: Ybe
-}, xG = (e) => dU(e.x) && dU(e.y), SG = (e) => e.base != null && xG(e.base) && xG(e), CG = (e) => e.x, wG = (e) => e.y, Hwe = (e, t) => {
+var yG = {
+ curveBasisClosed: txe,
+ curveBasisOpen: nxe,
+ curveBasis: exe,
+ curveBumpX: Bbe,
+ curveBumpY: Vbe,
+ curveLinearClosed: rxe,
+ curveLinear: CR,
+ curveMonotoneX: ixe,
+ curveMonotoneY: axe,
+ curveNatural: oxe,
+ curveStep: sxe,
+ curveStepAfter: lxe,
+ curveStepBefore: cxe
+}, bG = (e) => uU(e.x) && uU(e.y), xG = (e) => e.base != null && bG(e.base) && bG(e), SG = (e) => e.x, CG = (e) => e.y, $we = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${Sz(e)}`;
+ var n = `curve${yz(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = bG[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = yG[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return bG[n] || ER;
-}, TG = {
+ return yG[n] || CR;
+}, wG = {
connectNulls: !1,
type: "linear"
-}, Uwe = (e) => {
- var { type: t = TG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = TG.connectNulls } = e, o = Hwe(t, i), s = a ? n.filter(xG) : n;
+}, eTe = (e) => {
+ var { type: t = wG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = wG.connectNulls } = e, o = $we(t, i), s = a ? n.filter(bG) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => yG(yG({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? AR().y(wG).x1(CG).x0((e) => e.base.x) : AR().x(CG).y1(wG).y0((e) => e.base.y), c.defined(SG).curve(o)(a ? l.filter(SG) : l);
+ var c, l = n.map((e, t) => vG(vG({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? DR().y(CG).x1(SG).x0((e) => e.base.x) : DR().x(SG).y1(CG).y0((e) => e.base.y), c.defined(xG).curve(o)(a ? l.filter(xG) : l);
}
- return (i === "vertical" && Z(r) ? AR().y(wG).x1(CG).x0(r) : Z(r) ? AR().x(CG).y1(wG).y0(r) : kR().x(CG).y(wG)).defined(xG).curve(o)(s);
-}, EG = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = rW();
+ return (i === "vertical" && Z(r) ? DR().y(CG).x1(SG).x0(r) : Z(r) ? DR().x(SG).y1(CG).y0(r) : ER().x(SG).y(CG)).defined(bG).curve(o)(s);
+}, TG = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = nW();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -56047,13 +56266,13 @@ var bG = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? Uwe(o) : r;
- return /*#__PURE__*/ B.createElement("path", _G({}, iR(e), jz(e), {
+ }, s = n && n.length ? eTe(o) : r;
+ return /*#__PURE__*/ B.createElement("path", gG({}, tR(e), Oz(e), {
className: Jr("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, Wwe = [
+}, tTe = [
"x",
"y",
"top",
@@ -56062,16 +56281,16 @@ var bG = {
"height",
"className"
];
-function DG() {
- return DG = Object.assign ? Object.assign.bind() : function(e) {
+function EG() {
+ return EG = 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;
- }, DG.apply(null, arguments);
+ }, EG.apply(null, arguments);
}
-function OG(e, t) {
+function DG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56081,30 +56300,30 @@ function OG(e, t) {
}
return n;
}
-function Gwe(e) {
+function nTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? OG(Object(n), !0).forEach(function(t) {
- Kwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OG(Object(n)).forEach(function(t) {
+ t % 2 ? DG(Object(n), !0).forEach(function(t) {
+ rTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Kwe(e, t, n) {
- return (t = qwe(t)) in e ? Object.defineProperty(e, t, {
+function rTe(e, t, n) {
+ return (t = iTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function qwe(e) {
- var t = Jwe(e, "string");
+function iTe(e) {
+ var t = aTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Jwe(e, t) {
+function aTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56114,16 +56333,16 @@ function Jwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Ywe(e, t) {
+function oTe(e, t) {
if (e == null) return {};
- var n, r, i = Xwe(e, t);
+ var n, r, i = sTe(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 Xwe(e, t) {
+function sTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56132,8 +56351,8 @@ function Xwe(e, t) {
}
return n;
}
-var Zwe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, Qwe = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = Ywe(e, Wwe), l = Gwe({
+var cTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, lTe = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = oTe(e, tTe), l = nTe({
x: t,
y: n,
top: r,
@@ -56141,14 +56360,14 @@ var Zwe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, Qwe = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", DG({}, oR(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ B.createElement("path", EG({}, rR(l), {
className: Jr("recharts-cross", s),
- d: Zwe(t, n, a, o, r, i)
+ d: cTe(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function $we(e, t, n, r) {
+function uTe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -56161,7 +56380,7 @@ function $we(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function kG(e, t) {
+function OG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56171,30 +56390,30 @@ function kG(e, t) {
}
return n;
}
-function AG(e) {
+function kG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? kG(Object(n), !0).forEach(function(t) {
- eTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : kG(Object(n)).forEach(function(t) {
+ t % 2 ? OG(Object(n), !0).forEach(function(t) {
+ dTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : OG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eTe(e, t, n) {
- return (t = tTe(t)) in e ? Object.defineProperty(e, t, {
+function dTe(e, t, n) {
+ return (t = fTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tTe(e) {
- var t = nTe(e, "string");
+function fTe(e) {
+ var t = pTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nTe(e, t) {
+function pTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56204,10 +56423,10 @@ function nTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var rTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), jG = (e, t, n) => e.map((e) => `${rTe(e)} ${t}ms ${n}`).join(","), iTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), MG = (e, t) => Object.keys(t).reduce((n, r) => AG(AG({}, n), {}, { [r]: e(r, t[r]) }), {});
+var mTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), AG = (e, t, n) => e.map((e) => `${mTe(e)} ${t}ms ${n}`).join(","), hTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), jG = (e, t) => Object.keys(t).reduce((n, r) => kG(kG({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function NG(e, t) {
+function MG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56217,30 +56436,30 @@ function NG(e, t) {
}
return n;
}
-function PG(e) {
+function NG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? NG(Object(n), !0).forEach(function(t) {
- aTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : NG(Object(n)).forEach(function(t) {
+ t % 2 ? MG(Object(n), !0).forEach(function(t) {
+ gTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aTe(e, t, n) {
- return (t = oTe(t)) in e ? Object.defineProperty(e, t, {
+function gTe(e, t, n) {
+ return (t = _Te(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oTe(e) {
- var t = sTe(e, "string");
+function _Te(e) {
+ var t = vTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sTe(e, t) {
+function vTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56250,51 +56469,51 @@ function sTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var FG = (e, t, n) => e + (t - e) * n, IG = (e) => {
+var PG = (e, t, n) => e + (t - e) * n, FG = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, LG = (e, t, n) => {
- var r = MG((t, n) => {
- if (IG(n)) {
+}, IG = (e, t, n) => {
+ var r = jG((t, n) => {
+ if (FG(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return PG(PG({}, n), {}, {
+ return NG(NG({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? MG((e, t) => IG(t) && r[e] != null ? PG(PG({}, t), {}, {
- velocity: FG(t.velocity, r[e].velocity, n),
- from: FG(t.from, r[e].from, n)
- }) : t, t) : LG(e, r, n - 1);
+ return n < 1 ? jG((e, t) => FG(t) && r[e] != null ? NG(NG({}, t), {}, {
+ velocity: PG(t.velocity, r[e].velocity, n),
+ from: PG(t.from, r[e].from, n)
+ }) : t, t) : IG(e, r, n - 1);
};
-function cTe(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => PG(PG({}, n), {}, { [r]: {
+function yTe(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => NG(NG({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => MG((e, t) => t.from, s), l = () => !Object.values(s).filter(IG).length, u = null, d = (r) => {
+ } }), {}), c = () => jG((e, t) => t.from, s), l = () => !Object.values(s).filter(FG).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = LG(n, s, f), i(PG(PG(PG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = IG(n, s, f), i(NG(NG(NG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function lTe(e, t, n, r, i, a, o) {
+function bTe(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
- return i == null || a == null ? n : PG(PG({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : NG(NG({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = MG((e, t) => FG(...t, n(d)), c);
- if (a(PG(PG(PG({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = jG((e, t) => PG(...t, n(d)), c);
+ if (a(NG(NG(NG({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = MG((e, t) => FG(...t, n(1)), c);
- a(PG(PG(PG({}, e), t), p));
+ var p = jG((e, t) => PG(...t, n(1)), c);
+ a(NG(NG(NG({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -56302,15 +56521,15 @@ function lTe(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var uTe = (e, t, n, r, i, a) => {
- var o = iTe(e, t);
- return n == null ? () => (i(PG(PG({}, e), t)), () => {}) : n.isStepper === !0 ? cTe(e, t, n, o, i, a) : lTe(e, t, n, r, o, i, a);
-}, RG = (e, t) => [
+var xTe = (e, t, n, r, i, a) => {
+ var o = hTe(e, t);
+ return n == null ? () => (i(NG(NG({}, e), t)), () => {}) : n.isStepper === !0 ? yTe(e, t, n, o, i, a) : bTe(e, t, n, r, o, i, a);
+}, LG = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], zG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), BG = (e, t) => (n) => zG(RG(e, t), n), dTe = (e, t) => (n) => zG([...RG(e, t).map((e, t) => e * t).slice(1), 0], n), fTe = (e) => {
+], RG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), zG = (e, t) => (n) => RG(LG(e, t), n), STe = (e, t) => (n) => RG([...LG(e, t).map((e, t) => e * t).slice(1), 0], n), CTe = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -56322,7 +56541,7 @@ var uTe = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, pTe = function() {
+}, wTe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -56356,7 +56575,7 @@ var uTe = (e, t, n, r, i, a) => {
1
];
default:
- var t = fTe(e[0]);
+ var t = CTe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -56365,8 +56584,8 @@ var uTe = (e, t, n, r, i, a) => {
1,
1
];
-}, mTe = (e, t, n, r) => {
- var i = BG(e, n), a = BG(t, r), o = dTe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, TTe = (e, t, n, r) => {
+ var i = zG(e, n), a = zG(t, r), o = STe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -56375,29 +56594,29 @@ var uTe = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, VG = function() {
- return mTe(...pTe(...arguments));
-}, hTe = function() {
+}, BG = function() {
+ return TTe(...wTe(...arguments));
+}, ETe = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, gTe = (e) => {
+}, DTe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return VG(e);
- case "spring": return hTe();
- default: if (e.split("(")[0] === "cubic-bezier") return VG(e);
+ case "linear": return BG(e);
+ case "spring": return ETe();
+ default: if (e.split("(")[0] === "cubic-bezier") return BG(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function _Te(e) {
+function OTe(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -56428,7 +56647,7 @@ function _Te(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var vTe = class {
+var kTe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -56440,14 +56659,14 @@ var vTe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function yTe() {
- return _Te(new vTe());
+function ATe() {
+ return OTe(new kTe());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var bTe = /*#__PURE__*/ (0, B.createContext)(yTe);
-function xTe(e, t) {
- var n = (0, B.useContext)(bTe);
+var jTe = /*#__PURE__*/ (0, B.createContext)(ATe);
+function MTe(e, t) {
+ var n = (0, B.useContext)(jTe);
return (0, B.useMemo)(() => t ?? n(e), [
e,
t,
@@ -56456,7 +56675,7 @@ function xTe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var STe = {
+var NTe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -56464,14 +56683,14 @@ var STe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, HG = { t: 0 }, UG = { t: 1 };
-function WG(e) {
- var t = Pz(e, STe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = pG(), d = n === "auto" ? !fG.isSsr && !u : n, f = xTe(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? HG : UG), h = (0, B.useRef)(null);
+}, VG = { t: 0 }, HG = { t: 1 };
+function UG(e) {
+ var t = jz(e, NTe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = fG(), d = n === "auto" ? !dG.isSsr && !u : n, f = MTe(t.animationId, t.animationManager), [p, m] = (0, B.useState)(d ? VG : HG), h = (0, B.useRef)(null);
return (0, B.useEffect)(() => {
- d || m(UG);
+ d || m(HG);
}, [d]), (0, B.useEffect)(() => {
- if (!d || !r) return wz;
- var e = uTe(HG, UG, gTe(a), i, m, f.getTimeoutController());
+ if (!d || !r) return xz;
+ var e = xTe(VG, HG, DTe(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -56496,14 +56715,14 @@ function WG(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function GG(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(gz(t)), r = (0, B.useRef)(e);
- return r.current !== e && (n.current = gz(t), r.current = e), n.current;
+function WG(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, B.useRef)(pz(t)), r = (0, B.useRef)(e);
+ return r.current !== e && (n.current = pz(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var CTe = ["radius"], wTe = ["radius"], TTe, ETe, DTe, OTe, kTe, ATe, jTe, MTe, NTe, PTe;
-function KG(e, t) {
+var PTe = ["radius"], FTe = ["radius"], ITe, LTe, RTe, zTe, BTe, VTe, HTe, UTe, WTe, GTe;
+function GG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56513,30 +56732,30 @@ function KG(e, t) {
}
return n;
}
-function qG(e) {
+function KG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? KG(Object(n), !0).forEach(function(t) {
- FTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : KG(Object(n)).forEach(function(t) {
+ t % 2 ? GG(Object(n), !0).forEach(function(t) {
+ KTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : GG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FTe(e, t, n) {
- return (t = ITe(t)) in e ? Object.defineProperty(e, t, {
+function KTe(e, t, n) {
+ return (t = qTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ITe(e) {
- var t = LTe(e, "string");
+function qTe(e) {
+ var t = JTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LTe(e, t) {
+function JTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56546,25 +56765,25 @@ function LTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function JG() {
- return JG = Object.assign ? Object.assign.bind() : function(e) {
+function qG() {
+ return qG = 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;
- }, JG.apply(null, arguments);
+ }, qG.apply(null, arguments);
}
-function YG(e, t) {
+function JG(e, t) {
if (e == null) return {};
- var n, r, i = RTe(e, t);
+ var n, r, i = YTe(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 RTe(e, t) {
+function YTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56573,11 +56792,11 @@ function RTe(e, t) {
}
return n;
}
-function XG(e, t) {
+function YG(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var ZG = (e, t, n, r, i) => {
- var a = uz(n), o = uz(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 XG = (e, t, n, r, i) => {
+ var a = sz(n), o = sz(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,
@@ -56588,44 +56807,44 @@ var ZG = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = dz(TTe ||= XG([
+ d = cz(ITe ||= YG([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += dz(ETe ||= XG([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += cz(LTe ||= YG([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += dz(DTe ||= XG([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += cz(RTe ||= YG([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += dz(OTe ||= XG([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += cz(zTe ||= YG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += dz(kTe ||= XG([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += cz(BTe ||= YG([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += dz(ATe ||= XG([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += cz(VTe ||= YG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += dz(jTe ||= XG([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += cz(HTe ||= YG([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += dz(MTe ||= XG([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += cz(UTe ||= YG([
"A ",
",",
",0,0,",
@@ -56635,8 +56854,8 @@ var ZG = (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 = dz(NTe ||= XG(/* @__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 = dz(PTe ||= XG([
+ d = cz(WTe ||= YG(/* @__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 = cz(GTe ||= YG([
"M ",
",",
" h ",
@@ -56645,7 +56864,7 @@ var ZG = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, QG = {
+}, ZG = {
x: 0,
y: 0,
width: 0,
@@ -56656,15 +56875,15 @@ var ZG = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, $G = (e) => {
- var t = Pz(e, QG), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);
+}, QG = (e) => {
+ var t = jz(e, ZG), n = (0, B.useRef)(null), [r, i] = (0, B.useState)(-1);
(0, B.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, B.useRef)(s), _ = (0, B.useRef)(c), v = (0, B.useRef)(a), y = (0, B.useRef)(o), b = GG((0, B.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, B.useRef)(s), _ = (0, B.useRef)(c), v = (0, B.useRef)(a), y = (0, B.useRef)(o), b = WG((0, B.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -56680,19 +56899,19 @@ var ZG = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Jr("recharts-rectangle", u);
if (!h) {
- var S = oR(t), { radius: C } = S, w = YG(S, CTe);
- return /*#__PURE__*/ B.createElement("path", JG({}, w, {
- x: uz(a),
- y: uz(o),
- width: uz(s),
- height: uz(c),
+ var S = rR(t), { radius: C } = S, w = JG(S, PTe);
+ return /*#__PURE__*/ B.createElement("path", qG({}, w, {
+ x: sz(a),
+ y: sz(o),
+ width: sz(s),
+ height: sz(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: ZG(a, o, s, c, l)
+ d: XG(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = jG(["strokeDasharray"], f, typeof d == "string" ? d : QG.animationEasing);
- return /*#__PURE__*/ B.createElement(WG, {
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = AG(["strokeDasharray"], f, typeof d == "string" ? d : ZG.animationEasing);
+ return /*#__PURE__*/ B.createElement(UG, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -56701,24 +56920,24 @@ var ZG = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = yz(T, s, e), i = yz(E, c, e), u = yz(D, a, e), d = yz(O, o, e);
+ var r = gz(T, s, e), i = gz(E, c, e), u = gz(D, a, e), d = gz(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = oR(t), { radius: h } = p, b = YG(p, wTe);
- return /*#__PURE__*/ B.createElement("path", JG({}, b, {
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = rR(t), { radius: h } = p, b = JG(p, FTe);
+ return /*#__PURE__*/ B.createElement("path", qG({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: ZG(u, d, r, i, l),
+ d: XG(u, d, r, i, l),
ref: n,
- style: qG(qG({}, f), t.style)
+ style: KG(KG({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function eK(e, t) {
+function $G(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56728,30 +56947,30 @@ function eK(e, t) {
}
return n;
}
-function tK(e) {
+function eK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? eK(Object(n), !0).forEach(function(t) {
- zTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eK(Object(n)).forEach(function(t) {
+ t % 2 ? $G(Object(n), !0).forEach(function(t) {
+ XTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $G(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function zTe(e, t, n) {
- return (t = BTe(t)) in e ? Object.defineProperty(e, t, {
+function XTe(e, t, n) {
+ return (t = ZTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function BTe(e) {
- var t = VTe(e, "string");
+function ZTe(e) {
+ var t = QTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function VTe(e, t) {
+function QTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56761,10 +56980,10 @@ function VTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var nK = Math.PI / 180, rK = (e) => e * Math.PI / 180, HTe = (e) => e * 180 / Math.PI, iK = (e, t, n, r) => ({
- x: e + Math.cos(-nK * r) * n,
- y: t + Math.sin(-nK * r) * n
-}), UTe = function(e, t) {
+var tK = Math.PI / 180, nK = (e) => e * Math.PI / 180, $Te = (e) => e * 180 / Math.PI, rK = (e, t, n, r) => ({
+ x: e + Math.cos(-tK * r) * n,
+ y: t + Math.sin(-tK * r) * n
+}), eEe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -56775,11 +56994,11 @@ var nK = Math.PI / 180, rK = (e) => e * Math.PI / 180, HTe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, WTe = (e, t) => {
+}, tEe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, GTe = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = WTe({
+}, nEe = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = tEe({
x: n,
y: r
}, {
@@ -56793,25 +57012,25 @@ var nK = Math.PI / 180, rK = (e) => e * Math.PI / 180, HTe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: HTe(c),
+ angle: $Te(c),
angleInRadian: c
};
-}, KTe = (e) => {
+}, rEe = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, qTe = (e, t) => {
+}, iEe = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, JTe = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = GTe({
+}, aEe = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = nEe({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = KTe(t), u = a, d;
+ var { startAngle: c, endAngle: l } = rEe(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -56821,17 +57040,17 @@ var nK = Math.PI / 180, rK = (e) => e * Math.PI / 180, HTe = (e) => e * 180 / Ma
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? tK(tK({}, t), {}, {
+ return d ? eK(eK({}, t), {}, {
radius: i,
- angle: qTe(u, t)
+ angle: iEe(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function aK(e) {
+function iK(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [iK(t, n, r, i), iK(t, n, r, a)],
+ points: [rK(t, n, r, i), rK(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -56841,29 +57060,29 @@ function aK(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var YTe, XTe, ZTe, QTe, $Te, eEe, tEe;
-function oK() {
- return oK = Object.assign ? Object.assign.bind() : function(e) {
+var oEe, sEe, cEe, lEe, uEe, dEe, fEe;
+function aK() {
+ return aK = 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;
- }, oK.apply(null, arguments);
+ }, aK.apply(null, arguments);
}
-function sK(e, t) {
+function oK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) => {
- var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / nK, d = c ? i : i + a * u, f = iK(t, n, l, d), p = iK(t, n, r, d), m = c ? i - a * u : i;
+var pEe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 359.999), sK = (e) => {
+ var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / tK, d = c ? i : i + a * u, f = rK(t, n, l, d), p = rK(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: iK(t, n, l * Math.cos(u * nK), m),
+ lineTangency: rK(t, n, l * Math.cos(u * tK), m),
theta: u
};
-}, lK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = nEe(a, o), c = a + s, l = iK(t, n, i, a), u = iK(t, n, i, c), d = dz(YTe ||= sK([
+}, cK = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = pEe(a, o), c = a + s, l = rK(t, n, i, a), u = rK(t, n, i, c), d = cz(oEe ||= oK([
"M ",
",",
"\n A ",
@@ -56875,8 +57094,8 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = iK(t, n, r, a), p = iK(t, n, r, c);
- d += dz(XTe ||= sK([
+ var f = rK(t, n, r, a), p = rK(t, n, r, c);
+ d += cz(sEe ||= oK([
"L ",
",",
"\n A ",
@@ -56887,14 +57106,14 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += dz(ZTe ||= sK([
+ } else d += cz(cEe ||= oK([
"L ",
",",
" Z"
]), t, n);
return d;
-}, rEe = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = fz(l - c), { circleTangency: d, lineTangency: f, theta: p } = cK({
+}, mEe = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = lz(l - c), { circleTangency: d, lineTangency: f, theta: p } = sK({
cx: t,
cy: n,
radius: i,
@@ -56902,7 +57121,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = cK({
+ }), { circleTangency: m, lineTangency: h, theta: g } = sK({
cx: t,
cy: n,
radius: i,
@@ -56911,7 +57130,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? dz(QTe ||= sK([
+ if (_ < 0) return o ? cz(lEe ||= oK([
"M ",
",",
"\n a",
@@ -56921,7 +57140,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : lK({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : cK({
cx: t,
cy: n,
innerRadius: r,
@@ -56929,7 +57148,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
startAngle: c,
endAngle: l
});
- var v = dz($Te ||= sK([
+ var v = cz(uEe ||= oK([
"M ",
",",
"\n A",
@@ -56951,7 +57170,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = cK({
+ var { circleTangency: y, lineTangency: b, theta: x } = sK({
cx: t,
cy: n,
radius: r,
@@ -56960,7 +57179,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = cK({
+ }), { circleTangency: S, lineTangency: C, theta: w } = sK({
cx: t,
cy: n,
radius: r,
@@ -56971,7 +57190,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += dz(eEe ||= sK([
+ v += cz(dEe ||= oK([
"L",
",",
"\n A",
@@ -56992,13 +57211,13 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += dz(tEe ||= sK([
+ } else v += cz(fEe ||= oK([
"L",
",",
"Z"
]), t, n);
return v;
-}, iEe = {
+}, hEe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -57008,10 +57227,10 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, uK = (e) => {
- var t = Pz(e, iEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, lK = (e) => {
+ var t = jz(e, hEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Jr("recharts-sector", d), p = a - i, m = _z(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? rEe({
+ var f = Jr("recharts-sector", d), p = a - i, m = mz(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? mEe({
cx: n,
cy: r,
innerRadius: i,
@@ -57021,7 +57240,7 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : lK({
+ }) : cK({
cx: n,
cy: r,
innerRadius: i,
@@ -57029,14 +57248,14 @@ var nEe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 359.999), cK = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ B.createElement("path", oK({}, oR(t), {
+ return /*#__PURE__*/ B.createElement("path", aK({}, rR(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function aEe(e, t, n) {
+function gEe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -57051,9 +57270,9 @@ function aEe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (Az(t)) {
+ if (Dz(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = iK(r, i, a, s), l = iK(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = rK(r, i, a, s), l = rK(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -57062,30 +57281,30 @@ function aEe(e, t, n) {
y: l.y
}];
}
- return aK(t);
+ return iK(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function oEe(e) {
- return oz(e) ? NaN : Number(e);
+function _Ee(e) {
+ return rz(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function dK(e) {
- return e ? (e = oEe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function uK(e) {
+ return e ? (e = _Ee(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function fK(e, t, n) {
- n && typeof n != "number" && UB(e, t, n) && (t = n = void 0), e = dK(e), t === void 0 ? (t = e, e = 0) : t = dK(t), n = n === void 0 ? e < t ? 1 : -1 : dK(n);
+function dK(e, t, n) {
+ n && typeof n != "number" && WB(e, t, n) && (t = n = void 0), e = uK(e), t === void 0 ? (t = e, e = 0) : t = uK(t), n = n === void 0 ? e < t ? 1 : -1 : uK(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var pK = (e) => e.chartData, mK = $([pK], (e) => {
+var fK = (e) => e.chartData, pK = $([fK], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -57093,35 +57312,35 @@ var pK = (e) => e.chartData, mK = $([pK], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), hK = (e, t, n, r) => r ? mK(e) : pK(e), gK = (e, t, n) => n ? mK(e) : pK(e);
+}), mK = (e, t, n, r) => r ? pK(e) : fK(e), hK = (e, t, n) => n ? pK(e) : fK(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function _K(e) {
+function gK(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (dU(t) && dU(n)) return !0;
+ if (uU(t) && uU(n)) return !0;
}
return !1;
}
-function vK(e, t, n) {
+function _K(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function yK(e, t) {
+function vK(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (dU(n)) i = n;
+ if (uU(n)) i = n;
else if (typeof n == "function") return;
- if (dU(r)) a = r;
+ if (uU(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (_K(o)) return o;
+ if (gK(o)) return o;
}
}
-function sEe(e, t, n) {
+function vEe(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (_K(r)) return vK(r, t, n);
+ if (gK(r)) return _K(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -57130,8 +57349,8 @@ function sEe(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && wU.test(i)) {
- var c = wU.exec(i);
+ else if (typeof i == "string" && CU.test(i)) {
+ var c = CU.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -57143,8 +57362,8 @@ function sEe(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && TU.test(a)) {
- var u = TU.exec(a);
+ else if (typeof a == "string" && wU.test(a)) {
+ var u = wU.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -57152,13 +57371,13 @@ function sEe(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (_K(f)) return t == null ? f : vK(f, t, n);
+ if (gK(f)) return t == null ? f : _K(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var bK = /* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
+var yK = /* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -57534,75 +57753,75 @@ var bK = /* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function xK(e) {
- return e === 0 ? 1 : Math.floor(new bK.default(e).abs().log(10).toNumber()) + 1;
+function bK(e) {
+ return e === 0 ? 1 : Math.floor(new yK.default(e).abs().log(10).toNumber()) + 1;
}
-function SK(e, t, n) {
- for (var r = new bK.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function xK(e, t, n) {
+ for (var r = new yK.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-var CK = (e) => {
+var SK = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
+}, CK = (e, t, n) => {
+ if (e.lte(0)) return new yK.default(0);
+ var r = bK(e.toNumber()), i = new yK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new yK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new yK.default(s.toNumber()) : new yK.default(Math.ceil(s.toNumber()));
}, wK = (e, t, n) => {
- if (e.lte(0)) return new bK.default(0);
- var r = xK(e.toNumber()), i = new bK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new bK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new bK.default(s.toNumber()) : new bK.default(Math.ceil(s.toNumber()));
-}, TK = (e, t, n) => {
- if (e.lte(0)) return new bK.default(0);
+ if (e.lte(0)) return new yK.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new bK.default(i).abs().log(10).toNumber()), o = new bK.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new yK.default(i).abs().log(10).toNumber()), o = new yK.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new bK.default(10).pow(l));
+ c %= r.length, o = o.mul(new yK.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new bK.default(u).mul(o);
- return t ? d : new bK.default(Math.ceil(d.toNumber()));
-}, cEe = (e, t, n) => {
- var r = new bK.default(1), i = new bK.default(e);
+ var u = r[c] ?? 1, d = new yK.default(u).mul(o);
+ return t ? d : new yK.default(Math.ceil(d.toNumber()));
+}, yEe = (e, t, n) => {
+ var r = new yK.default(1), i = new yK.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new bK.default(10).pow(xK(e) - 1), i = new bK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new bK.default(Math.floor(e)));
- } else e === 0 ? i = new bK.default(Math.floor((t - 1) / 2)) : n || (i = new bK.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new bK.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new yK.default(10).pow(bK(e) - 1), i = new yK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new yK.default(Math.floor(e)));
+ } else e === 0 ? i = new yK.default(Math.floor((t - 1) / 2)) : n || (i = new yK.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new yK.default(c - o).mul(r)).toNumber());
return s;
-}, EK = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : wK;
+}, TK = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : CK;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new bK.default(0),
- tickMin: new bK.default(0),
- tickMax: new bK.default(0)
- };
- var o = a(new bK.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new bK.default(0) : (s = new bK.default(e).add(t).div(2), s = s.sub(new bK.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new bK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? EK(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ step: new yK.default(0),
+ tickMin: new yK.default(0),
+ tickMax: new yK.default(0)
+ };
+ var o = a(new yK.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new yK.default(0) : (s = new yK.default(e).add(t).div(2), s = s.sub(new yK.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new yK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? TK(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new bK.default(c).mul(o)),
- tickMax: s.add(new bK.default(l).mul(o))
+ tickMin: s.sub(new yK.default(c).mul(o)),
+ tickMax: s.add(new yK.default(l).mul(o))
});
-}, DK = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = CK([t, n]);
+}, EK = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = SK([t, n]);
if (s === -Infinity || c === Infinity) {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return cEe(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = EK(s, c, o, i, 0, a === "snap125" ? TK : wK), p = SK(d, f.add(new bK.default(.1).mul(u)), u);
+ if (s === c) return yEe(s, r, i);
+ var { step: u, tickMin: d, tickMax: f } = TK(s, c, o, i, 0, a === "snap125" ? wK : CK), p = xK(d, f.add(new yK.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, OK = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = CK([n, r]);
+}, DK = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = SK([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? TK : wK, l = Math.max(t, 2), u = c(new bK.default(s).sub(o).div(l - 1), i, 0), d = [...SK(new bK.default(o), new bK.default(s), u), s];
+ var c = a === "snap125" ? wK : CK, l = Math.max(t, 2), u = c(new yK.default(s).sub(o).div(l - 1), i, 0), d = [...xK(new yK.default(o), new yK.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, kK = (e) => e.rootProps.maxBarSize, AK = (e) => e.rootProps.barGap, jK = (e) => e.rootProps.barCategoryGap, MK = (e) => e.rootProps.barSize, NK = (e) => e.rootProps.stackOffset, PK = (e) => e.rootProps.reverseStackOrder, FK = (e) => e.options.chartName, IK = (e) => e.rootProps.syncId, LK = (e) => e.rootProps.syncMethod, RK = (e) => e.options.eventEmitter, lEe = (e) => e.rootProps.baseValue, zK = {
+}, OK = (e) => e.rootProps.maxBarSize, kK = (e) => e.rootProps.barGap, AK = (e) => e.rootProps.barCategoryGap, jK = (e) => e.rootProps.barSize, MK = (e) => e.rootProps.stackOffset, NK = (e) => e.rootProps.reverseStackOrder, PK = (e) => e.options.chartName, FK = (e) => e.rootProps.syncId, IK = (e) => e.rootProps.syncMethod, LK = (e) => e.options.eventEmitter, bEe = (e) => e.rootProps.baseValue, RK = {
grid: -100,
barBackground: -50,
area: 100,
@@ -57615,7 +57834,7 @@ var CK = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, BK = {
+}, zK = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -57636,8 +57855,8 @@ var CK = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: zK.axis
-}, VK = {
+ zIndex: RK.axis
+}, BK = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -57656,19 +57875,19 @@ var CK = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: zK.axis
-}, HK = (e, t) => {
+ zIndex: RK.axis
+}, VK = (e, t) => {
if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function UK(e, t, n) {
+function HK(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return gU(e, t) ? "category" : "number";
+ if (e != null) return hU(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function WK(e, t) {
+function UK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57678,30 +57897,30 @@ function WK(e, t) {
}
return n;
}
-function GK(e) {
+function WK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? WK(Object(n), !0).forEach(function(t) {
- uEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WK(Object(n)).forEach(function(t) {
+ t % 2 ? UK(Object(n), !0).forEach(function(t) {
+ xEe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uEe(e, t, n) {
- return (t = dEe(t)) in e ? Object.defineProperty(e, t, {
+function xEe(e, t, n) {
+ return (t = SEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dEe(e) {
- var t = fEe(e, "string");
+function SEe(e) {
+ var t = CEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fEe(e, t) {
+function CEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57711,81 +57930,81 @@ function fEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var KK = {
- allowDataOverflow: BK.allowDataOverflow,
- allowDecimals: BK.allowDecimals,
+var GK = {
+ allowDataOverflow: zK.allowDataOverflow,
+ allowDecimals: zK.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: BK.angleAxisId,
+ id: zK.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: BK.reversed,
- scale: BK.scale,
- tick: BK.tick,
+ reversed: zK.reversed,
+ scale: zK.scale,
+ tick: zK.tick,
tickCount: void 0,
ticks: void 0,
- type: BK.type,
+ type: zK.type,
unit: void 0,
niceTicks: "auto"
-}, qK = {
- allowDataOverflow: VK.allowDataOverflow,
- allowDecimals: VK.allowDecimals,
- allowDuplicatedCategory: VK.allowDuplicatedCategory,
+}, KK = {
+ allowDataOverflow: BK.allowDataOverflow,
+ allowDecimals: BK.allowDecimals,
+ allowDuplicatedCategory: BK.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: VK.radiusAxisId,
- includeHidden: VK.includeHidden,
+ id: BK.radiusAxisId,
+ includeHidden: BK.includeHidden,
name: void 0,
- reversed: VK.reversed,
- scale: VK.scale,
- tick: VK.tick,
- tickCount: VK.tickCount,
+ reversed: BK.reversed,
+ scale: BK.scale,
+ tick: BK.tick,
+ tickCount: BK.tickCount,
ticks: void 0,
- type: VK.type,
+ type: BK.type,
unit: void 0,
niceTicks: "auto"
-}, JK = $([(e, t) => {
+}, qK = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, aW], (e, t) => {
+}, iW], (e, t) => {
if (e != null) return e;
- var n = UK(t, "angleAxis", KK.type) ?? "category";
- return GK(GK({}, KK), {}, { type: n });
-}), YK = $([(e, t) => e.polarAxis.radiusAxis[t], aW], (e, t) => {
+ var n = HK(t, "angleAxis", GK.type) ?? "category";
+ return WK(WK({}, GK), {}, { type: n });
+}), JK = $([(e, t) => e.polarAxis.radiusAxis[t], iW], (e, t) => {
if (e != null) return e;
- var n = UK(t, "radiusAxis", qK.type) ?? "category";
- return GK(GK({}, qK), {}, { type: n });
-}), XK = (e) => e.polarOptions, ZK = $([
+ var n = HK(t, "radiusAxis", KK.type) ?? "category";
+ return WK(WK({}, KK), {}, { type: n });
+}), YK = (e) => e.polarOptions, XK = $([
+ OU,
kU,
- AU,
- IU
-], UTe), QK = $([XK, ZK], (e, t) => {
- if (e != null) return _z(e.innerRadius, t, 0);
-}), $K = $([XK, ZK], (e, t) => {
- if (e != null) return _z(e.outerRadius, t, t * .8);
-}), eq = $([XK], (e) => {
+ FU
+], eEe), ZK = $([YK, XK], (e, t) => {
+ if (e != null) return mz(e.innerRadius, t, 0);
+}), QK = $([YK, XK], (e, t) => {
+ if (e != null) return mz(e.outerRadius, t, t * .8);
+}), $K = $([YK], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), pEe = $([JK, eq], HK), tq = $([
+}), wEe = $([qK, $K], VK), eq = $([
+ XK,
ZK,
- QK,
- $K
+ QK
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), mEe = $([YK, tq], HK), nq = $([
- nW,
- XK,
+}), TEe = $([JK, eq], VK), tq = $([
+ tW,
+ YK,
+ ZK,
QK,
- $K,
- kU,
- AU
+ OU,
+ kU
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: _z(o, i, i / 2),
- cy: _z(s, a, a / 2),
+ cx: mz(o, i, i / 2),
+ cy: mz(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -57793,22 +58012,22 @@ var KK = {
clockWise: !1
};
}
-}), rq = (e, t) => t, iq = (e, t, n) => n;
+}), nq = (e, t) => t, rq = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function aq(e) {
+function iq(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function oq(e, t, n) {
+function aq(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = aq(e);
+ var n = iq(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(hU(t, a, null)), c = hU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(mU(t, a, null)), c = mU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -57816,18 +58035,18 @@ function oq(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function sq(e) {
+function oq(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var cq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var sq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function lq(e, t) {
+function cq(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function hEe(e, t) {
+function EEe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -57836,13 +58055,13 @@ function hEe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var uq = (e) => {
- var t = nW(e);
+var lq = (e) => {
+ var t = tW(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, dq = (e) => e.tooltip.settings.axisId;
+}, uq = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function fq(e) {
+function dq(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -57883,13 +58102,13 @@ function fq(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var pq = (e, t) => {
+var fq = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!_K(t)) {
+ if (!gK(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- dU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ uU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -57899,14 +58118,14 @@ var pq = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function mq(e, t) {
+function pq(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function hq(e) {
+function mq(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = gEe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = DEe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -57932,15 +58151,15 @@ function hq(e) {
right: i
};
}
-function gEe(e) {
- return (t, n) => mq(e(t), n);
+function DEe(e) {
+ return (t, n) => pq(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function gq(e) {
+function hq(e) {
return e === null ? NaN : +e;
}
-function* _Ee(e, t) {
+function* OEe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -57949,52 +58168,52 @@ function* _Ee(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var _q = hq(mq), vq = _q.right;
-_q.left, hq(gq).center;
+var gq = mq(pq), _q = gq.right;
+gq.left, mq(hq).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var yq = class extends Map {
- constructor(e, t = bEe) {
+var vq = class extends Map {
+ constructor(e, t = jEe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(bq(this, e));
+ return super.get(yq(this, e));
}
has(e) {
- return super.has(bq(this, e));
+ return super.has(yq(this, e));
}
set(e, t) {
- return super.set(vEe(this, e), t);
+ return super.set(kEe(this, e), t);
}
delete(e) {
- return super.delete(yEe(this, e));
+ return super.delete(AEe(this, e));
}
};
-function bq({ _intern: e, _key: t }, n) {
+function yq({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function vEe({ _intern: e, _key: t }, n) {
+function kEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function yEe({ _intern: e, _key: t }, n) {
+function AEe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function bEe(e) {
+function jEe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var xq = Math.sqrt(50), Sq = Math.sqrt(10), Cq = Math.sqrt(2);
-function wq(e, t, n) {
+var bq = Math.sqrt(50), xq = Math.sqrt(10), Sq = Math.sqrt(2);
+function Cq(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = Tq(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = wq(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -58005,17 +58224,17 @@ function wq(e, t, n) {
}
return r && o.reverse(), o;
}
-function Tq(e, t, n) {
+function wq(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= xq ? 10 : a >= Sq ? 5 : a >= Cq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= xq ? 10 : a >= Sq ? 5 : a >= Cq ? 2 : 1);
+ return i >= 0 ? (a >= bq ? 10 : a >= xq ? 5 : a >= Sq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= bq ? 10 : a >= xq ? 5 : a >= Sq ? 2 : 1);
}
-function Eq(e, t, n) {
+function Tq(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= xq ? i *= 10 : a >= Sq ? i *= 5 : a >= Cq && (i *= 2), t < e ? -i : i;
+ return a >= bq ? i *= 10 : a >= xq ? i *= 5 : a >= Sq && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function Dq(e, t) {
+function Eq(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -58026,7 +58245,7 @@ function Dq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function Oq(e, t) {
+function Dq(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -58037,36 +58256,36 @@ function Oq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function kq(e, t, n = 0, r = e.length - 1, i = mq) {
+function Oq(e, t, n = 0, r = e.length - 1, i = pq) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- kq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ Oq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (Aq(e, n, t), i(e[r], a) > 0 && Aq(e, n, r); o < s;) {
- for (Aq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (kq(e, n, t), i(e[r], a) > 0 && kq(e, n, r); o < s;) {
+ for (kq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? Aq(e, n, s) : (++s, Aq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? kq(e, n, s) : (++s, kq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function Aq(e, t, n) {
+function kq(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function xEe(e, t, n) {
- if (e = Float64Array.from(_Ee(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return Oq(e);
- if (t >= 1) return Dq(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = Dq(kq(e, a).subarray(0, a + 1));
- return o + (Oq(e.subarray(a + 1)) - o) * (i - a);
+function MEe(e, t, n) {
+ if (e = Float64Array.from(OEe(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return Dq(e);
+ if (t >= 1) return Eq(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = Eq(Oq(e, a).subarray(0, a + 1));
+ return o + (Dq(e.subarray(a + 1)) - o) * (i - a);
}
}
-function SEe(e, t, n = gq) {
+function NEe(e, t, n = hq) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -58076,14 +58295,14 @@ function SEe(e, t, n = gq) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function CEe(e, t, n) {
+function PEe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function jq(e, t) {
+function Aq(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -58094,7 +58313,7 @@ function jq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function Mq(e, t) {
+function jq(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -58104,7 +58323,7 @@ function Mq(e, t) {
}
return this;
}
-function Nq(e, t) {
+function Mq(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -58116,20 +58335,20 @@ function Nq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var Pq = Symbol("implicit");
-function Fq() {
- var e = new yq(), t = [], n = [], r = Pq;
+var Nq = Symbol("implicit");
+function Pq() {
+ var e = new vq(), t = [], n = [], r = Nq;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== Pq) return r;
+ if (r !== Nq) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new yq();
+ t = [], e = new vq();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -58137,18 +58356,18 @@ function Fq() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return Fq(t, n).unknown(r);
- }, Mq.apply(i, arguments), i;
+ return Pq(t, n).unknown(r);
+ }, jq.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function Iq() {
- var e = Fq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function Fq() {
+ var e = Pq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = CEe(e).map(function(e) {
+ var m = PEe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -58174,32 +58393,32 @@ function Iq() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return Iq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, Mq.apply(d(), arguments);
+ return Fq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, jq.apply(d(), arguments);
}
-function Lq(e) {
+function Iq(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return Lq(t());
+ return Iq(t());
}, e;
}
-function wEe() {
- return Lq(Iq.apply(null, arguments).paddingInner(1));
+function FEe() {
+ return Iq(Fq.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function Rq(e, t, n) {
+function Lq(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function zq(e, t) {
+function Rq(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function Bq() {}
-var Vq = .7, Hq = 1 / Vq, Uq = "\\s*([+-]?\\d+)\\s*", Wq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Gq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", TEe = /^#([0-9a-f]{3,8})$/, EEe = RegExp(`^rgb\\(${Uq},${Uq},${Uq}\\)$`), DEe = RegExp(`^rgb\\(${Gq},${Gq},${Gq}\\)$`), OEe = RegExp(`^rgba\\(${Uq},${Uq},${Uq},${Wq}\\)$`), kEe = RegExp(`^rgba\\(${Gq},${Gq},${Gq},${Wq}\\)$`), AEe = RegExp(`^hsl\\(${Wq},${Gq},${Gq}\\)$`), jEe = RegExp(`^hsla\\(${Wq},${Gq},${Gq},${Wq}\\)$`), Kq = {
+function zq() {}
+var Bq = .7, Vq = 1 / Bq, Hq = "\\s*([+-]?\\d+)\\s*", Uq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Wq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", IEe = /^#([0-9a-f]{3,8})$/, LEe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), REe = RegExp(`^rgb\\(${Wq},${Wq},${Wq}\\)$`), zEe = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Uq}\\)$`), BEe = RegExp(`^rgba\\(${Wq},${Wq},${Wq},${Uq}\\)$`), VEe = RegExp(`^hsl\\(${Uq},${Wq},${Wq}\\)$`), HEe = RegExp(`^hsla\\(${Uq},${Wq},${Wq},${Uq}\\)$`), Gq = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -58349,170 +58568,170 @@ var Vq = .7, Hq = 1 / Vq, Uq = "\\s*([+-]?\\d+)\\s*", Wq = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-Rq(Bq, Yq, {
+Lq(zq, Jq, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: qq,
- formatHex: qq,
- formatHex8: MEe,
- formatHsl: NEe,
- formatRgb: Jq,
- toString: Jq
+ hex: Kq,
+ formatHex: Kq,
+ formatHex8: UEe,
+ formatHsl: WEe,
+ formatRgb: qq,
+ toString: qq
});
-function qq() {
+function Kq() {
return this.rgb().formatHex();
}
-function MEe() {
+function UEe() {
return this.rgb().formatHex8();
}
-function NEe() {
- return oJ(this).formatHsl();
+function WEe() {
+ return aJ(this).formatHsl();
}
-function Jq() {
+function qq() {
return this.rgb().formatRgb();
}
-function Yq(e) {
+function Jq(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = TEe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Xq(t) : n === 3 ? new $q(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Zq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Zq(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = EEe.exec(e)) ? new $q(t[1], t[2], t[3], 1) : (t = DEe.exec(e)) ? new $q(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = OEe.exec(e)) ? Zq(t[1], t[2], t[3], t[4]) : (t = kEe.exec(e)) ? Zq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = AEe.exec(e)) ? aJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = jEe.exec(e)) ? aJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Kq.hasOwnProperty(e) ? Xq(Kq[e]) : e === "transparent" ? new $q(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = IEe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Yq(t) : n === 3 ? new Qq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Xq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Xq(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = LEe.exec(e)) ? new Qq(t[1], t[2], t[3], 1) : (t = REe.exec(e)) ? new Qq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = zEe.exec(e)) ? Xq(t[1], t[2], t[3], t[4]) : (t = BEe.exec(e)) ? Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = VEe.exec(e)) ? iJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = HEe.exec(e)) ? iJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Gq.hasOwnProperty(e) ? Yq(Gq[e]) : e === "transparent" ? new Qq(NaN, NaN, NaN, 0) : null;
}
-function Xq(e) {
- return new $q(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
+function Yq(e) {
+ return new Qq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
-function Zq(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new $q(e, t, n, r);
+function Xq(e, t, n, r) {
+ return r <= 0 && (e = t = n = NaN), new Qq(e, t, n, r);
}
-function PEe(e) {
- return e instanceof Bq || (e = Yq(e)), e ? (e = e.rgb(), new $q(e.r, e.g, e.b, e.opacity)) : new $q();
+function GEe(e) {
+ return e instanceof zq || (e = Jq(e)), e ? (e = e.rgb(), new Qq(e.r, e.g, e.b, e.opacity)) : new Qq();
}
-function Qq(e, t, n, r) {
- return arguments.length === 1 ? PEe(e) : new $q(e, t, n, r ?? 1);
+function Zq(e, t, n, r) {
+ return arguments.length === 1 ? GEe(e) : new Qq(e, t, n, r ?? 1);
}
-function $q(e, t, n, r) {
+function Qq(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-Rq($q, Qq, zq(Bq, {
+Lq(Qq, Zq, Rq(zq, {
brighter(e) {
- return e = e == null ? Hq : Hq ** +e, new $q(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Vq : Vq ** +e, new Qq(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? Vq : Vq ** +e, new $q(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Bq : Bq ** +e, new Qq(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new $q(rJ(this.r), rJ(this.g), rJ(this.b), nJ(this.opacity));
+ return new Qq(nJ(this.r), nJ(this.g), nJ(this.b), tJ(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: eJ,
- formatHex: eJ,
- formatHex8: FEe,
- formatRgb: tJ,
- toString: tJ
+ hex: $q,
+ formatHex: $q,
+ formatHex8: KEe,
+ formatRgb: eJ,
+ toString: eJ
}));
-function eJ() {
- return `#${iJ(this.r)}${iJ(this.g)}${iJ(this.b)}`;
+function $q() {
+ return `#${rJ(this.r)}${rJ(this.g)}${rJ(this.b)}`;
}
-function FEe() {
- return `#${iJ(this.r)}${iJ(this.g)}${iJ(this.b)}${iJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function KEe() {
+ return `#${rJ(this.r)}${rJ(this.g)}${rJ(this.b)}${rJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function tJ() {
- let e = nJ(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${rJ(this.r)}, ${rJ(this.g)}, ${rJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function eJ() {
+ let e = tJ(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${nJ(this.r)}, ${nJ(this.g)}, ${nJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function nJ(e) {
+function tJ(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function rJ(e) {
+function nJ(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function iJ(e) {
- return e = rJ(e), (e < 16 ? "0" : "") + e.toString(16);
+function rJ(e) {
+ return e = nJ(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function aJ(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new sJ(e, t, n, r);
+function iJ(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new oJ(e, t, n, r);
}
-function oJ(e) {
- if (e instanceof sJ) return new sJ(e.h, e.s, e.l, e.opacity);
- if (e instanceof Bq || (e = Yq(e)), !e) return new sJ();
- if (e instanceof sJ) return e;
+function aJ(e) {
+ if (e instanceof oJ) return new oJ(e.h, e.s, e.l, e.opacity);
+ if (e instanceof zq || (e = Jq(e)), !e) return new oJ();
+ if (e instanceof oJ) return e;
e = e.rgb();
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new sJ(o, s, c, e.opacity);
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new oJ(o, s, c, e.opacity);
}
-function IEe(e, t, n, r) {
- return arguments.length === 1 ? oJ(e) : new sJ(e, t, n, r ?? 1);
+function qEe(e, t, n, r) {
+ return arguments.length === 1 ? aJ(e) : new oJ(e, t, n, r ?? 1);
}
-function sJ(e, t, n, r) {
+function oJ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-Rq(sJ, IEe, zq(Bq, {
+Lq(oJ, qEe, Rq(zq, {
brighter(e) {
- return e = e == null ? Hq : Hq ** +e, new sJ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Vq : Vq ** +e, new oJ(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? Vq : Vq ** +e, new sJ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Bq : Bq ** +e, new oJ(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new $q(uJ(e >= 240 ? e - 240 : e + 120, i, r), uJ(e, i, r), uJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new Qq(lJ(e >= 240 ? e - 240 : e + 120, i, r), lJ(e, i, r), lJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new sJ(cJ(this.h), lJ(this.s), lJ(this.l), nJ(this.opacity));
+ return new oJ(sJ(this.h), cJ(this.s), cJ(this.l), tJ(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = nJ(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${cJ(this.h)}, ${lJ(this.s) * 100}%, ${lJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = tJ(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${sJ(this.h)}, ${cJ(this.s) * 100}%, ${cJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function cJ(e) {
+function sJ(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function lJ(e) {
+function cJ(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function uJ(e, t, n) {
+function lJ(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var dJ = (e) => () => e;
+var uJ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function LEe(e, t) {
+function JEe(e, t) {
return function(n) {
return e + n * t;
};
}
-function REe(e, t, n) {
+function YEe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function zEe(e) {
- return (e = +e) == 1 ? fJ : function(t, n) {
- return n - t ? REe(t, n, e) : dJ(isNaN(t) ? n : t);
+function XEe(e) {
+ return (e = +e) == 1 ? dJ : function(t, n) {
+ return n - t ? YEe(t, n, e) : uJ(isNaN(t) ? n : t);
};
}
-function fJ(e, t) {
+function dJ(e, t) {
var n = t - e;
- return n ? LEe(e, n) : dJ(isNaN(e) ? t : e);
+ return n ? JEe(e, n) : uJ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var pJ = (function e(t) {
- var n = zEe(t);
+var fJ = (function e(t) {
+ var n = XEe(t);
function r(e, t) {
- var r = n((e = Qq(e)).r, (t = Qq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = fJ(e.opacity, t.opacity);
+ var r = n((e = Zq(e)).r, (t = Zq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = dJ(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -58521,7 +58740,7 @@ var pJ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function BEe(e, t) {
+function ZEe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -58529,14 +58748,14 @@ function BEe(e, t) {
return r;
};
}
-function VEe(e) {
+function QEe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function HEe(e, t) {
+function $Ee(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
- for (o = 0; o < r; ++o) i[o] = _J(e[o], t[o]);
+ for (o = 0; o < r; ++o) i[o] = gJ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -58545,7 +58764,7 @@ function HEe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function UEe(e, t) {
+function eDe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -58553,16 +58772,16 @@ function UEe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function mJ(e, t) {
+function pJ(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function WEe(e, t) {
+function tDe(e, t) {
var n = {}, r = {}, i;
- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = _J(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = gJ(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -58570,45 +58789,45 @@ function WEe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var hJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, gJ = new RegExp(hJ.source, "g");
-function GEe(e) {
+var mJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, hJ = new RegExp(mJ.source, "g");
+function nDe(e) {
return function() {
return e;
};
}
-function KEe(e) {
+function rDe(e) {
return function(t) {
return e(t) + "";
};
}
-function qEe(e, t) {
- var n = hJ.lastIndex = gJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = hJ.exec(e)) && (i = gJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
+function iDe(e, t) {
+ var n = mJ.lastIndex = hJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = mJ.exec(e)) && (i = hJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
- x: mJ(r, i)
- })), n = gJ.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? KEe(c[0].x) : GEe(t) : (t = c.length, function(e) {
+ x: pJ(r, i)
+ })), n = hJ.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? rDe(c[0].x) : nDe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function _J(e, t) {
+function gJ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? dJ(t) : (n === "number" ? mJ : n === "string" ? (r = Yq(t)) ? (t = r, pJ) : qEe : t instanceof Yq ? pJ : t instanceof Date ? UEe : VEe(t) ? BEe : Array.isArray(t) ? HEe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? WEe : mJ)(e, t);
+ return t == null || n === "boolean" ? uJ(t) : (n === "number" ? pJ : n === "string" ? (r = Jq(t)) ? (t = r, fJ) : iDe : t instanceof Jq ? fJ : t instanceof Date ? eDe : QEe(t) ? ZEe : Array.isArray(t) ? $Ee : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? tDe : pJ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function vJ(e, t) {
+function _J(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function JEe(e, t) {
- t === void 0 && (t = e, e = _J);
+function aDe(e, t) {
+ t === void 0 && (t = e, e = gJ);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -58617,69 +58836,69 @@ function JEe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function YEe(e) {
+function oDe(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function yJ(e) {
+function vJ(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var bJ = [0, 1];
-function xJ(e) {
+var yJ = [0, 1];
+function bJ(e) {
return e;
}
-function SJ(e, t) {
+function xJ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : YEe(isNaN(t) ? NaN : .5);
+ } : oDe(isNaN(t) ? NaN : .5);
}
-function XEe(e, t) {
+function sDe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function ZEe(e, t, n) {
+function cDe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = SJ(i, r), a = n(o, a)) : (r = SJ(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = xJ(i, r), a = n(o, a)) : (r = xJ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function QEe(e, t, n) {
+function lDe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = SJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = xJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = vq(e, t, 1, r) - 1;
+ var n = _q(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function CJ(e, t) {
+function SJ(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function wJ() {
- var e = bJ, t = bJ, n = _J, r, i, a, o = xJ, s, c, l;
+function CJ() {
+ var e = yJ, t = yJ, n = gJ, r, i, a, o = bJ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== xJ && (o = XEe(e[0], e[n - 1])), s = n > 2 ? QEe : ZEe, c = l = null, d;
+ return o !== bJ && (o = sDe(e[0], e[n - 1])), s = n > 2 ? lDe : cDe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), mJ))(n)));
+ return o(i((l ||= s(t, e.map(r), pJ))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, yJ), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, vJ), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = vJ, u();
+ return t = Array.from(e), n = _J, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : xJ, u()) : o !== xJ;
+ return arguments.length ? (o = e ? !0 : bJ, u()) : o !== bJ;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -58688,27 +58907,27 @@ function wJ() {
return r = e, i = t, u();
};
}
-function TJ() {
- return wJ()(xJ, xJ);
+function wJ() {
+ return CJ()(bJ, bJ);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function $Ee(e) {
+function uDe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function EJ(e, t) {
+function TJ(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function DJ(e) {
- return e = EJ(Math.abs(e)), e ? e[1] : NaN;
+function EJ(e) {
+ return e = TJ(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function eDe(e, t) {
+function dDe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -58716,7 +58935,7 @@ function eDe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function tDe(e) {
+function fDe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -58725,11 +58944,11 @@ function tDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var nDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function OJ(e) {
- if (!(t = nDe.exec(e))) throw Error("invalid format: " + e);
+var pDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function DJ(e) {
+ if (!(t = pDe.exec(e))) throw Error("invalid format: " + e);
var t;
- return new kJ({
+ return new OJ({
fill: t[1],
align: t[2],
sign: t[3],
@@ -58742,16 +58961,16 @@ function OJ(e) {
type: t[10]
});
}
-OJ.prototype = kJ.prototype;
-function kJ(e) {
+DJ.prototype = OJ.prototype;
+function OJ(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-kJ.prototype.toString = function() {
+OJ.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function rDe(e) {
+function mDe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -58767,46 +58986,46 @@ function rDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var AJ;
-function iDe(e, t) {
- var n = EJ(e, t);
- if (!n) return AJ = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (AJ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + EJ(e, Math.max(0, t + a - 1))[0];
+var kJ;
+function hDe(e, t) {
+ var n = TJ(e, t);
+ if (!n) return kJ = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (kJ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + TJ(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function jJ(e, t) {
- var n = EJ(e, t);
+function AJ(e, t) {
+ var n = TJ(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var MJ = {
+var jJ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: $Ee,
+ d: uDe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => jJ(e * 100, t),
- r: jJ,
- s: iDe,
+ p: (e, t) => AJ(e * 100, t),
+ r: AJ,
+ s: hDe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function NJ(e) {
+function MJ(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var PJ = Array.prototype.map, FJ = [
+var NJ = Array.prototype.map, PJ = [
"y",
"z",
"a",
@@ -58825,13 +59044,13 @@ var PJ = Array.prototype.map, FJ = [
"Z",
"Y"
];
-function aDe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? NJ : eDe(PJ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? NJ : tDe(PJ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function gDe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? MJ : dDe(NJ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? MJ : fDe(NJ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
- e = OJ(e);
+ e = DJ(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : MJ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = MJ[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : jJ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = jJ[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -58839,7 +59058,7 @@ function aDe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = rDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && AJ !== void 0 ? FJ[8 + AJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = mDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && kJ !== void 0 ? PJ[8 + kJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -58867,7 +59086,7 @@ function aDe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(DJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = OJ(e), e.type = "f", e), { suffix: FJ[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(EJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = DJ(e), e.type = "f", e), { suffix: PJ[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -58879,65 +59098,65 @@ function aDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var IJ, LJ, RJ;
-oDe({
+var FJ, IJ, LJ;
+_De({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function oDe(e) {
- return IJ = aDe(e), LJ = IJ.format, RJ = IJ.formatPrefix, IJ;
+function _De(e) {
+ return FJ = gDe(e), IJ = FJ.format, LJ = FJ.formatPrefix, FJ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function sDe(e) {
- return Math.max(0, -DJ(Math.abs(e)));
+function vDe(e) {
+ return Math.max(0, -EJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function cDe(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(DJ(t) / 3))) * 3 - DJ(Math.abs(e)));
+function yDe(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(EJ(t) / 3))) * 3 - EJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function lDe(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, DJ(t) - DJ(e)) + 1;
+function bDe(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, EJ(t) - EJ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function zJ(e, t, n, r) {
- var i = Eq(e, t, n), a;
- switch (r = OJ(r ?? ",f"), r.type) {
+function RJ(e, t, n, r) {
+ var i = Tq(e, t, n), a;
+ switch (r = DJ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = cDe(i, o)) && (r.precision = a), RJ(r, o);
+ return r.precision == null && !isNaN(a = yDe(i, o)) && (r.precision = a), LJ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = lDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = bDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = sDe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = vDe(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return LJ(r);
+ return IJ(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function BJ(e) {
+function zJ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return wq(n[0], n[n.length - 1], e ?? 10);
+ return Cq(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return zJ(r[0], r[r.length - 1], e ?? 10, n);
+ return RJ(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = Tq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = wq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -58946,64 +59165,64 @@ function BJ(e) {
return e;
}, e;
}
-function VJ() {
- var e = TJ();
+function BJ() {
+ var e = wJ();
return e.copy = function() {
- return CJ(e, VJ());
- }, Mq.apply(e, arguments), BJ(e);
+ return SJ(e, BJ());
+ }, jq.apply(e, arguments), zJ(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function HJ(e) {
+function VJ(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, yJ), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, vJ), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return HJ(e).unknown(t);
- }, e = arguments.length ? Array.from(e, yJ) : [0, 1], BJ(n);
+ return VJ(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, vJ) : [0, 1], zJ(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function UJ(e, t) {
+function HJ(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function WJ(e) {
+function UJ(e) {
return Math.log(e);
}
-function GJ(e) {
+function WJ(e) {
return Math.exp(e);
}
-function uDe(e) {
+function xDe(e) {
return -Math.log(-e);
}
-function dDe(e) {
+function SDe(e) {
return -Math.exp(-e);
}
-function fDe(e) {
+function CDe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function pDe(e) {
- return e === 10 ? fDe : e === Math.E ? Math.exp : (t) => e ** +t;
+function wDe(e) {
+ return e === 10 ? CDe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function mDe(e) {
+function TDe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
-function KJ(e) {
+function GJ(e) {
return (t, n) => -e(-t, n);
}
-function qJ(e) {
- let t = e(WJ, GJ), n = t.domain, r = 10, i, a;
+function KJ(e) {
+ let t = e(UJ, WJ), n = t.domain, r = 10, i, a;
function o() {
- return i = mDe(r), a = pDe(r), n()[0] < 0 ? (i = KJ(i), a = KJ(a), e(uDe, dDe)) : e(WJ, GJ), t;
+ return i = TDe(r), a = wDe(r), n()[0] < 0 ? (i = GJ(i), a = GJ(a), e(xDe, SDe)) : e(UJ, WJ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -59023,100 +59242,100 @@ function qJ(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = wq(o, s, p));
- } else m = wq(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = Cq(o, s, p));
+ } else m = Cq(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = OJ(n)).precision == null && (n.trim = !0), n = LJ(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = DJ(n)).precision == null && (n.trim = !0), n = IJ(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(UJ(n(), {
+ }, t.nice = () => n(HJ(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function JJ() {
- let e = qJ(wJ()).domain([1, 10]);
- return e.copy = () => CJ(e, JJ()).base(e.base()), Mq.apply(e, arguments), e;
+function qJ() {
+ let e = KJ(CJ()).domain([1, 10]);
+ return e.copy = () => SJ(e, qJ()).base(e.base()), jq.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function YJ(e) {
+function JJ(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function XJ(e) {
+function YJ(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function ZJ(e) {
- var t = 1, n = e(YJ(t), XJ(t));
+function XJ(e) {
+ var t = 1, n = e(JJ(t), YJ(t));
return n.constant = function(n) {
- return arguments.length ? e(YJ(t = +n), XJ(t)) : t;
- }, BJ(n);
+ return arguments.length ? e(JJ(t = +n), YJ(t)) : t;
+ }, zJ(n);
}
-function QJ() {
- var e = ZJ(wJ());
+function ZJ() {
+ var e = XJ(CJ());
return e.copy = function() {
- return CJ(e, QJ()).constant(e.constant());
- }, Mq.apply(e, arguments);
+ return SJ(e, ZJ()).constant(e.constant());
+ }, jq.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function $J(e) {
+function QJ(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function hDe(e) {
+function EDe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function gDe(e) {
+function DDe(e) {
return e < 0 ? -e * e : e * e;
}
-function eY(e) {
- var t = e(xJ, xJ), n = 1;
+function $J(e) {
+ var t = e(bJ, bJ), n = 1;
function r() {
- return n === 1 ? e(xJ, xJ) : n === .5 ? e(hDe, gDe) : e($J(n), $J(1 / n));
+ return n === 1 ? e(bJ, bJ) : n === .5 ? e(EDe, DDe) : e(QJ(n), QJ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, BJ(t);
+ }, zJ(t);
}
-function tY() {
- var e = eY(wJ());
+function eY() {
+ var e = $J(CJ());
return e.copy = function() {
- return CJ(e, tY()).exponent(e.exponent());
- }, Mq.apply(e, arguments), e;
+ return SJ(e, eY()).exponent(e.exponent());
+ }, jq.apply(e, arguments), e;
}
-function _De() {
- return tY.apply(null, arguments).exponent(.5);
+function ODe() {
+ return eY.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function nY(e) {
+function tY(e) {
return Math.sign(e) * e * e;
}
-function vDe(e) {
+function kDe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function rY() {
- var e = TJ(), t = [0, 1], n = !1, r;
+function nY() {
+ var e = wJ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = vDe(e(t));
+ var i = kDe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(nY(t));
+ return e.invert(tY(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, yJ)).map(nY)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, vJ)).map(tY)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -59126,20 +59345,20 @@ function rY() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return rY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, Mq.apply(i, arguments), BJ(i);
+ return nY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, jq.apply(i, arguments), zJ(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function iY() {
+function rY() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = SEe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = NEe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[vq(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[_q(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -59148,7 +59367,7 @@ function iY() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(mq), i();
+ return e.sort(pq), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -59156,15 +59375,15 @@ function iY() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return iY().domain(e).range(t).unknown(r);
- }, Mq.apply(a, arguments);
+ return rY().domain(e).range(t).unknown(r);
+ }, jq.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function aY() {
+function iY() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[vq(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[_q(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -59183,15 +59402,15 @@ function aY() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return aY().domain([e, t]).range(i).unknown(a);
- }, Mq.apply(BJ(o), arguments);
+ return iY().domain([e, t]).range(i).unknown(a);
+ }, jq.apply(zJ(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function oY() {
+function aY() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[vq(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[_q(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -59203,13 +59422,13 @@ function oY() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return oY().domain(e).range(t).unknown(n);
- }, Mq.apply(i, arguments);
+ return aY().domain(e).range(t).unknown(n);
+ }, jq.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var sY = /* @__PURE__ */ new Date(), cY = /* @__PURE__ */ new Date();
-function lY(e, t, n, r) {
+var oY = /* @__PURE__ */ new Date(), sY = /* @__PURE__ */ new Date();
+function cY(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -59224,226 +59443,226 @@ function lY(e, t, n, r) {
o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
while (s < n && n < r);
return o;
- }, i.filter = (n) => lY((t) => {
+ }, i.filter = (n) => cY((t) => {
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
}, (e, r) => {
if (e >= e) {
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
else for (; --r >= 0;) for (; t(e, 1), !n(e););
}
- }), n && (i.count = (t, r) => (sY.setTime(+t), cY.setTime(+r), e(sY), e(cY), Math.floor(n(sY, cY))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
+ }), n && (i.count = (t, r) => (oY.setTime(+t), sY.setTime(+r), e(oY), e(sY), Math.floor(n(oY, sY))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
}
//#endregion
//#region node_modules/d3-time/src/millisecond.js
-var uY = lY(() => {}, (e, t) => {
+var lY = cY(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-uY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? lY((t) => {
+lY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? cY((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : uY), uY.range;
+}, (t, n) => (n - t) / e) : lY), lY.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var dY = 1e3, fY = dY * 60, pY = fY * 60, mY = pY * 24, hY = mY * 7, gY = mY * 30, _Y = mY * 365, vY = lY((e) => {
+var uY = 1e3, dY = uY * 60, fY = dY * 60, pY = fY * 24, mY = pY * 7, hY = pY * 30, gY = pY * 365, _Y = cY((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * dY);
-}, (e, t) => (t - e) / dY, (e) => e.getUTCSeconds());
-vY.range;
+ e.setTime(+e + t * uY);
+}, (e, t) => (t - e) / uY, (e) => e.getUTCSeconds());
+_Y.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var yY = lY((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * dY);
+var vY = cY((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * uY);
}, (e, t) => {
- e.setTime(+e + t * fY);
-}, (e, t) => (t - e) / fY, (e) => e.getMinutes());
-yY.range;
-var bY = lY((e) => {
+ e.setTime(+e + t * dY);
+}, (e, t) => (t - e) / dY, (e) => e.getMinutes());
+vY.range;
+var yY = cY((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * fY);
-}, (e, t) => (t - e) / fY, (e) => e.getUTCMinutes());
-bY.range;
+ e.setTime(+e + t * dY);
+}, (e, t) => (t - e) / dY, (e) => e.getUTCMinutes());
+yY.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var xY = lY((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * dY - e.getMinutes() * fY);
+var bY = cY((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * uY - e.getMinutes() * dY);
}, (e, t) => {
- e.setTime(+e + t * pY);
-}, (e, t) => (t - e) / pY, (e) => e.getHours());
-xY.range;
-var SY = lY((e) => {
+ e.setTime(+e + t * fY);
+}, (e, t) => (t - e) / fY, (e) => e.getHours());
+bY.range;
+var xY = cY((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * pY);
-}, (e, t) => (t - e) / pY, (e) => e.getUTCHours());
-SY.range;
+ e.setTime(+e + t * fY);
+}, (e, t) => (t - e) / fY, (e) => e.getUTCHours());
+xY.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var CY = lY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * fY) / mY, (e) => e.getDate() - 1);
-CY.range;
-var wY = lY((e) => {
+var SY = cY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * dY) / pY, (e) => e.getDate() - 1);
+SY.range;
+var CY = cY((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / mY, (e) => e.getUTCDate() - 1);
-wY.range;
-var TY = lY((e) => {
+}, (e, t) => (t - e) / pY, (e) => e.getUTCDate() - 1);
+CY.range;
+var wY = cY((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / mY, (e) => Math.floor(e / mY));
-TY.range;
+}, (e, t) => (t - e) / pY, (e) => Math.floor(e / pY));
+wY.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function EY(e) {
- return lY((t) => {
+function TY(e) {
+ return cY((t) => {
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setDate(e.getDate() + t * 7);
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * fY) / hY);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * dY) / mY);
}
-var DY = EY(0), OY = EY(1), yDe = EY(2), bDe = EY(3), kY = EY(4), xDe = EY(5), SDe = EY(6);
-DY.range, OY.range, yDe.range, bDe.range, kY.range, xDe.range, SDe.range;
-function AY(e) {
- return lY((t) => {
+var EY = TY(0), DY = TY(1), ADe = TY(2), jDe = TY(3), OY = TY(4), MDe = TY(5), NDe = TY(6);
+EY.range, DY.range, ADe.range, jDe.range, OY.range, MDe.range, NDe.range;
+function kY(e) {
+ return cY((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t * 7);
- }, (e, t) => (t - e) / hY);
+ }, (e, t) => (t - e) / mY);
}
-var jY = AY(0), MY = AY(1), CDe = AY(2), wDe = AY(3), NY = AY(4), TDe = AY(5), EDe = AY(6);
-jY.range, MY.range, CDe.range, wDe.range, NY.range, TDe.range, EDe.range;
+var AY = kY(0), jY = kY(1), PDe = kY(2), FDe = kY(3), MY = kY(4), IDe = kY(5), LDe = kY(6);
+AY.range, jY.range, PDe.range, FDe.range, MY.range, IDe.range, LDe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var PY = lY((e) => {
+var NY = cY((e) => {
e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setMonth(e.getMonth() + t);
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
-PY.range;
-var FY = lY((e) => {
+NY.range;
+var PY = cY((e) => {
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCMonth(e.getUTCMonth() + t);
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
-FY.range;
+PY.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var IY = lY((e) => {
+var FY = cY((e) => {
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setFullYear(e.getFullYear() + t);
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
-IY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : lY((t) => {
+FY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : cY((t) => {
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
}, (t, n) => {
t.setFullYear(t.getFullYear() + n * e);
-}), IY.range;
-var LY = lY((e) => {
+}), FY.range;
+var IY = cY((e) => {
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCFullYear(e.getUTCFullYear() + t);
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
-LY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : lY((t) => {
+IY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : cY((t) => {
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
}, (t, n) => {
t.setUTCFullYear(t.getUTCFullYear() + n * e);
-}), LY.range;
+}), IY.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function RY(e, t, n, r, i, a) {
+function LY(e, t, n, r, i, a) {
let o = [
[
- vY,
+ _Y,
1,
- dY
+ uY
],
[
- vY,
+ _Y,
5,
- 5 * dY
+ 5 * uY
],
[
- vY,
+ _Y,
15,
- 15 * dY
+ 15 * uY
],
[
- vY,
+ _Y,
30,
- 30 * dY
+ 30 * uY
],
[
a,
1,
- fY
+ dY
],
[
a,
5,
- 5 * fY
+ 5 * dY
],
[
a,
15,
- 15 * fY
+ 15 * dY
],
[
a,
30,
- 30 * fY
+ 30 * dY
],
[
i,
1,
- pY
+ fY
],
[
i,
3,
- 3 * pY
+ 3 * fY
],
[
i,
6,
- 6 * pY
+ 6 * fY
],
[
i,
12,
- 12 * pY
+ 12 * fY
],
[
r,
1,
- mY
+ pY
],
[
r,
2,
- 2 * mY
+ 2 * pY
],
[
n,
1,
- hY
+ mY
],
[
t,
1,
- gY
+ hY
],
[
t,
3,
- 3 * gY
+ 3 * hY
],
[
e,
1,
- _Y
+ gY
]
];
function s(e, t, n) {
@@ -59453,32 +59672,32 @@ function RY(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = hq(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(Eq(t / _Y, n / _Y, r));
- if (a === 0) return uY.every(Math.max(Eq(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = mq(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(Tq(t / gY, n / gY, r));
+ if (a === 0) return lY.every(Math.max(Tq(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [DDe, ODe] = RY(LY, FY, jY, TY, SY, bY), [kDe, ADe] = RY(IY, PY, DY, CY, xY, yY);
+var [RDe, zDe] = LY(IY, PY, AY, wY, xY, yY), [BDe, VDe] = LY(FY, NY, EY, SY, bY, vY);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function zY(e) {
+function RY(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
return t.setFullYear(e.y), t;
}
return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
}
-function BY(e) {
+function zY(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
return t.setUTCFullYear(e.y), t;
}
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
}
-function VY(e, t, n) {
+function BY(e, t, n) {
return {
y: e,
m: t,
@@ -59489,133 +59708,133 @@ function VY(e, t, n) {
L: 0
};
}
-function jDe(e) {
- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = GY(i), u = KY(i), d = GY(a), f = KY(a), p = GY(o), m = KY(o), h = GY(s), g = KY(s), _ = GY(c), v = KY(c), y = {
+function HDe(e) {
+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = WY(i), u = GY(i), d = WY(a), f = GY(a), p = WY(o), m = GY(o), h = WY(s), g = GY(s), _ = WY(c), v = GY(c), y = {
a: N,
A: ee,
b: te,
B: P,
c: null,
- d: ZY,
- e: ZY,
- f: eOe,
- g: uOe,
- G: fOe,
- H: ZDe,
- I: QDe,
- j: $De,
- L: QY,
- m: tOe,
- M: nOe,
+ d: XY,
+ e: XY,
+ f: dOe,
+ g: xOe,
+ G: COe,
+ H: cOe,
+ I: lOe,
+ j: uOe,
+ L: ZY,
+ m: fOe,
+ M: pOe,
p: F,
q: ne,
- Q: iX,
- s: aX,
- S: rOe,
- u: iOe,
- U: aOe,
- V: oOe,
- w: sOe,
- W: cOe,
+ Q: rX,
+ s: iX,
+ S: mOe,
+ u: hOe,
+ U: gOe,
+ V: _Oe,
+ w: vOe,
+ W: yOe,
x: null,
X: null,
- y: lOe,
- Y: dOe,
- Z: pOe,
- "%": rX
+ y: bOe,
+ Y: SOe,
+ Z: wOe,
+ "%": nX
}, b = {
a: I,
A: re,
b: L,
B: ie,
c: null,
- d: eX,
- e: eX,
- f: _Oe,
- g: DOe,
- G: kOe,
- H: mOe,
- I: hOe,
- j: gOe,
- L: tX,
- m: vOe,
- M: yOe,
+ d: $Y,
+ e: $Y,
+ f: OOe,
+ g: ROe,
+ G: BOe,
+ H: TOe,
+ I: EOe,
+ j: DOe,
+ L: eX,
+ m: kOe,
+ M: AOe,
p: ae,
q: oe,
- Q: iX,
- s: aX,
- S: bOe,
- u: xOe,
- U: SOe,
- V: COe,
- w: wOe,
- W: TOe,
+ Q: rX,
+ s: iX,
+ S: jOe,
+ u: MOe,
+ U: NOe,
+ V: POe,
+ w: FOe,
+ W: IOe,
x: null,
X: null,
- y: EOe,
- Y: OOe,
- Z: AOe,
- "%": rX
+ y: LOe,
+ Y: zOe,
+ Z: VOe,
+ "%": nX
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: YY,
- e: YY,
- f: qDe,
- g: JY,
- G: qY,
- H: XY,
- I: XY,
- j: UDe,
- L: KDe,
- m: HDe,
- M: WDe,
+ d: JY,
+ e: JY,
+ f: iOe,
+ g: qY,
+ G: KY,
+ H: YY,
+ I: YY,
+ j: eOe,
+ L: rOe,
+ m: $De,
+ M: tOe,
p: T,
- q: VDe,
- Q: YDe,
- s: XDe,
- S: GDe,
- u: IDe,
- U: LDe,
- V: RDe,
- w: FDe,
- W: zDe,
+ q: QDe,
+ Q: oOe,
+ s: sOe,
+ S: nOe,
+ u: qDe,
+ U: JDe,
+ V: YDe,
+ w: KDe,
+ W: XDe,
x: j,
X: M,
- y: JY,
- Y: qY,
- Z: BDe,
- "%": JDe
+ y: qY,
+ Y: KY,
+ Z: ZDe,
+ "%": aOe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = HY[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = VY[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
function C(e, t) {
return function(n) {
- var r = VY(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = BY(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
if (i != n.length) return null;
if ("Q" in r) return new Date(r.Q);
if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
if (r.V < 1 || r.V > 53) return null;
- "w" in r || (r.w = 1), "Z" in r ? (a = BY(VY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? MY.ceil(a) : MY(a), a = wY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = zY(VY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? OY.ceil(a) : OY(a), a = CY.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? BY(VY(r.y, 0, 1)).getUTCDay() : zY(VY(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, BY(r)) : zY(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = zY(BY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? jY.ceil(a) : jY(a), a = CY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = RY(BY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? DY.ceil(a) : DY(a), a = SY.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? zY(BY(r.y, 0, 1)).getUTCDay() : RY(BY(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, zY(r)) : RY(r);
};
}
function w(e, t, n, r) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in HY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in VY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -59712,244 +59931,244 @@ function jDe(e) {
}
};
}
-var HY = {
+var VY = {
"-": "",
_: " ",
0: "0"
-}, UY = /^\s*\d+/, MDe = /^%/, NDe = /[\\^$*+?|[\]().{}]/g;
-function WY(e, t, n) {
+}, HY = /^\s*\d+/, UDe = /^%/, WDe = /[\\^$*+?|[\]().{}]/g;
+function UY(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function PDe(e) {
- return e.replace(NDe, "\\$&");
+function GDe(e) {
+ return e.replace(WDe, "\\$&");
}
-function GY(e) {
- return RegExp("^(?:" + e.map(PDe).join("|") + ")", "i");
+function WY(e) {
+ return RegExp("^(?:" + e.map(GDe).join("|") + ")", "i");
}
-function KY(e) {
+function GY(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function FDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 1));
+function KDe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function IDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 1));
+function qDe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function LDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function JDe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function RDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function YDe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function zDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function XDe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function qY(e, t, n) {
- var r = UY.exec(t.slice(n, n + 4));
+function KY(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function JY(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function qY(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function BDe(e, t, n) {
+function ZDe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function VDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 1));
+function QDe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function HDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function $De(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function YY(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function JY(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function UDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 3));
+function eOe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function XY(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function YY(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function WDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function tOe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function GDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 2));
+function nOe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function KDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 3));
+function rOe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function qDe(e, t, n) {
- var r = UY.exec(t.slice(n, n + 6));
+function iOe(e, t, n) {
+ var r = HY.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function JDe(e, t, n) {
- var r = MDe.exec(t.slice(n, n + 1));
+function aOe(e, t, n) {
+ var r = UDe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function YDe(e, t, n) {
- var r = UY.exec(t.slice(n));
+function oOe(e, t, n) {
+ var r = HY.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function XDe(e, t, n) {
- var r = UY.exec(t.slice(n));
+function sOe(e, t, n) {
+ var r = HY.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function ZY(e, t) {
- return WY(e.getDate(), t, 2);
+function XY(e, t) {
+ return UY(e.getDate(), t, 2);
}
-function ZDe(e, t) {
- return WY(e.getHours(), t, 2);
+function cOe(e, t) {
+ return UY(e.getHours(), t, 2);
}
-function QDe(e, t) {
- return WY(e.getHours() % 12 || 12, t, 2);
+function lOe(e, t) {
+ return UY(e.getHours() % 12 || 12, t, 2);
}
-function $De(e, t) {
- return WY(1 + CY.count(IY(e), e), t, 3);
+function uOe(e, t) {
+ return UY(1 + SY.count(FY(e), e), t, 3);
}
-function QY(e, t) {
- return WY(e.getMilliseconds(), t, 3);
+function ZY(e, t) {
+ return UY(e.getMilliseconds(), t, 3);
}
-function eOe(e, t) {
- return QY(e, t) + "000";
+function dOe(e, t) {
+ return ZY(e, t) + "000";
}
-function tOe(e, t) {
- return WY(e.getMonth() + 1, t, 2);
+function fOe(e, t) {
+ return UY(e.getMonth() + 1, t, 2);
}
-function nOe(e, t) {
- return WY(e.getMinutes(), t, 2);
+function pOe(e, t) {
+ return UY(e.getMinutes(), t, 2);
}
-function rOe(e, t) {
- return WY(e.getSeconds(), t, 2);
+function mOe(e, t) {
+ return UY(e.getSeconds(), t, 2);
}
-function iOe(e) {
+function hOe(e) {
var t = e.getDay();
return t === 0 ? 7 : t;
}
-function aOe(e, t) {
- return WY(DY.count(IY(e) - 1, e), t, 2);
+function gOe(e, t) {
+ return UY(EY.count(FY(e) - 1, e), t, 2);
}
-function $Y(e) {
+function QY(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? kY(e) : kY.ceil(e);
+ return t >= 4 || t === 0 ? OY(e) : OY.ceil(e);
}
-function oOe(e, t) {
- return e = $Y(e), WY(kY.count(IY(e), e) + (IY(e).getDay() === 4), t, 2);
+function _Oe(e, t) {
+ return e = QY(e), UY(OY.count(FY(e), e) + (FY(e).getDay() === 4), t, 2);
}
-function sOe(e) {
+function vOe(e) {
return e.getDay();
}
-function cOe(e, t) {
- return WY(OY.count(IY(e) - 1, e), t, 2);
+function yOe(e, t) {
+ return UY(DY.count(FY(e) - 1, e), t, 2);
}
-function lOe(e, t) {
- return WY(e.getFullYear() % 100, t, 2);
+function bOe(e, t) {
+ return UY(e.getFullYear() % 100, t, 2);
}
-function uOe(e, t) {
- return e = $Y(e), WY(e.getFullYear() % 100, t, 2);
+function xOe(e, t) {
+ return e = QY(e), UY(e.getFullYear() % 100, t, 2);
}
-function dOe(e, t) {
- return WY(e.getFullYear() % 1e4, t, 4);
+function SOe(e, t) {
+ return UY(e.getFullYear() % 1e4, t, 4);
}
-function fOe(e, t) {
+function COe(e, t) {
var n = e.getDay();
- return e = n >= 4 || n === 0 ? kY(e) : kY.ceil(e), WY(e.getFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? OY(e) : OY.ceil(e), UY(e.getFullYear() % 1e4, t, 4);
}
-function pOe(e) {
+function wOe(e) {
var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + WY(t / 60 | 0, "0", 2) + WY(t % 60, "0", 2);
+ return (t > 0 ? "-" : (t *= -1, "+")) + UY(t / 60 | 0, "0", 2) + UY(t % 60, "0", 2);
}
-function eX(e, t) {
- return WY(e.getUTCDate(), t, 2);
+function $Y(e, t) {
+ return UY(e.getUTCDate(), t, 2);
}
-function mOe(e, t) {
- return WY(e.getUTCHours(), t, 2);
+function TOe(e, t) {
+ return UY(e.getUTCHours(), t, 2);
}
-function hOe(e, t) {
- return WY(e.getUTCHours() % 12 || 12, t, 2);
+function EOe(e, t) {
+ return UY(e.getUTCHours() % 12 || 12, t, 2);
}
-function gOe(e, t) {
- return WY(1 + wY.count(LY(e), e), t, 3);
+function DOe(e, t) {
+ return UY(1 + CY.count(IY(e), e), t, 3);
}
-function tX(e, t) {
- return WY(e.getUTCMilliseconds(), t, 3);
+function eX(e, t) {
+ return UY(e.getUTCMilliseconds(), t, 3);
}
-function _Oe(e, t) {
- return tX(e, t) + "000";
+function OOe(e, t) {
+ return eX(e, t) + "000";
}
-function vOe(e, t) {
- return WY(e.getUTCMonth() + 1, t, 2);
+function kOe(e, t) {
+ return UY(e.getUTCMonth() + 1, t, 2);
}
-function yOe(e, t) {
- return WY(e.getUTCMinutes(), t, 2);
+function AOe(e, t) {
+ return UY(e.getUTCMinutes(), t, 2);
}
-function bOe(e, t) {
- return WY(e.getUTCSeconds(), t, 2);
+function jOe(e, t) {
+ return UY(e.getUTCSeconds(), t, 2);
}
-function xOe(e) {
+function MOe(e) {
var t = e.getUTCDay();
return t === 0 ? 7 : t;
}
-function SOe(e, t) {
- return WY(jY.count(LY(e) - 1, e), t, 2);
+function NOe(e, t) {
+ return UY(AY.count(IY(e) - 1, e), t, 2);
}
-function nX(e) {
+function tX(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? NY(e) : NY.ceil(e);
+ return t >= 4 || t === 0 ? MY(e) : MY.ceil(e);
}
-function COe(e, t) {
- return e = nX(e), WY(NY.count(LY(e), e) + (LY(e).getUTCDay() === 4), t, 2);
+function POe(e, t) {
+ return e = tX(e), UY(MY.count(IY(e), e) + (IY(e).getUTCDay() === 4), t, 2);
}
-function wOe(e) {
+function FOe(e) {
return e.getUTCDay();
}
-function TOe(e, t) {
- return WY(MY.count(LY(e) - 1, e), t, 2);
+function IOe(e, t) {
+ return UY(jY.count(IY(e) - 1, e), t, 2);
}
-function EOe(e, t) {
- return WY(e.getUTCFullYear() % 100, t, 2);
+function LOe(e, t) {
+ return UY(e.getUTCFullYear() % 100, t, 2);
}
-function DOe(e, t) {
- return e = nX(e), WY(e.getUTCFullYear() % 100, t, 2);
+function ROe(e, t) {
+ return e = tX(e), UY(e.getUTCFullYear() % 100, t, 2);
}
-function OOe(e, t) {
- return WY(e.getUTCFullYear() % 1e4, t, 4);
+function zOe(e, t) {
+ return UY(e.getUTCFullYear() % 1e4, t, 4);
}
-function kOe(e, t) {
+function BOe(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? NY(e) : NY.ceil(e), WY(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? MY(e) : MY.ceil(e), UY(e.getUTCFullYear() % 1e4, t, 4);
}
-function AOe() {
+function VOe() {
return "+0000";
}
-function rX() {
+function nX() {
return "%";
}
-function iX(e) {
+function rX(e) {
return +e;
}
-function aX(e) {
+function iX(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var oX, sX, cX;
-jOe({
+var aX, oX, sX;
+HOe({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -60001,26 +60220,26 @@ jOe({
"Dec"
]
});
-function jOe(e) {
- return oX = jDe(e), sX = oX.format, oX.parse, cX = oX.utcFormat, oX.utcParse, oX;
+function HOe(e) {
+ return aX = HDe(e), oX = aX.format, aX.parse, sX = aX.utcFormat, aX.utcParse, aX;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function MOe(e) {
+function UOe(e) {
return new Date(e);
}
-function NOe(e) {
+function WOe(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function lX(e, t, n, r, i, a, o, s, c, l) {
- var u = TJ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+function cX(e, t, n, r, i, a, o, s, c, l) {
+ var u = wJ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, NOe)) : f().map(MOe);
+ return arguments.length ? f(Array.from(e, WOe)) : f().map(UOe);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -60028,23 +60247,23 @@ function lX(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(UJ(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(HJ(n, e)) : u;
}, u.copy = function() {
- return CJ(u, lX(e, t, n, r, i, a, o, s, c, l));
+ return SJ(u, cX(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function POe() {
- return Mq.apply(lX(kDe, ADe, IY, PY, DY, CY, xY, yY, vY, sX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function GOe() {
+ return jq.apply(cX(BDe, VDe, FY, NY, EY, SY, bY, vY, _Y, oX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function FOe() {
- return Mq.apply(lX(DDe, ODe, LY, FY, jY, wY, SY, bY, vY, cX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function KOe() {
+ return jq.apply(cX(RDe, zDe, IY, PY, AY, CY, xY, yY, _Y, sX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function uX() {
- var e = 0, t = 1, n, r, i, a, o = xJ, s = !1, c;
+function lX() {
+ var e = 0, t = 1, n, r, i, a, o = bJ, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -60061,68 +60280,68 @@ function uX() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(_J), l.rangeRound = u(vJ), l.unknown = function(e) {
+ return l.range = u(gJ), l.rangeRound = u(_J), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
};
}
-function dX(e, t) {
+function uX(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
+function dX() {
+ var e = zJ(lX()(bJ));
+ return e.copy = function() {
+ return uX(e, dX());
+ }, Mq.apply(e, arguments);
+}
function fX() {
- var e = BJ(uX()(xJ));
+ var e = KJ(lX()).domain([1, 10]);
return e.copy = function() {
- return dX(e, fX());
- }, Nq.apply(e, arguments);
+ return uX(e, fX()).base(e.base());
+ }, Mq.apply(e, arguments);
}
function pX() {
- var e = qJ(uX()).domain([1, 10]);
+ var e = XJ(lX());
return e.copy = function() {
- return dX(e, pX()).base(e.base());
- }, Nq.apply(e, arguments);
+ return uX(e, pX()).constant(e.constant());
+ }, Mq.apply(e, arguments);
}
function mX() {
- var e = ZJ(uX());
- return e.copy = function() {
- return dX(e, mX()).constant(e.constant());
- }, Nq.apply(e, arguments);
-}
-function hX() {
- var e = eY(uX());
+ var e = $J(lX());
return e.copy = function() {
- return dX(e, hX()).exponent(e.exponent());
- }, Nq.apply(e, arguments);
+ return uX(e, mX()).exponent(e.exponent());
+ }, Mq.apply(e, arguments);
}
-function IOe() {
- return hX.apply(null, arguments).exponent(.5);
+function qOe() {
+ return mX.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function gX() {
- var e = [], t = xJ;
+function hX() {
+ var e = [], t = bJ;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((vq(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((_q(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(mq), n;
+ return e.sort(pq), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => xEe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => MEe(e, r / t));
}, n.copy = function() {
- return gX(t).domain(e);
- }, Nq.apply(n, arguments);
+ return hX(t).domain(e);
+ }, Mq.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function _X() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = xJ, u, d = !1, f;
+function gX() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = bJ, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -60140,7 +60359,7 @@ function _X() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = JEe(e, [
+ return arguments.length ? ([n, r, i] = t, l = aDe(e, [
n,
r,
i
@@ -60151,121 +60370,121 @@ function _X() {
];
};
}
- return p.range = m(_J), p.rangeRound = m(vJ), p.unknown = function(e) {
+ return p.range = m(gJ), p.rangeRound = m(_J), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function vX() {
- var e = BJ(_X()(xJ));
+function _X() {
+ var e = zJ(gX()(bJ));
return e.copy = function() {
- return dX(e, vX());
- }, Nq.apply(e, arguments);
+ return uX(e, _X());
+ }, Mq.apply(e, arguments);
}
-function yX() {
- var e = qJ(_X()).domain([
+function vX() {
+ var e = KJ(gX()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return dX(e, yX()).base(e.base());
- }, Nq.apply(e, arguments);
+ return uX(e, vX()).base(e.base());
+ }, Mq.apply(e, arguments);
}
-function bX() {
- var e = ZJ(_X());
+function yX() {
+ var e = XJ(gX());
return e.copy = function() {
- return dX(e, bX()).constant(e.constant());
- }, Nq.apply(e, arguments);
+ return uX(e, yX()).constant(e.constant());
+ }, Mq.apply(e, arguments);
}
-function xX() {
- var e = eY(_X());
+function bX() {
+ var e = $J(gX());
return e.copy = function() {
- return dX(e, xX()).exponent(e.exponent());
- }, Nq.apply(e, arguments);
+ return uX(e, bX()).exponent(e.exponent());
+ }, Mq.apply(e, arguments);
}
-function LOe() {
- return xX.apply(null, arguments).exponent(.5);
+function JOe() {
+ return bX.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var SX = /* @__PURE__ */ ht({
- scaleBand: () => Iq,
- scaleDiverging: () => vX,
- scaleDivergingLog: () => yX,
- scaleDivergingPow: () => xX,
- scaleDivergingSqrt: () => LOe,
- scaleDivergingSymlog: () => bX,
- scaleIdentity: () => HJ,
- scaleImplicit: () => Pq,
- scaleLinear: () => VJ,
- scaleLog: () => JJ,
- scaleOrdinal: () => Fq,
- scalePoint: () => wEe,
- scalePow: () => tY,
- scaleQuantile: () => iY,
- scaleQuantize: () => aY,
- scaleRadial: () => rY,
- scaleSequential: () => fX,
- scaleSequentialLog: () => pX,
- scaleSequentialPow: () => hX,
- scaleSequentialQuantile: () => gX,
- scaleSequentialSqrt: () => IOe,
- scaleSequentialSymlog: () => mX,
- scaleSqrt: () => _De,
- scaleSymlog: () => QJ,
- scaleThreshold: () => oY,
- scaleTime: () => POe,
- scaleUtc: () => FOe,
- tickFormat: () => zJ
+var xX = /* @__PURE__ */ ht({
+ scaleBand: () => Fq,
+ scaleDiverging: () => _X,
+ scaleDivergingLog: () => vX,
+ scaleDivergingPow: () => bX,
+ scaleDivergingSqrt: () => JOe,
+ scaleDivergingSymlog: () => yX,
+ scaleIdentity: () => VJ,
+ scaleImplicit: () => Nq,
+ scaleLinear: () => BJ,
+ scaleLog: () => qJ,
+ scaleOrdinal: () => Pq,
+ scalePoint: () => FEe,
+ scalePow: () => eY,
+ scaleQuantile: () => rY,
+ scaleQuantize: () => iY,
+ scaleRadial: () => nY,
+ scaleSequential: () => dX,
+ scaleSequentialLog: () => fX,
+ scaleSequentialPow: () => mX,
+ scaleSequentialQuantile: () => hX,
+ scaleSequentialSqrt: () => qOe,
+ scaleSequentialSymlog: () => pX,
+ scaleSqrt: () => ODe,
+ scaleSymlog: () => ZJ,
+ scaleThreshold: () => aY,
+ scaleTime: () => GOe,
+ scaleUtc: () => KOe,
+ tickFormat: () => RJ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function ROe(e) {
- if (e in SX) return SX[e]();
- var t = `scale${Sz(e)}`;
- if (t in SX) return SX[t]();
+function YOe(e) {
+ if (e in xX) return xX[e]();
+ var t = `scale${yz(e)}`;
+ if (t in xX) return xX[t]();
}
-function CX(e, t, n) {
+function SX(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = ROe(e);
+ var r = YOe(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function wX(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? CX(e.scale, n, r) : CX(t, n, r);
+function CX(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? SX(e.scale, n, r) : SX(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function zOe(e) {
- return `scale${Sz(e)}`;
+function XOe(e) {
+ return `scale${yz(e)}`;
}
-function BOe(e) {
- return zOe(e) in SX;
+function ZOe(e) {
+ return XOe(e) in xX;
}
-var TX = (e, t, n) => {
+var wX = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return BOe(r) ? r : "point";
+ if (typeof r == "string") return ZOe(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function VOe(e, t) {
+function QOe(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function EX(e, t) {
+function TX(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = VOe(r, e);
+ var t = QOe(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -60275,12 +60494,12 @@ function EX(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function HOe(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : EX(e, void 0);
+function $Oe(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : TX(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function DX(e, t) {
+function EX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60290,30 +60509,30 @@ function DX(e, t) {
}
return n;
}
-function OX(e) {
+function DX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DX(Object(n), !0).forEach(function(t) {
- UOe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DX(Object(n)).forEach(function(t) {
+ t % 2 ? EX(Object(n), !0).forEach(function(t) {
+ eke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function UOe(e, t, n) {
- return (t = WOe(t)) in e ? Object.defineProperty(e, t, {
+function eke(e, t, n) {
+ return (t = tke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function WOe(e) {
- var t = GOe(e, "string");
+function tke(e) {
+ var t = nke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function GOe(e, t) {
+function nke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60323,7 +60542,7 @@ function GOe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kX = [0, "auto"], AX = {
+var OX = [0, "auto"], kX = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -60352,13 +60571,13 @@ var kX = [0, "auto"], AX = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, jX = (e, t) => e.cartesianAxis.xAxis[t], MX = (e, t) => jX(e, t) ?? AX, NX = {
+}, AX = (e, t) => e.cartesianAxis.xAxis[t], jX = (e, t) => AX(e, t) ?? kX, MX = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: kX,
+ domain: OX,
hide: !0,
id: 0,
includeHidden: !1,
@@ -60381,7 +60600,7 @@ var kX = [0, "auto"], AX = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, PX = (e, t) => e.cartesianAxis.yAxis[t], FX = (e, t) => PX(e, t) ?? NX, KOe = {
+}, NX = (e, t) => e.cartesianAxis.yAxis[t], PX = (e, t) => NX(e, t) ?? MX, rke = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -60394,31 +60613,31 @@ var kX = [0, "auto"], AX = {
scale: "auto",
type: "number",
unit: ""
-}, IX = (e, t) => e.cartesianAxis.zAxis[t] ?? KOe, LX = (e, t, n) => {
+}, FX = (e, t) => e.cartesianAxis.zAxis[t] ?? rke, IX = (e, t, n) => {
switch (t) {
- case "xAxis": return MX(e, n);
- case "yAxis": return FX(e, n);
- case "zAxis": return IX(e, n);
- case "angleAxis": return JK(e, n);
- case "radiusAxis": return YK(e, n);
+ case "xAxis": return jX(e, n);
+ case "yAxis": return PX(e, n);
+ case "zAxis": return FX(e, n);
+ case "angleAxis": return qK(e, n);
+ case "radiusAxis": return JK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, qOe = (e, t, n) => {
+}, ike = (e, t, n) => {
switch (t) {
- case "xAxis": return MX(e, n);
- case "yAxis": return FX(e, n);
+ case "xAxis": return jX(e, n);
+ case "yAxis": return PX(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, RX = (e, t, n) => {
+}, LX = (e, t, n) => {
switch (t) {
- case "xAxis": return MX(e, n);
- case "yAxis": return FX(e, n);
- case "angleAxis": return JK(e, n);
- case "radiusAxis": return YK(e, n);
+ case "xAxis": return jX(e, n);
+ case "yAxis": return PX(e, n);
+ case "angleAxis": return qK(e, n);
+ case "radiusAxis": return JK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, zX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function BX(e, t) {
+}, RX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function zX(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -60430,40 +60649,40 @@ function BX(e, t) {
}
};
}
-var VX = (e) => e.graphicalItems.cartesianItems, JOe = $([rq, iq], BX), HX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), UX = $([
- VX,
- LX,
- JOe
-], HX, { memoizeOptions: { resultEqualityCheck: lq } }), WX = $([UX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(sq)), GX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), YOe = $([UX], GX), KX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), XOe = $([UX], KX, { memoizeOptions: { resultEqualityCheck: lq } }), qX = (e, t) => {
+var BX = (e) => e.graphicalItems.cartesianItems, ake = $([nq, rq], zX), VX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), HX = $([
+ BX,
+ IX,
+ ake
+], VX, { memoizeOptions: { resultEqualityCheck: cq } }), UX = $([HX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(oq)), WX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), oke = $([HX], WX), GX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), ske = $([HX], GX, { memoizeOptions: { resultEqualityCheck: cq } }), KX = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, JX = $([XOe, hK], qX), YX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: hU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: hU(e, t.dataKey) })), XX = $([
- JX,
- LX,
- UX
-], YX);
-function ZX(e) {
- if (hz(e) || e instanceof Date) {
+}, qX = $([ske, mK], KX), JX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: mU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: mU(e, t.dataKey) })), YX = $([
+ qX,
+ IX,
+ HX
+], JX);
+function XX(e) {
+ if (fz(e) || e instanceof Date) {
var t = Number(e);
- if (dU(t)) return t;
+ if (uU(t)) return t;
}
}
-function QX(e) {
+function ZX(e) {
if (Array.isArray(e)) {
- var t = [ZX(e[0]), ZX(e[1])];
- return _K(t) ? t : void 0;
+ var t = [XX(e[0]), XX(e[1])];
+ return gK(t) ? t : void 0;
}
- var n = ZX(e);
+ var n = XX(e);
if (n != null) return [n, n];
}
-function $X(e) {
- return e.map(ZX).filter(Cz);
+function QX(e) {
+ return e.map(XX).filter(bz);
}
-function ZOe(e, t) {
- var n = ZX(e), r = ZX(t);
+function cke(e, t) {
+ var n = XX(e), r = XX(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var QOe = $([XX], (e) => e?.map((e) => e.value).sort(ZOe));
+var $X = $([YX], (e) => e?.map((e) => e.value).sort(cke));
function eZ(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
@@ -60471,17 +60690,17 @@ function eZ(e, t) {
default: return !1;
}
}
-function $Oe(e, t, n) {
- return !n || typeof t != "number" || pz(t) || !n.length ? [] : $X(n.flatMap((n) => {
- var r = hU(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!dU(i) || !dU(a))) return [t - i, t + a];
+function lke(e, t, n) {
+ return !n || typeof t != "number" || uz(t) || !n.length ? [] : QX(n.flatMap((n) => {
+ var r = mU(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!uU(i) || !uU(a))) return [t - i, t + a];
}));
}
-var tZ = (e) => RX(e, uq(e), dq(e)), nZ = $([tZ], (e) => e?.dataKey), eke = $([
- WX,
- hK,
+var tZ = (e) => LX(e, lq(e), uq(e)), nZ = $([tZ], (e) => e?.dataKey), uke = $([
+ UX,
+ mK,
tZ
-], oq), rZ = (e, t, n, r) => {
+], aq), rZ = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -60490,38 +60709,38 @@ var tZ = (e) => RX(e, uq(e), dq(e)), nZ = $([tZ], (e) => e?.dataKey), eke = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: eCe(e, o.map(aq), n),
+ stackedData: dCe(e, o.map(iq), n),
graphicalItems: o
}];
}));
}, iZ = $([
- eke,
- WX,
- NK,
- PK
+ uke,
+ UX,
+ MK,
+ NK
], rZ), aZ = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = rCe(e, i, a);
+ var o = mCe(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, tke = $([LX], (e) => e.allowDataOverflow), oZ = (e) => {
- if (e == null || !("domain" in e)) return kX;
+}, dke = $([IX], (e) => e.allowDataOverflow), oZ = (e) => {
+ if (e == null || !("domain" in e)) return OX;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
if (e.type === "number") {
- var t = $X(e.ticks);
+ var t = QX(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? kX;
-}, sZ = $([LX], oZ), cZ = $([sZ, tke], yK), nke = $([
+ return e?.domain ?? OX;
+}, sZ = $([IX], oZ), cZ = $([sZ, dke], vK), fke = $([
iZ,
- pK,
- rq,
+ fK,
+ nq,
cZ
-], aZ, { memoizeOptions: { resultEqualityCheck: cq } }), lZ = (e) => e.errorBars, rke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => eZ(n, e)), uZ = function() {
+], aZ, { memoizeOptions: { resultEqualityCheck: sq } }), lZ = (e) => e.errorBars, pke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => eZ(n, e)), uZ = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
@@ -60531,127 +60750,127 @@ var tZ = (e) => RX(e, uq(e), dq(e)), nZ = $([tZ], (e) => e?.dataKey), eke = $([
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => eZ(i, e)), c = hU(e, t.dataKey ?? n.dataKey), l = $Oe(e, c, s);
+ var s = r[n.id]?.filter((e) => eZ(i, e)), c = mU(e, t.dataKey ?? n.dataKey), l = lke(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
}
- var f = QX(c);
+ var f = ZX(c);
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = QX(hU(e, t.dataKey));
+ var n = ZX(mU(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
- }), dU(a) && dU(o)) return [a, o];
-}, ike = $([
- JX,
- LX,
- YOe,
+ }), uU(a) && uU(o)) return [a, o];
+}, mke = $([
+ qX,
+ IX,
+ oke,
lZ,
- rq
-], dZ, { memoizeOptions: { resultEqualityCheck: cq } });
-function ake(e) {
+ nq
+], dZ, { memoizeOptions: { resultEqualityCheck: sq } });
+function hke(e) {
var { value: t } = e;
- if (hz(t) || t instanceof Date) return t;
+ if (fz(t) || t instanceof Date) return t;
}
-var oke = (e, t, n) => {
- var r = e.map(ake).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && vz(r)) ? fK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, fZ = (e) => e.referenceElements.dots, pZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), ske = $([
+var gke = (e, t, n) => {
+ var r = e.map(hke).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && hz(r)) ? dK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, fZ = (e) => e.referenceElements.dots, pZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), _ke = $([
fZ,
- rq,
- iq
-], pZ), mZ = (e) => e.referenceElements.areas, cke = $([
+ nq,
+ rq
+], pZ), mZ = (e) => e.referenceElements.areas, vke = $([
mZ,
- rq,
- iq
-], pZ), hZ = (e) => e.referenceElements.lines, lke = $([
+ nq,
+ rq
+], pZ), hZ = (e) => e.referenceElements.lines, yke = $([
hZ,
- rq,
- iq
+ nq,
+ rq
], pZ), gZ = (e, t) => {
if (e != null) {
- var n = $X(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = QX(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, uke = $(ske, rq, gZ), _Z = (e, t) => {
+}, bke = $(_ke, nq, gZ), _Z = (e, t) => {
if (e != null) {
- var n = $X(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ var n = QX(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, dke = $([cke, rq], _Z);
-function fke(e) {
- if (e.x != null) return $X([e.x]);
+}, xke = $([vke, nq], _Z);
+function Ske(e) {
+ if (e.x != null) return QX([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : $X(t);
+ return t == null || t.length === 0 ? [] : QX(t);
}
-function pke(e) {
- if (e.y != null) return $X([e.y]);
+function Cke(e) {
+ if (e.y != null) return QX([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : $X(t);
+ return t == null || t.length === 0 ? [] : QX(t);
}
var vZ = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? fke(e) : pke(e));
+ var n = e.flatMap((e) => t === "xAxis" ? Ske(e) : Cke(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, mke = $(uke, $([lke, rq], vZ), dke, (e, t, n) => uZ(e, n, t)), yZ = (e, t, n, r, i, a, o, s) => n ?? sEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? uZ(r, a, i) : uZ(a, i), e.allowDataOverflow), hke = $([
- LX,
+}, wke = $(bke, $([yke, nq], vZ), xke, (e, t, n) => uZ(e, n, t)), yZ = (e, t, n, r, i, a, o, s) => n ?? vEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? uZ(r, a, i) : uZ(a, i), e.allowDataOverflow), Tke = $([
+ IX,
sZ,
cZ,
- nke,
- ike,
+ fke,
mke,
- nW,
- rq
-], yZ, { memoizeOptions: { resultEqualityCheck: cq } }), gke = [0, 1], bZ = (e, t, n, r, i, a, o) => {
+ wke,
+ tW,
+ nq
+], yZ, { memoizeOptions: { resultEqualityCheck: sq } }), Eke = [0, 1], bZ = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = gU(t, a);
- return l && s == null ? fK(0, n?.length ?? 0) : c === "category" ? oke(r, e, l) : i === "expand" ? gke : o;
+ var { dataKey: s, type: c } = e, l = hU(t, a);
+ return l && s == null ? dK(0, n?.length ?? 0) : c === "category" ? gke(r, e, l) : i === "expand" ? Eke : o;
}
}, xZ = $([
- LX,
- nW,
- JX,
- XX,
- NK,
- rq,
- hke
+ IX,
+ tW,
+ qX,
+ YX,
+ MK,
+ nq,
+ Tke
], bZ), SZ = $([
- LX,
- zX,
- FK
-], TX), CZ = (e, t, n) => {
+ IX,
+ RX,
+ PK
+], wX), CZ = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
var i = oZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && _K(e)) {
- if (a) return DK(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return OK(e, t.tickCount, t.allowDecimals, r);
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && gK(e)) {
+ if (a) return EK(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return DK(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && _K(e)) return DK(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && _K(e)) return OK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && gK(e)) return EK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && gK(e)) return DK(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
}, wZ = $([
xZ,
- RX,
+ LX,
SZ
], CZ), TZ = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && _K(t) && Array.isArray(n) && n.length > 0) {
+ if (r !== "angleAxis" && e?.type === "number" && gK(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, _ke = $([
- LX,
+}, Dke = $([
+ IX,
xZ,
wZ,
- rq
-], TZ), EZ = $($(XX, LX, (e, t) => {
+ nq
+], TZ), EZ = $($(YX, IX, (e, t) => {
if (!(!t || t.type !== "number")) {
- var n = Infinity, r = Array.from($X(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(QX(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
var o = a - i;
if (o === 0) return Infinity;
@@ -60664,22 +60883,22 @@ var vZ = (e, t) => {
}
return n / o;
}
-}), nW, jK, IU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!dU(e)) return 0;
+}), tW, AK, FU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!uU(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = _z(n, e * a), s = e * a / 2;
+ var o = mz(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), vke = (e, t, n) => {
- var r = MX(e, t);
+}), Oke = (e, t, n) => {
+ var r = jX(e, t);
return r == null || typeof r.padding != "string" ? 0 : EZ(e, "xAxis", t, n, r.padding);
-}, yke = (e, t, n) => {
- var r = FX(e, t);
+}, kke = (e, t, n) => {
+ var r = PX(e, t);
return r == null || typeof r.padding != "string" ? 0 : EZ(e, "yAxis", t, n, r.padding);
-}, bke = $(MX, vke, (e, t) => {
+}, Ake = $(jX, Oke, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -60692,7 +60911,7 @@ var vZ = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), xke = $(FX, yke, (e, t) => {
+}), jke = $(PX, kke, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -60705,98 +60924,98 @@ var vZ = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), Ske = $([
- IU,
- bke,
- BU,
+}), Mke = $([
+ FU,
+ Ake,
zU,
+ RU,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), Cke = $([
- IU,
- nW,
- xke,
- BU,
+}), Nke = $([
+ FU,
+ tW,
+ jke,
zU,
+ RU,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
}), DZ = (e, t, n, r) => {
switch (t) {
- case "xAxis": return Ske(e, n, r);
- case "yAxis": return Cke(e, n, r);
- case "zAxis": return IX(e, n)?.range;
- case "angleAxis": return eq(e);
- case "radiusAxis": return tq(e, n);
+ case "xAxis": return Mke(e, n, r);
+ case "yAxis": return Nke(e, n, r);
+ case "zAxis": return FX(e, n)?.range;
+ case "angleAxis": return $K(e);
+ case "radiusAxis": return eq(e, n);
default: return;
}
-}, OZ = $([LX, DZ], HK), kZ = $([
- LX,
+}, OZ = $([IX, DZ], VK), kZ = $([
+ IX,
SZ,
- $([SZ, _ke], pq),
+ $([SZ, Dke], fq),
OZ
-], wX), AZ = (e, t, n, r) => {
+], CX), AZ = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (gU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (hU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
}, jZ = $([
- nW,
- XX,
- RX,
- rq
-], AZ), MZ = $([kZ], fq);
-$([kZ], HOe), $([kZ, QOe], EX), $([
- UX,
+ tW,
+ YX,
+ LX,
+ nq
+], AZ), MZ = $([kZ], dq);
+$([kZ], $Oe), $([kZ, $X], TX), $([
+ HX,
lZ,
- rq
-], rke);
+ nq
+], pke);
function NZ(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var PZ = (e, t) => t, FZ = (e, t, n) => n, wke = $(MU, PZ, FZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(NZ)), Tke = $(NU, PZ, FZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(NZ)), IZ = (e, t) => ({
+var PZ = (e, t) => t, FZ = (e, t, n) => n, Pke = $(jU, PZ, FZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(NZ)), Fke = $(MU, PZ, FZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(NZ)), IZ = (e, t) => ({
width: e.width,
height: t.height
-}), Eke = (e, t) => ({
+}), Ike = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), LZ = $(IU, MX, IZ), Dke = (e, t, n) => {
+}), LZ = $(FU, jX, IZ), Lke = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, Oke = (e, t, n) => {
+}, Rke = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, kke = $(AU, IU, wke, PZ, FZ, (e, t, n, r, i) => {
+}, zke = $(kU, FU, Pke, PZ, FZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
var s = IZ(t, n);
- o ??= Dke(t, r, e);
+ o ??= Lke(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), Ake = $(kU, IU, Tke, PZ, FZ, (e, t, n, r, i) => {
+}), Bke = $(OU, FU, Fke, PZ, FZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = Eke(t, n);
- o ??= Oke(t, r, e);
+ var s = Ike(t, n);
+ o ??= Rke(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), jke = $([
- IU,
- MX,
+}), Vke = $([
+ FU,
+ jX,
(e, t) => {
- var n = MX(e, t);
- if (n != null) return kke(e, n.orientation, n.mirror);
+ var n = jX(e, t);
+ if (n != null) return zke(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -60810,12 +61029,12 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, wke = $(MU, PZ, FZ, (e, t, n) => e.fi
y: i
};
}
-}), Mke = $([
- IU,
- FX,
+}), Hke = $([
+ FU,
+ PX,
(e, t) => {
- var n = FX(e, t);
- if (n != null) return Ake(e, n.orientation, n.mirror);
+ var n = PX(e, t);
+ if (n != null) return Bke(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -60829,7 +61048,7 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, wke = $(MU, PZ, FZ, (e, t, n) => e.fi
y: e.top
};
}
-}), RZ = $(IU, FX, (e, t) => ({
+}), RZ = $(FU, PX, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
})), zZ = (e, t, n) => {
@@ -60840,27 +61059,27 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, wke = $(MU, PZ, FZ, (e, t, n) => e.fi
}
}, BZ = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = gU(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && vz(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = hU(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && hz(c)) return c;
}
}, VZ = $([
- nW,
- XX,
- LX,
- rq
+ tW,
+ YX,
+ IX,
+ nq
], BZ), HZ = $([
- nW,
- qOe,
+ tW,
+ ike,
SZ,
MZ,
VZ,
jZ,
DZ,
wZ,
- rq
+ nq
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = gU(e, c);
+ var l = hU(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -60884,105 +61103,105 @@ var PZ = (e, t) => t, FZ = (e, t, n) => n, wke = $(MU, PZ, FZ, (e, t, n) => e.fi
}
}), UZ = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = gU(e, c), { type: u, ticks: d, tickCount: f } = t, 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 ? fz(a[0] - a[1]) * 2 * m : m;
+ var l = hU(e, c), { type: u, ticks: d, tickCount: f } = t, 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 ? lz(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);
- return dU(i) ? {
+ return uU(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(Cz) : l && s ? s.map((e, t) => {
+ }).filter(bz) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(Cz) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(bz) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(Cz) : r.domain().map((e, t) => {
+ }).filter(bz) : r.domain().map((e, t) => {
var n = r.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(Cz);
+ }).filter(bz);
}
}, WZ = $([
- nW,
- RX,
+ tW,
+ LX,
SZ,
MZ,
wZ,
DZ,
VZ,
jZ,
- rq
+ nq
], UZ), GZ = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = gU(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? fz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = hU(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? lz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return dU(r) ? {
+ return uU(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(Cz) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(bz) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return dU(r) ? {
+ return uU(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(Cz) : n.domain().map((e, t) => {
+ }).filter(bz) : n.domain().map((e, t) => {
var r = n.map(e);
- return dU(r) ? {
+ return uU(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(Cz);
+ }).filter(bz);
}
}, KZ = $([
- nW,
- RX,
+ tW,
+ LX,
MZ,
DZ,
VZ,
jZ,
- rq
-], GZ), qZ = $(LX, MZ, (e, t) => {
- if (e != null && t != null) return OX(OX({}, e), {}, { scale: t });
+ nq
+], GZ), qZ = $(IX, MZ, (e, t) => {
+ if (e != null && t != null) return DX(DX({}, e), {}, { scale: t });
});
-$((e, t, n) => IX(e, n), $([$([
- LX,
+$((e, t, n) => FX(e, n), $([$([
+ IX,
SZ,
xZ,
OZ
-], wX)], fq), (e, t) => {
- if (e != null && t != null) return OX(OX({}, e), {}, { scale: t });
+], CX)], dq), (e, t) => {
+ if (e != null && t != null) return DX(DX({}, e), {}, { scale: t });
});
-var Nke = $([
- nW,
- MU,
- NU
+var Uke = $([
+ tW,
+ jU,
+ MU
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -61013,21 +61232,21 @@ function XZ(e, t, n) {
function ZZ(e, t) {
return XZ(t, JZ(e), YZ(e));
}
-function Pke(e) {
+function Wke(e) {
return Q((t) => ZZ(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
var QZ = (e, t) => {
var n, r = Number(t);
- if (!(pz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, Fke = (e) => e.tooltip.settings, $Z = {
+ if (!(uz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, Gke = (e) => e.tooltip.settings, $Z = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, eQ = IH({
+}, eQ = FH({
name: "tooltip",
initialState: {
itemInteraction: {
@@ -61060,23 +61279,23 @@ var QZ = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(qW(t.payload));
+ e.tooltipItemPayloads.push(KW(t.payload));
},
- prepare: MH()
+ prepare: jH()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = CH(e).tooltipItemPayloads.indexOf(qW(n));
- i > -1 && (e.tooltipItemPayloads[i] = qW(r));
+ var { prev: n, next: r } = t.payload, i = SH(e).tooltipItemPayloads.indexOf(KW(n));
+ i > -1 && (e.tooltipItemPayloads[i] = KW(r));
},
- prepare: MH()
+ prepare: jH()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = CH(e).tooltipItemPayloads.indexOf(qW(t.payload));
+ var n = SH(e).tooltipItemPayloads.indexOf(KW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: MH()
+ prepare: jH()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -61106,7 +61325,7 @@ var QZ = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: Ike, replaceTooltipEntrySettings: Lke, removeTooltipEntrySettings: Rke, setTooltipSettingsState: zke, setActiveMouseOverItemIndex: tQ, mouseLeaveItem: Bke, mouseLeaveChart: nQ, setActiveClickItemIndex: Vke, setMouseOverAxisIndex: rQ, setMouseClickAxisIndex: Hke, setSyncInteraction: iQ, setKeyboardInteraction: aQ } = eQ.actions, Uke = eQ.reducer;
+}), { addTooltipEntrySettings: Kke, replaceTooltipEntrySettings: qke, removeTooltipEntrySettings: Jke, setTooltipSettingsState: Yke, setActiveMouseOverItemIndex: tQ, mouseLeaveItem: Xke, mouseLeaveChart: nQ, setActiveClickItemIndex: Zke, setMouseOverAxisIndex: rQ, setMouseClickAxisIndex: Qke, setSyncInteraction: iQ, setKeyboardInteraction: aQ } = eQ.actions, $ke = eQ.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
function oQ(e, t) {
@@ -61123,26 +61342,26 @@ function sQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? oQ(Object(n), !0).forEach(function(t) {
- Wke(e, t, n[t]);
+ eAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Wke(e, t, n) {
- return (t = Gke(t)) in e ? Object.defineProperty(e, t, {
+function eAe(e, t, n) {
+ return (t = tAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Gke(e) {
- var t = Kke(e, "string");
+function tAe(e) {
+ var t = nAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Kke(e, t) {
+function nAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61152,21 +61371,21 @@ function Kke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function qke(e, t, n) {
+function rAe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function Jke(e) {
+function iAe(e) {
return e.index != null;
}
var cQ = (e, t, n, r) => {
if (t == null) return $Z;
- var i = qke(e, t, n);
+ var i = rAe(e, t, n);
if (i == null) return $Z;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (Jke(i)) {
+ if (iAe(i)) {
if (a) return sQ(sQ({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
@@ -61179,7 +61398,7 @@ var cQ = (e, t, n, r) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function Yke(e) {
+function aAe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -61188,24 +61407,24 @@ function Yke(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function Xke(e, t) {
- var n = Yke(e), r = t[0], i = t[1];
+function oAe(e, t) {
+ var n = aAe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function Zke(e, t, n) {
+function sAe(e, t, n) {
if (n == null || t == null) return !0;
- var r = hU(e, t);
- return r == null || !_K(n) || Xke(r, n);
+ var r = mU(e, t);
+ return r == null || !gK(n) || oAe(r, n);
}
var lQ = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!dU(a)) return i;
+ if (!uU(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || Zke(l, n, r) ? String(c) : null;
+ return l == null || sAe(l, n, r) ? String(c) : null;
}, uQ = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
@@ -61249,26 +61468,26 @@ function hQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? mQ(Object(n), !0).forEach(function(t) {
- Qke(e, t, n[t]);
+ cAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Qke(e, t, n) {
- return (t = $ke(t)) in e ? Object.defineProperty(e, t, {
+function cAe(e, t, n) {
+ return (t = lAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $ke(e) {
- var t = eAe(e, "string");
+function lAe(e) {
+ var t = uAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eAe(e, t) {
+function uAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61278,126 +61497,126 @@ function eAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function tAe(e) {
+function dAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function nAe(e) {
+function fAe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function rAe(e) {
+function pAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
function gQ(e) {
if (typeof e == "string") return e;
}
-function iAe(e) {
+function mAe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? tAe(e.name) : void 0,
- unit: "unit" in e ? nAe(e.unit) : void 0,
- dataKey: "dataKey" in e ? rAe(e.dataKey) : void 0,
+ name: "name" in e ? dAe(e.name) : void 0,
+ unit: "unit" in e ? fAe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? pAe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
color: "color" in e ? gQ(e.color) : void 0,
fill: "fill" in e ? gQ(e.fill) : void 0
};
}
-function aAe(e, t) {
+function hAe(e, t) {
return e ?? t;
}
var _Q = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = aAe(d, s), m = Array.isArray(p) ? uU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? bz(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = hAe(d, s), m = Array.isArray(p) ? lU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? _z(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = iAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = hQ(hQ({}, f), {}, {
+ var n = mAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = hQ(hQ({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(DU({
+ e.push(EU({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: hU(a, i),
+ value: mU(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(DU({
+ }) : e.push(EU({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: hU(_, h),
- name: hU(_, g) ?? f?.name
+ value: mU(_, h),
+ name: mU(_, g) ?? f?.name
})), e;
}, []);
}
}, vQ = $([
tZ,
- zX,
- FK
-], TX), yQ = $([
+ RX,
+ PK
+], wX), yQ = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
tZ,
- $([uq, dq], BX)
-], HX, { memoizeOptions: { resultEqualityCheck: lq } }), oAe = $([yQ], (e) => e.filter(sq)), bQ = $([$([yQ], KX, { memoizeOptions: { resultEqualityCheck: lq } }), pK], qX), sAe = $([
- oAe,
- pK,
+ $([lq, uq], zX)
+], VX, { memoizeOptions: { resultEqualityCheck: cq } }), gAe = $([yQ], (e) => e.filter(oq)), bQ = $([$([yQ], GX, { memoizeOptions: { resultEqualityCheck: cq } }), fK], KX), _Ae = $([
+ gAe,
+ fK,
tZ
-], oq), xQ = $([
+], aq), xQ = $([
bQ,
tZ,
yQ
-], YX), SQ = $([tZ], oZ), CQ = $([SQ, $([tZ], (e) => e.allowDataOverflow)], yK), cAe = $([
+], JX), SQ = $([tZ], oZ), CQ = $([SQ, $([tZ], (e) => e.allowDataOverflow)], vK), vAe = $([
$([
- sAe,
- $([yQ], (e) => e.filter(sq)),
- NK,
- PK
+ _Ae,
+ $([yQ], (e) => e.filter(oq)),
+ MK,
+ NK
], rZ),
- pK,
- uq,
+ fK,
+ lq,
CQ
-], aZ), lAe = $([
+], aZ), yAe = $([
bQ,
tZ,
- $([yQ], GX),
+ $([yQ], WX),
lZ,
- uq
-], dZ, { memoizeOptions: { resultEqualityCheck: cq } }), uAe = $([$([
+ lq
+], dZ, { memoizeOptions: { resultEqualityCheck: sq } }), bAe = $([$([
fZ,
- uq,
- dq
-], pZ), uq], gZ), dAe = $([$([
+ lq,
+ uq
+], pZ), lq], gZ), xAe = $([$([
mZ,
- uq,
- dq
-], pZ), uq], _Z), wQ = $([
+ lq,
+ uq
+], pZ), lq], _Z), wQ = $([
tZ,
- nW,
+ tW,
bQ,
xQ,
- NK,
- uq,
+ MK,
+ lq,
$([
tZ,
SQ,
CQ,
- cAe,
- lAe,
+ vAe,
+ yAe,
$([
- uAe,
+ bAe,
$([$([
hZ,
- uq,
- dq
- ], pZ), uq], vZ),
- dAe
+ lq,
+ uq
+ ], pZ), lq], vZ),
+ xAe
], uZ),
- nW,
- uq
+ tW,
+ lq
], yZ)
-], bZ), fAe = $([
+], bZ), SAe = $([
tZ,
wQ,
$([
@@ -61405,59 +61624,59 @@ var _Q = (e, t, n, r, i, a, o) => {
tZ,
vQ
], CZ),
- uq
-], TZ), TQ = (e) => DZ(e, uq(e), dq(e), !1), EQ = $([tZ, TQ], HK), DQ = $([$([
+ lq
+], TZ), TQ = (e) => DZ(e, lq(e), uq(e), !1), EQ = $([tZ, TQ], VK), DQ = $([$([
tZ,
vQ,
- fAe,
+ SAe,
EQ
-], wX)], fq), OQ = $([
- nW,
+], CX)], dq), OQ = $([
+ tW,
tZ,
vQ,
DQ,
TQ,
$([
- nW,
+ tW,
xQ,
tZ,
- uq
+ lq
], BZ),
$([
- nW,
+ tW,
xQ,
tZ,
- uq
+ lq
], AZ),
- uq
+ lq
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = gU(e, s);
+ var { type: c } = t, l = hU(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 ? fz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? lz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(Cz) : r.domain().map((e, t) => {
+ }).filter(bz) : r.domain().map((e, t) => {
var n = r.map(e);
- return dU(n) ? {
+ return uU(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(Cz);
+ }).filter(bz);
}
}
}), kQ = $([
JZ,
YZ,
- Fke
+ Gke
], (e, t, n) => XZ(n.shared, e, t)), AQ = (e) => e.tooltip.settings.trigger, jQ = (e) => e.tooltip.settings.defaultIndex, MQ = $([
pQ,
kQ,
@@ -61470,25 +61689,25 @@ var _Q = (e, t, n, r, i, a, o) => {
wQ
], lQ), PQ = $([OQ, NQ], QZ), FQ = $([MQ], (e) => {
if (e) return e.dataKey;
-}), pAe = $([MQ], (e) => {
+}), CAe = $([MQ], (e) => {
if (e) return e.graphicalItemId;
}), IQ = $([
pQ,
kQ,
AQ,
jQ
-], dQ), mAe = $([MQ, $([
+], dQ), wAe = $([MQ, $([
+ OU,
kU,
- AU,
- nW,
- IU,
+ tW,
+ FU,
OQ,
jQ,
IQ
-], uQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), hAe = $([MQ], (e) => e?.active ?? !1), gAe = $([$([
+], uQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), TAe = $([MQ], (e) => e?.active ?? !1), EAe = $([$([
IQ,
NQ,
- pK,
+ fK,
nZ,
PQ,
fQ,
@@ -61515,26 +61734,26 @@ function RQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? LQ(Object(n), !0).forEach(function(t) {
- _Ae(e, t, n[t]);
+ DAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _Ae(e, t, n) {
- return (t = vAe(t)) in e ? Object.defineProperty(e, t, {
+function DAe(e, t, n) {
+ return (t = OAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vAe(e) {
- var t = yAe(e, "string");
+function OAe(e) {
+ var t = kAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yAe(e, t) {
+function kAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61544,9 +61763,9 @@ function yAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bAe = () => Q(tZ), xAe = () => {
- var e = bAe(), t = Q(OQ), n = Q(DQ);
- return EU(!e || !n ? void 0 : RQ(RQ({}, e), {}, { scale: n }), t);
+var AAe = () => Q(tZ), jAe = () => {
+ var e = AAe(), t = Q(OQ), n = Q(DQ);
+ return TU(!e || !n ? void 0 : RQ(RQ({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
@@ -61564,26 +61783,26 @@ function BQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? zQ(Object(n), !0).forEach(function(t) {
- SAe(e, t, n[t]);
+ MAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : zQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SAe(e, t, n) {
- return (t = CAe(t)) in e ? Object.defineProperty(e, t, {
+function MAe(e, t, n) {
+ return (t = NAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CAe(e) {
- var t = wAe(e, "string");
+function NAe(e) {
+ var t = PAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wAe(e, t) {
+function PAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61593,7 +61812,7 @@ function wAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var TAe = (e, t, n, r) => {
+var FAe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -61609,18 +61828,18 @@ var TAe = (e, t, n, r) => {
x: 0,
y: 0
};
-}, EAe = (e, t, n, r) => {
+}, IAe = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return BQ(BQ(BQ({}, r), iK(r.cx, r.cy, o, a)), {}, {
+ return BQ(BQ(BQ({}, r), rK(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return BQ(BQ(BQ({}, r), iK(r.cx, r.cy, s, c)), {}, {
+ return BQ(BQ(BQ({}, r), rK(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -61639,7 +61858,7 @@ var TAe = (e, t, n, r) => {
y: 0
};
};
-function DAe(e, t) {
+function LAe(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
@@ -61649,9 +61868,9 @@ var VQ = (e, t, n, r, i) => {
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (fz(c - s) !== fz(l - c)) {
+ if (lz(c - s) !== lz(l - c)) {
var d = [];
- if (fz(l - c) === fz(i[1] - i[0])) {
+ if (lz(l - c) === lz(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -61676,7 +61895,7 @@ var VQ = (e, t, n, r, i) => {
}
}
return -1;
-}, HQ = () => Q(FK), UQ = (e, t) => t, WQ = (e, t, n) => n, GQ = (e, t, n, r) => r, OAe = $(OQ, (e) => XB(e, (e) => e.coordinate)), KQ = $([
+}, HQ = () => Q(PK), UQ = (e, t) => t, WQ = (e, t, n) => n, GQ = (e, t, n, r) => r, RAe = $(OQ, (e) => ZB(e, (e) => e.coordinate)), KQ = $([
pQ,
UQ,
WQ,
@@ -61686,7 +61905,7 @@ var VQ = (e, t, n, r, i) => {
bQ,
nZ,
wQ
-], lQ), kAe = (e, t, n) => {
+], lQ), zAe = (e, t, n) => {
if (t != null) {
var r = pQ(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
@@ -61697,54 +61916,54 @@ var VQ = (e, t, n, r, i) => {
WQ,
GQ
], dQ), YQ = $([
+ OU,
kU,
- AU,
- nW,
- IU,
+ tW,
+ FU,
OQ,
GQ,
JQ
-], uQ), AAe = $([KQ, YQ], (e, t) => e.coordinate ?? t), XQ = $([OQ, qQ], QZ), jAe = $([
+], uQ), BAe = $([KQ, YQ], (e, t) => e.coordinate ?? t), XQ = $([OQ, qQ], QZ), VAe = $([
JQ,
qQ,
- pK,
+ fK,
nZ,
XQ,
fQ,
UQ
-], _Q), MAe = $([KQ, qQ], (e, t) => ({
+], _Q), HAe = $([KQ, qQ], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), NAe = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && DAe(e, o)) {
- var s = VQ(iCe(e, t), a, i, n, r), c = TAe(t, i, s, e);
+})), UAe = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && LAe(e, o)) {
+ var s = VQ(hCe(e, t), a, i, n, r), c = FAe(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, PAe = (e, t, n, r, i, a, o) => {
+}, WAe = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = JTe(e, n);
+ var s = aEe(e, n);
if (s) {
- var c = VQ(aCe(s, t), o, a, r, i), l = EAe(t, a, c, s);
+ var c = VQ(gCe(s, t), o, a, r, i), l = IAe(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, FAe = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? NAe(e, t, r, i, a, o, s) : PAe(e, t, n, r, i, a, o);
-}, IAe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, GAe = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? UAe(e, t, r, i, a, o, s) : WAe(e, t, n, r, i, a, o);
+}, KAe = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), LAe = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(zK));
+}), qAe = $((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(RK));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: hEe } });
+}, { memoizeOptions: { resultEqualityCheck: EEe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
function ZQ(e, t) {
@@ -61761,26 +61980,26 @@ function QQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? ZQ(Object(n), !0).forEach(function(t) {
- RAe(e, t, n[t]);
+ JAe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RAe(e, t, n) {
- return (t = zAe(t)) in e ? Object.defineProperty(e, t, {
+function JAe(e, t, n) {
+ return (t = YAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zAe(e) {
- var t = BAe(e, "string");
+function YAe(e) {
+ var t = XAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BAe(e, t) {
+function XAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61790,17 +62009,17 @@ function BAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var VAe = { zIndexMap: Object.values(zK).reduce((e, t) => QQ(QQ({}, e), {}, { [t]: {
+var ZAe = { zIndexMap: Object.values(RK).reduce((e, t) => QQ(QQ({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, HAe = new Set(Object.values(zK));
-function UAe(e) {
- return HAe.has(e);
+} }), {}) }, QAe = new Set(Object.values(RK));
+function $Ae(e) {
+ return QAe.has(e);
}
-var $Q = IH({
+var $Q = FH({
name: "zIndex",
- initialState: VAe,
+ initialState: ZAe,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -61811,47 +62030,47 @@ var $Q = IH({
panoramaElement: void 0
};
},
- prepare: MH()
+ prepare: jH()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !UAe(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !$Ae(n) && delete e.zIndexMap[n]);
},
- prepare: MH()
+ prepare: jH()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = qW(r) : e.zIndexMap[n].element = qW(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = KW(r) : e.zIndexMap[n].element = KW(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : qW(r),
- panoramaElement: i ? qW(r) : void 0
+ element: i ? void 0 : KW(r),
+ panoramaElement: i ? KW(r) : void 0
};
},
- prepare: MH()
+ prepare: jH()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: MH()
+ prepare: jH()
}
}
-}), { registerZIndexPortal: WAe, unregisterZIndexPortal: GAe, registerZIndexPortalElement: KAe, unregisterZIndexPortalElement: qAe } = $Q.actions, JAe = $Q.reducer;
+}), { registerZIndexPortal: eje, unregisterZIndexPortal: tje, registerZIndexPortalElement: nje, unregisterZIndexPortalElement: rje } = $Q.actions, ije = $Q.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
function e$(e) {
- var { zIndex: t, children: n } = e, r = PCe() && t !== void 0 && t !== 0, i = RU(), a = wB();
- (0, B.useLayoutEffect)(() => r ? (a(WAe({ zIndex: t })), () => {
- a(GAe({ zIndex: t }));
- }) : wz, [
+ var { zIndex: t, children: n } = e, r = GCe() && t !== void 0 && t !== 0, i = LU(), a = TB();
+ (0, B.useLayoutEffect)(() => r ? (a(eje({ zIndex: t })), () => {
+ a(tje({ zIndex: t }));
+ }) : xz, [
a,
t,
r
]);
- var o = Q((e) => IAe(e, t, i));
+ var o = Q((e) => KAe(e, t, i));
return r ? o ? /*#__PURE__*/ (0, Dt.createPortal)(n, o) : null : n;
}
//#endregion
@@ -61879,26 +62098,26 @@ function r$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? n$(Object(n), !0).forEach(function(t) {
- YAe(e, t, n[t]);
+ aje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YAe(e, t, n) {
- return (t = XAe(t)) in e ? Object.defineProperty(e, t, {
+function aje(e, t, n) {
+ return (t = oje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XAe(e) {
- var t = ZAe(e, "string");
+function oje(e) {
+ var t = sje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZAe(e, t) {
+function sje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61908,18 +62127,18 @@ function ZAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function QAe(e) {
+function cje(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, B.isValidElement)(t) ? /*#__PURE__*/ (0, B.cloneElement)(t, r) : /*#__PURE__*/ (0, B.createElement)(n, r);
}
-function $Ae(e) {
+function lje(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = Qwe, h = zK.cursorLine;
- else if (l === "BarChart") p = $we(o, u, i, a), m = $G, h = zK.cursorRectangle;
- else if (o === "radial" && Az(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = aK(u);
+ if (l === "ScatterChart") p = u, m = lTe, h = RK.cursorLine;
+ else if (l === "BarChart") p = uTe(o, u, i, a), m = QG, h = RK.cursorRectangle;
+ else if (o === "radial" && Dz(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = iK(u);
p = {
cx: g,
cy: _,
@@ -61927,25 +62146,25 @@ function $Ae(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = uK, h = zK.cursorLine;
- } else p = { points: aEe(o, u, i) }, m = EG, h = zK.cursorLine;
+ }, m = lK, h = RK.cursorLine;
+ } else p = { points: gEe(o, u, i) }, m = TG, h = RK.cursorLine;
var x = typeof s == "object" && "className" in s ? s.className : void 0, S = r$(r$(r$(r$({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), aR(s)), {}, {
+ }, i), p), nR(s)), {}, {
payload: d,
payloadIndex: f,
className: Jr("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(QAe, {
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ B.createElement(cje, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function eje(e) {
- var t = xAe(), n = $U(), r = rW(), i = HQ();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement($Ae, t$({}, e, {
+function uje(e) {
+ var t = jAe(), n = QU(), r = nW(), i = HQ();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ B.createElement(lje, t$({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -61954,7 +62173,7 @@ function eje(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var i$ = /*#__PURE__*/ (0, B.createContext)(null), tje = () => (0, B.useContext)(i$), nje = (/* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
+var i$ = /*#__PURE__*/ (0, B.createContext)(null), dje = () => (0, B.useContext)(i$), fje = (/* @__PURE__ */ vt((/* @__PURE__ */ mt(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -62041,12 +62260,12 @@ var i$ = /*#__PURE__*/ (0, B.createContext)(null), tje = () => (0, B.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, a$ = new nje(), o$ = "recharts.syncEvent.tooltip", s$ = "recharts.syncEvent.brush", c$ = (e, t) => {
+})))(), 1)).default, a$ = new fje(), o$ = "recharts.syncEvent.tooltip", s$ = "recharts.syncEvent.brush", c$ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!pz(n)) return e[n];
+ if (!uz(n)) return e[n];
}
-}, l$ = IH({
+}, l$ = FH({
name: "options",
initialState: {
chartName: "",
@@ -62057,13 +62276,13 @@ var i$ = /*#__PURE__*/ (0, B.createContext)(null), tje = () => (0, B.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), rje = l$.reducer, { createEventEmitter: ije } = l$.actions;
+}), pje = l$.reducer, { createEventEmitter: mje } = l$.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function aje(e) {
+function hje(e) {
return e.tooltip.syncInteraction;
}
-var u$ = IH({
+var u$ = FH({
name: "chartData",
initialState: {
chartData: void 0,
@@ -62073,7 +62292,7 @@ var u$ = IH({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = qW(t.payload), t.payload == null) {
+ if (e.chartData = KW(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -62087,7 +62306,7 @@ var u$ = IH({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: d$, setDataStartEndIndexes: oje, setComputedData: sje } = u$.actions, cje = u$.reducer, lje = ["x", "y"];
+}), { setChartData: d$, setDataStartEndIndexes: gje, setComputedData: _je } = u$.actions, vje = u$.reducer, yje = ["x", "y"];
function f$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -62102,26 +62321,26 @@ function p$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? f$(Object(n), !0).forEach(function(t) {
- uje(e, t, n[t]);
+ bje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function uje(e, t, n) {
- return (t = dje(t)) in e ? Object.defineProperty(e, t, {
+function bje(e, t, n) {
+ return (t = xje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function dje(e) {
- var t = fje(e, "string");
+function xje(e) {
+ var t = Sje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function fje(e, t) {
+function Sje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62131,16 +62350,16 @@ function fje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pje(e, t) {
+function Cje(e, t) {
if (e == null) return {};
- var n, r, i = mje(e, t);
+ var n, r, i = wje(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 mje(e, t) {
+function wje(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62149,16 +62368,16 @@ function mje(e, t) {
}
return n;
}
-function hje() {
- var e = Q(IK), t = Q(RK), n = wB(), r = Q(LK), i = Q(OQ), a = rW(), o = QU(), s = Q((e) => e.rootProps.className);
+function Tje() {
+ var e = Q(FK), t = Q(LK), n = TB(), r = Q(IK), i = Q(OQ), a = nW(), o = ZU(), s = Q((e) => e.rootProps.className);
(0, B.useEffect)(() => {
- if (e == null) return wz;
+ if (e == null) return xz;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = pje(d, lje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = p$(p$({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = Cje(d, yje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = p$(p$({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
@@ -62219,12 +62438,12 @@ function hje() {
o
]);
}
-function gje() {
- var e = Q(IK), t = Q(RK), n = wB();
+function Eje() {
+ var e = Q(FK), t = Q(LK), n = TB();
(0, B.useEffect)(() => {
- if (e == null) return wz;
+ if (e == null) return xz;
var r = (r, i, a) => {
- t !== a && e === r && n(oje(i));
+ t !== a && e === r && n(gje(i));
};
return a$.on(s$, r), () => {
a$.off(s$, r);
@@ -62235,14 +62454,14 @@ function gje() {
e
]);
}
-function _je() {
- var e = wB();
+function Dje() {
+ var e = TB();
(0, B.useEffect)(() => {
- e(ije());
- }, [e]), hje(), gje();
+ e(mje());
+ }, [e]), Tje(), Eje();
}
-function vje(e, t, n, r, i, a) {
- var o = Q((n) => kAe(n, e, t)), s = Q(pAe), c = Q(RK), l = Q(IK), u = Q(LK), d = Q(aje)?.active, f = QU();
+function Oje(e, t, n, r, i, a) {
+ var o = Q((n) => zAe(n, e, t)), s = Q(CAe), c = Q(LK), l = Q(FK), u = Q(IK), d = Q(hje)?.active, f = ZU();
(0, B.useEffect)(() => {
if (!d && l != null && c != null) {
var e = iQ({
@@ -62286,26 +62505,26 @@ function h$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? m$(Object(n), !0).forEach(function(t) {
- yje(e, t, n[t]);
+ kje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : m$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yje(e, t, n) {
- return (t = bje(t)) in e ? Object.defineProperty(e, t, {
+function kje(e, t, n) {
+ return (t = Aje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bje(e) {
- var t = xje(e, "string");
+function Aje(e) {
+ var t = jje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xje(e, t) {
+function jje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62315,13 +62534,13 @@ function xje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Sje(e) {
+function Mje(e) {
return e.dataKey;
}
-function Cje(e, t) {
- return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(Owe, t);
+function Nje(e, t) {
+ return /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ B.createElement(e, t) : /*#__PURE__*/ B.createElement(zwe, t);
}
-var g$ = [], wje = {
+var g$ = [], Pje = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -62347,10 +62566,10 @@ var g$ = [], wje = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function Tje(e) {
- var t = Pz(e, wje), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = wB(), S = typeof v == "number" ? String(v) : v;
+function Fje(e) {
+ var t = jz(e, Pje), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = TB(), S = typeof v == "number" ? String(v) : v;
(0, B.useEffect)(() => {
- x(zke({
+ x(Yke({
shared: g,
trigger: _,
axisId: b,
@@ -62365,12 +62584,12 @@ function Tje(e) {
n,
S
]);
- var C = QU(), w = gG(), T = Pke(g), { activeIndex: E, isActive: D } = Q((e) => MAe(e, T, _, S)) ?? {}, O = Q((e) => jAe(e, T, _, S)), k = Q((e) => XQ(e, T, _, S)), A = Q((e) => AAe(e, T, _, S)), j = O, M = tje(), N = n ?? D ?? !1, [ee, te] = nV([j, N]), P = T === "axis" ? k : void 0;
- vje(T, _, A, P, E, N);
+ var C = ZU(), w = hG(), T = Wke(g), { activeIndex: E, isActive: D } = Q((e) => HAe(e, T, _, S)) ?? {}, O = Q((e) => VAe(e, T, _, S)), k = Q((e) => XQ(e, T, _, S)), A = Q((e) => BAe(e, T, _, S)), j = O, M = dje(), N = n ?? D ?? !1, [ee, te] = rV([j, N]), P = T === "axis" ? k : void 0;
+ Oje(T, _, A, P, E, N);
var F = y ?? M;
if (F == null || C == null || T == null) return null;
var ne = j ?? g$;
- N || (ne = g$), s && ne.length && (ne = vB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Sje));
+ N || (ne = g$), s && ne.length && (ne = yB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, Mje));
var I = ne.length > 0, re = h$(h$({}, t), {}, {
payload: ne,
label: P,
@@ -62378,7 +62597,7 @@ function Tje(e) {
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), L = /*#__PURE__*/ B.createElement(Rwe, {
+ }), L = /*#__PURE__*/ B.createElement(Ywe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -62395,8 +62614,8 @@ function Tje(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, Cje(o, re));
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, Dt.createPortal)(L, F), N && /*#__PURE__*/ B.createElement(eje, {
+ }, Nje(o, re));
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ (0, Dt.createPortal)(L, F), N && /*#__PURE__*/ B.createElement(uje, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -62410,19 +62629,19 @@ var _$ = (e) => null;
_$.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function Eje(e, t, n) {
- return (t = Dje(t)) in e ? Object.defineProperty(e, t, {
+function Ije(e, t, n) {
+ return (t = Lje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Dje(e) {
- var t = Oje(e, "string");
+function Lje(e) {
+ var t = Rje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Oje(e, t) {
+function Rje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62432,9 +62651,9 @@ function Oje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var kje = class {
+var zje = class {
constructor(e) {
- Eje(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ Ije(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -62467,30 +62686,30 @@ function v$(e, t) {
}
return n;
}
-function Aje(e) {
+function Bje(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? v$(Object(n), !0).forEach(function(t) {
- jje(e, t, n[t]);
+ Vje(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function jje(e, t, n) {
- return (t = Mje(t)) in e ? Object.defineProperty(e, t, {
+function Vje(e, t, n) {
+ return (t = Hje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Mje(e) {
- var t = Nje(e, "string");
+function Hje(e) {
+ var t = Uje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Nje(e, t) {
+function Uje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62500,10 +62719,10 @@ function Nje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var y$ = Aje({}, {
+var y$ = Bje({}, {
cacheSize: 2e3,
enableCache: !0
-}), b$ = new kje(y$.cacheSize), Pje = {
+}), b$ = new zje(y$.cacheSize), Wje = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -62512,13 +62731,13 @@ var y$ = Aje({}, {
border: "none",
whiteSpace: "pre"
}, x$ = "recharts_measurement_span";
-function Fje(e, t) {
+function Gje(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
var S$ = (e, t) => {
try {
var n = document.getElementById(x$);
- n || (n = document.createElement("span"), n.setAttribute("id", x$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Pje, t), n.textContent = `${e}`;
+ n || (n = document.createElement("span"), n.setAttribute("id", x$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, Wje, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -62532,29 +62751,29 @@ var S$ = (e, t) => {
}
}, C$ = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || fG.isSsr) return {
+ if (e == null || dG.isSsr) return {
width: 0,
height: 0
};
if (!y$.enableCache) return S$(e, t);
- var n = Fje(e, t), r = b$.get(n);
+ var n = Gje(e, t), r = b$.get(n);
if (r) return r;
var i = S$(e, t);
return b$.set(n, i), i;
}, w$;
-function Ije(e, t, n) {
- return (t = Lje(t)) in e ? Object.defineProperty(e, t, {
+function Kje(e, t, n) {
+ return (t = qje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Lje(e) {
- var t = Rje(e, "string");
+function qje(e) {
+ var t = Jje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Rje(e, t) {
+function Jje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62564,7 +62783,7 @@ function Rje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, zje = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Bje = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Vje = {
+var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, Yje = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, Xje = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, Zje = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -62572,7 +62791,7 @@ var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, Hje = [
+}, Qje = [
"cm",
"mm",
"pt",
@@ -62581,20 +62800,20 @@ var T$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, E$ = /(
"Q",
"px"
];
-function Uje(e) {
- return Hje.includes(e);
+function $je(e) {
+ return Qje.includes(e);
}
var D$ = "NaN";
-function Wje(e, t) {
- return e * Vje[t];
+function eMe(e, t) {
+ return e * Zje[t];
}
var O$ = class e {
static parse(t) {
- var [, n, r] = Bje.exec(t) ?? [];
+ var [, n, r] = Xje.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, pz(e) && (this.unit = ""), t !== "" && !zje.test(t) && (this.num = NaN, this.unit = ""), Uje(t) && (this.num = Wje(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, uz(e) && (this.unit = ""), t !== "" && !Yje.test(t) && (this.num = NaN, this.unit = ""), $je(t) && (this.num = eMe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -62612,10 +62831,10 @@ var O$ = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return pz(this.num);
+ return uz(this.num);
}
};
-w$ = O$, Ije(O$, "NaN", new w$(NaN, ""));
+w$ = O$, Kje(O$, "NaN", new w$(NaN, ""));
function k$(e) {
if (e == null || e.includes(D$)) return D$;
for (var t = e; t.includes("*") || t.includes("/");) {
@@ -62631,31 +62850,31 @@ function k$(e) {
return t;
}
var A$ = /\(([^()]*)\)/;
-function Gje(e) {
+function tMe(e) {
for (var t = e, n; (n = A$.exec(t)) != null;) {
var [, r] = n;
t = t.replace(A$, k$(r));
}
return t;
}
-function Kje(e) {
+function nMe(e) {
var t = e.replace(/\s+/g, "");
- return t = Gje(t), t = k$(t), t;
+ return t = tMe(t), t = k$(t), t;
}
-function qje(e) {
+function rMe(e) {
try {
- return Kje(e);
+ return nMe(e);
} catch {
return D$;
}
}
function j$(e) {
- var t = qje(e.slice(5, -1));
+ var t = rMe(e.slice(5, -1));
return t === D$ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var Jje = [
+var iMe = [
"x",
"y",
"lineHeight",
@@ -62664,7 +62883,7 @@ var Jje = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], Yje = [
+], aMe = [
"dx",
"dy",
"angle",
@@ -62682,14 +62901,14 @@ function M$() {
}
function N$(e, t) {
if (e == null) return {};
- var n, r, i = Xje(e, t);
+ var n, r, i = oMe(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 Xje(e, t) {
+function oMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62702,7 +62921,7 @@ var P$ = /[ \f\n\r\t\v\u2028\u2029]+/, F$ = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return xz(t) || (i = n ? t.toString().split("") : t.toString().split(P$)), {
+ return vz(t) || (i = n ? t.toString().split("") : t.toString().split(P$)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
width: C$(e, r).width
@@ -62716,8 +62935,8 @@ var P$ = /[ \f\n\r\t\v\u2028\u2029]+/, F$ = (e) => {
function I$(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function Zje(e) {
- return xz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function sMe(e) {
+ return vz(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
var L$ = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
@@ -62730,16 +62949,16 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), R$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), Qje = "…", z$ = (e, t, n, r, i, a, o, s) => {
+}, []), R$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), cMe = "…", z$ = (e, t, n, r, i, a, o, s) => {
var c = F$({
breakAll: n,
style: r,
- children: e.slice(0, t) + Qje
+ children: e.slice(0, t) + cMe
});
if (!c) return [!1, []];
var l = L$(c.wordsWithComputedWidth, a, o, s);
return [l.length > i || R$(l).width > Number(a), l];
-}, $je = (e, t, n, r, i) => {
+}, lMe = (e, t, n, r, i) => {
var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = L$(t, r, n, i);
if (!l || i || !(d.length > a || R$(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
@@ -62752,11 +62971,11 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
}
return h || d;
}, B$ = (e) => [{
- words: xz(e) ? [] : e.toString().split(P$),
+ words: vz(e) ? [] : e.toString().split(P$),
width: void 0
-}], eMe = (e) => {
+}], uMe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !fG.isSsr) {
+ if ((t || n) && !dG.isSsr) {
var s, c, l = F$({
breakAll: a,
children: r,
@@ -62766,7 +62985,7 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
} else return B$(r);
- return $je({
+ return lMe({
breakAll: a,
children: r,
maxLines: o,
@@ -62774,7 +62993,7 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
}, s, c, t, !!n);
}
return B$(r);
-}, V$ = "#808080", tMe = {
+}, V$ = "#808080", dMe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
@@ -62786,7 +63005,7 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
x: 0,
y: 0
}, H$ = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = Pz(e, tMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = N$(n, Jje), f = (0, B.useMemo)(() => eMe({
+ var n = jz(e, dMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = N$(n, iMe), f = (0, B.useMemo)(() => uMe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -62800,10 +63019,10 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = N$(d, Yje);
- if (!hz(r) || !hz(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = N$(d, aMe);
+ if (!fz(r) || !fz(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!dU(y) || !dU(b)) return null;
+ if (!uU(y) || !uU(b)) return null;
var x;
switch (u) {
case "start":
@@ -62819,7 +63038,7 @@ var L$ = (e, t, n, r) => e.reduce((e, i) => {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", M$({}, oR(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ B.createElement("text", M$({}, rR(v), {
ref: t,
x: y,
y: b,
@@ -62852,26 +63071,26 @@ function W$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? U$(Object(n), !0).forEach(function(t) {
- nMe(e, t, n[t]);
+ fMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nMe(e, t, n) {
- return (t = rMe(t)) in e ? Object.defineProperty(e, t, {
+function fMe(e, t, n) {
+ return (t = pMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rMe(e) {
- var t = iMe(e, "string");
+function pMe(e) {
+ var t = mMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iMe(e, t) {
+function mMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62881,8 +63100,8 @@ function iMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var aMe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = ZU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var hMe = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = XU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -62963,9 +63182,9 @@ var aMe = (e) => {
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || mz(n.x)) && (Z(n.y) || mz(n.y)) ? W$({
- x: o + _z(n.x, m),
- y: s + _z(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || dz(n.x)) && (Z(n.y) || dz(n.y)) ? W$({
+ x: o + mz(n.x, m),
+ y: s + mz(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
}, k) : W$({
@@ -62974,17 +63193,17 @@ var aMe = (e) => {
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, oMe = ["labelRef"], sMe = ["content"];
+}, gMe = ["labelRef"], _Me = ["content"];
function G$(e, t) {
if (e == null) return {};
- var n, r, i = cMe(e, t);
+ var n, r, i = vMe(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 cMe(e, t) {
+function vMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63007,26 +63226,26 @@ function q$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? K$(Object(n), !0).forEach(function(t) {
- lMe(e, t, n[t]);
+ yMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lMe(e, t, n) {
- return (t = uMe(t)) in e ? Object.defineProperty(e, t, {
+function yMe(e, t, n) {
+ return (t = bMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uMe(e) {
- var t = dMe(e, "string");
+function bMe(e) {
+ var t = xMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dMe(e, t) {
+function xMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63063,9 +63282,9 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
]);
return /*#__PURE__*/ B.createElement(Y$.Provider, { value: c }, s);
}, Z$ = () => {
- var e = (0, B.useContext)(Y$), t = QU();
- return e || (t ? ZU(t) : void 0);
-}, Q$ = /*#__PURE__*/ (0, B.createContext)(null), fMe = (e) => {
+ var e = (0, B.useContext)(Y$), t = ZU();
+ return e || (t ? XU(t) : void 0);
+}, Q$ = /*#__PURE__*/ (0, B.createContext)(null), SMe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, B.useMemo)(() => ({
cx: t,
cy: n,
@@ -63085,13 +63304,13 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
]);
return /*#__PURE__*/ B.createElement(Q$.Provider, { value: l }, c);
}, $$ = () => {
- var e = (0, B.useContext)(Q$), t = Q(nq);
+ var e = (0, B.useContext)(Q$), t = Q(tq);
return e || t;
-}, pMe = (e) => {
- var { value: t, formatter: n } = e, r = xz(e.children) ? t : e.children;
+}, CMe = (e) => {
+ var { value: t, formatter: n } = e, r = vz(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, e1 = (e) => e != null && typeof e == "function", mMe = (e, t) => fz(t - e) * Math.min(Math.abs(t - e), 360), hMe = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = mMe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, e1 = (e) => e != null && typeof e == "function", wMe = (e, t) => lz(t - e) * Math.min(Math.abs(t - e), 360), TMe = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = wMe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -63105,9 +63324,9 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = iK(s, c, m, _), b = iK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = rK(s, c, m, _), b = rK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = xz(e.id) ? gz("recharts-radial-line-") : e.id;
+ ${b.x},${b.y}`, S = vz(e.id) ? pz("recharts-radial-line-") : e.id;
return /*#__PURE__*/ B.createElement("text", J$({}, r, {
dominantBaseline: "central",
className: Jr("recharts-radial-bar-label", o)
@@ -63115,10 +63334,10 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
id: S,
d: x
})), /*#__PURE__*/ B.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, gMe = (e, t, n) => {
+}, EMe = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
- var { x: u, y: d } = iK(r, i, o + t, l);
+ var { x: u, y: d } = rK(r, i, o + t, l);
return {
x: u,
y: d,
@@ -63144,21 +63363,21 @@ var Y$ = /*#__PURE__*/ (0, B.createContext)(null), X$ = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = iK(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = rK(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, t1 = (e) => e != null && "cx" in e && Z(e.cx), _Me = {
+}, t1 = (e) => e != null && "cx" in e && Z(e.cx), DMe = {
angle: 0,
offset: 5,
- zIndex: zK.label,
+ zIndex: RK.label,
position: "middle",
textBreakAll: !1
};
-function vMe(e) {
+function OMe(e) {
if (!t1(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
@@ -63171,24 +63390,24 @@ function vMe(e) {
};
}
function n1(e) {
- var t = Pz(e, _Me), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = $$(), f = Z$(), p = n == null ? i === "center" ? f : d ?? f : t1(n) ? n : ZU(n), m, h, g = vMe(p);
- if (!p || xz(a) && xz(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;
+ var t = jz(e, DMe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = $$(), f = Z$(), p = n == null ? i === "center" ? f : d ?? f : t1(n) ? n : XU(n), m, h, g = OMe(p);
+ if (!p || vz(a) && vz(o) && !/*#__PURE__*/ (0, B.isValidElement)(s) && typeof s != "function") return null;
var _ = q$(q$({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, B.isValidElement)(s)) {
- var { labelRef: v } = _, y = G$(_, oMe);
+ var { labelRef: v } = _, y = G$(_, gMe);
return /*#__PURE__*/ (0, B.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = G$(_, sMe);
+ var { content: b } = _, x = G$(_, _Me);
if (m = /*#__PURE__*/ (0, B.createElement)(s, x), /*#__PURE__*/ (0, B.isValidElement)(m)) return m;
- } else m = pMe(t);
- var S = oR(t);
+ } else m = CMe(t);
+ var S = rR(t);
if (t1(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return hMe(t, i, m, S, p);
- h = gMe(p, t.offset, t.position);
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return TMe(t, i, m, S, p);
+ h = EMe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = aMe({
+ var C = hMe({
viewBox: g,
position: i,
offset: t.offset,
@@ -63217,7 +63436,7 @@ var r1 = (e, t, n) => {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ B.createElement(n1, J$({ key: "label-implicit" }, r)) : hz(e) ? /*#__PURE__*/ B.createElement(n1, J$({
+ return e === !0 ? /*#__PURE__*/ B.createElement(n1, J$({ key: "label-implicit" }, r)) : fz(e) ? /*#__PURE__*/ B.createElement(n1, J$({
key: "label-implicit",
value: e
}, r)) : /*#__PURE__*/ (0, B.isValidElement)(e) ? e.type === n1 ? /*#__PURE__*/ (0, B.cloneElement)(e, q$({ key: "label-implicit" }, r)) : /*#__PURE__*/ B.createElement(n1, J$({
@@ -63232,13 +63451,13 @@ function i1(e) {
var { label: t, labelRef: n } = e;
return r1(t, Z$(), n) || null;
}
-function yMe(e) {
+function kMe(e) {
var { label: t } = e;
return r1(t, $$()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var bMe = ["valueAccessor"], xMe = [
+var AMe = ["valueAccessor"], jMe = [
"dataKey",
"clockWise",
"id",
@@ -63256,14 +63475,14 @@ function a1() {
}
function o1(e, t) {
if (e == null) return {};
- var n, r, i = SMe(e, t);
+ var n, r, i = MMe(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 SMe(e, t) {
+function MMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63272,21 +63491,21 @@ function SMe(e, t) {
}
return n;
}
-var CMe = (e) => {
+var NMe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (Zje(t)) return t;
-}, s1 = /*#__PURE__*/ (0, B.createContext)(void 0), c1 = s1.Provider, l1 = /*#__PURE__*/ (0, B.createContext)(void 0), wMe = l1.Provider;
-function TMe() {
+ if (sMe(t)) return t;
+}, s1 = /*#__PURE__*/ (0, B.createContext)(void 0), c1 = s1.Provider, l1 = /*#__PURE__*/ (0, B.createContext)(void 0), PMe = l1.Provider;
+function FMe() {
return (0, B.useContext)(s1);
}
-function EMe() {
+function IMe() {
return (0, B.useContext)(l1);
}
function u1(e) {
- var { valueAccessor: t = CMe } = e, n = o1(e, bMe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = o1(n, xMe), l = TMe(), u = EMe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: s ?? zK.label }, /*#__PURE__*/ B.createElement(uR, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = xz(r) ? t(e, i) : hU(e.payload, r), l = xz(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ B.createElement(n1, a1({ key: `label-${i}` }, oR(e), c, l, {
+ var { valueAccessor: t = NMe } = e, n = o1(e, AMe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = o1(n, jMe), l = FMe(), u = IMe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: s ?? RK.label }, /*#__PURE__*/ B.createElement(sR, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = vz(r) ? t(e, i) : mU(e.payload, r), l = vz(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ B.createElement(n1, a1({ key: `label-${i}` }, rR(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -63307,12 +63526,12 @@ function d1(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var DMe = [
+var LMe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], OMe;
+], RMe;
function f1() {
return f1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63322,16 +63541,16 @@ function f1() {
return e;
}, f1.apply(null, arguments);
}
-function kMe(e, t) {
+function zMe(e, t) {
if (e == null) return {};
- var n, r, i = AMe(e, t);
+ var n, r, i = BMe(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 AMe(e, t) {
+function BMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63340,10 +63559,10 @@ function AMe(e, t) {
}
return n;
}
-function jMe(e, t) {
+function VMe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, MMe = function() {
+var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, HMe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
@@ -63354,9 +63573,9 @@ var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, MMe = function() {
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
}, m1 = (e, t) => {
- var n = MMe(e);
+ var n = HMe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => dz(OMe ||= jMe([
+ var r = n.map((e) => e.reduce((e, t, n) => cz(RMe ||= VMe([
"",
"",
"",
@@ -63364,29 +63583,29 @@ var p1 = (e) => e != null && e.x === +e.x && e.y === +e.y, MMe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, NMe = (e, t, n) => {
+}, UMe = (e, t, n) => {
var r = m1(e, n);
return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${m1(Array.from(t).reverse(), n).slice(1)}`;
}, h1 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = kMe(e, DMe);
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = zMe(e, LMe);
if (!t || !t.length) return null;
var o = Jr("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = NMe(t, r, i);
- return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", f1({}, oR(a), {
+ var s = a.stroke && a.stroke !== "none", c = UMe(t, r, i);
+ return /*#__PURE__*/ B.createElement("g", { className: o }, /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ B.createElement("path", f1({}, oR(a), {
+ })), s ? /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
fill: "none",
d: m1(t, i)
- })) : null, s ? /*#__PURE__*/ B.createElement("path", f1({}, oR(a), {
+ })) : null, s ? /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
fill: "none",
d: m1(r, i)
})) : null);
}
var l = m1(t, i);
- return /*#__PURE__*/ B.createElement("path", f1({}, oR(a), {
+ return /*#__PURE__*/ B.createElement("path", f1({}, rR(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -63405,7 +63624,7 @@ function g1() {
}
var _1 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Jr("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", g1({}, iR(e), jz(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ B.createElement("circle", g1({}, tR(e), Oz(e), {
className: a,
cx: t,
cy: n,
@@ -63413,83 +63632,83 @@ var _1 = (e) => {
})) : null;
}, v1 = (e) => e.graphicalItems.polarItems, y1 = $([
v1,
- LX,
- $([rq, iq], BX)
-], HX), b1 = $([$([y1], KX), mK], qX), x1 = $([
+ IX,
+ $([nq, rq], zX)
+], VX), b1 = $([$([y1], GX), pK], KX), x1 = $([
b1,
- LX,
+ IX,
y1
-], YX);
+], JX);
$([
b1,
- LX,
+ IX,
y1
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: hU(e, t.dataKey ?? n.dataKey),
+ value: mU(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: hU(e, t.dataKey),
+ value: mU(e, t.dataKey),
errorDomain: []
})));
var S1 = () => void 0, C1 = $([
- LX,
- nW,
+ IX,
+ tW,
b1,
x1,
- NK,
- rq,
+ MK,
+ nq,
$([
- LX,
+ IX,
sZ,
cZ,
S1,
$([
b1,
- LX,
+ IX,
y1,
lZ,
- rq
+ nq
], dZ),
S1,
- nW,
- rq
+ tW,
+ nq
], yZ)
], bZ), w1 = $([
C1,
- RX,
- SZ
-], CZ), PMe = $([SZ, $([
LX,
+ SZ
+], CZ), WMe = $([SZ, $([
+ IX,
C1,
w1,
- rq
-], TZ)], pq), T1 = (e, t, n) => {
+ nq
+], TZ)], fq), T1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return JK(e, n);
- case "radiusAxis": return YK(e, n);
+ case "angleAxis": return qK(e, n);
+ case "radiusAxis": return JK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, E1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return pEe(e, n);
- case "radiusAxis": return mEe(e, n);
+ case "angleAxis": return wEe(e, n);
+ case "radiusAxis": return TEe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
}, D1 = $([$([
T1,
SZ,
- PMe,
+ WMe,
E1
-], wX)], fq), O1 = $([
- nW,
+], CX)], dq), O1 = $([
+ tW,
x1,
- RX,
- rq
+ LX,
+ nq
], AZ), k1 = $([
- nW,
+ tW,
T1,
SZ,
D1,
@@ -63497,8 +63716,8 @@ var S1 = () => void 0, C1 = $([
E1,
VZ,
O1,
- rq
-], UZ), FMe = $([k1], (e) => {
+ nq
+], UZ), GMe = $([k1], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -63506,19 +63725,19 @@ var S1 = () => void 0, C1 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), IMe = $([
- nW,
+}), KMe = $([
+ tW,
T1,
D1,
E1,
VZ,
O1,
- rq
-], GZ), LMe = $([(e, t) => k1(e, "angleAxis", t, !1)], (e) => {
+ nq
+], GZ), qMe = $([(e, t) => k1(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), RMe = $([(e, t) => k1(e, "radiusAxis", t, !1)], (e) => {
+}), JMe = $([(e, t) => k1(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), zMe = [
+}), YMe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -63531,16 +63750,16 @@ var S1 = () => void 0, C1 = $([
"polarRadius",
"zIndex"
];
-function BMe(e, t) {
+function XMe(e, t) {
if (e == null) return {};
- var n, r, i = VMe(e, t);
+ var n, r, i = ZMe(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 VMe(e, t) {
+function ZMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63572,26 +63791,26 @@ function M1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j1(Object(n), !0).forEach(function(t) {
- HMe(e, t, n[t]);
+ QMe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HMe(e, t, n) {
- return (t = UMe(t)) in e ? Object.defineProperty(e, t, {
+function QMe(e, t, n) {
+ return (t = $Me(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UMe(e) {
- var t = WMe(e, "string");
+function $Me(e) {
+ var t = eNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WMe(e, t) {
+function eNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63601,18 +63820,18 @@ function WMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var GMe = (e, t, n, r) => {
+var tNe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = iK(t, n, e, r);
+ var o = rK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, KMe = (e) => {
+}, nNe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = M1({ stroke: "#ccc" }, iR(e));
+ var s = M1({ stroke: "#ccc" }, tR(e));
return /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = iK(t, n, r, e), o = iK(t, n, i, e);
+ var a = rK(t, n, r, e), o = rK(t, n, i, e);
return /*#__PURE__*/ B.createElement("line", A1({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
@@ -63624,7 +63843,7 @@ var GMe = (e, t, n, r) => {
var { cx: t, cy: n, radius: r } = e, i = M1({
stroke: "#ccc",
fill: "none"
- }, iR(e));
+ }, tR(e));
return /*#__PURE__*/ B.createElement("circle", A1({}, i, {
className: Jr("recharts-polar-grid-concentric-circle", e.className),
cx: t,
@@ -63635,12 +63854,12 @@ var GMe = (e, t, n, r) => {
var { radius: t } = e, n = M1({
stroke: "#ccc",
fill: "none"
- }, iR(e));
+ }, tR(e));
return /*#__PURE__*/ B.createElement("path", A1({}, n, {
className: Jr("recharts-polar-grid-concentric-polygon", e.className),
- d: GMe(t, e.cx, e.cy, e.polarAngles)
+ d: tNe(t, e.cx, e.cy, e.polarAngles)
}));
-}, qMe = (e) => {
+}, rNe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
@@ -63654,14 +63873,14 @@ var GMe = (e, t, n, r) => {
radius: t
}));
}));
-}, JMe = {
+}, iNe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: zK.grid
+ zIndex: RK.grid
}, F1 = (e) => {
- var t = Pz(e, JMe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = BMe(t, zMe), m = Q(nq), h = Q((e) => LMe(e, i)), g = Q((e) => RMe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ var t = jz(e, iNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = XMe(t, YMe), m = Q(tq), h = Q((e) => qMe(e, i)), g = Q((e) => JMe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
var y = M1({
cx: m?.cx ?? o ?? 0,
@@ -63672,13 +63891,13 @@ var GMe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(qMe, A1({
+ return b <= 0 ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: y.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ B.createElement(rNe, A1({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ B.createElement(KMe, A1({
+ })), /*#__PURE__*/ B.createElement(nNe, A1({
gridType: n,
radialLines: r
}, y, {
@@ -63694,11 +63913,11 @@ function I1(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function YMe(e, t = zz) {
+function aNe(e, t = Iz) {
if (e == null) return;
let n = I1(e);
if (n.length === 0) return;
- let r = hB(t), i, a;
+ let r = gB(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -63707,11 +63926,11 @@ function YMe(e, t = zz) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function XMe(e, t = zz) {
+function oNe(e, t = Iz) {
if (e == null) return;
let n = I1(e);
if (n.length === 0) return;
- let r = hB(t), i, a;
+ let r = gB(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -63720,7 +63939,7 @@ function XMe(e, t = zz) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var L1 = IH({
+var L1 = FH({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -63728,19 +63947,19 @@ var L1 = IH({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = qW(t.payload);
+ e.radiusAxis[t.payload.id] = KW(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = qW(t.payload);
+ e.angleAxis[t.payload.id] = KW(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: ZMe, removeRadiusAxis: QMe, addAngleAxis: $Me, removeAngleAxis: eNe } = L1.actions, tNe = L1.reducer;
+}), { addRadiusAxis: sNe, removeRadiusAxis: cNe, addAngleAxis: lNe, removeAngleAxis: uNe } = L1.actions, dNe = L1.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
function R1(e) {
@@ -63748,12 +63967,12 @@ function R1(e) {
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var nNe = ["type"], rNe = [
+var fNe = ["type"], pNe = [
"cx",
"cy",
"angle",
"axisLine"
-], iNe = [
+], mNe = [
"angle",
"tickFormatter",
"stroke",
@@ -63782,26 +64001,26 @@ function V1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B1(Object(n), !0).forEach(function(t) {
- aNe(e, t, n[t]);
+ hNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aNe(e, t, n) {
- return (t = oNe(t)) in e ? Object.defineProperty(e, t, {
+function hNe(e, t, n) {
+ return (t = gNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oNe(e) {
- var t = sNe(e, "string");
+function gNe(e) {
+ var t = _Ne(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sNe(e, t) {
+function _Ne(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63813,14 +64032,14 @@ function sNe(e, t) {
}
function H1(e, t) {
if (e == null) return {};
- var n, r, i = cNe(e, t);
+ var n, r, i = vNe(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 cNe(e, t) {
+function vNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63829,20 +64048,20 @@ function cNe(e, t) {
}
return n;
}
-var lNe = "radiusAxis";
-function uNe(e) {
- var t = wB(), n = oW(), r = (0, B.useMemo)(() => {
- var { type: t } = e, r = H1(e, nNe), i = UK(n, "radiusAxis", t);
+var yNe = "radiusAxis";
+function bNe(e) {
+ var t = TB(), n = aW(), r = (0, B.useMemo)(() => {
+ var { type: t } = e, r = H1(e, fNe), i = HK(n, "radiusAxis", t);
if (i != null) return V1(V1({}, r), {}, { type: i });
}, [e, n]);
- return (0, B.useEffect)(() => r == null ? wz : (t(ZMe(r)), () => {
- t(QMe(r));
+ return (0, B.useEffect)(() => r == null ? xz : (t(sNe(r)), () => {
+ t(cNe(r));
}), [t, r]), null;
}
-var dNe = (e, t, n, r) => {
+var xNe = (e, t, n, r) => {
var { coordinate: i } = e;
- return iK(n, r, i, t);
-}, fNe = (e) => {
+ return rK(n, r, i, t);
+}, SNe = (e) => {
var t;
switch (e) {
case "left":
@@ -63854,49 +64073,49 @@ var dNe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, pNe = (e, t, n, r) => {
- var i = YMe(r, (e) => e.coordinate || 0);
+}, CNe = (e, t, n, r) => {
+ var i = aNe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: XMe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: oNe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, mNe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = H1(e, rNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = iK(n, r, s[0], i), l = iK(n, r, s[1], i), u = V1(V1(V1({}, iR(o)), {}, { fill: "none" }, iR(a)), {}, {
+}, wNe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = H1(e, pNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = rK(n, r, s[0], i), l = rK(n, r, s[1], i), u = V1(V1(V1({}, tR(o)), {}, { fill: "none" }, tR(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
return /*#__PURE__*/ B.createElement("line", z1({ className: "recharts-polar-radius-axis-line" }, u));
-}, hNe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(H$, z1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), gNe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = H1(e, iNe), s = fNe(e.orientation), c = iR(o), l = aR(a), u = t.map((t, o) => {
- var u = dNe(t, e.angle, e.cx, e.cy), d = V1(V1(V1(V1({
+}, TNe = (e, t, n) => /*#__PURE__*/ B.isValidElement(e) ? /*#__PURE__*/ B.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ B.createElement(H$, z1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), ENe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = H1(e, mNe), s = SNe(e.orientation), c = tR(o), l = nR(a), u = t.map((t, o) => {
+ var u = xNe(t, e.angle, e.cx, e.cy), d = V1(V1(V1(V1({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ B.createElement(uR, z1({
+ return /*#__PURE__*/ B.createElement(sR, z1({
className: Jr("recharts-polar-radius-axis-tick", R1(a)),
key: `tick-${t.coordinate}`
- }, Mz(e, t, o)), hNe(a, d, r ? r(t.value, o) : t.value));
+ }, kz(e, t, o)), TNe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ B.createElement(uR, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, _Ne = (e) => {
- var { radiusAxisId: t } = e, n = Q(nq), r = Q((e) => D1(e, "radiusAxis", t)), i = Q((e) => k1(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ B.createElement(sR, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, DNe = (e) => {
+ var { radiusAxisId: t } = e, n = Q(tq), r = Q((e) => D1(e, "radiusAxis", t)), i = Q((e) => k1(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
var a = V1(V1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ B.createElement(e$, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(uR, { className: Jr("recharts-polar-radius-axis", lNe, a.className) }, s && mNe(a, i), o && gNe(a, i), /*#__PURE__*/ B.createElement(fMe, pNe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(yMe, { label: a.label }), a.children)));
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: a.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-polar-radius-axis", yNe, a.className) }, s && wNe(a, i), o && ENe(a, i), /*#__PURE__*/ B.createElement(SMe, CNe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ B.createElement(kMe, { label: a.label }), a.children)));
};
function U1(e) {
- var t = Pz(e, VK);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(uNe, {
+ var t = jz(e, BK);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(bNe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -63913,12 +64132,12 @@ function U1(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ B.createElement(_Ne, t));
+ }), /*#__PURE__*/ B.createElement(DNe, t));
}
U1.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var vNe = ["children", "type"], yNe = ["ref"];
+var ONe = ["children", "type"], kNe = ["ref"];
function W1() {
return W1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -63942,26 +64161,26 @@ function K1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G1(Object(n), !0).forEach(function(t) {
- bNe(e, t, n[t]);
+ ANe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bNe(e, t, n) {
- return (t = xNe(t)) in e ? Object.defineProperty(e, t, {
+function ANe(e, t, n) {
+ return (t = jNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xNe(e) {
- var t = SNe(e, "string");
+function jNe(e) {
+ var t = MNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SNe(e, t) {
+function MNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63973,14 +64192,14 @@ function SNe(e, t) {
}
function q1(e, t) {
if (e == null) return {};
- var n, r, i = CNe(e, t);
+ var n, r, i = NNe(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 CNe(e, t) {
+function NNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63989,47 +64208,47 @@ function CNe(e, t) {
}
return n;
}
-var J1 = 1e-5, wNe = Math.cos(rK(45)), TNe = "angleAxis";
-function ENe(e) {
- var t = wB(), n = oW(), r = (0, B.useMemo)(() => {
- var { children: t, type: r } = e, i = q1(e, vNe), a = UK(n, "angleAxis", r);
+var J1 = 1e-5, PNe = Math.cos(nK(45)), FNe = "angleAxis";
+function INe(e) {
+ var t = TB(), n = aW(), r = (0, B.useMemo)(() => {
+ var { children: t, type: r } = e, i = q1(e, ONe), a = HK(n, "angleAxis", r);
if (a != null) return K1(K1({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => JK(e, r?.id));
- return (0, B.useEffect)(() => r == null ? wz : (t($Me(r)), () => {
- t(eNe(r));
+ }, [e, n]), i = r === Q((e) => qK(e, r?.id));
+ return (0, B.useEffect)(() => r == null ? xz : (t(lNe(r)), () => {
+ t(uNe(r));
}), [t, r]), i ? e.children : null;
}
-var DNe = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = iK(n, r, i, e.coordinate), l = iK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+var LNe = (e, t) => {
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = rK(n, r, i, e.coordinate), l = rK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
};
-}, ONe = (e, t) => {
- var n = Math.cos(rK(-e.coordinate));
+}, RNe = (e, t) => {
+ var n = Math.cos(nK(-e.coordinate));
return n > J1 ? t === "outer" ? "start" : "end" : n < -J1 ? t === "outer" ? "end" : "start" : "middle";
-}, kNe = (e) => {
- var t = Math.cos(rK(-e.coordinate)), n = Math.sin(rK(-e.coordinate));
- return Math.abs(t) <= wNe ? n > 0 ? "start" : "end" : "middle";
-}, ANe = (e) => {
+}, zNe = (e) => {
+ var t = Math.cos(nK(-e.coordinate)), n = Math.sin(nK(-e.coordinate));
+ return Math.abs(t) <= PNe ? n > 0 ? "start" : "end" : "middle";
+}, BNe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = K1(K1({}, iR(e)), {}, { fill: "none" }, iR(a));
+ var s = K1(K1({}, tR(e)), {}, { fill: "none" }, tR(a));
if (i === "circle") return /*#__PURE__*/ B.createElement(_1, W1({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => iK(t, n, r, e.coordinate));
+ var c = o.map((e) => rK(t, n, r, e.coordinate));
return /*#__PURE__*/ B.createElement(h1, W1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, jNe = (e) => {
+}, VNe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
return t ? /*#__PURE__*/ B.isValidElement(t) ? /*#__PURE__*/ B.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ B.createElement(H$, W1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, MNe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = iR(e), { ref: s } = o, c = q1(o, yNe), l = aR(t), u = K1(K1({}, c), {}, { fill: "none" }, iR(n)), d = a.map((a, o) => {
- var s = DNe(a, e), d = ONe(a, e.orientation), f = kNe(a), p = K1(K1(K1({}, c), {}, {
+}, HNe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = tR(e), { ref: s } = o, c = q1(o, kNe), l = nR(t), u = K1(K1({}, c), {}, { fill: "none" }, tR(n)), d = a.map((a, o) => {
+ var s = LNe(a, e), d = RNe(a, e.orientation), f = zNe(a), p = K1(K1(K1({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -64040,28 +64259,28 @@ var DNe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ B.createElement(uR, W1({
+ return /*#__PURE__*/ B.createElement(sR, W1({
className: Jr("recharts-polar-angle-axis-tick", R1(t)),
key: `tick-${a.coordinate}`
- }, Mz(e, a, o)), n && /*#__PURE__*/ B.createElement("line", W1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(jNe, {
+ }, kz(e, a, o)), n && /*#__PURE__*/ B.createElement("line", W1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ B.createElement(VNe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ B.createElement(uR, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, NNe = (e) => {
- var { angleAxisId: t } = e, n = Q(nq), r = Q((e) => D1(e, "angleAxis", t)), i = RU(), a = Q((e) => FMe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ B.createElement(sR, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, UNe = (e) => {
+ var { angleAxisId: t } = e, n = Q(tq), r = Q((e) => D1(e, "angleAxis", t)), i = LU(), a = Q((e) => GMe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
var o = K1(K1(K1({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ B.createElement(e$, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(uR, { className: Jr("recharts-polar-angle-axis", TNe, o.className) }, /*#__PURE__*/ B.createElement(ANe, o), /*#__PURE__*/ B.createElement(MNe, o)));
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: o.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-polar-angle-axis", FNe, o.className) }, /*#__PURE__*/ B.createElement(BNe, o), /*#__PURE__*/ B.createElement(HNe, o)));
};
function Y1(e) {
- var t = Pz(e, BK);
- return /*#__PURE__*/ B.createElement(ENe, {
+ var t = jz(e, zK);
+ return /*#__PURE__*/ B.createElement(INe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -64078,12 +64297,12 @@ function Y1(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ B.createElement(NNe, t));
+ }, /*#__PURE__*/ B.createElement(UNe, t));
}
Y1.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var PNe = /* @__PURE__ */ mt(((e) => {
+var WNe = /* @__PURE__ */ mt(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -64112,26 +64331,26 @@ var PNe = /* @__PURE__ */ mt(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), FNe = (/* @__PURE__ */ mt(((e, t) => {
- t.exports = PNe();
+})), GNe = (/* @__PURE__ */ mt(((e, t) => {
+ t.exports = WNe();
})))(), X1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Z1 = null, Q1 = null, $1 = (e) => {
if (e === Z1 && Array.isArray(Q1)) return Q1;
var t = [];
return B.Children.forEach(e, (e) => {
- xz(e) || ((0, FNe.isFragment)(e) ? t = t.concat($1(e.props.children)) : t.push(e));
+ vz(e) || ((0, GNe.isFragment)(e) ? t = t.concat($1(e.props.children)) : t.push(e));
}), Q1 = t, Z1 = e, t;
};
function e0(e, t) {
var n = [], r = [];
return r = Array.isArray(t) ? t.map((e) => X1(e)) : [X1(t)], $1(e).forEach((e) => {
- var t = lz(e, "type.displayName") || lz(e, "type.name");
+ var t = oz(e, "type.displayName") || oz(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
var t0 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function INe(e) {
+function KNe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -64144,7 +64363,7 @@ function INe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var LNe, RNe, zNe, BNe, VNe;
+var qNe, JNe, YNe, XNe, ZNe;
function n0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -64159,26 +64378,26 @@ function r0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? n0(Object(n), !0).forEach(function(t) {
- HNe(e, t, n[t]);
+ QNe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : n0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HNe(e, t, n) {
- return (t = UNe(t)) in e ? Object.defineProperty(e, t, {
+function QNe(e, t, n) {
+ return (t = $Ne(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UNe(e) {
- var t = WNe(e, "string");
+function $Ne(e) {
+ var t = ePe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WNe(e, t) {
+function ePe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64201,29 +64420,29 @@ function a0(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
var o0 = (e, t, n, r, i) => {
- var a = n - r, o = dz(LNe ||= a0([
+ var a = n - r, o = cz(qNe ||= a0([
"M ",
",",
""
]), e, t);
- return o += dz(RNe ||= a0([
+ return o += cz(JNe ||= a0([
"L ",
",",
""
- ]), e + n, t), o += dz(zNe ||= a0([
+ ]), e + n, t), o += cz(YNe ||= a0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += dz(BNe ||= a0([
+ ]), e + n - a / 2, t + i), o += cz(XNe ||= a0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += dz(VNe ||= a0([
+ ]), e + n - a / 2 - r, t + i), o += cz(ZNe ||= a0([
"L ",
",",
" Z"
]), e, t), o;
-}, GNe = {
+}, tPe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -64233,8 +64452,8 @@ var o0 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, KNe = (e) => {
- var t = Pz(e, GNe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(-1), h = (0, B.useRef)(i), g = (0, B.useRef)(a), _ = (0, B.useRef)(o), v = (0, B.useRef)(n), y = (0, B.useRef)(r), b = GG(e, "trapezoid-");
+}, nPe = (e) => {
+ var t = jz(e, tPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, B.useRef)(null), [p, m] = (0, B.useState)(-1), h = (0, B.useRef)(i), g = (0, B.useRef)(a), _ = (0, B.useRef)(o), v = (0, B.useRef)(n), y = (0, B.useRef)(r), b = WG(e, "trapezoid-");
if ((0, B.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -64242,12 +64461,12 @@ var o0 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Jr("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", i0({}, oR(t), {
+ if (!d) return /*#__PURE__*/ B.createElement("g", null, /*#__PURE__*/ B.createElement("path", i0({}, rR(t), {
className: x,
d: o0(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = jG(["strokeDasharray"], l, c);
- return /*#__PURE__*/ B.createElement(WG, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = AG(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ B.createElement(UG, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -64256,35 +64475,35 @@ var o0 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = yz(S, i, e), c = yz(C, a, e), l = yz(w, o, e), u = yz(T, n, e), d = yz(E, r, e);
+ var s = gz(S, i, e), c = gz(C, a, e), l = gz(w, o, e), u = gz(T, n, e), d = gz(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ B.createElement("path", i0({}, oR(t), {
+ return /*#__PURE__*/ B.createElement("path", i0({}, rR(t), {
className: x,
d: o0(u, d, s, c, l),
ref: f,
style: r0(r0({}, p), t.style)
}));
});
-}, qNe = [
+}, rPe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function JNe(e, t) {
+function iPe(e, t) {
if (e == null) return {};
- var n, r, i = YNe(e, t);
+ var n, r, i = aPe(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 YNe(e, t) {
+function aPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64307,26 +64526,26 @@ function c0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? s0(Object(n), !0).forEach(function(t) {
- XNe(e, t, n[t]);
+ oPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : s0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XNe(e, t, n) {
- return (t = ZNe(t)) in e ? Object.defineProperty(e, t, {
+function oPe(e, t, n) {
+ return (t = sPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ZNe(e) {
- var t = QNe(e, "string");
+function sPe(e) {
+ var t = cPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QNe(e, t) {
+function cPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64336,34 +64555,34 @@ function QNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $Ne(e, t) {
+function lPe(e, t) {
return c0(c0({}, t), e);
}
-function ePe(e, t) {
+function uPe(e, t) {
return e === "symbols";
}
function l0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ B.createElement($G, n);
- case "trapezoid": return /*#__PURE__*/ B.createElement(KNe, n);
- case "sector": return /*#__PURE__*/ B.createElement(uK, n);
+ case "rectangle": return /*#__PURE__*/ B.createElement(QG, n);
+ case "trapezoid": return /*#__PURE__*/ B.createElement(nPe, n);
+ case "sector": return /*#__PURE__*/ B.createElement(lK, n);
case "symbols":
- if (ePe(t, n)) return /*#__PURE__*/ B.createElement(kz, n);
+ if (uPe(t, n)) return /*#__PURE__*/ B.createElement(Ez, n);
break;
- case "curve": return /*#__PURE__*/ B.createElement(EG, n);
+ case "curve": return /*#__PURE__*/ B.createElement(TG, n);
default: return null;
}
}
-function tPe(e) {
+function dPe(e) {
return /*#__PURE__*/ (0, B.isValidElement)(e) ? e.props : e;
}
function u0(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = JNe(e, qNe), o;
- if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, c0(c0({}, a), tPe(t)));
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = iPe(e, rPe), o;
+ if (/*#__PURE__*/ (0, B.isValidElement)(t)) o = /*#__PURE__*/ (0, B.cloneElement)(t, c0(c0({}, a), dPe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (INe(t) && typeof t != "boolean") {
- var s = $Ne(t, a);
+ else if (KNe(t) && typeof t != "boolean") {
+ var s = lPe(t, a);
o = /*#__PURE__*/ B.createElement(l0, {
shapeType: n,
elementProps: s
@@ -64375,12 +64594,12 @@ function u0(e) {
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ B.createElement(uR, { className: r }, o) : /*#__PURE__*/ B.createElement(uR, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ B.createElement(sR, { className: r }, o) : /*#__PURE__*/ B.createElement(sR, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
var d0 = (e, t, n) => {
- var r = wB();
+ var r = TB();
return (i, a) => (o) => {
e?.(i, a, o), r(tQ({
activeIndex: String(a),
@@ -64390,14 +64609,14 @@ var d0 = (e, t, n) => {
}));
};
}, f0 = (e) => {
- var t = wB();
+ var t = TB();
return (n, r) => (i) => {
- e?.(n, r, i), t(Bke());
+ e?.(n, r, i), t(Xke());
};
}, p0 = (e, t, n) => {
- var r = wB();
+ var r = TB();
return (i, a) => (o) => {
- e?.(i, a, o), r(Vke({
+ e?.(i, a, o), r(Zke({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -64408,9 +64627,9 @@ var d0 = (e, t, n) => {
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
function m0(e) {
- var { tooltipEntrySettings: t } = e, n = wB(), r = RU(), i = (0, B.useRef)(null);
+ var { tooltipEntrySettings: t } = e, n = TB(), r = LU(), i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- r || (i.current === null ? n(Ike(t)) : i.current !== t && n(Lke({
+ r || (i.current === null ? n(Kke(t)) : i.current !== t && n(qke({
prev: i.current,
next: t
})), i.current = t);
@@ -64419,15 +64638,15 @@ function m0(e) {
n,
r
]), (0, B.useLayoutEffect)(() => () => {
- i.current &&= (n(Rke(i.current)), null);
+ i.current &&= (n(Jke(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
function h0(e) {
- var { legendPayload: t } = e, n = wB(), r = RU(), i = (0, B.useRef)(null);
+ var { legendPayload: t } = e, n = TB(), r = LU(), i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- r || (i.current === null ? n(XW(t)) : i.current !== t && n(ZW({
+ r || (i.current === null ? n(YW(t)) : i.current !== t && n(XW({
prev: i.current,
next: t
})), i.current = t);
@@ -64436,13 +64655,13 @@ function h0(e) {
r,
t
]), (0, B.useLayoutEffect)(() => () => {
- i.current &&= (n(QW(i.current)), null);
+ i.current &&= (n(ZW(i.current)), null);
}, [n]), null;
}
function g0(e) {
- var { legendPayload: t } = e, n = wB(), r = Q(nW), i = (0, B.useRef)(null);
+ var { legendPayload: t } = e, n = TB(), r = Q(tW), i = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(XW(t)) : i.current !== t && n(ZW({
+ (r === "centric" || r === "radial") && (i.current === null ? n(YW(t)) : i.current !== t && n(XW({
prev: i.current,
next: t
})), i.current = t);
@@ -64451,27 +64670,27 @@ function g0(e) {
r,
t
]), (0, B.useLayoutEffect)(() => () => {
- i.current &&= (n(QW(i.current)), null);
+ i.current &&= (n(ZW(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var nPe = B.useId ?? (() => {
- var [e] = B.useState(() => gz("uid-"));
+var fPe = B.useId ?? (() => {
+ var [e] = B.useState(() => pz("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function rPe(e, t) {
- var n = nPe();
+function pPe(e, t) {
+ var n = fPe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var iPe = /*#__PURE__*/ (0, B.createContext)(void 0), _0 = (e) => {
- var { id: t, type: n, children: r } = e, i = rPe(`recharts-${n}`, t);
- return /*#__PURE__*/ B.createElement(iPe.Provider, { value: i }, r(i));
-}, v0 = IH({
+var mPe = /*#__PURE__*/ (0, B.createContext)(void 0), _0 = (e) => {
+ var { id: t, type: n, children: r } = e, i = pPe(`recharts-${n}`, t);
+ return /*#__PURE__*/ B.createElement(mPe.Provider, { value: i }, r(i));
+}, v0 = FH({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -64480,79 +64699,79 @@ var iPe = /*#__PURE__*/ (0, B.createContext)(void 0), _0 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(qW(t.payload));
+ e.cartesianItems.push(KW(t.payload));
},
- prepare: MH()
+ prepare: jH()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = CH(e).cartesianItems.indexOf(qW(n));
- i > -1 && (e.cartesianItems[i] = qW(r));
+ var { prev: n, next: r } = t.payload, i = SH(e).cartesianItems.indexOf(KW(n));
+ i > -1 && (e.cartesianItems[i] = KW(r));
},
- prepare: MH()
+ prepare: jH()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = CH(e).cartesianItems.indexOf(qW(t.payload));
+ var n = SH(e).cartesianItems.indexOf(KW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: MH()
+ prepare: jH()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(qW(t.payload));
+ e.polarItems.push(KW(t.payload));
},
- prepare: MH()
+ prepare: jH()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = CH(e).polarItems.indexOf(qW(t.payload));
+ var n = SH(e).polarItems.indexOf(KW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: MH()
+ prepare: jH()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = CH(e).polarItems.indexOf(qW(n));
- i > -1 && (e.polarItems[i] = qW(r));
+ var { prev: n, next: r } = t.payload, i = SH(e).polarItems.indexOf(KW(n));
+ i > -1 && (e.polarItems[i] = KW(r));
},
- prepare: MH()
+ prepare: jH()
}
}
-}), { addCartesianGraphicalItem: aPe, replaceCartesianGraphicalItem: oPe, removeCartesianGraphicalItem: sPe, addPolarGraphicalItem: cPe, removePolarGraphicalItem: lPe, replacePolarGraphicalItem: uPe } = v0.actions, dPe = v0.reducer, y0 = /*#__PURE__*/ (0, B.memo)((e) => {
- var t = wB(), n = (0, B.useRef)(null);
+}), { addCartesianGraphicalItem: hPe, replaceCartesianGraphicalItem: gPe, removeCartesianGraphicalItem: _Pe, addPolarGraphicalItem: vPe, removePolarGraphicalItem: yPe, replacePolarGraphicalItem: bPe } = v0.actions, xPe = v0.reducer, y0 = /*#__PURE__*/ (0, B.memo)((e) => {
+ var t = TB(), n = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- n.current === null ? t(aPe(e)) : n.current !== e && t(oPe({
+ n.current === null ? t(hPe(e)) : n.current !== e && t(gPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(sPe(n.current)), null);
+ n.current &&= (t(_Pe(n.current)), null);
}, [t]), null;
}), b0 = /*#__PURE__*/ (0, B.memo)((e) => {
- var t = wB(), n = (0, B.useRef)(null);
+ var t = TB(), n = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => {
- n.current === null ? t(cPe(e)) : n.current !== e && t(uPe({
+ n.current === null ? t(vPe(e)) : n.current !== e && t(bPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(lPe(n.current)), null);
+ n.current &&= (t(yPe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function fPe(e) {
+function SPe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function pPe(e) {
- if (!(!Bz(e) || e.length === 0)) return fPe(I1(e));
+function CPe(e) {
+ if (!(!Lz(e) || e.length === 0)) return SPe(I1(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var mPe = ["points"];
+var wPe = ["points"];
function x0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -64567,26 +64786,26 @@ function S0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? x0(Object(n), !0).forEach(function(t) {
- hPe(e, t, n[t]);
+ TPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hPe(e, t, n) {
- return (t = gPe(t)) in e ? Object.defineProperty(e, t, {
+function TPe(e, t, n) {
+ return (t = EPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gPe(e) {
- var t = _Pe(e, "string");
+function EPe(e) {
+ var t = DPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _Pe(e, t) {
+function DPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64605,16 +64824,16 @@ function C0() {
return e;
}, C0.apply(null, arguments);
}
-function vPe(e, t) {
+function OPe(e, t) {
if (e == null) return {};
- var n, r, i = yPe(e, t);
+ var n, r, i = kPe(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 yPe(e, t) {
+function kPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64623,20 +64842,20 @@ function yPe(e, t) {
}
return n;
}
-function bPe(e) {
+function APe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, B.isValidElement)(t)) return /*#__PURE__*/ (0, B.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Jr(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = vPe(a, mPe);
+ var i = Jr(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = OPe(a, wPe);
return /*#__PURE__*/ B.createElement(_1, C0({}, s, { className: i }));
}
-function xPe(e, t) {
+function jPe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
function w0(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = zK.scatter } = e;
- if (!xPe(t, n)) return null;
- var u = t0(n), d = _be(n), f = t.map((e, r) => {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = RK.scatter } = e;
+ if (!jPe(t, n)) return null;
+ var u = t0(n), d = Abe(n), f = t.map((e, r) => {
var s = S0(S0(S0({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
@@ -64646,14 +64865,14 @@ function w0(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ B.createElement(bPe, {
+ return /*#__PURE__*/ B.createElement(APe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(e$, { zIndex: l }, /*#__PURE__*/ B.createElement(uR, C0({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ B.createElement(e$, { zIndex: l }, /*#__PURE__*/ B.createElement(sR, C0({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
@@ -64671,26 +64890,26 @@ function E0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? T0(Object(n), !0).forEach(function(t) {
- SPe(e, t, n[t]);
+ MPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : T0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function SPe(e, t, n) {
- return (t = CPe(t)) in e ? Object.defineProperty(e, t, {
+function MPe(e, t, n) {
+ return (t = NPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CPe(e) {
- var t = wPe(e, "string");
+function NPe(e) {
+ var t = PPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wPe(e, t) {
+function PPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64700,7 +64919,7 @@ function wPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var D0 = IH({
+var D0 = FH({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -64710,60 +64929,60 @@ var D0 = IH({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = qW(t.payload);
+ e.xAxis[t.payload.id] = KW(t.payload);
},
- prepare: MH()
+ prepare: jH()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = qW(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = KW(r));
},
- prepare: MH()
+ prepare: jH()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: MH()
+ prepare: jH()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = qW(t.payload);
+ e.yAxis[t.payload.id] = KW(t.payload);
},
- prepare: MH()
+ prepare: jH()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = qW(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = KW(r));
},
- prepare: MH()
+ prepare: jH()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: MH()
+ prepare: jH()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = qW(t.payload);
+ e.zAxis[t.payload.id] = KW(t.payload);
},
- prepare: MH()
+ prepare: jH()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = qW(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = KW(r));
},
- prepare: MH()
+ prepare: jH()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: MH()
+ prepare: jH()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -64778,15 +64997,15 @@ var D0 = IH({
}
}
}
-}), { addXAxis: TPe, replaceXAxis: EPe, removeXAxis: DPe, addYAxis: OPe, replaceYAxis: kPe, removeYAxis: APe, addZAxis: jPe, replaceZAxis: MPe, removeZAxis: NPe, updateYAxisWidth: PPe } = D0.actions, FPe = D0.reducer, IPe = $([
- $([IU], (e) => ({
+}), { addXAxis: FPe, replaceXAxis: IPe, removeXAxis: LPe, addYAxis: RPe, replaceYAxis: zPe, removeYAxis: BPe, addZAxis: VPe, replaceZAxis: HPe, removeZAxis: UPe, updateYAxisWidth: WPe } = D0.actions, GPe = D0.reducer, KPe = $([
+ $([FU], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- kU,
- AU
+ OU,
+ kU
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -64794,7 +65013,7 @@ var D0 = IH({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), O0 = () => Q(IPe), LPe = () => Q(gAe);
+}), O0 = () => Q(KPe), qPe = () => Q(EAe);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
function k0(e, t) {
@@ -64811,26 +65030,26 @@ function A0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? k0(Object(n), !0).forEach(function(t) {
- RPe(e, t, n[t]);
+ JPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RPe(e, t, n) {
- return (t = zPe(t)) in e ? Object.defineProperty(e, t, {
+function JPe(e, t, n) {
+ return (t = YPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zPe(e) {
- var t = BPe(e, "string");
+function YPe(e) {
+ var t = XPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BPe(e, t) {
+function XPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64840,7 +65059,7 @@ function BPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var VPe = (e) => {
+var ZPe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
var s = A0(A0(A0({}, {
@@ -64854,17 +65073,17 @@ var VPe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), aR(i)), jz(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(_1, s);
- return /*#__PURE__*/ B.createElement(uR, {
+ }), nR(i)), Oz(i)), c = /*#__PURE__*/ (0, B.isValidElement)(i) ? /*#__PURE__*/ (0, B.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ B.createElement(_1, s);
+ return /*#__PURE__*/ B.createElement(sR, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
function j0(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = zK.activeDot } = e, s = Q(NQ), c = LPe();
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = RK.activeDot } = e, s = Q(NQ), c = qPe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return xz(l) ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: o }, /*#__PURE__*/ B.createElement(VPe, {
+ return vz(l) ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: o }, /*#__PURE__*/ B.createElement(ZPe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -64889,26 +65108,26 @@ function N0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? M0(Object(n), !0).forEach(function(t) {
- HPe(e, t, n[t]);
+ QPe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HPe(e, t, n) {
- return (t = UPe(t)) in e ? Object.defineProperty(e, t, {
+function QPe(e, t, n) {
+ return (t = $Pe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UPe(e) {
- var t = WPe(e, "string");
+function $Pe(e) {
+ var t = eFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WPe(e, t) {
+function eFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64918,16 +65137,16 @@ function WPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var P0 = (e, t) => D1(e, "radiusAxis", t), GPe = $([P0], (e) => {
+var P0 = (e, t) => D1(e, "radiusAxis", t), tFe = $([P0], (e) => {
if (e != null) return { scale: e };
-}), KPe = $([YK, P0], (e, t) => {
+}), nFe = $([JK, P0], (e, t) => {
if (e != null && t != null) return N0(N0({}, e), {}, { scale: t });
-}), qPe = (e, t, n, r) => k1(e, "radiusAxis", t, r), F0 = (e, t, n) => JK(e, n), I0 = (e, t, n) => D1(e, "angleAxis", n), JPe = $([F0, I0], (e, t) => {
+}), rFe = (e, t, n, r) => k1(e, "radiusAxis", t, r), F0 = (e, t, n) => qK(e, n), I0 = (e, t, n) => D1(e, "angleAxis", n), iFe = $([F0, I0], (e, t) => {
if (e != null && t != null) return N0(N0({}, e), {}, { scale: t });
-}), YPe = (e, t, n, r) => k1(e, "angleAxis", n, r), XPe = $([
+}), aFe = (e, t, n, r) => k1(e, "angleAxis", n, r), oFe = $([
F0,
I0,
- nq
+ tq
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -64936,30 +65155,30 @@ var P0 = (e, t) => D1(e, "radiusAxis", t), GPe = $([P0], (e) => {
cx: n.cx,
cy: n.cy
};
-}), ZPe = (e, t, n, r, i) => i, QPe = $([
- nW,
- KPe,
- qPe,
- JPe,
- YPe
-], (e, t, n, r, i) => gU(e, "radiusAxis") ? EU(t, n, !1) : EU(r, i, !1)), $Pe = $([
- GPe,
- XPe,
- mK,
- $([v1, ZPe], (e, t) => {
+}), sFe = (e, t, n, r, i) => i, cFe = $([
+ tW,
+ nFe,
+ rFe,
+ iFe,
+ aFe
+], (e, t, n, r, i) => hU(e, "radiusAxis") ? TU(t, n, !1) : TU(r, i, !1)), lFe = $([
+ tFe,
+ oFe,
+ pK,
+ $([v1, sFe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- QPe
+ cFe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return lFe({
+ if (e != null && t != null && a != null && i != null && r != null) return yFe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), eFe = ["id"];
+}), uFe = ["id"];
function L0() {
return L0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -64983,26 +65202,26 @@ function z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? R0(Object(n), !0).forEach(function(t) {
- tFe(e, t, n[t]);
+ dFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tFe(e, t, n) {
- return (t = nFe(t)) in e ? Object.defineProperty(e, t, {
+function dFe(e, t, n) {
+ return (t = fFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nFe(e) {
- var t = rFe(e, "string");
+function fFe(e) {
+ var t = pFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rFe(e, t) {
+function pFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65012,16 +65231,16 @@ function rFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function iFe(e, t) {
+function mFe(e, t) {
if (e == null) return {};
- var n, r, i = aFe(e, t);
+ var n, r, i = hFe(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 aFe(e, t) {
+function hFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65033,27 +65252,27 @@ function aFe(e, t) {
function B0(e, t) {
return e && e !== "none" ? e : t;
}
-var oFe = (e) => {
+var gFe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: B0(r, i),
- value: OU(n, t),
+ value: DU(n, t),
payload: e
}];
-}, sFe = /*#__PURE__*/ B.memo((e) => {
+}, _Fe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: wz,
+ getPosition: xz,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: OU(a, t),
+ name: DU(a, t),
hide: o,
type: s,
color: B0(n, i),
@@ -65063,8 +65282,8 @@ var oFe = (e) => {
};
return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: l });
});
-function cFe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = iR(iFe(n, eFe));
+function vFe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = tR(mFe(n, uFe));
return /*#__PURE__*/ B.createElement(w0, {
points: t,
dot: r,
@@ -65074,11 +65293,11 @@ function cFe(e) {
baseProps: o
});
}
-function lFe(e) {
+function yFe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = hU(e, n.dataKey, r), d = hU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? pPe(d) : d, m = xz(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(z0(z0({}, iK(o, s, m, f)), {}, {
+ var a = mU(e, n.dataKey, r), d = mU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? CPe(d) : d, m = vz(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(z0(z0({}, rK(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -65091,8 +65310,8 @@ function lFe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = xz(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(z0(z0({}, e), {}, { radius: r }, iK(o, s, r, e.angle)));
+ var n = e.value[0], r = vz(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(z0(z0({}, e), {}, { radius: r }, rK(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -65100,7 +65319,7 @@ function lFe(e) {
baseLinePoints: d
};
}
-function uFe(e) {
+function bFe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -65120,10 +65339,10 @@ function uFe(e) {
});
return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, r);
}
-function dFe(e) {
+function xFe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, z0(z0({}, r), {}, { points: t })) : typeof i == "function" ? i(z0(z0({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(h1, L0({}, oR(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ B.isValidElement(i) ? /*#__PURE__*/ B.cloneElement(i, z0(z0({}, r), {}, { points: t })) : typeof i == "function" ? i(z0(z0({}, r), {}, { points: t })) : /*#__PURE__*/ B.createElement(h1, L0({}, rR(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -65136,7 +65355,7 @@ function dFe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ B.createElement(uR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(cFe, {
+ return /*#__PURE__*/ B.createElement(sR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ B.createElement(vFe, {
props: r,
points: t
}));
@@ -65144,23 +65363,23 @@ function dFe(e) {
var V0 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
return a ? z0(z0({}, r), {}, {
- x: yz(a.x, r.x, n),
- y: yz(a.y, r.y, n)
+ x: gz(a.x, r.x, n),
+ y: gz(a.y, r.y, n)
}) : z0(z0({}, r), {}, {
- x: yz(r.cx, r.x, n),
- y: yz(r.cy, r.y, n)
+ x: gz(r.cx, r.x, n),
+ y: gz(r.cy, r.y, n)
});
};
-function fFe(e) {
- var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = GG(t, "recharts-radar-"), [_, v] = (0, B.useState)(!1), y = !_, b = (0, B.useCallback)(() => {
+function SFe(e) {
+ var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = WG(t, "recharts-radar-"), [_, v] = (0, B.useState)(!1), y = !_, b = (0, B.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, B.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ B.createElement(uFe, {
+ return /*#__PURE__*/ B.createElement(bFe, {
showLabels: y,
points: i
- }, /*#__PURE__*/ B.createElement(WG, {
+ }, /*#__PURE__*/ B.createElement(UG, {
animationId: g,
begin: s,
duration: c,
@@ -65171,22 +65390,22 @@ function fFe(e) {
onAnimationStart: x
}, (e) => {
var o = e === 1 ? i : i.map(V0(f, m, e)), s = e === 1 ? a : a?.map(V0(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(dFe, {
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ B.createElement(xFe, {
points: o,
baseLinePoints: s,
props: t
});
}), /*#__PURE__*/ B.createElement(d1, { label: t.label }), t.children);
}
-function pFe(e) {
+function CFe(e) {
var t = (0, B.useRef)(void 0), n = (0, B.useRef)(void 0);
- return /*#__PURE__*/ B.createElement(fFe, {
+ return /*#__PURE__*/ B.createElement(SFe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var mFe = {
+var wFe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -65198,29 +65417,29 @@ var mFe = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: zK.area
+ zIndex: RK.area
};
-function hFe(e) {
+function TFe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Jr("recharts-radar", n);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(uR, { className: i }, /*#__PURE__*/ B.createElement(pFe, e)), /*#__PURE__*/ B.createElement(j0, {
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: i }, /*#__PURE__*/ B.createElement(CFe, e)), /*#__PURE__*/ B.createElement(j0, {
points: r,
mainColor: B0(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function gFe(e) {
- var t = RU(), n = Q((n) => $Pe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ B.createElement(hFe, L0({}, e, {
+function EFe(e) {
+ var t = LU(), n = Q((n) => lFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ B.createElement(TFe, L0({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
function H0(e) {
- var t = Pz(e, mFe);
+ var t = jz(e, wFe);
return /*#__PURE__*/ B.createElement(_0, {
id: t.id,
type: "radar"
@@ -65232,7 +65451,7 @@ function H0(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ B.createElement(g0, { legendPayload: oFe(t) }), /*#__PURE__*/ B.createElement(sFe, {
+ }), /*#__PURE__*/ B.createElement(g0, { legendPayload: gFe(t) }), /*#__PURE__*/ B.createElement(_Fe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -65241,7 +65460,7 @@ function H0(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ B.createElement(gFe, L0({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(EFe, L0({}, t, { id: e }))));
}
H0.displayName = "Radar";
//#endregion
@@ -65265,9 +65484,9 @@ function G0(e) {
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
var K0 = (e, t, n) => {
var r = n ?? e;
- if (!xz(r)) return _z(r, t, 0);
+ if (!vz(r)) return mz(r, t, 0);
}, q0 = (e, t, n) => {
- var r = {}, i = e.filter(sq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ var r = {}, i = e.filter(oq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
@@ -65300,26 +65519,26 @@ function Y0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? J0(Object(n), !0).forEach(function(t) {
- _Fe(e, t, n[t]);
+ DFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _Fe(e, t, n) {
- return (t = vFe(t)) in e ? Object.defineProperty(e, t, {
+function DFe(e, t, n) {
+ return (t = OFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vFe(e) {
- var t = yFe(e, "string");
+function OFe(e) {
+ var t = kFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yFe(e, t) {
+function kFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65329,11 +65548,11 @@ function yFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function bFe(e, t, n, r, i) {
+function AFe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = _z(e, n, 0, !0), s, c = [];
- if (dU(r[0]?.barSize)) {
+ var o = mz(e, n, 0, !0), s, c = [];
+ if (uU(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);
var f = {
@@ -65352,11 +65571,11 @@ function bFe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = _z(t, n, 0, !0);
+ var p = mz(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 >>= 0);
- var h = dU(i) ? Math.min(m, i) : m;
+ var h = uU(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -65370,10 +65589,10 @@ function bFe(e, t, n, r, i) {
}
}
var X0 = (e, t, n, r, i, a, o) => {
- var s = xz(o) ? t : o, c = bFe(n, r, i === a ? a : i, e, s);
+ var s = vz(o) ? t : o, c = AFe(n, r, i === a ? a : i, e, s);
return i !== a && c != null && (c = c.map((e) => Y0(Y0({}, e), {}, { position: Y0(Y0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
}, Z0 = (e, t) => {
- var n = aq(t);
+ var n = iq(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -65406,26 +65625,26 @@ function e2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? $0(Object(n), !0).forEach(function(t) {
- xFe(e, t, n[t]);
+ jFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xFe(e, t, n) {
- return (t = SFe(t)) in e ? Object.defineProperty(e, t, {
+function jFe(e, t, n) {
+ return (t = MFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SFe(e) {
- var t = CFe(e, "string");
+function MFe(e) {
+ var t = NFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CFe(e, t) {
+function NFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65435,81 +65654,81 @@ function CFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var t2 = $([(e, t) => YK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
+var t2 = $([(e, t) => JK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
if (e != null && t != null) return e2(e2({}, e), {}, { scale: t });
-}), n2 = (e, t) => IMe(e, "radiusAxis", t, !1), r2 = $([(e, t, n) => JK(e, n), (e, t, n) => D1(e, "angleAxis", n)], (e, t) => {
+}), n2 = (e, t) => KMe(e, "radiusAxis", t, !1), r2 = $([(e, t, n) => qK(e, n), (e, t, n) => D1(e, "angleAxis", n)], (e, t) => {
if (e != null && t != null) return e2(e2({}, e), {}, { scale: t });
}), i2 = (e, t, n) => k1(e, "angleAxis", n, !1), a2 = $([v1, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
}), o2 = $([
- nW,
+ tW,
t2,
n2,
r2,
i2
-], (e, t, n, r, i) => gU(e, "radiusAxis") ? EU(t, n, !1) : EU(r, i, !1)), wFe = $([
+], (e, t, n, r, i) => hU(e, "radiusAxis") ? TU(t, n, !1) : TU(r, i, !1)), PFe = $([
r2,
t2,
- nW
+ tW
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return CU({ numericAxis: r });
-}), TFe = (e, t, n, r, i) => i, EFe = (e, t, n, r, i) => n, DFe = (e, t, n, r, i) => t, s2 = (e, t, n, r, i) => r.maxBarSize, c2 = (e) => e.type === "radialBar", OFe = $([$([
+ if (r != null && r.scale != null) return SU({ numericAxis: r });
+}), FFe = (e, t, n, r, i) => i, IFe = (e, t, n, r, i) => n, LFe = (e, t, n, r, i) => t, s2 = (e, t, n, r, i) => r.maxBarSize, c2 = (e) => e.type === "radialBar", RFe = $([$([
$([
$([
- nW,
+ tW,
v1,
- EFe,
- DFe
+ IFe,
+ LFe
], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(c2)),
- MK,
+ jK,
() => void 0
], q0),
+ OK,
kK,
AK,
- jK,
$([
- nW,
- kK,
+ tW,
+ OK,
r2,
i2,
t2,
n2,
s2
], (e, t, n, r, i, a, o) => {
- var s = xz(o) ? t : o;
- return e === "centric" ? EU(n, r, !0) ?? s ?? 0 : EU(i, a, !0) ?? s ?? 0;
+ var s = vz(o) ? t : o;
+ return e === "centric" ? TU(n, r, !0) ?? s ?? 0 : TU(i, a, !0) ?? s ?? 0;
}),
o2,
s2
-], X0), a2], Q0), l2 = $([y1], (e) => e.filter(c2).filter(sq)), u2 = $([
+], X0), a2], Q0), l2 = $([y1], (e) => e.filter(c2).filter(oq)), u2 = $([
$([
l2,
- mK,
+ pK,
tZ
- ], oq),
+ ], aq),
l2,
- NK,
- PK
-], rZ), kFe = $([
+ MK,
+ NK
+], rZ), zFe = $([
r2,
i2,
t2,
n2,
- pK,
+ fK,
a2,
o2,
- nW,
- wFe,
- nq,
- TFe,
- OFe,
- $([(e, t, n) => nW(e) === "centric" ? u2(e, "radiusAxis", t) : u2(e, "angleAxis", n), a2], Z0)
+ tW,
+ PFe,
+ tq,
+ FFe,
+ RFe,
+ $([(e, t, n) => tW(e) === "centric" ? u2(e, "radiusAxis", t) : u2(e, "angleAxis", n), a2], Z0)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return KFe({
+ return nIe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -65530,7 +65749,7 @@ var t2 = $([(e, t) => YK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), AFe = $([mK, (e, t) => t], (e, t) => {
+}), BFe = $([pK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -65544,20 +65763,20 @@ var t2 = $([(e, t) => YK(e, t), (e, t) => D1(e, "radiusAxis", t)], (e, t) => {
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
function d2(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && dU(e.zIndex) ? e.zIndex : t;
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && uU(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var jFe = [
+var VFe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], MFe = [
+], HFe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], NFe = ["value", "background"];
+], UFe = ["value", "background"];
function f2() {
return f2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -65581,26 +65800,26 @@ function m2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? p2(Object(n), !0).forEach(function(t) {
- PFe(e, t, n[t]);
+ WFe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : p2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PFe(e, t, n) {
- return (t = FFe(t)) in e ? Object.defineProperty(e, t, {
+function WFe(e, t, n) {
+ return (t = GFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FFe(e) {
- var t = IFe(e, "string");
+function GFe(e) {
+ var t = KFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IFe(e, t) {
+function KFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65612,14 +65831,14 @@ function IFe(e, t) {
}
function h2(e, t) {
if (e == null) return {};
- var n, r, i = LFe(e, t);
+ var n, r, i = qFe(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 LFe(e, t) {
+function qFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65629,7 +65848,7 @@ function LFe(e, t) {
return n;
}
var g2 = [];
-function RFe(e) {
+function JFe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -65646,15 +65865,15 @@ function RFe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ B.createElement(wMe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ B.createElement(PMe, { value: t ? i : void 0 }, r);
}
-function zFe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = h2(n, jFe), l = iR(c), u = Q(NQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = h2(n, MFe), h = d0(d, n.dataKey, s), g = f0(p), _ = p0(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ B.createElement(RFe, {
+function YFe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = h2(n, VFe), l = tR(c), u = Q(NQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = h2(n, HFe), h = d0(d, n.dataKey, s), g = f0(p), _ = p0(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ B.createElement(JFe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = m2(m2(m2(m2({}, l), {}, { cornerRadius: W0(o) }, e), Mz(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = m2(m2(m2(m2({}, l), {}, { cornerRadius: W0(o) }, e), kz(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -65666,18 +65885,18 @@ function zFe(e) {
index: t
});
return n ? /*#__PURE__*/ B.createElement(e$, {
- zIndex: zK.activeBar,
+ zIndex: RK.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
}, /*#__PURE__*/ B.createElement(G0, f)) : /*#__PURE__*/ B.createElement(G0, f2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
}), /*#__PURE__*/ B.createElement(d1, { label: n.label }), n.children);
}
-function BFe(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = GG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, B.useState)(!1), m = (0, B.useCallback)(() => {
+function XFe(e) {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = WG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, B.useState)(!1), m = (0, B.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, B.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ B.createElement(WG, {
+ return /*#__PURE__*/ B.createElement(UG, {
animationId: u,
begin: a,
duration: o,
@@ -65690,34 +65909,34 @@ function BFe(e) {
var i = e === 1 ? r : (r ?? g2).map((t, n) => {
var r = d && d[n];
if (r) return m2(m2({}, t), {}, {
- startAngle: yz(r.startAngle, t.startAngle, e),
- endAngle: yz(r.endAngle, t.endAngle, e)
+ startAngle: gz(r.startAngle, t.startAngle, e),
+ endAngle: gz(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return m2(m2({}, t), {}, { endAngle: yz(a, i, e) });
+ return m2(m2({}, t), {}, { endAngle: gz(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(zFe, {
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ B.createElement(YFe, {
sectors: i ?? g2,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function VFe(e) {
+function ZFe(e) {
var t = (0, B.useRef)(null);
- return /*#__PURE__*/ B.createElement(BFe, {
+ return /*#__PURE__*/ B.createElement(XFe, {
props: e,
previousSectorsRef: t
});
}
-function HFe(e) {
- var t = Q((t) => AFe(t, e.legendType));
+function QFe(e) {
+ var t = Q((t) => BFe(t, e.legendType));
return /*#__PURE__*/ B.createElement(g0, { legendPayload: t ?? [] });
}
-var UFe = /*#__PURE__*/ B.memo((e) => {
+var $Fe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: wz,
+ getPosition: xz,
settings: {
graphicalItemId: l,
stroke: r,
@@ -65725,7 +65944,7 @@ var UFe = /*#__PURE__*/ B.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: OU(a, t),
+ name: DU(a, t),
hide: o,
type: c,
color: s,
@@ -65733,14 +65952,14 @@ var UFe = /*#__PURE__*/ B.memo((e) => {
}
};
return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: u });
-}), WFe = class extends B.PureComponent {
+}), eIe = class extends B.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = aR(this.props.background);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: d2(this.props.background, zK.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = h2(e, NFe);
+ var { cornerRadius: t } = this.props, n = nR(this.props.background);
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: d2(this.props.background, RK.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = h2(e, UFe);
if (!a) return null;
- var s = m2(m2(m2(m2(m2({ cornerRadius: W0(t) }, o), {}, { fill: "#eee" }, a), n), Mz(this.props, e, r)), {}, {
+ var s = m2(m2(m2(m2(m2({ cornerRadius: W0(t) }, o), {}, { fill: "#eee" }, a), n), kz(this.props, e, r)), {}, {
index: r,
className: Jr("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
@@ -65753,17 +65972,17 @@ var UFe = /*#__PURE__*/ B.memo((e) => {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Jr("recharts-area", n);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(uR, { className: i }, r && /*#__PURE__*/ B.createElement(uR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(uR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(VFe, this.props))));
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: this.props.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: i }, r && /*#__PURE__*/ B.createElement(sR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ B.createElement(sR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ B.createElement(ZFe, this.props))));
}
};
-function GFe(e) {
+function tIe(e) {
var t = B.useMemo(() => e0(e.children, _$), [e.children]), n = B.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: bU(e.stackId),
+ stackId: yU(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -65778,8 +65997,8 @@ function GFe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => kFe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? g2;
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(UFe, {
+ ]), r = Q((r) => zFe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? g2;
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement($Fe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -65789,7 +66008,7 @@ function GFe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ B.createElement(WFe, f2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ B.createElement(eIe, f2({}, e, { sectors: r })));
}
var _2 = {
angleAxisId: 0,
@@ -65806,14 +66025,14 @@ var _2 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: zK.bar
+ zIndex: RK.bar
};
-function KFe(e) {
+function nIe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
return g == null || l == null ? g2 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = yU(n[r + t], i) : (b = hU(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = SU({
+ if (n ? b = vU(n[r + t], i) : (b = mU(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = xU({
axis: c,
ticks: l,
bandSize: u,
@@ -65824,7 +66043,7 @@ function KFe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = fz(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = lz(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -65836,7 +66055,7 @@ function KFe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = SU({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = xU({
axis: f,
ticks: g,
bandSize: u,
@@ -65847,7 +66066,7 @@ function KFe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = fz(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = lz(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
@@ -65864,7 +66083,7 @@ function KFe(e) {
});
}
function v2(e) {
- var t = Pz(e, _2);
+ var t = jz(e, _2);
return /*#__PURE__*/ B.createElement(_0, {
id: t.id,
type: "radialBar"
@@ -65876,17 +66095,17 @@ function v2(e) {
hide: t.hide ?? _2.hide,
angleAxisId: t.angleAxisId ?? _2.angleAxisId,
radiusAxisId: t.radiusAxisId ?? _2.radiusAxisId,
- stackId: bU(t.stackId),
+ stackId: yU(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ B.createElement(HFe, t), /*#__PURE__*/ B.createElement(GFe, f2({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(QFe, t), /*#__PURE__*/ B.createElement(tIe, f2({}, t, { id: e }))));
}
v2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
var y2 = (e) => {
- var { chartData: t } = e, n = wB(), r = RU();
+ var { chartData: t } = e, n = TB(), r = LU();
return (0, B.useEffect)(() => r ? () => {} : (n(d$(t)), () => {
n(d$(void 0));
}), [
@@ -65905,13 +66124,13 @@ var y2 = (e) => {
bottom: 0,
left: 0
}
-}, x2 = IH({
+}, x2 = FH({
name: "brush",
initialState: b2,
reducers: { setBrushSettings(e, t) {
return t.payload == null ? b2 : t.payload;
} }
-}), { setBrushSettings: qFe } = x2.actions, JFe = x2.reducer, YFe = (e, t) => {
+}), { setBrushSettings: rIe } = x2.actions, iIe = x2.reducer, aIe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -65919,9 +66138,9 @@ var y2 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, XFe = (e) => {
+}, oIe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return YFe({
+ return aIe({
x: t,
y: n
}, {
@@ -65929,13 +66148,13 @@ var y2 = (e) => {
y: i
});
};
-function ZFe(e) {
+function sIe(e) {
return (e % 180 + 180) % 180;
}
-var QFe = function(e) {
- var { width: t, height: n } = e, r = ZFe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var cIe = function(e) {
+ var { width: t, height: n } = e, r = sIe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, S2 = IH({
+}, S2 = FH({
name: "referenceElements",
initialState: {
dots: [],
@@ -65947,26 +66166,26 @@ var QFe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = CH(e).dots.findIndex((e) => e === t.payload);
+ var n = SH(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = CH(e).areas.findIndex((e) => e === t.payload);
+ var n = SH(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(qW(t.payload));
+ e.lines.push(KW(t.payload));
},
removeLine: (e, t) => {
- var n = CH(e).lines.findIndex((e) => e === t.payload);
+ var n = SH(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: $Fe, removeDot: eIe, addArea: tIe, removeArea: nIe, addLine: rIe, removeLine: iIe } = S2.actions, aIe = S2.reducer, C2 = /*#__PURE__*/ (0, B.createContext)(void 0), oIe = (e) => {
- var { children: t } = e, [n] = (0, B.useState)(`${gz("recharts")}-clip`), r = O0();
+}), { addDot: lIe, removeDot: uIe, addArea: dIe, removeArea: fIe, addLine: pIe, removeLine: mIe } = S2.actions, hIe = S2.reducer, C2 = /*#__PURE__*/ (0, B.createContext)(void 0), gIe = (e) => {
+ var { children: t } = e, [n] = (0, B.useState)(`${pz("recharts")}-clip`), r = O0();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
return /*#__PURE__*/ B.createElement(C2.Provider, { value: n }, /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: n }, /*#__PURE__*/ B.createElement("rect", {
@@ -65975,7 +66194,7 @@ var QFe = function(e) {
height: s,
width: o
}))), t);
-}, sIe = () => (0, B.useContext)(C2), cIe = class {
+}, _Ie = () => (0, B.useContext)(C2), vIe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -66015,26 +66234,26 @@ function T2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? w2(Object(n), !0).forEach(function(t) {
- lIe(e, t, n[t]);
+ yIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : w2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lIe(e, t, n) {
- return (t = uIe(t)) in e ? Object.defineProperty(e, t, {
+function yIe(e, t, n) {
+ return (t = bIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uIe(e) {
- var t = dIe(e, "string");
+function bIe(e) {
+ var t = xIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dIe(e, t) {
+function xIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66053,18 +66272,18 @@ function E2() {
return e;
}, E2.apply(null, arguments);
}
-var fIe = (e, t) => {
+var SIe = (e, t) => {
var n;
if (/*#__PURE__*/ B.isValidElement(e)) n = /*#__PURE__*/ B.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!dU(t.x1) || !dU(t.y1) || !dU(t.x2) || !dU(t.y2)) return null;
+ if (!uU(t.x1) || !uU(t.y1) || !uU(t.x2) || !uU(t.y2)) return null;
n = /*#__PURE__*/ B.createElement("line", E2({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, pIe = (e, t, n, r, i, a) => {
+}, CIe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!dU(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!uU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -66073,9 +66292,9 @@ var fIe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, mIe = (e, t, n, r, i, a) => {
+}, wIe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!dU(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!uU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -66084,7 +66303,7 @@ var fIe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, hIe = (e, t, n, r) => {
+}, TIe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -66093,43 +66312,43 @@ var fIe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, gIe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = hz(s);
- return hz(c) ? pIe(c, u, r, a, t, n) : d ? mIe(s, u, r, i, e, n) : l != null && l.length === 2 ? hIe(l, u, r, new cIe({
+}, EIe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = fz(s);
+ return fz(c) ? CIe(c, u, r, a, t, n) : d ? wIe(s, u, r, i, e, n) : l != null && l.length === 2 ? TIe(l, u, r, new vIe({
x: e,
y: t
})) : null;
};
-function _Ie(e) {
- var t = wB();
- return (0, B.useEffect)(() => (t(rIe(e)), () => {
- t(iIe(e));
+function DIe(e) {
+ var t = TB();
+ return (0, B.useEffect)(() => (t(pIe(e)), () => {
+ t(mIe(e));
})), null;
}
-function vIe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = RU(), s = sIe(), c = Q((e) => MX(e, t)), l = Q((e) => FX(e, n)), u = Q((e) => MZ(e, "xAxis", t, o)), d = Q((e) => MZ(e, "yAxis", n, o)), f = QU();
+function OIe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = LU(), s = _Ie(), c = Q((e) => jX(e, t)), l = Q((e) => PX(e, n)), u = Q((e) => MZ(e, "xAxis", t, o)), d = Q((e) => MZ(e, "yAxis", n, o)), f = ZU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = gIe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = EIe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = T2(T2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, oR(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = T2(T2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, rR(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = XFe({
+ }), x = oIe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(uR, { className: Jr("recharts-reference-line", i) }, fIe(r, b), /*#__PURE__*/ B.createElement(X$, E2({}, x, {
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-reference-line", i) }, SIe(r, b), /*#__PURE__*/ B.createElement(X$, E2({}, x, {
lowerWidth: x.width,
upperWidth: x.width
}), /*#__PURE__*/ B.createElement(i1, { label: e.label }), e.children)));
}
-var yIe = {
+var kIe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -66139,18 +66358,18 @@ var yIe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: zK.line
+ zIndex: RK.line
};
function D2(e) {
- var t = Pz(e, yIe);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(_Ie, {
+ var t = jz(e, kIe);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(DIe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ B.createElement(vIe, t));
+ }), /*#__PURE__*/ B.createElement(OIe, t));
}
D2.displayName = "ReferenceLine";
//#endregion
@@ -66166,13 +66385,13 @@ function O2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function bIe(e, t, n) {
- return QFe({
+function AIe(e, t, n) {
+ return cIe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function xIe(e, t, n) {
+function jIe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -66187,12 +66406,12 @@ function k2(e, t, n, r, i) {
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function SIe(e, t) {
+function MIe(e, t) {
return O2(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function CIe(e, t, n, r, i) {
+function NIe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
if (t === void 0) return { v: O2(r, l) };
@@ -66201,7 +66420,7 @@ function CIe(e, t, n, r, i) {
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function wIe(e, t, n, r, i) {
+function PIe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
@@ -66238,26 +66457,26 @@ function j2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? A2(Object(n), !0).forEach(function(t) {
- TIe(e, t, n[t]);
+ FIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TIe(e, t, n) {
- return (t = EIe(t)) in e ? Object.defineProperty(e, t, {
+function FIe(e, t, n) {
+ return (t = IIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EIe(e) {
- var t = DIe(e, "string");
+function IIe(e) {
+ var t = LIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DIe(e, t) {
+function LIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66267,7 +66486,7 @@ function DIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function OIe(e, t, n, r, i) {
+function RIe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
@@ -66280,7 +66499,7 @@ function OIe(e, t, n, r, i) {
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function kIe(e, t, n, r, i, a) {
+function zIe(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
@@ -66304,7 +66523,7 @@ function kIe(e, t, n, r, i, a) {
function M2(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || fG.isSsr) return SIe(i, Z(c) ? c : 0) ?? [];
+ if (Z(c) || dG.isSsr) return MIe(i, Z(c) ? c : 0) ?? [];
var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? C$(u, {
fontSize: t,
letterSpacing: n
@@ -66313,19 +66532,19 @@ function M2(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? bIe(C$(i, {
+ return p === "width" ? AIe(C$(i, {
fontSize: t,
letterSpacing: n
}), m, d) : C$(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? fz(_.coordinate - g.coordinate) : 1, y = xIe(a, v, p);
- return c === "equidistantPreserveStart" ? CIe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? wIe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? kIe(v, y, h, i, o, c === "preserveStartEnd") : OIe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? lz(_.coordinate - g.coordinate) : 1, y = jIe(a, v, p);
+ return c === "equidistantPreserveStart" ? NIe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? PIe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? zIe(v, y, h, i, o, c === "preserveStartEnd") : RIe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var AIe = (e) => {
+var BIe = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -66338,7 +66557,7 @@ var AIe = (e) => {
return Math.round(l);
}
return 0;
-}, N2 = IH({
+}, N2 = FH({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -66347,14 +66566,14 @@ var AIe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = qW(i);
+ e[n][r] = KW(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: jIe, removeRenderedTicks: MIe } = N2.actions, NIe = N2.reducer, PIe = [
+}), { setRenderedTicks: VIe, removeRenderedTicks: HIe } = N2.actions, UIe = N2.reducer, WIe = [
"axisLine",
"width",
"height",
@@ -66364,16 +66583,16 @@ var AIe = (e) => {
"axisType",
"axisId"
];
-function FIe(e, t) {
+function GIe(e, t) {
if (e == null) return {};
- var n, r, i = IIe(e, t);
+ var n, r, i = KIe(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 IIe(e, t) {
+function KIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66405,26 +66624,26 @@ function I2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? F2(Object(n), !0).forEach(function(t) {
- LIe(e, t, n[t]);
+ qIe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function LIe(e, t, n) {
- return (t = RIe(t)) in e ? Object.defineProperty(e, t, {
+function qIe(e, t, n) {
+ return (t = JIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function RIe(e) {
- var t = zIe(e, "string");
+function JIe(e) {
+ var t = YIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function zIe(e, t) {
+function YIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66456,12 +66675,12 @@ var L2 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: zK.axis
+ zIndex: RK.axis
};
-function BIe(e) {
+function XIe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = I2(I2(I2({}, c), iR(s)), {}, { fill: "none" });
+ var l = I2(I2(I2({}, c), tR(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
l = I2(I2({}, l), {}, {
@@ -66479,9 +66698,9 @@ function BIe(e) {
y2: n + i
});
}
- return /*#__PURE__*/ B.createElement("line", P2({}, l, { className: Jr("recharts-cartesian-axis-line", lz(s, "className")) }));
+ return /*#__PURE__*/ B.createElement("line", P2({}, l, { className: Jr("recharts-cartesian-axis-line", oz(s, "className")) }));
}
-function VIe(e, t, n, r, i, a, o, s, c) {
+function ZIe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -66508,14 +66727,14 @@ function VIe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function HIe(e, t) {
+function QIe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function UIe(e, t) {
+function $Ie(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -66523,7 +66742,7 @@ function UIe(e, t) {
default: return t ? "end" : "start";
}
}
-function WIe(e) {
+function eLe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Jr(n.className, "recharts-cartesian-axis-tick-value");
if (/*#__PURE__*/ B.isValidElement(t)) i = /*#__PURE__*/ B.cloneElement(t, I2(I2({}, n), {}, { className: a }));
else if (typeof t == "function") i = t(I2(I2({}, n), {}, { className: a }));
@@ -66533,9 +66752,9 @@ function WIe(e) {
}
return i;
}
-function GIe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = wB();
- return (0, B.useEffect)(() => r == null || n == null ? wz : (i(jIe({
+function tLe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = TB();
+ return (0, B.useEffect)(() => r == null || n == null ? xz : (i(VIe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -66545,7 +66764,7 @@ function GIe(e) {
axisId: r,
axisType: n
})), () => {
- i(MIe({
+ i(HIe({
axisId: r,
axisType: n
}));
@@ -66556,15 +66775,15 @@ function GIe(e) {
n
]), null;
}
-var KIe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = M2(I2(I2({}, b), {}, { ticks: n }), v, y), T = iR(b), E = aR(r), D = I$(T.textAnchor) ? T.textAnchor : HIe(u, d), O = UIe(u, d), k = {};
+var nLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = M2(I2(I2({}, b), {}, { ticks: n }), v, y), T = tR(b), E = nR(r), D = I$(T.textAnchor) ? T.textAnchor : QIe(u, d), O = $Ie(u, d), k = {};
typeof i == "object" && (k = i);
- var A = I2(I2({}, T), {}, { fill: "none" }, k), j = w.map((e) => I2({ entry: e }, VIe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = I2(I2({}, T), {}, { fill: "none" }, k), j = w.map((e) => I2({ entry: e }, ZIe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ B.createElement(uR, {
+ return /*#__PURE__*/ B.createElement(sR, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ B.createElement("line", P2({}, A, n, { className: Jr("recharts-cartesian-axis-tick-line", lz(i, "className")) })));
+ }, i && /*#__PURE__*/ B.createElement("line", P2({}, A, n, { className: Jr("recharts-cartesian-axis-tick-line", oz(i, "className")) })));
}), N = j.map((e, t) => {
var { entry: n, tick: i } = e, u = I2(I2({}, I2(I2(I2(I2({ verticalAnchor: O }, T), {}, {
textAnchor: D,
@@ -66577,26 +66796,26 @@ var KIe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ B.createElement(uR, P2({
+ return /*#__PURE__*/ B.createElement(sR, P2({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, Mz(x, n, t)), r && /*#__PURE__*/ B.createElement(WIe, {
+ }, kz(x, n, t)), r && /*#__PURE__*/ B.createElement(eLe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(GIe, {
+ return /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ B.createElement(tLe, {
ticks: w,
axisId: C,
axisType: S
- }), N.length > 0 && /*#__PURE__*/ B.createElement(e$, { zIndex: zK.label }, /*#__PURE__*/ B.createElement("g", {
+ }), N.length > 0 && /*#__PURE__*/ B.createElement(e$, { zIndex: RK.label }, /*#__PURE__*/ B.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ B.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), qIe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = FIe(e, PIe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);
- (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => AIe({
+}), rLe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = GIe(e, WIe), [d, f] = (0, B.useState)(""), [p, m] = (0, B.useState)(""), h = (0, B.useRef)(null);
+ (0, B.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => BIe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -66614,7 +66833,7 @@ var KIe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(uR, { className: Jr("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(BIe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ B.createElement(e$, { zIndex: e.zIndex }, /*#__PURE__*/ B.createElement(sR, { className: Jr("recharts-cartesian-axis", a) }, /*#__PURE__*/ B.createElement(XIe, {
x: e.x,
y: e.y,
width: r,
@@ -66622,8 +66841,8 @@ var KIe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: iR(e)
- }), /*#__PURE__*/ B.createElement(KIe, {
+ otherSvgProps: tR(e)
+ }), /*#__PURE__*/ B.createElement(nLe, {
ref: g,
axisType: c,
events: u,
@@ -66659,19 +66878,19 @@ var KIe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
labelRef: e.labelRef
}), e.children)));
}), R2 = /*#__PURE__*/ B.forwardRef((e, t) => {
- var n = Pz(e, L2);
- return /*#__PURE__*/ B.createElement(qIe, P2({}, n, { ref: t }));
+ var n = jz(e, L2);
+ return /*#__PURE__*/ B.createElement(rLe, P2({}, n, { ref: t }));
});
R2.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var JIe = [
+var iLe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], YIe = ["offset"], XIe = ["xAxisId", "yAxisId"], ZIe = ["xAxisId", "yAxisId"];
+], aLe = ["offset"], oLe = ["xAxisId", "yAxisId"], sLe = ["xAxisId", "yAxisId"];
function z2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
@@ -66686,26 +66905,26 @@ function B2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? z2(Object(n), !0).forEach(function(t) {
- QIe(e, t, n[t]);
+ cLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function QIe(e, t, n) {
- return (t = $Ie(t)) in e ? Object.defineProperty(e, t, {
+function cLe(e, t, n) {
+ return (t = lLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function $Ie(e) {
- var t = eLe(e, "string");
+function lLe(e) {
+ var t = uLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function eLe(e, t) {
+function uLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66726,14 +66945,14 @@ function V2() {
}
function H2(e, t) {
if (e == null) return {};
- var n, r, i = tLe(e, t);
+ var n, r, i = dLe(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 tLe(e, t) {
+function dLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66742,7 +66961,7 @@ function tLe(e, t) {
}
return n;
}
-var nLe = (e) => {
+var fLe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -66763,7 +66982,7 @@ function U2(e) {
if (/*#__PURE__*/ B.isValidElement(t)) r = /*#__PURE__*/ B.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = iR(H2(n, JIe)) ?? {}, { offset: u } = l, d = H2(l, YIe);
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = tR(H2(n, iLe)) ?? {}, { offset: u } = l, d = H2(l, aLe);
r = /*#__PURE__*/ B.createElement("line", V2({}, d, {
x1: i,
y1: a,
@@ -66775,10 +66994,10 @@ function U2(e) {
}
return r;
}
-function rLe(e) {
+function pLe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = H2(e, XIe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = H2(e, oLe), c = i.map((e, i) => {
var a = B2(B2({}, s), {}, {
x1: t,
y1: e,
@@ -66795,10 +67014,10 @@ function rLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function iLe(e) {
+function mLe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = H2(e, ZIe), c = i.map((e, i) => {
+ var { xAxisId: a, yAxisId: o } = e, s = H2(e, sLe), c = i.map((e, i) => {
var a = B2(B2({}, s), {}, {
x1: e,
y1: t,
@@ -66815,7 +67034,7 @@ function iLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function aLe(e) {
+function hLe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -66838,7 +67057,7 @@ function aLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function oLe(e) {
+function gLe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -66861,10 +67080,10 @@ function oLe(e) {
});
return /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var sLe = (e, t) => {
+var _Le = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return _U(M2(B2(B2(B2({}, L2), n), {}, {
- ticks: vU(n, !0),
+ return gU(M2(B2(B2(B2({}, L2), n), {}, {
+ ticks: _U(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -66872,10 +67091,10 @@ var sLe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, cLe = (e, t) => {
+}, vLe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return _U(M2(B2(B2(B2({}, L2), n), {}, {
- ticks: vU(n, !0),
+ return gU(M2(B2(B2(B2({}, L2), n), {}, {
+ ticks: _U(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -66883,7 +67102,7 @@ var sLe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, lLe = {
+}, yLe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -66895,17 +67114,17 @@ var sLe = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: zK.grid
+ zIndex: RK.grid
};
function W2(e) {
- var t = eW(), n = tW(), r = $U(), i = B2(B2({}, Pz(e, lLe)), {}, {
+ var t = $U(), n = eW(), r = QU(), i = B2(B2({}, jz(e, yLe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = RU(), h = Q((e) => HZ(e, "xAxis", a, m)), g = Q((e) => HZ(e, "yAxis", o, m));
- if (!fU(l) || !fU(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || sLe, v = i.horizontalCoordinatesGenerator || cLe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = LU(), h = Q((e) => HZ(e, "xAxis", a, m)), g = Q((e) => HZ(e, "yAxis", o, m));
+ if (!dU(l) || !dU(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || _Le, v = i.horizontalCoordinatesGenerator || vLe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
yAxis: g ? B2(B2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
@@ -66913,7 +67132,7 @@ function W2(e) {
height: n ?? u,
offset: r
}, x ? !0 : d);
- VU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ BU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
@@ -66922,9 +67141,9 @@ function W2(e) {
height: n ?? u,
offset: r
}, C ? !0 : d);
- VU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ BU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ B.createElement(e$, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(nLe, {
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: i.zIndex }, /*#__PURE__*/ B.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ B.createElement(fLe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -66932,12 +67151,12 @@ function W2(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ B.createElement(aLe, V2({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(oLe, V2({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(rLe, V2({}, i, {
+ }), /*#__PURE__*/ B.createElement(hLe, V2({}, i, { horizontalPoints: y })), /*#__PURE__*/ B.createElement(gLe, V2({}, i, { verticalPoints: b })), /*#__PURE__*/ B.createElement(pLe, V2({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ B.createElement(iLe, V2({}, i, {
+ })), /*#__PURE__*/ B.createElement(mLe, V2({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
@@ -66947,7 +67166,7 @@ function W2(e) {
W2.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var G2 = IH({
+var G2 = FH({
name: "errorBars",
initialState: {},
reducers: {
@@ -66964,17 +67183,17 @@ var G2 = IH({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: uLe, replaceErrorBar: dLe, removeErrorBar: fLe } = G2.actions, pLe = G2.reducer, mLe = ["children"];
-function hLe(e, t) {
+}), { addErrorBar: bLe, replaceErrorBar: xLe, removeErrorBar: SLe } = G2.actions, CLe = G2.reducer, wLe = ["children"];
+function TLe(e, t) {
if (e == null) return {};
- var n, r, i = gLe(e, t);
+ var n, r, i = ELe(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 gLe(e, t) {
+function ELe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66983,7 +67202,7 @@ function gLe(e, t) {
}
return n;
}
-var _Le = /*#__PURE__*/ (0, B.createContext)({
+var DLe = /*#__PURE__*/ (0, B.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -66995,13 +67214,13 @@ var _Le = /*#__PURE__*/ (0, B.createContext)({
errorBarOffset: 0
});
function K2(e) {
- var { children: t } = e, n = hLe(e, mLe);
- return /*#__PURE__*/ B.createElement(_Le.Provider, { value: n }, t);
+ var { children: t } = e, n = TLe(e, wLe);
+ return /*#__PURE__*/ B.createElement(DLe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
function q2(e, t) {
- var n = Q((t) => MX(t, e)), r = Q((e) => FX(e, t)), i = n?.allowDataOverflow ?? AX.allowDataOverflow, a = r?.allowDataOverflow ?? NX.allowDataOverflow;
+ var n = Q((t) => jX(t, e)), r = Q((e) => PX(e, t)), i = n?.allowDataOverflow ?? kX.allowDataOverflow, a = r?.allowDataOverflow ?? MX.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
@@ -67021,30 +67240,30 @@ function J2(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var Y2 = (e, t, n, r) => qZ(e, "xAxis", t, r), X2 = (e, t, n, r) => KZ(e, "xAxis", t, r), Z2 = (e, t, n, r) => qZ(e, "yAxis", n, r), Q2 = (e, t, n, r) => KZ(e, "yAxis", n, r), vLe = $([
- nW,
+var Y2 = (e, t, n, r) => qZ(e, "xAxis", t, r), X2 = (e, t, n, r) => KZ(e, "xAxis", t, r), Z2 = (e, t, n, r) => qZ(e, "yAxis", n, r), Q2 = (e, t, n, r) => KZ(e, "yAxis", n, r), OLe = $([
+ tW,
Y2,
Z2,
X2,
Q2
-], (e, t, n, r, i) => gU(e, "xAxis") ? EU(t, r, !1) : EU(n, i, !1)), yLe = (e, t, n, r, i) => i;
-function bLe(e) {
+], (e, t, n, r, i) => hU(e, "xAxis") ? TU(t, r, !1) : TU(n, i, !1)), kLe = (e, t, n, r, i) => i;
+function ALe(e) {
return e.type === "line";
}
-var xLe = $([
- nW,
+var jLe = $([
+ tW,
Y2,
Z2,
X2,
Q2,
- $([VX, yLe], (e, t) => e.filter(bLe).find((e) => e.id === t)),
- vLe,
- hK
+ $([BX, kLe], (e, t) => e.filter(ALe).find((e) => e.id === t)),
+ OLe,
+ mK
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return VLe({
+ if (p != null) return ZLe({
layout: e,
xAxis: t,
yAxis: n,
@@ -67059,7 +67278,7 @@ var xLe = $([
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
function $2(e) {
- var t = aR(e), n = 3, r = 2;
+ var t = nR(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -67074,13 +67293,13 @@ function $2(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var SLe = ["id"], CLe = [
+var MLe = ["id"], NLe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], wLe = [
+], PLe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -67119,26 +67338,26 @@ function n4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? t4(Object(n), !0).forEach(function(t) {
- TLe(e, t, n[t]);
+ FLe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : t4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TLe(e, t, n) {
- return (t = ELe(t)) in e ? Object.defineProperty(e, t, {
+function FLe(e, t, n) {
+ return (t = ILe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ELe(e) {
- var t = DLe(e, "string");
+function ILe(e) {
+ var t = LLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DLe(e, t) {
+function LLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67150,14 +67369,14 @@ function DLe(e, t) {
}
function r4(e, t) {
if (e == null) return {};
- var n, r, i = OLe(e, t);
+ var n, r, i = RLe(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 OLe(e, t) {
+function RLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67166,27 +67385,27 @@ function OLe(e, t) {
}
return n;
}
-var kLe = (e) => {
+var zLe = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: OU(n, t),
+ value: DU(n, t),
payload: e
}];
-}, ALe = /*#__PURE__*/ B.memo((e) => {
+}, BLe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: wz,
+ getPosition: xz,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: OU(o, t),
+ name: DU(o, t),
hide: s,
type: l,
color: r,
@@ -67196,11 +67415,11 @@ var kLe = (e) => {
};
return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: d });
}), i4 = (e, t) => `${t}px ${e}px`;
-function jLe(e, t) {
+function VLe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var MLe = (e, t, n) => {
+var HLe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
if (!r) return i4(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
@@ -67212,13 +67431,13 @@ var MLe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ...jLe(n, i),
+ ...VLe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function NLe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = iR(r4(r, SLe));
+function ULe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = tR(r4(r, MLe));
return /*#__PURE__*/ B.createElement(w0, {
points: n,
dot: i,
@@ -67230,7 +67449,7 @@ function NLe(e) {
clipPathId: t
});
}
-function PLe(e) {
+function WLe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, B.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -67251,7 +67470,7 @@ function PLe(e) {
return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, n);
}
function a4(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = n4(n4({}, oR(r4(a, CLe))), {}, {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = n4(n4({}, rR(r4(a, NLe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -67264,31 +67483,31 @@ function a4(e) {
return /*#__PURE__*/ B.createElement(B.Fragment, null, r?.length > 1 && /*#__PURE__*/ B.createElement(u0, e4({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(NLe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ B.createElement(ULe, {
points: r,
clipPathId: t,
props: a
}));
}
-function FLe(e) {
+function GLe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function ILe(e) {
- var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = GG(o, "recharts-line-"), y = (0, B.useRef)(v), [b, x] = (0, B.useState)(!1), S = !b, C = (0, B.useCallback)(() => {
+function KLe(e) {
+ var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = WG(o, "recharts-line-"), y = (0, B.useRef)(v), [b, x] = (0, B.useState)(!1), S = !b, C = (0, B.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, B.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = FLe(r.current), E = (0, B.useRef)(0);
+ }, [g]), T = GLe(r.current), E = (0, B.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ B.createElement(PLe, {
+ return /*#__PURE__*/ B.createElement(WLe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ B.createElement(WG, {
+ }, n.children, /*#__PURE__*/ B.createElement(UG, {
animationId: v,
begin: l,
duration: u,
@@ -67298,20 +67517,20 @@ function ILe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = yz(D, T + D, e), u = Math.min(l, T), d = c ? s ? MLe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : i4(T, u) : s == null ? void 0 : String(s);
+ var l = gz(D, T + D, e), u = Math.min(l, T), d = c ? s ? HLe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : i4(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
return n4(n4({}, t), {}, {
- x: yz(i.x, t.x, e),
- y: yz(i.y, t.y, e)
+ x: gz(i.x, t.x, e),
+ y: gz(i.y, t.y, e)
});
}
return f ? n4(n4({}, t), {}, {
- x: yz(p * 2, t.x, e),
- y: yz(m / 2, t.y, e)
+ x: gz(p * 2, t.x, e),
+ y: gz(m / 2, t.y, e)
}) : n4(n4({}, t), {}, {
x: t.x,
y: t.y
@@ -67334,9 +67553,9 @@ function ILe(e) {
});
}), /*#__PURE__*/ B.createElement(d1, { label: n.label }));
}
-function LLe(e) {
+function qLe(e) {
var { clipPathId: t, props: n } = e, r = (0, B.useRef)(null), i = (0, B.useRef)(0), a = (0, B.useRef)(null);
- return /*#__PURE__*/ B.createElement(ILe, {
+ return /*#__PURE__*/ B.createElement(KLe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -67344,17 +67563,17 @@ function LLe(e) {
pathRef: a
});
}
-var RLe = (e, t) => ({
+var JLe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: hU(e.payload, t)
-}), zLe = class extends B.Component {
+ errorVal: mU(e.payload, t)
+}), YLe = class extends B.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
var p = Jr("recharts-line", r), m = u, { r: h, strokeWidth: g } = $2(t), _ = t0(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ B.createElement(e$, { zIndex: f }, /*#__PURE__*/ B.createElement(uR, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: f }, /*#__PURE__*/ B.createElement(sR, { className: p }, d && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -67367,9 +67586,9 @@ var RLe = (e, t) => ({
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: RLe,
+ dataPointFormatter: JLe,
errorBarOffset: 0
- }, /*#__PURE__*/ B.createElement(LLe, {
+ }, /*#__PURE__*/ B.createElement(qLe, {
props: this.props,
clipPathId: m
}))), /*#__PURE__*/ B.createElement(j0, {
@@ -67397,14 +67616,14 @@ var RLe = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: zK.line,
+ zIndex: RK.line,
type: "linear"
};
-function BLe(e) {
- var t = Pz(e, o4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = r4(t, wLe), { needClip: _ } = q2(p, m), v = O0(), y = rW(), b = RU(), x = Q((e) => xLe(e, p, m, b, h));
+function XLe(e) {
+ var t = jz(e, o4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = r4(t, PLe), { needClip: _ } = q2(p, m), v = O0(), y = nW(), b = LU(), x = Q((e) => jLe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ B.createElement(zLe, e4({}, g, {
+ return /*#__PURE__*/ B.createElement(YLe, e4({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -67428,23 +67647,23 @@ function BLe(e) {
needClip: _
}));
}
-function VLe(e) {
+function ZLe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
- var l = hU(e, o);
+ var l = mU(e, o);
if (t === "horizontal") return {
- x: xU({
+ x: bU({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (xz(l) ? null : r.scale.map(l)) ?? null,
+ y: (vz(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = xz(l) ? null : n.scale.map(l), d = xU({
+ var u = vz(l) ? null : n.scale.map(l), d = bU({
axis: r,
ticks: a,
bandSize: s,
@@ -67459,12 +67678,12 @@ function VLe(e) {
};
}).filter(Boolean);
}
-function HLe(e) {
- var t = Pz(e, o4), n = RU();
+function QLe(e) {
+ var t = jz(e, o4), n = LU();
return /*#__PURE__*/ B.createElement(_0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: kLe(t) }), /*#__PURE__*/ B.createElement(ALe, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: zLe(t) }), /*#__PURE__*/ B.createElement(BLe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -67485,9 +67704,9 @@ function HLe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ B.createElement(BLe, e4({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(XLe, e4({}, t, { id: e }))));
}
-var s4 = /*#__PURE__*/ B.memo(HLe, tG);
+var s4 = /*#__PURE__*/ B.memo(QLe, eG);
s4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
@@ -67499,36 +67718,36 @@ function l4(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var u4 = (e, t, n) => qZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => KZ(e, "xAxis", c4(e, t), n), f4 = (e, t, n) => qZ(e, "yAxis", l4(e, t), n), p4 = (e, t, n) => KZ(e, "yAxis", l4(e, t), n), ULe = $([
- nW,
+var u4 = (e, t, n) => qZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => KZ(e, "xAxis", c4(e, t), n), f4 = (e, t, n) => qZ(e, "yAxis", l4(e, t), n), p4 = (e, t, n) => KZ(e, "yAxis", l4(e, t), n), $Le = $([
+ tW,
u4,
f4,
d4,
p4
-], (e, t, n, r, i) => gU(e, "xAxis") ? EU(t, r, !1) : EU(n, i, !1)), m4 = $([VX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), h4 = (e) => gU(nW(e), "xAxis") ? "yAxis" : "xAxis", WLe = (e, t) => h4(e) === "yAxis" ? l4(e, t) : c4(e, t), GLe = $([
- nW,
+], (e, t, n, r, i) => hU(e, "xAxis") ? TU(t, r, !1) : TU(n, i, !1)), m4 = $([BX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), h4 = (e) => hU(tW(e), "xAxis") ? "yAxis" : "xAxis", eRe = (e, t) => h4(e) === "yAxis" ? l4(e, t) : c4(e, t), tRe = $([
+ tW,
u4,
f4,
d4,
p4,
- $([m4, (e, t, n) => iZ(e, h4(e), WLe(e, t), n)], (e, t) => {
+ $([m4, (e, t, n) => iZ(e, h4(e), eRe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = aq(e);
+ var { stackId: n } = e, r = iq(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- gK,
- ULe,
+ hK,
+ $Le,
m4,
- lEe
+ bEe
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return dRe({
+ if (m != null) return xRe({
layout: e,
xAxis: t,
yAxis: n,
@@ -67542,7 +67761,7 @@ var u4 = (e, t, n) => qZ(e, "xAxis", c4(e, t), n), d4 = (e, t, n) => KZ(e, "xAxi
bandSize: s
});
}
-}), KLe = ["id"], qLe = [
+}), nRe = ["id"], rRe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -67569,14 +67788,14 @@ function g4() {
}
function _4(e, t) {
if (e == null) return {};
- var n, r, i = JLe(e, t);
+ var n, r, i = iRe(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 JLe(e, t) {
+function iRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67599,26 +67818,26 @@ function y4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? v4(Object(n), !0).forEach(function(t) {
- YLe(e, t, n[t]);
+ aRe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YLe(e, t, n) {
- return (t = XLe(t)) in e ? Object.defineProperty(e, t, {
+function aRe(e, t, n) {
+ return (t = oRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XLe(e) {
- var t = ZLe(e, "string");
+function oRe(e) {
+ var t = sRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZLe(e, t) {
+function sRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67631,27 +67850,27 @@ function ZLe(e, t) {
function b4(e, t) {
return e && e !== "none" ? e : t;
}
-var QLe = (e) => {
+var cRe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
color: b4(r, i),
- value: OU(n, t),
+ value: DU(n, t),
payload: e
}];
-}, $Le = /*#__PURE__*/ B.memo((e) => {
+}, lRe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: wz,
+ getPosition: xz,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: OU(o, t),
+ name: DU(o, t),
hide: s,
type: l,
color: b4(r, a),
@@ -67661,8 +67880,8 @@ var QLe = (e) => {
};
return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: d });
});
-function eRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = iR(r);
+function uRe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = tR(r);
return /*#__PURE__*/ B.createElement(w0, {
points: n,
dot: a,
@@ -67674,7 +67893,7 @@ function eRe(e) {
clipPathId: t
});
}
-function tRe(e) {
+function dRe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -67695,8 +67914,8 @@ function tRe(e) {
return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, n);
}
function x4(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = _4(a, KLe), p = iR(f), m = oR(f);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(uR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(EG, g4({}, m, {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = _4(a, nRe), p = tR(f), m = rR(f);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, t?.length > 1 && /*#__PURE__*/ B.createElement(sR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ B.createElement(TG, g4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -67705,29 +67924,29 @@ function x4(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ B.createElement(EG, g4({}, p, {
+ })), c !== "none" && /*#__PURE__*/ B.createElement(TG, g4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ B.createElement(EG, g4({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ B.createElement(TG, g4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ B.createElement(eRe, {
+ }))), /*#__PURE__*/ B.createElement(uRe, {
points: t,
props: f,
clipPathId: i
}));
}
-function nRe(e) {
+function fRe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!dU(a) || !dU(o)) return null;
+ if (!uU(a) || !uU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ B.createElement("rect", {
x: 0,
@@ -67736,9 +67955,9 @@ function nRe(e) {
height: Math.floor(s)
}) : null;
}
-function rRe(e) {
+function pRe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!dU(a) || !dU(o)) return null;
+ if (!uU(a) || !uU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ B.createElement("rect", {
x: a < o ? a : a - s,
@@ -67747,35 +67966,35 @@ function rRe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function iRe(e) {
+function mRe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ B.createElement(nRe, {
+ return n === "vertical" ? /*#__PURE__*/ B.createElement(fRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ B.createElement(rRe, {
+ }) : /*#__PURE__*/ B.createElement(pRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function aRe(e) {
- var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = GG((0, B.useMemo)(() => ({
+function hRe(e) {
+ var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = WG((0, B.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = iW(), [g, _] = (0, B.useState)(!1), v = !g, y = (0, B.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = rW(), [g, _] = (0, B.useState)(!1), v = !g, y = (0, B.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, B.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ B.createElement(tRe, {
+ return /*#__PURE__*/ B.createElement(dRe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ B.createElement(WG, {
+ }, r.children, /*#__PURE__*/ B.createElement(UG, {
animationId: m,
begin: l,
duration: u,
@@ -67791,18 +68010,18 @@ function aRe(e) {
if (x[r]) {
var i = x[r];
return y4(y4({}, t), {}, {
- x: yz(i.x, t.x, e),
- y: yz(i.y, t.y, e)
+ x: gz(i.x, t.x, e),
+ y: gz(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? yz(S, s, e) : xz(s) || pz(s) ? yz(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? gz(S, s, e) : vz(s) || uz(s) ? gz(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
return y4(y4({}, t), {}, {
- x: yz(i.x, t.x, e),
- y: yz(i.y, t.y, e)
+ x: gz(i.x, t.x, e),
+ y: gz(i.y, t.y, e)
});
}
return t;
@@ -67815,13 +68034,13 @@ function aRe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(uR, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(iRe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ B.createElement(sR, null, c && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ B.createElement(mRe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ B.createElement(uR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(x4, {
+ }))), /*#__PURE__*/ B.createElement(sR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ B.createElement(x4, {
points: o,
baseLine: s,
needClip: t,
@@ -67830,9 +68049,9 @@ function aRe(e) {
})));
}), /*#__PURE__*/ B.createElement(d1, { label: r.label }));
}
-function oRe(e) {
+function gRe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, B.useRef)(null), a = (0, B.useRef)();
- return /*#__PURE__*/ B.createElement(aRe, {
+ return /*#__PURE__*/ B.createElement(hRe, {
needClip: t,
clipPathId: n,
props: r,
@@ -67840,12 +68059,12 @@ function oRe(e) {
previousBaselineRef: a
});
}
-var sRe = class extends B.PureComponent {
+var _Re = class extends B.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
var m = Jr("recharts-area", r), h = d, { r: g, strokeWidth: _ } = $2(t), v = t0(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ B.createElement(e$, { zIndex: p }, /*#__PURE__*/ B.createElement(uR, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: p }, /*#__PURE__*/ B.createElement(sR, { className: m }, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -67854,7 +68073,7 @@ var sRe = class extends B.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ B.createElement(oRe, {
+ }))), /*#__PURE__*/ B.createElement(gRe, {
needClip: o,
clipPathId: h,
props: this.props
@@ -67872,7 +68091,7 @@ var sRe = class extends B.PureComponent {
clipPath: b
}));
}
-}, cRe = {
+}, vRe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -67890,13 +68109,13 @@ var sRe = class extends B.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: zK.area
+ zIndex: RK.area
};
-function lRe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = _4(e, qLe), g = rW(), _ = HQ(), { needClip: v } = q2(p, m), y = RU(), { points: b, isRange: x, baseLine: S } = Q((t) => GLe(t, e.id, y)) ?? {}, C = O0();
+function yRe(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = _4(e, rRe), g = nW(), _ = HQ(), { needClip: v } = q2(p, m), y = LU(), { points: b, isRange: x, baseLine: S } = Q((t) => tRe(t, e.id, y)) ?? {}, C = O0();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ B.createElement(sRe, g4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ B.createElement(_Re, g4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -67922,7 +68141,7 @@ function lRe(e) {
yAxisId: m
}));
}
-var uRe = (e, t, n, r, i) => {
+var bRe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -67932,17 +68151,17 @@ var uRe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function dRe(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = uRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function xRe(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = bRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = hU(e, r);
+ var o = mU(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && hU(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && mU(e, r) == null;
return g ? {
- x: xU({
+ x: bU({
axis: s,
ticks: d,
bandSize: p,
@@ -67954,7 +68173,7 @@ function dRe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: xU({
+ y: bU({
axis: c,
ticks: f,
bandSize: p,
@@ -67982,12 +68201,12 @@ function dRe(e) {
isRange: _
};
}
-function fRe(e) {
- var t = Pz(e, cRe), n = RU();
+function SRe(e) {
+ var t = jz(e, vRe), n = LU();
return /*#__PURE__*/ B.createElement(_0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: QLe(t) }), /*#__PURE__*/ B.createElement($Le, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: cRe(t) }), /*#__PURE__*/ B.createElement(lRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -68006,21 +68225,21 @@ function fRe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: bU(t.stackId),
+ stackId: yU(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ B.createElement(lRe, g4({}, t, { id: e }))));
+ }), /*#__PURE__*/ B.createElement(yRe, g4({}, t, { id: e }))));
}
-var S4 = /*#__PURE__*/ B.memo(fRe, tG);
+var S4 = /*#__PURE__*/ B.memo(SRe, eG);
S4.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var pRe = "Invariant failed";
-function mRe(e, t) {
- if (!e) throw Error(pRe);
+var CRe = "Invariant failed";
+function wRe(e, t) {
+ if (!e) throw Error(CRe);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
@@ -68040,45 +68259,45 @@ function w4(e) {
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var hRe = function(e) {
+var TRe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || xz(n);
- return i ? e(n, r) : (!i && mRe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || vz(n);
+ return i ? e(n, r) : (!i && wRe(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, gRe = (e, t, n) => n, T4 = $([VX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), _Re = $([T4], (e) => e?.maxBarSize), vRe = (e, t, n, r) => r, yRe = $([
- nW,
- VX,
+}, ERe = (e, t, n) => n, T4 = $([BX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), DRe = $([T4], (e) => e?.maxBarSize), ORe = (e, t, n, r) => r, kRe = $([
+ tW,
+ BX,
c4,
l4,
- gRe
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), bRe = (e, t, n) => {
- var r = nW(e), i = c4(e, t), a = l4(e, t);
+ ERe
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), ARe = (e, t, n) => {
+ var r = tW(e), i = c4(e, t), a = l4(e, t);
if (i != null && a != null) return r === "horizontal" ? iZ(e, "yAxis", a, n) : iZ(e, "xAxis", i, n);
-}, xRe = $([
- yRe,
- MK,
+}, jRe = $([
+ kRe,
+ jK,
(e, t) => {
- var n = nW(e), r = c4(e, t), i = l4(e, t);
+ var n = tW(e), r = c4(e, t), i = l4(e, t);
if (r != null && i != null) return n === "horizontal" ? zZ(e, "xAxis", r) : zZ(e, "yAxis", i);
}
-], q0), SRe = (e, t, n) => {
+], q0), MRe = (e, t, n) => {
var r = T4(e, t);
if (r == null) return 0;
var i = c4(e, t), a = l4(e, t);
if (i == null || a == null) return 0;
- var o = nW(e), s = kK(e), { maxBarSize: c } = r, l = xz(c) ? s : c, u, d;
- return o === "horizontal" ? (u = qZ(e, "xAxis", i, n), d = KZ(e, "xAxis", i, n)) : (u = qZ(e, "yAxis", a, n), d = KZ(e, "yAxis", a, n)), EU(u, d, !0) ?? l ?? 0;
+ var o = tW(e), s = OK(e), { maxBarSize: c } = r, l = vz(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = qZ(e, "xAxis", i, n), d = KZ(e, "xAxis", i, n)) : (u = qZ(e, "yAxis", a, n), d = KZ(e, "yAxis", a, n)), TU(u, d, !0) ?? l ?? 0;
}, E4 = (e, t, n) => {
- var r = nW(e), i = c4(e, t), a = l4(e, t);
+ var r = tW(e), i = c4(e, t), a = l4(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = qZ(e, "xAxis", i, n), s = KZ(e, "xAxis", i, n)) : (o = qZ(e, "yAxis", a, n), s = KZ(e, "yAxis", a, n)), EU(o, s);
+ return r === "horizontal" ? (o = qZ(e, "xAxis", i, n), s = KZ(e, "xAxis", i, n)) : (o = qZ(e, "yAxis", a, n), s = KZ(e, "yAxis", a, n)), TU(o, s);
}
-}, CRe = $([
+}, NRe = $([
+ FU,
IU,
- LU,
(e, t, n) => {
var r = c4(e, t);
if (r != null) return qZ(e, "xAxis", r, n);
@@ -68096,25 +68315,25 @@ var hRe = function(e) {
if (r != null) return KZ(e, "yAxis", r, n);
},
$([$([
- xRe,
+ jRe,
+ OK,
kK,
AK,
- jK,
- SRe,
+ MRe,
E4,
- _Re
+ DRe
], X0), T4], Q0),
- nW,
- gK,
+ tW,
+ hK,
E4,
- $([bRe, T4], Z0),
+ $([ARe, T4], Z0),
T4,
- vRe
+ ORe
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return ZRe({
+ if (_ != null) return sze({
layout: s,
barSettings: d,
pos: o,
@@ -68131,7 +68350,7 @@ var hRe = function(e) {
dataStartIndex: m
});
}
-}), wRe = ["index"];
+}), PRe = ["index"];
function D4() {
return D4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68141,16 +68360,16 @@ function D4() {
return e;
}, D4.apply(null, arguments);
}
-function TRe(e, t) {
+function FRe(e, t) {
if (e == null) return {};
- var n, r, i = ERe(e, t);
+ var n, r, i = IRe(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 ERe(e, t) {
+function IRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68159,31 +68378,31 @@ function ERe(e, t) {
}
return n;
}
-var O4 = /*#__PURE__*/ (0, B.createContext)(void 0), DRe = (e) => {
+var O4 = /*#__PURE__*/ (0, B.createContext)(void 0), LRe = (e) => {
var t = (0, B.useContext)(O4);
if (t != null) return t.stackId;
- if (e != null) return bU(e);
-}, ORe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, kRe = (e) => {
+ if (e != null) return yU(e);
+}, RRe = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, zRe = (e) => {
var t = (0, B.useContext)(O4);
if (t != null) {
var { stackId: n } = t;
- return `url(#${ORe(n, e)})`;
+ return `url(#${RRe(n, e)})`;
}
}, k4 = (e) => {
- var { index: t } = e, n = TRe(e, wRe), r = kRe(t);
- return /*#__PURE__*/ B.createElement(uR, D4({
+ var { index: t } = e, n = FRe(e, PRe), r = zRe(t);
+ return /*#__PURE__*/ B.createElement(sR, D4({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, ARe = [
+}, BRe = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], jRe = [
+], VRe = [
"value",
"background",
"tooltipPosition"
-], MRe = ["id"], NRe = [
+], HRe = ["id"], URe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
@@ -68211,26 +68430,26 @@ function M4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? j4(Object(n), !0).forEach(function(t) {
- PRe(e, t, n[t]);
+ WRe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : j4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function PRe(e, t, n) {
- return (t = FRe(t)) in e ? Object.defineProperty(e, t, {
+function WRe(e, t, n) {
+ return (t = GRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function FRe(e) {
- var t = IRe(e, "string");
+function GRe(e) {
+ var t = KRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function IRe(e, t) {
+function KRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68242,14 +68461,14 @@ function IRe(e, t) {
}
function N4(e, t) {
if (e == null) return {};
- var n, r, i = LRe(e, t);
+ var n, r, i = qRe(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 LRe(e, t) {
+function qRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68258,27 +68477,27 @@ function LRe(e, t) {
}
return n;
}
-var RRe = (e) => {
+var JRe = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: OU(n, t),
+ value: DU(n, t),
payload: e
}];
-}, zRe = /*#__PURE__*/ B.memo((e) => {
+}, YRe = /*#__PURE__*/ B.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: wz,
+ getPosition: xz,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: OU(a, t),
+ name: DU(a, t),
hide: o,
type: c,
color: i,
@@ -68288,17 +68507,17 @@ var RRe = (e) => {
};
return /*#__PURE__*/ B.createElement(m0, { tooltipEntrySettings: u });
});
-function BRe(e) {
- var t = Q(NQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = N4(a, ARe), u = d0(o, r, a.id), d = f0(s), f = p0(c, r, a.id);
+function XRe(e) {
+ var t = Q(NQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = N4(a, BRe), u = d0(o, r, a.id), d = f0(s), f = p0(c, r, a.id);
if (!i || n == null) return null;
- var p = aR(i);
- return /*#__PURE__*/ B.createElement(e$, { zIndex: d2(i, zK.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = N4(e, jRe);
+ var p = nR(i);
+ return /*#__PURE__*/ B.createElement(e$, { zIndex: d2(i, RK.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = N4(e, VRe);
if (!o) return null;
var m = u(e, n), h = d(e, n), g = f(e, n), _ = M4(M4(M4(M4(M4({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), Mz(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), kz(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -68309,7 +68528,7 @@ function BRe(e) {
return /*#__PURE__*/ B.createElement(w4, A4({ key: `background-bar-${n}` }, _));
}));
}
-function VRe(e) {
+function ZRe(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -68329,7 +68548,7 @@ function VRe(e) {
});
return /*#__PURE__*/ B.createElement(c1, { value: t ? i : void 0 }, n);
}
-function HRe(e) {
+function QRe(e) {
var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(NQ), c = Q(FQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, B.useState)(!1), [f, p] = (0, B.useState)(!1);
(0, B.useEffect)(() => {
var e;
@@ -68348,9 +68567,9 @@ function HRe(e) {
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ B.createElement(e$, { zIndex: zK.activeBar }, /*#__PURE__*/ B.createElement(k4, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ B.createElement(e$, { zIndex: RK.activeBar }, /*#__PURE__*/ B.createElement(k4, { index: i.originalDataIndex }, v)) : v;
}
-function URe(e) {
+function $Re(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
return /*#__PURE__*/ B.createElement(w4, A4({}, n, { name: String(n.name) }, r, {
isActive: !1,
@@ -68359,24 +68578,24 @@ function URe(e) {
dataKey: a
}));
}
-function WRe(e) {
- var { data: t, props: n } = e, r = iR(n) ?? {}, { id: i } = r, a = N4(r, MRe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = N4(n, NRe), p = d0(l, s, i), m = f0(d), h = p0(u, s, i);
+function eze(e) {
+ var { data: t, props: n } = e, r = tR(n) ?? {}, { id: i } = r, a = N4(r, HRe), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = N4(n, URe), p = d0(l, s, i), m = f0(d), h = p0(u, s, i);
return t ? /*#__PURE__*/ B.createElement(B.Fragment, null, t.map((e, t) => /*#__PURE__*/ B.createElement(k4, A4({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, Mz(f, e, t), {
+ }, kz(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ B.createElement(HRe, {
+ }), c ? /*#__PURE__*/ B.createElement(QRe, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ B.createElement(URe, {
+ }) : /*#__PURE__*/ B.createElement($Re, {
shape: o,
baseProps: a,
entry: e,
@@ -68384,16 +68603,16 @@ function WRe(e) {
dataKey: s
})))) : null;
}
-function GRe(e) {
- var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = GG(t, "recharts-bar-"), [p, m] = (0, B.useState)(!1), h = !p, g = (0, B.useCallback)(() => {
+function tze(e) {
+ var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = WG(t, "recharts-bar-"), [p, m] = (0, B.useState)(!1), h = !p, g = (0, B.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, B.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ B.createElement(VRe, {
+ return /*#__PURE__*/ B.createElement(ZRe, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ B.createElement(WG, {
+ }, /*#__PURE__*/ B.createElement(UG, {
animationId: f,
begin: o,
duration: s,
@@ -68406,68 +68625,68 @@ function GRe(e) {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
if (r) return M4(M4({}, t), {}, {
- x: yz(r.x, t.x, e),
- y: yz(r.y, t.y, e),
- width: yz(r.width, t.width, e),
- height: yz(r.height, t.height, e)
+ x: gz(r.x, t.x, e),
+ y: gz(r.y, t.y, e),
+ width: gz(r.width, t.width, e),
+ height: gz(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = yz(0, t.height, e), o = yz(t.stackedBarStart, t.y, e);
+ var a = gz(0, t.height, e), o = gz(t.stackedBarStart, t.y, e);
return M4(M4({}, t), {}, {
y: o,
height: a
});
}
- var s = yz(0, t.width, e), c = yz(t.stackedBarStart, t.x, e);
+ var s = gz(0, t.width, e), c = gz(t.stackedBarStart, t.x, e);
return M4(M4({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(uR, null, /*#__PURE__*/ B.createElement(WRe, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ B.createElement(sR, null, /*#__PURE__*/ B.createElement(eze, {
props: t,
data: a
}));
}), /*#__PURE__*/ B.createElement(d1, { label: t.label }), t.children);
}
-function KRe(e) {
+function nze(e) {
var t = (0, B.useRef)(null);
- return /*#__PURE__*/ B.createElement(GRe, {
+ return /*#__PURE__*/ B.createElement(tze, {
previousRectanglesRef: t,
props: e
});
}
-var P4 = 0, qRe = (e, t) => {
+var P4 = 0, rze = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: hU(e, t)
+ errorVal: mU(e, t)
};
-}, JRe = class extends B.PureComponent {
+}, ize = class extends B.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Jr("recharts-bar", r), u = c;
- return /*#__PURE__*/ B.createElement(uR, {
+ return /*#__PURE__*/ B.createElement(sR, {
className: l,
id: c
}, o && /*#__PURE__*/ B.createElement("defs", null, /*#__PURE__*/ B.createElement(J2, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ B.createElement(uR, {
+ })), /*#__PURE__*/ B.createElement(sR, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ B.createElement(BRe, {
+ }, /*#__PURE__*/ B.createElement(XRe, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ B.createElement(KRe, this.props)));
+ }), /*#__PURE__*/ B.createElement(nze, this.props)));
}
-}, YRe = {
+}, aze = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -68480,19 +68699,19 @@ var P4 = 0, qRe = (e, t) => {
minPointSize: P4,
xAxisId: 0,
yAxisId: 0,
- zIndex: zK.bar
+ zIndex: RK.bar
};
-function XRe(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = q2(t, n), f = rW(), p = RU(), m = e0(e.children, _$), h = Q((t) => CRe(t, e.id, p, m));
+function oze(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = q2(t, n), f = nW(), p = LU(), m = e0(e.children, _$), h = Q((t) => NRe(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ B.createElement(K2, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: qRe,
+ dataPointFormatter: rze,
errorBarOffset: g
- }, /*#__PURE__*/ B.createElement(JRe, A4({}, e, {
+ }, /*#__PURE__*/ B.createElement(ize, A4({}, e, {
layout: f,
needClip: d,
data: h,
@@ -68508,20 +68727,20 @@ function XRe(e) {
isAnimationActive: u
})));
}
-function ZRe(e) {
- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = CU({ numericAxis: _ }), b = _.scale.map(y);
+function sze(e) {
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = SU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = yU(E, v);
- } else _ = hU(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = hRe(r, P4)(_[1], f);
+ _ = vU(E, v);
+ } else _ = mU(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = TRe(r, P4)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = SU({
+ x = xU({
axis: s,
ticks: l,
bandSize: o,
@@ -68530,19 +68749,19 @@ function ZRe(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = pz(A) ? 0 : A, T = {
+ if (w = uz(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = fz(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = lz(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = SU({
+ if (x = M, S = xU({
axis: c,
ticks: u,
bandSize: o,
@@ -68555,7 +68774,7 @@ function ZRe(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = fz(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = lz(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
@@ -68577,12 +68796,12 @@ function ZRe(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function QRe(e) {
- var t = Pz(e, YRe), n = DRe(t.stackId), r = RU();
+function cze(e) {
+ var t = jz(e, aze), n = LRe(t.stackId), r = LU();
return /*#__PURE__*/ B.createElement(_0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: RRe(t) }), /*#__PURE__*/ B.createElement(zRe, {
+ }, (e) => /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(h0, { legendPayload: JRe(t) }), /*#__PURE__*/ B.createElement(YRe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -68607,23 +68826,23 @@ function QRe(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ B.createElement(e$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(XRe, A4({}, t, { id: e })))));
+ }), /*#__PURE__*/ B.createElement(e$, { zIndex: t.zIndex }, /*#__PURE__*/ B.createElement(oze, A4({}, t, { id: e })))));
}
-var F4 = /*#__PURE__*/ B.memo(QRe, tG);
+var F4 = /*#__PURE__*/ B.memo(cze, eG);
F4.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var $Re = ["domain", "range"], eze = ["domain", "range"];
+var lze = ["domain", "range"], uze = ["domain", "range"];
function I4(e, t) {
if (e == null) return {};
- var n, r, i = tze(e, t);
+ var n, r, i = dze(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 tze(e, t) {
+function dze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68637,16 +68856,16 @@ function L4(e, t) {
}
function R4(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = I4(e, $Re), { domain: a, range: o } = t, s = I4(t, eze);
- return !L4(n, a) || !L4(r, o) ? !1 : tG(i, s);
+ var { domain: n, range: r } = e, i = I4(e, lze), { domain: a, range: o } = t, s = I4(t, uze);
+ return !L4(n, a) || !L4(r, o) ? !1 : eG(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var nze = ["type"], rze = [
+var fze = ["type"], pze = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], ize = ["id", "scale"];
+], mze = ["id", "scale"];
function z4() {
return z4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68670,26 +68889,26 @@ function V4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? B4(Object(n), !0).forEach(function(t) {
- aze(e, t, n[t]);
+ hze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aze(e, t, n) {
- return (t = oze(t)) in e ? Object.defineProperty(e, t, {
+function hze(e, t, n) {
+ return (t = gze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oze(e) {
- var t = sze(e, "string");
+function gze(e) {
+ var t = _ze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sze(e, t) {
+function _ze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68701,14 +68920,14 @@ function sze(e, t) {
}
function H4(e, t) {
if (e == null) return {};
- var n, r, i = cze(e, t);
+ var n, r, i = vze(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 cze(e, t) {
+function vze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68717,23 +68936,23 @@ function cze(e, t) {
}
return n;
}
-function lze(e) {
- var t = wB(), n = (0, B.useRef)(null), r = iW(), { type: i } = e, a = H4(e, nze), o = UK(r, "xAxis", i), s = (0, B.useMemo)(() => {
+function yze(e) {
+ var t = TB(), n = (0, B.useRef)(null), r = rW(), { type: i } = e, a = H4(e, fze), o = HK(r, "xAxis", i), s = (0, B.useMemo)(() => {
if (o != null) return V4(V4({}, a), {}, { type: o });
}, [a, o]);
return (0, B.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(TPe(s)) : n.current !== s && t(EPe({
+ s != null && (n.current === null ? t(FPe(s)) : n.current !== s && t(IPe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(DPe(n.current)), null);
+ n.current &&= (t(LPe(n.current)), null);
}, [t]), null;
}
-var uze = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(LU), i = RU(), a = "xAxis", o = Q((e) => WZ(e, a, t, i)), s = Q((e) => LZ(e, t)), c = Q((e) => jke(e, t)), l = Q((e) => jX(e, t));
+var bze = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(IU), i = LU(), a = "xAxis", o = Q((e) => WZ(e, a, t, i)), s = Q((e) => LZ(e, t)), c = Q((e) => Vke(e, t)), l = Q((e) => AX(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = H4(e, rze), { id: m, scale: h } = l, g = H4(l, ize);
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = H4(e, pze), { id: m, scale: h } = l, g = H4(l, mze);
return /*#__PURE__*/ B.createElement(R2, z4({}, p, g, {
x: c.x,
y: c.y,
@@ -68745,33 +68964,33 @@ var uze = (e) => {
axisType: a,
axisId: t
}));
-}, dze = {
- allowDataOverflow: AX.allowDataOverflow,
- allowDecimals: AX.allowDecimals,
- allowDuplicatedCategory: AX.allowDuplicatedCategory,
- angle: AX.angle,
+}, xze = {
+ allowDataOverflow: kX.allowDataOverflow,
+ allowDecimals: kX.allowDecimals,
+ allowDuplicatedCategory: kX.allowDuplicatedCategory,
+ angle: kX.angle,
axisLine: L2.axisLine,
- height: AX.height,
+ height: kX.height,
hide: !1,
- includeHidden: AX.includeHidden,
- interval: AX.interval,
+ includeHidden: kX.includeHidden,
+ interval: kX.interval,
label: !1,
- minTickGap: AX.minTickGap,
- mirror: AX.mirror,
- orientation: AX.orientation,
- padding: AX.padding,
- reversed: AX.reversed,
- scale: AX.scale,
- tick: AX.tick,
- tickCount: AX.tickCount,
+ minTickGap: kX.minTickGap,
+ mirror: kX.mirror,
+ orientation: kX.orientation,
+ padding: kX.padding,
+ reversed: kX.reversed,
+ scale: kX.scale,
+ tick: kX.tick,
+ tickCount: kX.tickCount,
tickLine: L2.tickLine,
tickSize: L2.tickSize,
- type: AX.type,
- niceTicks: AX.niceTicks,
+ type: kX.type,
+ niceTicks: kX.niceTicks,
xAxisId: 0
}, U4 = /*#__PURE__*/ B.memo((e) => {
- var t = Pz(e, dze);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(lze, {
+ var t = jz(e, xze);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(yze, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -68797,16 +69016,16 @@ var uze = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ B.createElement(uze, t));
+ }), /*#__PURE__*/ B.createElement(bze, t));
}, R4);
U4.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var fze = ["type"], pze = [
+var Sze = ["type"], Cze = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], mze = ["id", "scale"];
+], wze = ["id", "scale"];
function W4() {
return W4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -68830,26 +69049,26 @@ function K4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G4(Object(n), !0).forEach(function(t) {
- hze(e, t, n[t]);
+ Tze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function hze(e, t, n) {
- return (t = gze(t)) in e ? Object.defineProperty(e, t, {
+function Tze(e, t, n) {
+ return (t = Eze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function gze(e) {
- var t = _ze(e, "string");
+function Eze(e) {
+ var t = Dze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function _ze(e, t) {
+function Dze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68861,14 +69080,14 @@ function _ze(e, t) {
}
function q4(e, t) {
if (e == null) return {};
- var n, r, i = vze(e, t);
+ var n, r, i = Oze(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 vze(e, t) {
+function Oze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68877,27 +69096,27 @@ function vze(e, t) {
}
return n;
}
-function yze(e) {
- var t = wB(), n = (0, B.useRef)(null), r = iW(), { type: i } = e, a = q4(e, fze), o = UK(r, "yAxis", i), s = (0, B.useMemo)(() => {
+function kze(e) {
+ var t = TB(), n = (0, B.useRef)(null), r = rW(), { type: i } = e, a = q4(e, Sze), o = HK(r, "yAxis", i), s = (0, B.useMemo)(() => {
if (o != null) return K4(K4({}, a), {}, { type: o });
}, [o, a]);
return (0, B.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(OPe(s)) : n.current !== s && t(kPe({
+ s != null && (n.current === null ? t(RPe(s)) : n.current !== s && t(zPe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, B.useLayoutEffect)(() => () => {
- n.current &&= (t(APe(n.current)), null);
+ n.current &&= (t(BPe(n.current)), null);
}, [t]), null;
}
-function bze(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(LU), c = RU(), l = wB(), u = "yAxis", d = Q((e) => RZ(e, t)), f = Q((e) => Mke(e, t)), p = Q((e) => WZ(e, u, t, c)), m = Q((e) => PX(e, t));
+function Aze(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = Q(IU), c = LU(), l = TB(), u = "yAxis", d = Q((e) => RZ(e, t)), f = Q((e) => Hke(e, t)), p = Q((e) => WZ(e, u, t, c)), m = Q((e) => NX(e, t));
if ((0, B.useLayoutEffect)(() => {
if (!(r !== "auto" || !d || e1(i) || /*#__PURE__*/ (0, B.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(PPe({
+ Math.round(d.width) !== Math.round(n) && l(WPe({
id: t,
width: n
}));
@@ -68912,7 +69131,7 @@ function bze(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = q4(e, pze), { id: y, scale: b } = m, x = q4(m, mze);
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = q4(e, Cze), { id: y, scale: b } = m, x = q4(m, wze);
return /*#__PURE__*/ B.createElement(R2, W4({}, v, x, {
ref: a,
labelRef: o,
@@ -68928,33 +69147,33 @@ function bze(e) {
axisId: t
}));
}
-var xze = {
- allowDataOverflow: NX.allowDataOverflow,
- allowDecimals: NX.allowDecimals,
- allowDuplicatedCategory: NX.allowDuplicatedCategory,
- angle: NX.angle,
+var jze = {
+ allowDataOverflow: MX.allowDataOverflow,
+ allowDecimals: MX.allowDecimals,
+ allowDuplicatedCategory: MX.allowDuplicatedCategory,
+ angle: MX.angle,
axisLine: L2.axisLine,
hide: !1,
- includeHidden: NX.includeHidden,
- interval: NX.interval,
+ includeHidden: MX.includeHidden,
+ interval: MX.interval,
label: !1,
- minTickGap: NX.minTickGap,
- mirror: NX.mirror,
- orientation: NX.orientation,
- padding: NX.padding,
- reversed: NX.reversed,
- scale: NX.scale,
- tick: NX.tick,
- tickCount: NX.tickCount,
+ minTickGap: MX.minTickGap,
+ mirror: MX.mirror,
+ orientation: MX.orientation,
+ padding: MX.padding,
+ reversed: MX.reversed,
+ scale: MX.scale,
+ tick: MX.tick,
+ tickCount: MX.tickCount,
tickLine: L2.tickLine,
tickSize: L2.tickSize,
- type: NX.type,
- niceTicks: NX.niceTicks,
- width: NX.width,
+ type: MX.type,
+ niceTicks: MX.niceTicks,
+ width: MX.width,
yAxisId: 0
}, J4 = /*#__PURE__*/ B.memo((e) => {
- var t = Pz(e, xze);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(yze, {
+ var t = jz(e, jze);
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(kze, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -68980,27 +69199,27 @@ var xze = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ B.createElement(bze, t));
+ }), /*#__PURE__*/ B.createElement(Aze, t));
}, R4);
J4.displayName = "YAxis";
var Y4 = $([
(e, t) => t,
- nW,
- nq,
- uq,
+ tW,
+ tq,
+ lq,
EQ,
OQ,
- OAe,
- IU
-], FAe);
+ RAe,
+ FU
+], GAe);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function Sze(e) {
+function Mze(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
function X4(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (Sze(e)) {
+ if (Mze(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -69015,19 +69234,19 @@ function X4(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Z4 = DH("mouseClick"), Q4 = sU();
+var Z4 = EH("mouseClick"), Q4 = oU();
Q4.startListening({
actionCreator: Z4,
effect: (e, t) => {
var n = e.payload, r = Y4(t.getState(), X4(n));
- r?.activeIndex != null && t.dispatch(Hke({
+ r?.activeIndex != null && t.dispatch(Qke({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var $4 = DH("mouseMove"), e3 = sU(), t3 = null, n3 = null, r3 = null;
+var $4 = EH("mouseMove"), e3 = oU(), t3 = null, n3 = null, r3 = null;
e3.startListening({
actionCreator: $4,
effect: (e, t) => {
@@ -69058,7 +69277,7 @@ e3.startListening({
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function Cze(e, t) {
+function Nze(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
@@ -69075,17 +69294,17 @@ var i3 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, a3 = IH({
+}, a3 = FH({
name: "rootProps",
initialState: i3,
reducers: { updateOptions: (e, t) => {
e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? i3.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), wze = a3.reducer, { updateOptions: Tze } = a3.actions, o3 = IH({
+}), Pze = a3.reducer, { updateOptions: Fze } = a3.actions, o3 = FH({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: Eze } = o3.actions, Dze = o3.reducer, s3 = DH("keyDown"), c3 = DH("focus"), l3 = DH("blur"), u3 = sU(), d3 = null, f3 = null, p3 = null;
+}), { updatePolarOptions: Ize } = o3.actions, Lze = o3.reducer, s3 = EH("keyDown"), c3 = EH("focus"), l3 = EH("blur"), u3 = oU(), d3 = null, f3 = null, p3 = null;
u3.startListening({
actionCreator: s3,
effect: (e, t) => {
@@ -69110,7 +69329,7 @@ u3.startListening({
}));
return;
}
- var c = Nke(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = Uke(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
var u = YQ(e, "axis", "hover", String(l));
t.dispatch(aQ({
@@ -69173,7 +69392,7 @@ function m3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var h3 = DH("externalEvent"), g3 = sU(), _3 = /* @__PURE__ */ new Map(), v3 = /* @__PURE__ */ new Map(), y3 = /* @__PURE__ */ new Map();
+var h3 = EH("externalEvent"), g3 = oU(), _3 = /* @__PURE__ */ new Map(), v3 = /* @__PURE__ */ new Map(), y3 = /* @__PURE__ */ new Map();
g3.startListening({
actionCreator: h3,
effect: (e, t) => {
@@ -69193,12 +69412,12 @@ g3.startListening({
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: mAe(a),
+ activeCoordinate: wAe(a),
activeDataKey: FQ(a),
activeIndex: NQ(a),
activeLabel: PQ(a),
activeTooltipIndex: NQ(a),
- isTooltipActive: hAe(a)
+ isTooltipActive: TAe(a)
};
n && n(o, r);
} finally {
@@ -69222,7 +69441,7 @@ g3.startListening({
}
}
});
-var Oze = $([
+var Rze = $([
$([pQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
@@ -69234,7 +69453,7 @@ var Oze = $([
if (i != null) return i(t);
}
}
-}), b3 = DH("touchMove"), x3 = sU(), S3 = null, C3 = null, w3 = null, T3 = null;
+}), b3 = EH("touchMove"), x3 = oU(), S3 = null, C3 = null, w3 = null, T3 = null;
x3.startListening({
actionCreator: b3,
effect: (e, t) => {
@@ -69267,9 +69486,9 @@ x3.startListening({
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(sCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = yQ(e).find((e) => e.id === c);
+ var s = o.getAttribute(vCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = yQ(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = Oze(e, s, c);
+ var { dataKey: u } = l, d = Rze(e, s, c);
t.dispatch(tQ({
activeDataKey: u,
activeIndex: s,
@@ -69301,33 +69520,33 @@ var E3 = {
"scroll",
"wheel"
]
-}, D3 = IH({
+}, D3 = FH({
name: "eventSettings",
initialState: E3,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = qW(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = KW(t.payload.throttledEvents));
} }
-}), { setEventSettings: kze } = D3.actions, Aze = D3.reducer, jze = uV({
- brush: JFe,
- cartesianAxis: FPe,
- chartData: cje,
- errorBars: pLe,
- eventSettings: Aze,
- graphicalItems: dPe,
- layout: JSe,
- legend: KCe,
- options: rje,
- polarAxis: tNe,
- polarOptions: Dze,
- referenceElements: aIe,
- renderedTicks: NIe,
- rootProps: wze,
- tooltip: Uke,
- zIndex: JAe
-}), Mze = function(e) {
+}), { setEventSettings: zze } = D3.actions, Bze = D3.reducer, Vze = dV({
+ brush: iIe,
+ cartesianAxis: GPe,
+ chartData: vje,
+ errorBars: CLe,
+ eventSettings: Bze,
+ graphicalItems: xPe,
+ layout: aCe,
+ legend: rwe,
+ options: pje,
+ polarAxis: dNe,
+ polarOptions: Lze,
+ referenceElements: hIe,
+ renderedTicks: UIe,
+ rootProps: Pze,
+ tooltip: $ke,
+ zIndex: ije
+}), Hze = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return bSe({
- reducer: jze,
+ return jSe({
+ reducer: Vze,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -69345,10 +69564,10 @@ var E3 = {
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(PH({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(NH({ type: "raf" }));
},
- devTools: fG.devToolsEnabled && {
- serialize: { replacer: Cze },
+ devTools: dG.devToolsEnabled && {
+ serialize: { replacer: Nze },
name: `recharts-${t}`
}
});
@@ -69356,21 +69575,21 @@ var E3 = {
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
function O3(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = RU(), a = (0, B.useRef)(null);
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = LU(), a = (0, B.useRef)(null);
if (i) return n;
- a.current ??= Mze(t, r);
- var o = xB;
- return /*#__PURE__*/ B.createElement(owe, {
+ a.current ??= Hze(t, r);
+ var o = SB;
+ return /*#__PURE__*/ B.createElement(_we, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function Nze(e) {
- var { layout: t, margin: n } = e, r = wB(), i = RU();
+function Uze(e) {
+ var { layout: t, margin: n } = e, r = TB(), i = LU();
return (0, B.useEffect)(() => {
- i || (r(GSe(t)), r(WSe(n)));
+ i || (r(nCe(t)), r(tCe(n)));
}, [
r,
i,
@@ -69378,31 +69597,31 @@ function Nze(e) {
n
]), null;
}
-var k3 = /*#__PURE__*/ (0, B.memo)(Nze, tG);
+var k3 = /*#__PURE__*/ (0, B.memo)(Uze, eG);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
function A3(e) {
- var t = wB();
+ var t = TB();
return (0, B.useEffect)(() => {
- t(Tze(e));
+ t(Fze(e));
}, [t, e]), null;
}
var j3 = /*#__PURE__*/ (0, B.memo)((e) => {
- var t = wB();
+ var t = TB();
return (0, B.useEffect)(() => {
- t(kze(e));
+ t(zze(e));
}, [t, e]), null;
-}, tG);
+}, eG);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
function M3(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = wB();
- return (0, B.useLayoutEffect)(() => (r.current && i(KAe({
+ var { zIndex: t, isPanorama: n } = e, r = (0, B.useRef)(null), i = TB();
+ return (0, B.useLayoutEffect)(() => (r.current && i(nje({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(qAe({
+ i(rje({
zIndex: t,
isPanorama: n
}));
@@ -69417,7 +69636,7 @@ function M3(e) {
});
}
function N3(e) {
- var { children: t, isPanorama: n } = e, r = Q(LAe);
+ var { children: t, isPanorama: n } = e, r = Q(qAe);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
return /*#__PURE__*/ B.createElement(B.Fragment, null, i.map((e) => /*#__PURE__*/ B.createElement(M3, {
@@ -69432,17 +69651,17 @@ function N3(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var Pze = ["children"];
-function Fze(e, t) {
+var Wze = ["children"];
+function Gze(e, t) {
if (e == null) return {};
- var n, r, i = Ize(e, t);
+ var n, r, i = Kze(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 Ize(e, t) {
+function Kze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69460,46 +69679,46 @@ function P3() {
return e;
}, P3.apply(null, arguments);
}
-var Lze = {
+var qze = {
width: "100%",
height: "100%",
display: "block"
-}, Rze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = eW(), r = tW(), i = gG();
- if (!fU(n) || !fU(r)) return null;
+}, Jze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = $U(), r = eW(), i = hG();
+ if (!dU(n) || !dU(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, 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__*/ B.createElement(cR, P3({}, 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__*/ B.createElement(aR, P3({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: Lze,
+ style: qze,
ref: t
}), a);
-}), zze = (e) => {
- var { children: t } = e, n = Q(BU);
+}), Yze = (e) => {
+ var { children: t } = e, n = Q(zU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ B.createElement(cR, {
+ return /*#__PURE__*/ B.createElement(aR, {
width: r,
height: i,
x: o,
y: a
}, t);
}, F3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { children: n } = e, r = Fze(e, Pze);
- return RU() ? /*#__PURE__*/ B.createElement(zze, null, /*#__PURE__*/ B.createElement(N3, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(Rze, P3({ ref: t }, r), /*#__PURE__*/ B.createElement(N3, { isPanorama: !1 }, n));
+ var { children: n } = e, r = Gze(e, Wze);
+ return LU() ? /*#__PURE__*/ B.createElement(Yze, null, /*#__PURE__*/ B.createElement(N3, { isPanorama: !0 }, n)) : /*#__PURE__*/ B.createElement(Jze, P3({ ref: t }, r), /*#__PURE__*/ B.createElement(N3, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function Bze() {
- var e = wB(), [t, n] = (0, B.useState)(null), r = Q(oCe);
+function Xze() {
+ var e = TB(), [t, n] = (0, B.useState)(null), r = Q(_Ce);
return (0, B.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- dU(n) && n !== r && e(qSe(n));
+ uU(n) && n !== r && e(iCe(n));
}
}, [
t,
@@ -69519,30 +69738,30 @@ function I3(e, t) {
}
return n;
}
-function Vze(e) {
+function Zze(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? I3(Object(n), !0).forEach(function(t) {
- Hze(e, t, n[t]);
+ Qze(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Hze(e, t, n) {
- return (t = Uze(t)) in e ? Object.defineProperty(e, t, {
+function Qze(e, t, n) {
+ return (t = $ze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Uze(e) {
- var t = Wze(e, "string");
+function $ze(e) {
+ var t = eBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Wze(e, t) {
+function eBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69561,7 +69780,7 @@ function L3() {
return e;
}, L3.apply(null, arguments);
}
-var Gze = () => (_je(), null);
+var tBe = () => (Dje(), null);
function R3(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
@@ -69570,7 +69789,7 @@ function R3(e) {
}
return 0;
}
-var Kze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+var nBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var n = (0, B.useRef)(null), [r, i] = (0, B.useState)({
containerWidth: R3(e.style?.width),
containerHeight: R3(e.style?.height)
@@ -69598,11 +69817,11 @@ var Kze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
}, [t, a]);
return (0, B.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(sW, {
+ }, [a]), /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: r.containerWidth,
height: r.containerHeight
}), /*#__PURE__*/ B.createElement("div", L3({ ref: o }, e)));
-}), qze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}), rBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, B.useState)({
containerWidth: R3(n),
containerHeight: R3(r)
@@ -69620,32 +69839,32 @@ var Kze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(sW, {
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: i.containerWidth,
height: i.containerHeight
}), /*#__PURE__*/ B.createElement("div", L3({ ref: s }, e)));
-}), Jze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}), iBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(sW, {
+ return /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: n,
height: r
}), /*#__PURE__*/ B.createElement("div", L3({ ref: t }, e)));
-}), Yze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+}), aBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(qze, L3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(Jze, L3({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ B.createElement(rBe, L3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ B.createElement(iBe, L3({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(sW, {
+ })) : /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: n,
height: r
}), /*#__PURE__*/ B.createElement("div", L3({ ref: t }, e)));
});
-function Xze(e) {
- return e ? Kze : Yze;
+function oBe(e) {
+ return e ? nBe : aBe;
}
-var Zze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, B.useRef)(null), x = wB(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = Bze(), D = YU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {
+var sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, B.useRef)(null), x = TB(), [S, C] = (0, B.useState)(null), [w, T] = (0, B.useState)(null), E = Xze(), D = JU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, B.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -69717,12 +69936,12 @@ var Zze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
handler: p,
reactEvent: e
}));
- }, [x, p]), se = Xze(v);
- return /*#__PURE__*/ B.createElement(i$.Provider, { value: S }, /*#__PURE__*/ B.createElement(dR.Provider, { value: w }, /*#__PURE__*/ B.createElement(se, {
+ }, [x, p]), se = oBe(v);
+ return /*#__PURE__*/ B.createElement(i$.Provider, { value: S }, /*#__PURE__*/ B.createElement(cR.Provider, { value: w }, /*#__PURE__*/ B.createElement(se, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Jr("recharts-wrapper", r),
- style: Vze({
+ style: Zze({
position: "relative",
cursor: "default",
width: O,
@@ -69743,8 +69962,8 @@ var Zze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
onTouchMove: ae,
onTouchStart: ie,
ref: A
- }, /*#__PURE__*/ B.createElement(Gze, null), n)));
-}), Qze = [
+ }, /*#__PURE__*/ B.createElement(tBe, null), n)));
+}), cBe = [
"width",
"height",
"responsive",
@@ -69755,16 +69974,16 @@ var Zze = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
"title",
"desc"
];
-function $ze(e, t) {
+function lBe(e, t) {
if (e == null) return {};
- var n, r, i = eBe(e, t);
+ var n, r, i = uBe(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 eBe(e, t) {
+function uBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69774,15 +69993,15 @@ function eBe(e, t) {
return n;
}
var z3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = iR($ze(e, Qze));
- return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(sW, {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = tR(lBe(e, cBe));
+ return c ? /*#__PURE__*/ B.createElement(B.Fragment, null, /*#__PURE__*/ B.createElement(oW, {
width: n,
height: r
}), /*#__PURE__*/ B.createElement(F3, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ B.createElement(Zze, {
+ }, a)) : /*#__PURE__*/ B.createElement(sBe, {
className: o,
style: s,
width: n,
@@ -69804,7 +70023,7 @@ var z3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ B.createElement(oIe, null, a)));
+ }, /*#__PURE__*/ B.createElement(gIe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
@@ -69827,30 +70046,30 @@ function V3(e, t) {
}
return n;
}
-function tBe(e) {
+function dBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? V3(Object(n), !0).forEach(function(t) {
- nBe(e, t, n[t]);
+ fBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function nBe(e, t, n) {
- return (t = rBe(t)) in e ? Object.defineProperty(e, t, {
+function fBe(e, t, n) {
+ return (t = pBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function rBe(e) {
- var t = iBe(e, "string");
+function pBe(e) {
+ var t = mBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function iBe(e, t) {
+function mBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69860,7 +70079,7 @@ function iBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var aBe = tBe({
+var hBe = dBe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -69876,7 +70095,7 @@ var aBe = tBe({
stackOffset: "none",
syncMethod: "index"
}, E3), H3 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- var n = Pz(e.categoricalChartProps, aBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+ var n = jz(e.categoricalChartProps, hBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
@@ -69905,32 +70124,32 @@ var aBe = tBe({
className: n.className,
reverseStackOrder: n.reverseStackOrder
}), /*#__PURE__*/ B.createElement(z3, B3({}, n, { ref: t })));
-}), oBe = ["axis"], sBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
+}), gBe = ["axis"], _Be = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: oBe,
+ validateTooltipEventTypes: gBe,
tooltipPayloadSearcher: c$,
categoricalChartProps: e,
ref: t
-})), cBe = ["axis", "item"], U3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
+})), vBe = ["axis", "item"], U3 = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: cBe,
+ validateTooltipEventTypes: vBe,
tooltipPayloadSearcher: c$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function lBe(e) {
- var t = wB();
+function yBe(e) {
+ var t = TB();
return (0, B.useEffect)(() => {
- t(Eze(e));
+ t(Ize(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var uBe = ["layout"];
+var bBe = ["layout"];
function W3() {
return W3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
@@ -69940,16 +70159,16 @@ function W3() {
return e;
}, W3.apply(null, arguments);
}
-function dBe(e, t) {
+function xBe(e, t) {
if (e == null) return {};
- var n, r, i = fBe(e, t);
+ var n, r, i = SBe(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 fBe(e, t) {
+function SBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69968,30 +70187,30 @@ function G3(e, t) {
}
return n;
}
-function pBe(e) {
+function CBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? G3(Object(n), !0).forEach(function(t) {
- mBe(e, t, n[t]);
+ wBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function mBe(e, t, n) {
- return (t = hBe(t)) in e ? Object.defineProperty(e, t, {
+function wBe(e, t, n) {
+ return (t = TBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function hBe(e) {
- var t = gBe(e, "string");
+function TBe(e) {
+ var t = EBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function gBe(e, t) {
+function EBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70001,7 +70220,7 @@ function gBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var K3 = pBe({
+var K3 = CBe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -70021,7 +70240,7 @@ var K3 = pBe({
innerRadius: 0,
outerRadius: "80%"
}, E3), q3 = /*#__PURE__*/ (0, B.forwardRef)(function(e, t) {
- var n = Pz(e.categoricalChartProps, K3), { layout: r } = n, i = dBe(n, uBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+ var n = jz(e.categoricalChartProps, K3), { layout: r } = n, i = xBe(n, bBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
@@ -70049,7 +70268,7 @@ var K3 = pBe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ B.createElement(lBe, {
+ }), /*#__PURE__*/ B.createElement(yBe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
@@ -70074,26 +70293,26 @@ function Y3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? J3(Object(n), !0).forEach(function(t) {
- _Be(e, t, n[t]);
+ DBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _Be(e, t, n) {
- return (t = vBe(t)) in e ? Object.defineProperty(e, t, {
+function DBe(e, t, n) {
+ return (t = OBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vBe(e) {
- var t = yBe(e, "string");
+function OBe(e) {
+ var t = kBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yBe(e, t) {
+function kBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70103,24 +70322,24 @@ function yBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var bBe = ["axis"], xBe = Y3(Y3({}, K3), {}, {
+var ABe = ["axis"], jBe = Y3(Y3({}, K3), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), SBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = Pz(e, xBe);
+}), MBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = jz(e, jBe);
return /*#__PURE__*/ B.createElement(q3, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: bBe,
+ validateTooltipEventTypes: ABe,
tooltipPayloadSearcher: c$,
categoricalChartProps: n,
ref: t
});
-}), CBe = ["axis"], wBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
+}), NBe = ["axis"], PBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => /*#__PURE__*/ B.createElement(H3, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: CBe,
+ validateTooltipEventTypes: NBe,
tooltipPayloadSearcher: c$,
categoricalChartProps: e,
ref: t
@@ -70141,26 +70360,26 @@ function Z3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
t % 2 ? X3(Object(n), !0).forEach(function(t) {
- TBe(e, t, n[t]);
+ FBe(e, t, n[t]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TBe(e, t, n) {
- return (t = EBe(t)) in e ? Object.defineProperty(e, t, {
+function FBe(e, t, n) {
+ return (t = IBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EBe(e) {
- var t = DBe(e, "string");
+function IBe(e) {
+ var t = LBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DBe(e, t) {
+function LBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70170,16 +70389,16 @@ function DBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var OBe = ["axis", "item"], kBe = Z3(Z3({}, K3), {}, {
+var RBe = ["axis", "item"], zBe = Z3(Z3({}, K3), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), ABe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
- var n = Pz(e, kBe);
+}), BBe = /*#__PURE__*/ (0, B.forwardRef)((e, t) => {
+ var n = jz(e, zBe);
return /*#__PURE__*/ B.createElement(q3, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: OBe,
+ validateTooltipEventTypes: RBe,
tooltipPayloadSearcher: c$,
categoricalChartProps: n,
ref: t
@@ -70196,7 +70415,7 @@ var $3 = {
light: "",
dark: ".dark"
}, e6 = Object.keys($3);
-function jBe(e) {
+function VBe(e) {
for (let [t, n] of Object.entries(e)) if (n.colors && !e6.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${e6.join(", ")}). Received empty object or invalid keys.`);
}
var t6 = B.createContext(null);
@@ -70210,7 +70429,7 @@ function r6({ id: e, config: t, initialDimension: n = {
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = B.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return jBe(t), /* @__PURE__ */ (0, H.jsx)(t6.Provider, {
+ return VBe(t), /* @__PURE__ */ (0, H.jsx)(t6.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, H.jsxs)("div", {
"data-slot": "chart",
@@ -70222,7 +70441,7 @@ function r6({ id: e, config: t, initialDimension: n = {
id: c,
config: t
}),
- /* @__PURE__ */ (0, H.jsx)(XU, {
+ /* @__PURE__ */ (0, H.jsx)(YU, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -70241,7 +70460,7 @@ function i6({ isLoading: e }) {
})
}) : null;
}
-function MBe(e, t) {
+function HBe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -70256,7 +70475,7 @@ var a6 = ({ id: e, config: t }) => {
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : MBe(r, s6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : HBe(r, s6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
}).filter(Boolean).join("\n"), i = Object.entries($3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, H.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
@@ -70270,15 +70489,15 @@ function s6(e) {
let t = e6.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var NBe = (e = 10, t = 0, n = 70) => {
+var UBe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, PBe = {
+}, WBe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, FBe = {
+}, GBe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
@@ -70305,7 +70524,7 @@ function c6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, H.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: Q3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", PBe[p], FBe[m], n),
+ className: Q3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", WBe[p], GBe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, H.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
@@ -70319,7 +70538,7 @@ function c6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: IBe(n, o)
+ style: KBe(n, o)
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: Q3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -70338,10 +70557,10 @@ function c6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function IBe(e, t) {
+function KBe(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var l6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, H.jsx)(Tje, {
+var l6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, H.jsx)(Fje, {
animationDuration: e,
...t
});
@@ -70358,7 +70577,7 @@ function u6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, H.jsx)(i.icon, {}) : /* @__PURE__ */ (0, H.jsx)(LBe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, H.jsx)(i.icon, {}) : /* @__PURE__ */ (0, H.jsx)(qBe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -70367,8 +70586,8 @@ function u6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function LBe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = RBe(t, n), i = zBe(t, n);
+function qBe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = JBe(t, n), i = YBe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, H.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -70400,10 +70619,10 @@ function LBe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function RBe(e, t) {
+function JBe(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function zBe(e, t) {
+function YBe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -70418,12 +70637,12 @@ function zBe(e, t) {
...n
};
}
-var d6 = aG, f6 = () => null, p6 = {
+var d6 = iG, f6 = () => null, p6 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function BBe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function XBe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = B.useRef(null), [a, o] = B.useState(!1), s = (0, B.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, B.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -70469,7 +70688,7 @@ function BBe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function VBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function ZBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = B.useRef(null), S = B.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = B.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = B.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -70503,7 +70722,7 @@ function VBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = BBe({
+ }, [C, v]), { isDragging: A, bind: j } = XBe({
range: E,
totalPoints: C,
containerRef: x,
@@ -70528,16 +70747,16 @@ function VBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
f,
A
]);
- let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = BE(N), P = BE(ee);
+ let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = FE(N), P = FE(ee);
te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let F = WE(te, p6), ne = WE(P, p6), I = HE(F, (e) => `${e}%`), re = HE(ne, (e) => `${e}%`), L = HE(F, (e) => `${e}%`), ie = HE(ne, (e) => `${Math.max(0, 100 - e)}%`), ae = BE(`${Math.max(0, ee - N)}%`), oe = (0, B.useCallback)(() => {
+ let F = zE(te, p6), ne = zE(P, p6), I = LE(F, (e) => `${e}%`), re = LE(ne, (e) => `${e}%`), L = LE(F, (e) => `${e}%`), ie = LE(ne, (e) => `${Math.max(0, 100 - e)}%`), ae = FE(`${Math.max(0, ee - N)}%`), oe = (0, B.useCallback)(() => {
ae.set(`${Math.max(0, ne.get() - F.get())}%`);
}, [
F,
ne,
ae
]);
- zE(F, "change", oe), zE(ne, "change", oe);
+ PE(F, "change", oe), PE(ne, "change", oe);
let se = (0, B.useCallback)((t) => {
if (!r) return String(t);
let n = e[t]?.[r];
@@ -70559,7 +70778,7 @@ function VBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}),
/* @__PURE__ */ (0, H.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, H.jsx)(HBe, {
+ children: /* @__PURE__ */ (0, H.jsx)(QBe, {
data: e,
keys: S,
chartConfig: t,
@@ -70572,15 +70791,15 @@ function VBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
barRadius: u
})
}),
- /* @__PURE__ */ (0, H.jsx)(GE.div, {
+ /* @__PURE__ */ (0, H.jsx)(BE.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 left-0 rounded-l-md backdrop-blur-[2px]",
style: { width: L }
}),
- /* @__PURE__ */ (0, H.jsx)(GE.div, {
+ /* @__PURE__ */ (0, H.jsx)(BE.div, {
className: "bg-background/70 pointer-events-none absolute inset-y-0 right-0 rounded-r-md backdrop-blur-[2px]",
style: { width: ie }
}),
- /* @__PURE__ */ (0, H.jsx)(GE.div, {
+ /* @__PURE__ */ (0, H.jsx)(BE.div, {
className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",
style: {
left: I,
@@ -70605,7 +70824,7 @@ function VBe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
}
function m6({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
- return /* @__PURE__ */ (0, H.jsxs)(GE.div, {
+ return /* @__PURE__ */ (0, H.jsxs)(BE.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, H.jsx)("div", {
@@ -70628,7 +70847,7 @@ function m6({ side: e, position: t, label: n, bind: r }) {
})]
});
}
-function HBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function QBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = B.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
colorsCount: s6(t)
@@ -70685,10 +70904,10 @@ function HBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, H.jsx)(XU, {
+ if (r === "line") return /* @__PURE__ */ (0, H.jsx)(YU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, H.jsxs)(sBe, {
+ children: /* @__PURE__ */ (0, H.jsxs)(_Be, {
data: e,
margin: {
top: 4,
@@ -70712,7 +70931,7 @@ function HBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, H.jsx)(XU, {
+ return /* @__PURE__ */ (0, H.jsx)(YU, {
width: "100%",
height: "100%",
children: /* @__PURE__ */ (0, H.jsxs)(U3, {
@@ -70741,10 +70960,10 @@ function HBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, H.jsx)(XU, {
+ return /* @__PURE__ */ (0, H.jsx)(YU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, H.jsxs)(wBe, {
+ children: /* @__PURE__ */ (0, H.jsxs)(PBe, {
data: e,
margin: {
top: 4,
@@ -70770,7 +70989,7 @@ function HBe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function UBe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function $Be({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = B.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -70794,7 +71013,7 @@ function UBe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var WBe = {
+var eVe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, H.jsx)("pattern", {
id: e,
x: "0",
@@ -70967,7 +71186,7 @@ var WBe = {
})
};
function h6({ variant: e }) {
- let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = WBe[e];
+ let t = (0, B.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = eVe[e];
return /* @__PURE__ */ (0, H.jsxs)(e$, {
zIndex: -1,
children: [/* @__PURE__ */ (0, H.jsxs)("defs", { children: [
@@ -70998,7 +71217,7 @@ function h6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var g6 = 2, GBe = "loading", KBe = 2e3, qBe = "evil-stacked", JBe = .5, YBe = .05, XBe = [
+var g6 = 2, tVe = "loading", nVe = 2e3, rVe = "evil-stacked", iVe = .5, aVe = .05, oVe = [
0,
.7,
.5,
@@ -71010,7 +71229,7 @@ function v6() {
return e;
}
function y6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = g6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, B.useId)().replace(/:/g, ""), [v] = (0, B.useState)(() => Date.now()), [y, b] = (0, B.useState)(f), [x, S] = (0, B.useState)(!1), { loadingData: C, onShimmerExit: w } = hVe(m, h), { visibleData: T, brushProps: E } = UBe({ data: t }), D = (0, B.useMemo)(() => {
+ let _ = (0, B.useId)().replace(/:/g, ""), [v] = (0, B.useState)(() => Date.now()), [y, b] = (0, B.useState)(f), [x, S] = (0, B.useState)(!1), { loadingData: C, onShimmerExit: w } = TVe(m, h), { visibleData: T, brushProps: E } = $Be({ data: t }), D = (0, B.useMemo)(() => {
let e = B.Children.toArray(n), t = e.find((e) => (0, B.isValidElement)(e) && e.type === f6), r = (0, B.isValidElement)(t) ? t.props : {};
return {
slot: {
@@ -71053,7 +71272,7 @@ function y6({ config: e, data: t, children: n, className: r, chartProps: i, stac
children: /* @__PURE__ */ (0, H.jsxs)(r6, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, H.jsx)(VBe, {
+ footer: O && !m && /* @__PURE__ */ (0, H.jsx)(ZBe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -71084,7 +71303,7 @@ function y6({ config: e, data: t, children: n, className: r, chartProps: i, stac
d && /* @__PURE__ */ (0, H.jsx)(h6, { variant: d }),
/* @__PURE__ */ (0, H.jsx)(D2, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, H.jsx)(gVe, {
+ m && /* @__PURE__ */ (0, H.jsx)(EVe, {
chartId: _,
onShimmerExit: w
})
@@ -71093,8 +71312,8 @@ function y6({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function ZBe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = v6(), b = (0, B.useId)().replace(/:/g, ""), x = rce();
+function sVe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = v6(), b = (0, B.useId)().replace(/:/g, ""), x = lce();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -71116,7 +71335,7 @@ function ZBe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
};
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(F4, {
dataKey: e,
- stackId: u ? qBe : void 0,
+ stackId: u ? rVe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
@@ -71133,44 +71352,44 @@ function ZBe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
}),
...c
}), /* @__PURE__ */ (0, H.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, H.jsx)(oVe, {
+ /* @__PURE__ */ (0, H.jsx)(gVe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, H.jsx)(sVe, {
+ t === "hatched" && /* @__PURE__ */ (0, H.jsx)(_Ve, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, H.jsx)(lVe, {
+ t === "duotone" && /* @__PURE__ */ (0, H.jsx)(yVe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, H.jsx)(uVe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, H.jsx)(bVe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, H.jsx)(dVe, {
+ t === "gradient" && /* @__PURE__ */ (0, H.jsx)(xVe, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, H.jsx)(fVe, {
+ t === "stripped" && /* @__PURE__ */ (0, H.jsx)(SVe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, H.jsx)(cVe, {
+ s && /* @__PURE__ */ (0, H.jsx)(vVe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, H.jsx)(pVe, {
+ o && /* @__PURE__ */ (0, H.jsx)(CVe, {
id: b,
dataKey: e
})
] })] });
}
-function QBe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+function cVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
let { isLoading: o, isHorizontal: s } = v6();
return o ? null : /* @__PURE__ */ (0, H.jsx)(U4, {
tickLine: e,
@@ -71181,7 +71400,7 @@ function QBe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function $Be({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+function lVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
let { isLoading: s, isHorizontal: c } = v6();
return s ? null : /* @__PURE__ */ (0, H.jsx)(J4, {
tickLine: e,
@@ -71193,7 +71412,7 @@ function $Be({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function eVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+function uVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
let { isHorizontal: i } = v6();
return /* @__PURE__ */ (0, H.jsx)(W2, {
strokeDasharray: e,
@@ -71202,7 +71421,7 @@ function eVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
...r
});
}
-function tVe({ variant: e, roundness: t, defaultIndex: n }) {
+function dVe({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = v6();
return r ? null : /* @__PURE__ */ (0, H.jsx)(l6, {
cursor: !1,
@@ -71214,7 +71433,7 @@ function tVe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function nVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+function fVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
let { selectedDataKey: i, selectDataKey: a } = v6();
return /* @__PURE__ */ (0, H.jsx)(d6, {
verticalAlign: n,
@@ -71228,7 +71447,7 @@ function nVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
});
}
var b6 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = rVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : iVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = aVe({
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = pVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : mVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = hVe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -71240,7 +71459,7 @@ var b6 = (e) => {
c,
0,
0
- ] : c, A = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)($G, {
+ ] : c, A = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(QG, {
x: t,
y: n,
width: r,
@@ -71251,7 +71470,7 @@ var b6 = (e) => {
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, H.jsx)($G, {
+ }), C && /* @__PURE__ */ (0, H.jsx)(QG, {
x: t,
y: n - 4,
width: r,
@@ -71262,10 +71481,10 @@ var b6 = (e) => {
return /* @__PURE__ */ (0, H.jsxs)("g", {
style: O,
onClick: b,
- children: [/* @__PURE__ */ (0, H.jsx)($G, {
+ children: [/* @__PURE__ */ (0, H.jsx)(QG, {
...e,
fill: "transparent"
- }), w ? /* @__PURE__ */ (0, H.jsx)(GE.g, {
+ }), w ? /* @__PURE__ */ (0, H.jsx)(BE.g, {
initial: w.initial,
animate: w.animate,
transition: w.transition,
@@ -71273,7 +71492,7 @@ var b6 = (e) => {
children: A
}) : A]
});
-}, rVe = (e, t, n, r, i) => {
+}, pVe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -71288,11 +71507,11 @@ var b6 = (e) => {
break;
default: s = t;
}
- let c = s * YBe * 1e3, l = JBe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * aVe * 1e3, l = iVe * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: XBe,
+ ease: oVe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -71306,7 +71525,7 @@ var b6 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, iVe = (e, t, n) => {
+}, mVe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -71315,10 +71534,10 @@ var b6 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, aVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, hVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, oVe = ({ id: e, dataKey: t, config: n }) => {
+}, gVe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -71340,7 +71559,7 @@ var b6 = (e) => {
}, i);
})
});
-}, sVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+}, _Ve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -71381,7 +71600,7 @@ var b6 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), cVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+] }), vVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -71422,7 +71641,7 @@ var b6 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), lVe = ({ id: e, dataKey: t, config: n }) => {
+] }), yVe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
@@ -71490,7 +71709,7 @@ var b6 = (e) => {
})
})
] });
-}, uVe = ({ id: e, dataKey: t, config: n }) => {
+}, bVe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
@@ -71558,7 +71777,7 @@ var b6 = (e) => {
})
})
] });
-}, dVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+}, xVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -71595,7 +71814,7 @@ var b6 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), fVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
+] }), SVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -71632,7 +71851,7 @@ var b6 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), pVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
+] }), CVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -71652,35 +71871,35 @@ var b6 = (e) => {
}),
/* @__PURE__ */ (0, H.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), mVe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), wVe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function hVe(e, t = 12) {
+function TVe(e, t = 12) {
let [n, r] = (0, B.useState)(!1), i = (0, B.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, B.useMemo)(() => NBe(t, 20, 80), [t, n]),
+ loadingData: (0, B.useMemo)(() => UBe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var gVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(F4, {
- dataKey: GBe,
+var EVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(F4, {
+ dataKey: tVe,
fill: "currentColor",
fillOpacity: .15,
radius: g6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(_Ve, {
+}), /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(DVe, {
chartId: e,
onShimmerExit: t
-}) })] }), _Ve = ({ chartId: e, onShimmerExit: t }) => {
- let n = mVe(), r = (0, B.useRef)(-1);
+}) })] }), DVe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = wVe(), r = (0, B.useRef)(-1);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -71703,7 +71922,7 @@ var gVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fr
height: "1",
x: "0",
y: "0",
- children: /* @__PURE__ */ (0, H.jsx)(GE.rect, {
+ children: /* @__PURE__ */ (0, H.jsx)(BE.rect, {
y: "0",
width: "1",
height: "1",
@@ -71711,7 +71930,7 @@ var gVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: KBe / 1e3,
+ duration: nVe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -71733,10 +71952,10 @@ var gVe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, H.jsxs)(H.Fr
})
] });
};
-y6.Bar = ZBe, y6.XAxis = QBe, y6.YAxis = $Be, y6.Grid = eVe, y6.Tooltip = tVe, y6.Legend = nVe, y6.Brush = f6;
+y6.Bar = sVe, y6.XAxis = cVe, y6.YAxis = lVe, y6.Grid = uVe, y6.Tooltip = dVe, y6.Legend = fVe, y6.Brush = f6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var x6 = `${cT({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+var x6 = `${iT({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
function S6({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, H.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -71763,7 +71982,7 @@ var C6 = [
"var(--color-chart-5)",
"var(--color-chart-6)"
], w6 = (e) => ({ light: [e] }), T6 = (e) => `s${e}`;
-function vVe(e) {
+function OVe(e) {
return Object.fromEntries(e.map((e, t) => [T6(t), {
label: e,
colors: w6(C6[t % C6.length])
@@ -71788,7 +72007,7 @@ function D6({ swatch: e, name: t, value: n }) {
});
}
var O6 = "size-2.5 shrink-0 rounded-xs";
-function yVe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+function kVe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
let { config: o } = n6(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, H.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
@@ -71813,7 +72032,7 @@ function yVe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLab
function k6({ nameKey: e, valueKey: t, hideLabel: n }) {
return /* @__PURE__ */ (0, H.jsx)(l6, {
cursor: !1,
- content: /* @__PURE__ */ (0, H.jsx)(yVe, {
+ content: /* @__PURE__ */ (0, H.jsx)(kVe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -71890,7 +72109,7 @@ var N6 = [
"周六",
"周日"
], P6 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function bVe(e) {
+function AVe(e) {
let t = Array.from({ length: 7 }, () => Array(24).fill(0));
for (let n of e?.hours || []) {
let { weekday: e, hour: r, count: i } = n;
@@ -71907,7 +72126,7 @@ function bVe(e) {
total: n.reduce((e, t) => e + t, 0)
};
}
-function xVe(e) {
+function jVe(e) {
let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {
cells: [],
total: 0,
@@ -71946,19 +72165,19 @@ var F6 = 14, I6 = 17, L6 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, SVe = {
+}, MVe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function CVe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function NVe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${E6} ${SVe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${E6} ${MVe[a]}`,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
@@ -72016,7 +72235,7 @@ function R6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, H.jsx)(CVe, {
+ }), g && _ ? /* @__PURE__ */ (0, H.jsx)(NVe, {
cell: g,
series: t.series,
tone: c,
@@ -72032,7 +72251,7 @@ function R6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var wVe = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [N6.map((e, t) => /* @__PURE__ */ (0, H.jsx)("text", {
+var PVe = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [N6.map((e, t) => /* @__PURE__ */ (0, H.jsx)("text", {
x: 0,
y: 18 + t * I6 + 7,
dominantBaseline: "middle",
@@ -72046,7 +72265,7 @@ var wVe = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [N6.map((e, t) =>
children: t
}, t))] });
function z6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = bVe(e), s = xVe(e);
+ let o = AVe(e), s = jVe(e);
return s.cells.length ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
children: [/* @__PURE__ */ (0, H.jsx)(R6, {
@@ -72057,7 +72276,7 @@ function z6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: wVe,
+ axis: PVe,
footer: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
}), /* @__PURE__ */ (0, H.jsx)(R6, {
title: n,
@@ -72123,20 +72342,20 @@ function B6({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, H.jsx)(Fw, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, H.jsx)(jw, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var TVe = "30%", EVe = "100%", V6 = 5, H6 = 14, DVe = 5, U6 = 1500, W6 = (0, B.createContext)(null);
+var FVe = "30%", IVe = "100%", V6 = 5, H6 = 14, LVe = 5, U6 = 1500, W6 = (0, B.createContext)(null);
function G6() {
let e = (0, B.use)(W6);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = TVe, outerRadius: l = EVe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = PVe(f), v = jVe(o), y = (0, B.useCallback)((e, t) => {
+function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = FVe, outerRadius: l = IVe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, B.useId)().replace(/:/g, ""), [h, g] = (0, B.useState)(u), _ = WVe(f), v = VVe(o), y = (0, B.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -72168,7 +72387,7 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
children: /* @__PURE__ */ (0, H.jsxs)(r6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: f }), /* @__PURE__ */ (0, H.jsxs)(ABe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: f }), /* @__PURE__ */ (0, H.jsxs)(BBe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -72187,8 +72406,8 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
}),
p && /* @__PURE__ */ (0, H.jsx)(h6, { variant: p }),
r,
- f && /* @__PURE__ */ (0, H.jsx)(FVe, {}),
- /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(MVe, {
+ f && /* @__PURE__ */ (0, H.jsx)(GVe, {}),
+ /* @__PURE__ */ (0, H.jsx)("defs", { children: /* @__PURE__ */ (0, H.jsx)(HVe, {
config: e,
chartId: m
}) })
@@ -72197,7 +72416,7 @@ function K6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function OVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+function RVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = G6();
return s ? null : /* @__PURE__ */ (0, H.jsx)(v2, {
dataKey: e,
@@ -72213,7 +72432,7 @@ function OVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, H.jsx)(uK, {
+ return /* @__PURE__ */ (0, H.jsx)(lK, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -72222,7 +72441,7 @@ function OVe({ dataKey: e, cornerRadius: t = V6, barSize: n = H6, showBackground
...a
});
}
-function kVe({ variant: e, roundness: t, defaultIndex: n }) {
+function zVe({ variant: e, roundness: t, defaultIndex: n }) {
let { nameKey: r, isLoading: i } = G6();
return i ? null : /* @__PURE__ */ (0, H.jsx)(l6, {
defaultIndex: n,
@@ -72235,7 +72454,7 @@ function kVe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function AVe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function BVe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = G6();
return a ? null : /* @__PURE__ */ (0, H.jsx)(d6, {
verticalAlign: n,
@@ -72249,7 +72468,7 @@ function AVe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function jVe(e) {
+function VVe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -72265,7 +72484,7 @@ function jVe(e) {
};
}
}
-var MVe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: Object.entries(e).map(([e, n]) => {
+var HVe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, H.jsx)(H.Fragment, { children: Object.entries(e).map(([e, n]) => {
let r = s6(n);
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
@@ -72288,13 +72507,13 @@ var MVe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, H.jsx)(H.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function NVe() {
- return Array.from({ length: DVe }, (e, t) => ({
+function UVe() {
+ return Array.from({ length: LVe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function PVe(e) {
+function WVe(e) {
let [t, n] = (0, B.useState)(0);
return (0, B.useEffect)(() => {
if (!e) return;
@@ -72302,9 +72521,9 @@ function PVe(e) {
n((e) => e + 1);
}, U6);
return () => clearInterval(t);
- }, [e]), (0, B.useMemo)(() => NVe(), [t]);
+ }, [e]), (0, B.useMemo)(() => UVe(), [t]);
}
-var FVe = () => /* @__PURE__ */ (0, H.jsx)(v2, {
+var GVe = () => /* @__PURE__ */ (0, H.jsx)(v2, {
dataKey: "value",
cornerRadius: V6,
barSize: H6,
@@ -72312,23 +72531,23 @@ var FVe = () => /* @__PURE__ */ (0, H.jsx)(v2, {
isAnimationActive: !0,
animationDuration: U6,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, H.jsx)(uK, {
+ shape: (e) => /* @__PURE__ */ (0, H.jsx)(lK, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-K6.RadialBar = OVe, K6.Tooltip = kVe, K6.Legend = AVe;
+K6.RadialBar = RVe, K6.Tooltip = zVe, K6.Legend = BVe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var IVe = [
+var KVe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], LVe = [
+], qVe = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -72369,15 +72588,15 @@ function q6({ title: e, rows: t, unit: n = "个视频" }) {
children: /* @__PURE__ */ (0, H.jsxs)(K6, {
data: f,
nameKey: "slice",
- config: vVe(s.map((e) => e.name)),
- max: sbe(s.map((e) => e.value)),
+ config: OVe(s.map((e) => e.name)),
+ max: bbe(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
children: [/* @__PURE__ */ (0, H.jsx)(K6.RadialBar, {
dataKey: "value",
- barSize: cbe(s.length),
+ barSize: xbe(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, H.jsx)(uK, {
+ shape: (e) => /* @__PURE__ */ (0, H.jsx)(lK, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -72401,13 +72620,13 @@ function q6({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${LVe[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${qVe[t % 6]}`,
children: [
/* @__PURE__ */ (0, H.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, H.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${IVe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${KVe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, H.jsx)("b", {
@@ -72426,7 +72645,7 @@ function q6({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var RVe = 10, J6 = C6[5], zVe = C6[4], BVe = `${cT()} flex flex-col gap-4`, VVe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", HVe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", UVe = "开始播放后,这里会显示最近的真实观看证据。", WVe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", GVe = "添加媒体文件夹后,这里会显示存储空间。";
+var JVe = 10, J6 = C6[5], YVe = C6[4], XVe = `${iT()} flex flex-col gap-4`, ZVe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", QVe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", $Ve = "开始播放后,这里会显示最近的真实观看证据。", eHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", tHe = "添加媒体文件夹后,这里会显示存储空间。";
function Y6({ term: e, value: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
@@ -72448,10 +72667,10 @@ function X6({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, H.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [ZL(t, n), "%"]
+ children: [JL(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, H.jsx)(xT, {
+ }), /* @__PURE__ */ (0, H.jsx)(_T, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
@@ -72479,14 +72698,14 @@ function Z6({ term: e, figure: t, unit: n }) {
}
function Q6({ headline: e, children: t }) {
return /* @__PURE__ */ (0, H.jsxs)("div", {
- className: `${BVe} md:flex-row md:gap-6`,
+ className: `${XVe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, H.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function KVe({ data: e, configurable: t, openMediaSettings: n }) {
+function nHe({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -72514,14 +72733,14 @@ function KVe({ data: e, configurable: t, openMediaSettings: n }) {
unit: "个视频",
series: "视频",
color: J6,
- rows: fbe(e.by_length)
+ rows: Tbe(e.by_length)
}),
/* @__PURE__ */ (0, H.jsx)(M6, {
title: "画质",
unit: "个视频",
series: "视频",
color: J6,
- rows: eR(e.by_quality)
+ rows: ZL(e.by_quality)
}),
/* @__PURE__ */ (0, H.jsx)(M6, {
title: "文件类型",
@@ -72529,28 +72748,28 @@ function KVe({ data: e, configurable: t, openMediaSettings: n }) {
series: "条目",
color: J6,
layout: "horizontal",
- rows: ube(e.by_medium)
+ rows: Cbe(e.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: ooe,
+ icon: doe,
title: "还没有视频",
actions: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [t ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, H.jsx)(nT, {
+ }) : null, /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: VVe
+ children: ZVe
});
}
-function qVe({ data: e }) {
+function rHe({ data: e }) {
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(z6, {
activity: e.play_activity,
title: "播放时间",
@@ -72565,11 +72784,11 @@ function qVe({ data: e }) {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: zVe,
- rows: mbe(e.replays)
+ color: YVe,
+ rows: Dbe(e.replays)
})] });
}
-function JVe({ attribution: e }) {
+function iHe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col",
@@ -72602,7 +72821,7 @@ function JVe({ attribution: e }) {
]
});
}
-function YVe({ volume: e }) {
+function aHe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, H.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -72619,11 +72838,11 @@ function YVe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [I(n), /* @__PURE__ */ (0, H.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [ZL(n, t), "%"]
+ children: [JL(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, H.jsx)(xT, {
+ t == null ? null : /* @__PURE__ */ (0, H.jsx)(_T, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -72641,25 +72860,25 @@ function YVe({ volume: e }) {
]
});
}
-function XVe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function oHe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(YVe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ children: e.map((e) => /* @__PURE__ */ (0, H.jsx)(aHe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Kw,
+ icon: Hw,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, H.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: GVe
+ children: tHe
});
}
-function ZVe({ tags: e, tagLabel: t, onTag: n }) {
+function sHe({ tags: e, tagLabel: t, onTag: n }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)(B6, {
- previewCount: RVe,
+ previewCount: JVe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, H.jsx)("li", {
className: "min-w-0",
@@ -72683,24 +72902,24 @@ function ZVe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Jw,
+ icon: Ww,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, H.jsx)(nT, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: HVe
+ children: QVe
});
}
-function QVe({ rows: e }) {
+function cHe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = QL(e);
+ let t = YL(e);
return /* @__PURE__ */ (0, H.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -72708,41 +72927,41 @@ function QVe({ rows: e }) {
children: [/* @__PURE__ */ (0, H.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, H.jsx)("a", {
- href: obe(e),
+ href: ybe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, H.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, H.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: abe(e) })]
+ children: [/* @__PURE__ */ (0, H.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: vbe(e) })]
})]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, H.jsx)(xT, {
+ children: [/* @__PURE__ */ (0, H.jsx)(_T, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, H.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${$L(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${XL(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: qw,
+ icon: Uw,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, H.jsx)(nT, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: UVe
+ children: $Ve
});
}
-function $Ve({ sources: e, videos: t }) {
+function lHe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, H.jsxs)("article", {
@@ -72761,7 +72980,7 @@ function $Ve({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, H.jsx)(xT, {
+ /* @__PURE__ */ (0, H.jsx)(_T, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -72772,27 +72991,27 @@ function $Ve({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Jw,
+ icon: Ww,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, H.jsx)(nT, {
+ actions: /* @__PURE__ */ (0, H.jsx)(Qw, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: WVe
+ children: eHe
});
}
function $6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, H.jsx)(z_, {
+ return /* @__PURE__ */ (0, H.jsx)(R_, {
id: e,
- className: Qj({
+ className: qj({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, H.jsx)(nM, {
+ children: /* @__PURE__ */ (0, H.jsx)(Zj, {
label: t,
icon: i,
accent: a,
@@ -72801,34 +73020,34 @@ function $6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function eHe(e) {
- let t = bw({
- queryKey: YL,
- queryFn: ({ signal: e }) => XL(e)
+function uHe(e) {
+ let t = gw({
+ queryKey: KL,
+ queryFn: ({ signal: e }) => qL(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? G(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 = ZL(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, H.jsxs)(Fk, { 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 = JL(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${I(o)}`
}),
- /* @__PURE__ */ (0, H.jsxs)(L_, {
+ /* @__PURE__ */ (0, H.jsxs)(I_, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, H.jsxs)(R_, {
+ /* @__PURE__ */ (0, H.jsxs)(L_, {
"aria-label": "统计视图",
- className: $j,
+ className: Jj,
children: [
/* @__PURE__ */ (0, H.jsx)($6, {
id: "inventory",
label: "馆藏视频",
- icon: Hw,
+ icon: Rw,
accent: 0,
figure: a.toLocaleString(),
detail: I(o)
@@ -72836,15 +73055,15 @@ function eHe(e) {
/* @__PURE__ */ (0, H.jsx)($6, {
id: "viewing",
label: "看过",
- icon: Gw,
+ icon: Vw,
accent: 1,
figure: r.played.toLocaleString(),
- detail: ibe(r.play_seconds)
+ detail: _be(r.play_seconds)
}),
/* @__PURE__ */ (0, H.jsx)($6, {
id: "coverage",
label: "内容标签",
- icon: Jw,
+ icon: Ww,
accent: 2,
figure: `${s}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
@@ -72852,21 +73071,21 @@ function eHe(e) {
/* @__PURE__ */ (0, H.jsx)($6, {
id: "storage",
label: "使用空间",
- icon: Kw,
+ icon: Hw,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${I(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "inventory",
- children: /* @__PURE__ */ (0, H.jsx)(KVe, {
+ children: /* @__PURE__ */ (0, H.jsx)(nHe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, H.jsxs)(B_, {
+ /* @__PURE__ */ (0, H.jsxs)(z_, {
id: "viewing",
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, H.jsx)(Q6, {
@@ -72912,9 +73131,9 @@ function eHe(e) {
})
]
})
- }), /* @__PURE__ */ (0, H.jsx)(qVe, { data: n })]
+ }), /* @__PURE__ */ (0, H.jsx)(rHe, { data: n })]
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "coverage",
children: /* @__PURE__ */ (0, H.jsx)(Q6, {
headline: /* @__PURE__ */ (0, H.jsx)(Z6, {
@@ -72922,10 +73141,10 @@ function eHe(e) {
figure: `${s}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, H.jsx)(JVe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, H.jsx)(iHe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "storage",
children: /* @__PURE__ */ (0, H.jsx)(Q6, {
headline: /* @__PURE__ */ (0, H.jsx)(Z6, {
@@ -72933,7 +73152,7 @@ function eHe(e) {
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, H.jsx)(XVe, {
+ children: /* @__PURE__ */ (0, H.jsx)(oHe, {
volumes: n.storage_volumes,
...e
})
@@ -72941,51 +73160,51 @@ function eHe(e) {
})
]
}),
- /* @__PURE__ */ (0, H.jsxs)(L_, {
+ /* @__PURE__ */ (0, H.jsxs)(I_, {
defaultSelectedKey: "tags",
- className: `${cT({ padding: "none" })} flex flex-col`,
+ className: `${iT({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, H.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, H.jsxs)(EC, {
+ children: /* @__PURE__ */ (0, H.jsxs)(SC, {
"aria-label": "统计维度",
- className: OC,
+ className: wC,
children: [
- /* @__PURE__ */ (0, H.jsx)(z_, {
+ /* @__PURE__ */ (0, H.jsx)(R_, {
id: "tags",
- className: kC,
+ className: TC,
children: "内容标签"
}),
- /* @__PURE__ */ (0, H.jsx)(z_, {
+ /* @__PURE__ */ (0, H.jsx)(R_, {
id: "recent",
- className: kC,
+ className: TC,
children: "最近看过"
}),
- /* @__PURE__ */ (0, H.jsx)(z_, {
+ /* @__PURE__ */ (0, H.jsx)(R_, {
id: "sources",
- className: kC,
+ className: TC,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(ZVe, {
+ children: /* @__PURE__ */ (0, H.jsx)(sHe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(QVe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, H.jsx)(cHe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, H.jsx)(B_, {
+ /* @__PURE__ */ (0, H.jsx)(z_, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)($Ve, {
+ children: /* @__PURE__ */ (0, H.jsx)(lHe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -72996,7 +73215,7 @@ function eHe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function tHe(e, t) {
+function dHe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
@@ -73020,13 +73239,13 @@ function r8(e, t) {
function i8(e) {
return e.value;
}
-function nHe(e) {
+function fHe(e) {
return e.index;
}
-function rHe(e) {
+function pHe(e) {
return e.nodes;
}
-function iHe(e) {
+function mHe(e) {
return e.links;
}
function a8(e, t) {
@@ -73041,8 +73260,8 @@ function o8({ nodes: e }) {
for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;
}
}
-function aHe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = nHe, c = tHe, l, u, d = rHe, f = iHe, p = 6;
+function hHe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = fHe, c = dHe, l, u, d = pHe, f = mHe, p = 6;
function m() {
let e = {
nodes: d.apply(null, arguments),
@@ -73086,7 +73305,7 @@ function aHe() {
if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(jq(t.sourceLinks, i8), jq(t.targetLinks, i8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(Aq(t.sourceLinks, i8), Aq(t.targetLinks, i8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -73111,7 +73330,7 @@ function aHe() {
}
}
function y({ nodes: t }) {
- let r = Dq(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = Eq(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -73120,7 +73339,7 @@ function aHe() {
return o;
}
function b(e) {
- let n = Oq(e, (e) => (r - t - (e.length - 1) * o) / jq(e, i8));
+ let n = Dq(e, (e) => (r - t - (e.length - 1) * o) / Aq(e, i8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -73137,7 +73356,7 @@ function aHe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (Dq(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (Eq(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -73228,7 +73447,7 @@ function aHe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var s8 = Math.PI, c8 = 2 * s8, l8 = 1e-6, oHe = c8 - l8;
+var s8 = Math.PI, c8 = 2 * s8, l8 = 1e-6, gHe = c8 - l8;
function u8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
@@ -73269,7 +73488,7 @@ u8.prototype = d8.prototype = {
e = +e, t = +t, n = +n, a = !!a;
var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
if (n < 0) throw Error("negative radius: " + n);
- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > l8 || Math.abs(this._y1 - l) > l8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % c8 + c8), d > oHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > l8 && (this._ += "A" + n + "," + n + ",0," + +(d >= s8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > l8 || Math.abs(this._y1 - l) > l8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % c8 + c8), d > gHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > l8 && (this._ += "A" + n + "," + n + ",0," + +(d >= s8) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));
},
rect: function(e, t, n, r) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";
@@ -73287,27 +73506,27 @@ function f8(e) {
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function sHe(e) {
+function _He(e) {
return e[0];
}
-function cHe(e) {
+function vHe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var lHe = Array.prototype.slice;
+var yHe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function uHe(e) {
+function bHe(e) {
return e.source;
}
-function dHe(e) {
+function xHe(e) {
return e.target;
}
-function fHe(e) {
- var t = uHe, n = dHe, r = sHe, i = cHe, a = null;
+function SHe(e) {
+ var t = bHe, n = xHe, r = _He, i = vHe, a = null;
function o() {
- var o, s = lHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ var o, s = yHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
if (a ||= o = d8(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;
}
return o.source = function(e) {
@@ -73322,48 +73541,48 @@ function fHe(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function pHe(e, t, n, r, i) {
+function CHe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function mHe() {
- return fHe(pHe);
+function wHe() {
+ return SHe(CHe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function hHe(e) {
+function THe(e) {
return [e.source.x1, e.y0];
}
-function gHe(e) {
+function EHe(e) {
return [e.target.x0, e.y1];
}
-function _He() {
- return mHe().source(hHe).target(gHe);
+function DHe() {
+ return wHe().source(THe).target(EHe);
}
//#endregion
//#region src/react/taste/taste.ts
-var vHe = "/api/taste", p8 = "/api/taste/refresh", yHe = "/api/taste/import", bHe = "/api/taste/source", m8 = (e) => ["taste", e], xHe = ["taste", "refresh"], SHe = [
+var OHe = "/api/taste", p8 = "/api/taste/refresh", kHe = "/api/taste/import", AHe = "/api/taste/source", m8 = (e) => ["taste", e], jHe = ["taste", "refresh"], MHe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], h8 = (e, t) => K(`${vHe}?window=${e}`, t), CHe = (e) => K(p8, e);
-async function wHe(e, t) {
+], h8 = (e, t) => K(`${OHe}?window=${e}`, t), NHe = (e) => K(p8, e);
+async function PHe(e, t) {
await z.fetchQuery({
queryKey: m8(e),
queryFn: () => h8(e, t)
});
}
-var THe = (e) => q(p8, {
+var FHe = (e) => q(p8, {
window: e,
background: !0
-}), EHe = (e, t) => q(bHe, {
+}), IHe = (e, t) => q(AHe, {
operation: "remove",
source_key: e,
window: t
});
-async function DHe(e) {
- let t = await fetch(yHe, {
+async function LHe(e) {
+ let t = await fetch(kHe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -73377,25 +73596,25 @@ async function DHe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new HC(e || `导入失败(${t.status})`, t.status, n);
+ throw new RC(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var OHe = 1e4, g8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", kHe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, AHe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function jHe(e) {
+var RHe = 1e4, g8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", zHe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, BHe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function VHe(e) {
if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();
let t = [];
return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");
}
-function MHe(e) {
- let t = e.map(AHe), n = Math.max(1, ...t);
+function HHe(e) {
+ let t = e.map(BHe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
var _8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function NHe(e) {
+function UHe(e) {
let t = _8(e, 6);
return t.length < 3 ? [] : t;
}
@@ -73406,10 +73625,10 @@ var v8 = {
source: 145,
target: 545
};
-function PHe(e = []) {
+function WHe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = aHe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = hHe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -73424,7 +73643,7 @@ function PHe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = _He();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = DHe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -73454,7 +73673,7 @@ function PHe(e = []) {
total: a
};
}
-var FHe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, b8 = B.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var GHe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, b8 = B.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = B.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
@@ -73577,14 +73796,14 @@ var C8 = B.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
C8.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var IHe = 1, LHe = .3, RHe = 6, w8 = 1500, T8 = "value", E8 = (0, B.createContext)(null);
+var KHe = 1, qHe = .3, JHe = 6, w8 = 1500, T8 = "value", E8 = (0, B.createContext)(null);
function D8() {
let e = (0, B.use)(E8);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
function O8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, B.useId)().replace(/:/g, ""), [d, f] = (0, B.useState)(o), p = ZHe(c, l), m = (0, B.useCallback)((e) => {
+ let u = (0, B.useId)().replace(/:/g, ""), [d, f] = (0, B.useState)(o), p = sUe(c, l), m = (0, B.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, B.useMemo)(() => ({
config: e,
@@ -73602,32 +73821,32 @@ function O8({ config: e, data: t, children: n, className: r, chartProps: i, back
children: /* @__PURE__ */ (0, H.jsxs)(r6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: c }), /* @__PURE__ */ (0, H.jsxs)(SBe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(i6, { isLoading: c }), /* @__PURE__ */ (0, H.jsxs)(MBe, {
id: u,
data: c ? p : t,
...i,
children: [
a && /* @__PURE__ */ (0, H.jsx)(h6, { variant: a }),
n,
- c && /* @__PURE__ */ (0, H.jsx)(QHe, {})
+ c && /* @__PURE__ */ (0, H.jsx)(cUe, {})
]
})]
})
});
}
-function zHe({ dataKey: e, variant: t = "filled", fillOpacity: n = LHe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+function YHe({ dataKey: e, variant: t = "filled", fillOpacity: n = qHe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = D8(), d = (0, B.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = GHe(a, d, e, p.dot);
+ }, m = t === "filled", { dot: h, activeDot: g } = tUe(a, d, e, p.dot);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(H0, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: IHe,
+ strokeWidth: KHe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -73640,29 +73859,29 @@ function zHe({ dataKey: e, variant: t = "filled", fillOpacity: n = LHe, isGlowin
},
...o
}), /* @__PURE__ */ (0, H.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, H.jsx)(KHe, {
+ /* @__PURE__ */ (0, H.jsx)(nUe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, H.jsx)(qHe, {
+ /* @__PURE__ */ (0, H.jsx)(rUe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, H.jsx)(JHe, {
+ m && /* @__PURE__ */ (0, H.jsx)(iUe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, H.jsx)(YHe, {
+ r && /* @__PURE__ */ (0, H.jsx)(aUe, {
id: d,
dataKey: e
})
] })] });
}
var k8 = () => null, A8 = () => null;
-function BHe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+function XHe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
return /* @__PURE__ */ (0, H.jsx)(F1, {
gridType: e,
stroke: t,
@@ -73671,7 +73890,7 @@ function BHe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function VHe({ tick: e = {
+function ZHe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
@@ -73682,7 +73901,7 @@ function VHe({ tick: e = {
...n
});
}
-function HHe({ tick: e = {
+function QHe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
@@ -73694,7 +73913,7 @@ function HHe({ tick: e = {
...r
});
}
-function UHe({ variant: e, roundness: t, defaultIndex: n }) {
+function $He({ variant: e, roundness: t, defaultIndex: n }) {
let { isLoading: r, selectedDataKey: i } = D8();
return r ? null : /* @__PURE__ */ (0, H.jsx)(l6, {
defaultIndex: n,
@@ -73706,7 +73925,7 @@ function UHe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function WHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+function eUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
let { isLoading: i, selectedDataKey: a, selectDataKey: o } = D8();
return i ? null : /* @__PURE__ */ (0, H.jsx)(d6, {
verticalAlign: n,
@@ -73719,7 +73938,7 @@ function WHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var GHe = (e, t, n, r) => {
+var tUe = (e, t, n, r) => {
let i = !1, a = !1;
return B.Children.forEach(e, (e) => {
if ((0, B.isValidElement)(e)) {
@@ -73761,7 +73980,7 @@ var GHe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), KHe = ({ id: e, dataKey: t, config: n }) => {
+}) }), nUe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -73774,7 +73993,7 @@ var GHe = (e, t, n, r) => {
colorsCount: r
})
});
-}, qHe = ({ id: e, dataKey: t, config: n }) => {
+}, rUe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {});
return /* @__PURE__ */ (0, H.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
@@ -73787,7 +74006,7 @@ var GHe = (e, t, n, r) => {
colorsCount: r
})
});
-}, JHe = ({ id: e, dataKey: t, config: n }) => {
+}, iUe = ({ id: e, dataKey: t, config: n }) => {
let r = s6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, H.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
@@ -73800,7 +74019,7 @@ var GHe = (e, t, n, r) => {
opacities: i
})
});
-}, YHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
+}, aUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, H.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -73820,7 +74039,7 @@ var GHe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, H.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, H.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), XHe = (e) => [
+}), oUe = (e) => [
"A",
"B",
"C",
@@ -73831,7 +74050,7 @@ var GHe = (e, t, n, r) => {
skill: e,
[T8]: 30 + Math.random() * 70
}));
-function ZHe(e, t = RHe) {
+function sUe(e, t = JHe) {
let [n, r] = (0, B.useState)(0);
return (0, B.useEffect)(() => {
if (!e) return;
@@ -73839,9 +74058,9 @@ function ZHe(e, t = RHe) {
r((e) => e + 1);
}, w8);
return () => clearInterval(t);
- }, [e]), (0, B.useMemo)(() => XHe(t), [t, n]);
+ }, [e]), (0, B.useMemo)(() => oUe(t), [t, n]);
}
-var QHe = () => /* @__PURE__ */ (0, H.jsx)(H0, {
+var cUe = () => /* @__PURE__ */ (0, H.jsx)(H0, {
dataKey: T8,
stroke: "currentColor",
strokeOpacity: .3,
@@ -73853,17 +74072,17 @@ var QHe = () => /* @__PURE__ */ (0, H.jsx)(H0, {
animationDuration: w8,
animationEasing: "ease-in-out"
});
-O8.Radar = zHe, O8.Dot = k8, O8.ActiveDot = A8, O8.PolarGrid = BHe, O8.PolarAngleAxis = VHe, O8.PolarRadiusAxis = HHe, O8.Tooltip = UHe, O8.Legend = WHe;
+O8.Radar = YHe, O8.Dot = k8, O8.ActiveDot = A8, O8.PolarGrid = XHe, O8.PolarAngleAxis = ZHe, O8.PolarRadiusAxis = QHe, O8.Tooltip = $He, O8.Legend = eUe;
//#endregion
//#region src/react/taste/charts.tsx
-var $He = [
+var lUe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], eUe = [
+], uUe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
@@ -73873,7 +74092,7 @@ var $He = [
], M8 = { value: {
label: "标签命中",
colors: w6(C6[3])
-} }, tUe = [
+} }, dUe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -73883,20 +74102,20 @@ var $He = [
"min-h-52",
"min-h-60",
"min-h-64"
-], nUe = 26, rUe = { radius: M8.value }, iUe = (e, t) => Math.sqrt(e / t);
-function aUe({ rows: e, label: t }) {
- let n = NHe(e);
+], fUe = 26, pUe = { radius: M8.value }, mUe = (e, t) => Math.sqrt(e / t);
+function hUe({ rows: e, label: t }) {
+ let n = UHe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: iUe(e.value, r)
+ radius: mUe(e.value, r)
}));
return /* @__PURE__ */ (0, H.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
children: /* @__PURE__ */ (0, H.jsxs)(O8, {
data: i,
- config: rUe,
+ config: pUe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
@@ -73913,17 +74132,17 @@ function aUe({ rows: e, label: t }) {
})
});
}
-function oUe({ rows: e, label: t }) {
+function gUe({ rows: e, label: t }) {
let n = _8(e, 8);
return n.length ? /* @__PURE__ */ (0, H.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${tUe[n.length]}`,
+ className: `flex grow flex-col ${dUe[n.length]}`,
children: /* @__PURE__ */ (0, H.jsxs)(y6, {
data: n,
config: M8,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: nUe },
+ chartProps: { maxBarSize: fUe },
className: "aspect-auto text-text-secondary",
children: [
/* @__PURE__ */ (0, H.jsx)(y6.YAxis, {
@@ -73947,8 +74166,8 @@ function oUe({ rows: e, label: t }) {
})
}) : null;
}
-function sUe({ flows: e }) {
- let [t, n] = (0, B.useState)(null), r = PHe(e);
+function _Ue({ flows: e }) {
+ let [t, n] = (0, B.useState)(null), r = WHe(e);
if (!r) return null;
let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;
return /* @__PURE__ */ (0, H.jsxs)("section", {
@@ -73976,7 +74195,7 @@ function sUe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${$He[e.color]}`,
+ className: `outline-none transition-opacity ${lUe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -74010,14 +74229,14 @@ function sUe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? eUe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? uUe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, H.jsxs)("text", {
x: y8[e.side],
y: e.y + e.height / 2,
textAnchor: e.side === "source" ? "end" : "start",
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
- children: [FHe(e.name), /* @__PURE__ */ (0, H.jsx)("tspan", {
+ children: [GHe(e.name), /* @__PURE__ */ (0, H.jsx)("tspan", {
x: y8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
@@ -74035,11 +74254,11 @@ function sUe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var cUe = 10, N8 = dr(oT, sT, "text-body-2-medium"), P8 = `${cT()} flex flex-col gap-4`, F8 = "rounded-xl bg-background-primary-default p-3", lUe = "读取运行 Peach 的这台电脑上的浏览记录", uUe = "导入或读取浏览记录后,这里会列出已采集设备。", dUe = "馆藏里暂时没有对得上浏览信号的标签。", fUe = "采集浏览记录后,这里会显示聚合后的口味证据。", pUe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", mUe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", hUe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", gUe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", _Ue = "这个数据源将不再用于口味分析。原始导出文件保留。", I8 = "peach-taste-guide-dismissed";
+var vUe = 10, N8 = dr(nT, rT, "text-body-2-medium"), P8 = `${iT()} flex flex-col gap-4`, F8 = "rounded-xl bg-background-primary-default p-3", yUe = "读取运行 Peach 的这台电脑上的浏览记录", bUe = "导入或读取浏览记录后,这里会列出已采集设备。", xUe = "馆藏里暂时没有对得上浏览信号的标签。", SUe = "采集浏览记录后,这里会显示聚合后的口味证据。", CUe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", wUe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", TUe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", EUe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", DUe = "这个数据源将不再用于口味分析。原始导出文件保留。", I8 = "peach-taste-guide-dismissed";
function L8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, H.jsx)("div", {
- className: Qj(),
- children: /* @__PURE__ */ (0, H.jsx)(nM, {
+ className: qj(),
+ children: /* @__PURE__ */ (0, H.jsx)(Zj, {
label: t,
icon: e,
accent: i,
@@ -74062,22 +74281,22 @@ function R8({ name: e, domain: t }) {
})]
});
}
-function vUe({ html: e }) {
+function OUe({ html: e }) {
return /* @__PURE__ */ (0, H.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 ${II}`,
+ 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 ${NI}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function yUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, H.jsx)(Pk, {
+function kUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+ if (!e.length) return /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Zw,
+ icon: qw,
title: "暂无足够证据",
children: r
});
- let a = MHe(e);
+ let a = HHe(e);
return /* @__PURE__ */ (0, H.jsx)(B6, {
- previewCount: cUe,
+ previewCount: vUe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
@@ -74104,7 +74323,7 @@ function yUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, H.jsx)(vUe, { html: ue(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, H.jsx)(OUe, { html: ue(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -74117,10 +74336,10 @@ function yUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, H.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: jHe(e)
+ children: VHe(e)
})]
}),
- o ? /* @__PURE__ */ (0, H.jsx)(Lw, {
+ o ? /* @__PURE__ */ (0, H.jsx)(Nw, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -74141,30 +74360,30 @@ function yUe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
});
}
function z8({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, H.jsxs)(L_, {
- className: `${cT({ padding: "none" })} flex flex-col`,
+ return /* @__PURE__ */ (0, H.jsxs)(I_, {
+ className: `${iT({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, H.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, H.jsx)(EC, {
+ children: /* @__PURE__ */ (0, H.jsx)(SC, {
"aria-label": e,
- className: OC,
- children: t.map((e) => /* @__PURE__ */ (0, H.jsx)(z_, {
+ className: wC,
+ children: t.map((e) => /* @__PURE__ */ (0, H.jsx)(R_, {
id: e.id,
- className: kC,
+ className: TC,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, H.jsx)(B_, {
+ }), t.map((e) => /* @__PURE__ */ (0, H.jsx)(z_, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, H.jsx)(yUe, {
+ children: /* @__PURE__ */ (0, H.jsx)(kUe, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function bUe({ data: e, onSignal: t, navigate: n }) {
+function AUe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -74230,21 +74449,21 @@ function bUe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, H.jsx)(Lw, {
+ }), /* @__PURE__ */ (0, H.jsx)(Nw, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Zw,
+ icon: qw,
title: "还没有可探索的入口",
- children: dUe
+ children: xUe
})
]
});
}
-function xUe({ onboarding: e, done: t }) {
+function jUe({ onboarding: e, done: t }) {
let [n, r] = (0, B.useState)(() => {
try {
return localStorage.getItem(I8) === "1";
@@ -74253,21 +74472,21 @@ function xUe({ onboarding: e, done: t }) {
}
});
return t || n ? null : /* @__PURE__ */ (0, H.jsx)("div", {
- className: cT({
+ className: iT({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, H.jsxs)(IT, {
+ children: /* @__PURE__ */ (0, H.jsxs)(MT, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: mUe
+ children: wUe
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: hUe
+ children: TUe
}),
/* @__PURE__ */ (0, H.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -74297,7 +74516,7 @@ function xUe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, H.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: gUe
+ children: EUe
}),
/* @__PURE__ */ (0, H.jsx)("span", {
className: "self-start",
@@ -74317,7 +74536,7 @@ function xUe({ onboarding: e, done: t }) {
})
});
}
-function SUe({ busy: e, onRefresh: t, onImport: n }) {
+function MUe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, B.useRef)(null), [i, a] = (0, B.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -74326,15 +74545,15 @@ function SUe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, H.jsx)(J, {
- leadingIcon: Vw,
- title: lUe,
+ leadingIcon: Lw,
+ title: yUe,
onClick: t,
...X(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, H.jsx)(J, {
ref: r,
iconOnly: !0,
- leadingIcon: Fw,
+ leadingIcon: jw,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -74349,15 +74568,15 @@ function SUe({ busy: e, onRefresh: t, onImport: n }) {
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: aT,
- children: /* @__PURE__ */ (0, H.jsxs)(eT, {
+ className: tT,
+ children: /* @__PURE__ */ (0, H.jsxs)(Xw, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
className: N8,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, H.jsx)(Vw, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Lw, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
@@ -74365,7 +74584,7 @@ function SUe({ busy: e, onRefresh: t, onImport: n }) {
type: "button",
className: N8,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, H.jsx)(Qw, {
+ children: [/* @__PURE__ */ (0, H.jsx)(Jw, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -74373,9 +74592,9 @@ function SUe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function CUe({ sources: e, window: t, toast: n }) {
- let i = Cw({
- mutationFn: (e) => EHe(e, t),
+function NUe({ sources: e, window: t, toast: n }) {
+ let i = yw({
+ mutationFn: (e) => IHe(e, t),
onSuccess: (e) => {
z.setQueryData(m8(t), e.dashboard), n("已移除口味数据源");
}
@@ -74399,10 +74618,10 @@ function CUe({ sources: e, window: t, toast: n }) {
children: [
/* @__PURE__ */ (0, H.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, H.jsx)(Qw, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, H.jsx)(Jw, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, H.jsx)(Hw, {
+ }) : /* @__PURE__ */ (0, H.jsx)(Rw, {
"aria-hidden": !0,
className: "size-4"
})
@@ -74422,12 +74641,12 @@ function CUe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: Uw,
+ leadingIcon: zw,
...X(i.isPending),
onClick: () => {
i.isPending || r({
title: "移除口味数据源",
- body: _Ue,
+ body: DUe,
confirmLabel: "移除口味数据源",
onConfirm: () => i.mutateAsync(e.source_key)
});
@@ -74435,30 +74654,30 @@ function CUe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Hw,
+ icon: Rw,
title: "还没有数据源",
- children: uUe
+ children: bUe
})
]
});
}
-function wUe(e) {
- let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, B.useState)("all"), [s, c] = (0, B.useState)("browser"), l = (0, B.useRef)(null), u = bw({
+function PUe(e) {
+ let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, B.useState)("all"), [s, c] = (0, B.useState)("browser"), l = (0, B.useRef)(null), u = gw({
queryKey: m8(a),
queryFn: ({ signal: e }) => h8(a, e),
- placeholderData: Tw.keepPreviousData
- }), { job: d, running: f, outcome: p, start: m } = iM({
- queryKey: xHe,
- queryFn: ({ signal: e }) => CHe(e),
- start: () => THe(a),
- idlePollMs: OHe,
+ placeholderData: xw.keepPreviousData
+ }), { job: d, running: f, outcome: p, start: m } = $j({
+ queryKey: jHe,
+ queryFn: ({ signal: e }) => NHe(e),
+ start: () => FHe(a),
+ idlePollMs: RHe,
onFinish: (e) => {
e.status !== "failed" && (z.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), h = Cw({
- mutationFn: (e) => DHe(e),
+ }), h = yw({
+ mutationFn: (e) => LHe(e),
onSuccess: (e) => {
z.setQueryData(m8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
@@ -74468,47 +74687,47 @@ function wUe(e) {
}, _ = () => {
f || m.isPending || (m.reset(), m.mutate());
}, v = u.data;
- if (!v) return /* @__PURE__ */ (0, H.jsx)(Fk, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ if (!v) return /* @__PURE__ */ (0, H.jsx)(Ak, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? G(u.error) : "读取口味分析失败"
}) });
let y = v.summary || {}, b = v.coverage || {}, x = v.rankings || {}, S = v.storage || {}, C = x.browser_categories || [], w = v.gaps || [], T = b.tagged || 0, E = b.identified || 0, D = m.error ? G(m.error) : h.error ? G(h.error) : p?.status === "failed" ? p.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, H.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, H.jsxs)(L_, {
+ return /* @__PURE__ */ (0, H.jsxs)(Ak, { children: [
+ /* @__PURE__ */ (0, H.jsxs)(I_, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, H.jsxs)(EC, {
+ children: [/* @__PURE__ */ (0, H.jsxs)(SC, {
"aria-label": "口味证据来源",
- className: OC,
- children: [/* @__PURE__ */ (0, H.jsx)(z_, {
+ className: wC,
+ children: [/* @__PURE__ */ (0, H.jsx)(R_, {
id: "browser",
- className: kC,
+ className: TC,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, H.jsx)(z_, {
+ }), /* @__PURE__ */ (0, H.jsx)(R_, {
id: "peach",
- className: kC,
+ className: TC,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, H.jsx)(Hk, {
+ /* @__PURE__ */ (0, H.jsx)(Lk, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: SHe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Uk, {
+ children: MHe.map(([e, t]) => /* @__PURE__ */ (0, H.jsx)(Rk, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, H.jsx)(SUe, {
+ /* @__PURE__ */ (0, H.jsx)(MUe, {
busy: f || m.isPending || h.isPending,
onRefresh: _,
onImport: () => l.current?.click()
@@ -74524,7 +74743,7 @@ function wUe(e) {
]
})]
}),
- /* @__PURE__ */ (0, H.jsx)(xUe, {
+ /* @__PURE__ */ (0, H.jsx)(jUe, {
onboarding: i,
done: !!(y.history_sources || v.updated_at)
}),
@@ -74532,48 +74751,48 @@ function wUe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, H.jsx)(ST, {
+ f ? /* @__PURE__ */ (0, H.jsx)(vT, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- h.isPending ? /* @__PURE__ */ (0, H.jsx)(ST, { label: "正在导入历史文件" }) : null,
+ h.isPending ? /* @__PURE__ */ (0, H.jsx)(vT, { label: "正在导入历史文件" }) : null,
D ? /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
children: D
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsxs)(B_, {
+ /* @__PURE__ */ (0, H.jsxs)(z_, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: $j,
+ className: Jj,
children: [
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 0,
- icon: qw,
+ icon: Uw,
term: "浏览记录",
figure: Number(y.history_visits || 0).toLocaleString(),
detail: `${y.history_sources || 0} 个数据源 · ${g8(y.range_start)}—${g8(y.range_end)}`
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 1,
- icon: Jw,
+ icon: Ww,
term: "口味维度",
figure: C.length.toLocaleString(),
detail: C[0]?.name || "尚无主维度"
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 2,
- icon: Zw,
+ icon: qw,
term: "浏览候选",
figure: w.length.toLocaleString()
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 3,
- icon: Hw,
+ icon: Rw,
term: "私有导出",
figure: Number(S.exports || 0).toLocaleString(),
detail: I(S.bytes || 0)
@@ -74590,7 +74809,7 @@ function wUe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, H.jsx)(aUe, {
+ /* @__PURE__ */ (0, H.jsx)(hUe, {
rows: C,
label: "主要口味维度"
}),
@@ -74601,14 +74820,14 @@ function wUe(e) {
]
}), /* @__PURE__ */ (0, H.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: C.length ? /* @__PURE__ */ (0, H.jsx)(oUe, {
+ children: C.length ? /* @__PURE__ */ (0, H.jsx)(gUe, {
rows: C,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, H.jsx)(Pk, {
+ }) : /* @__PURE__ */ (0, H.jsx)(kk, {
shell: "plain",
- icon: Zw,
+ icon: qw,
title: "暂无口味维度",
- children: fUe
+ children: SUe
})
})]
}),
@@ -74624,7 +74843,7 @@ function wUe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, H.jsx)(sUe, { flows: v.creator_flows }),
+ /* @__PURE__ */ (0, H.jsx)(_Ue, { flows: v.creator_flows }),
/* @__PURE__ */ (0, H.jsx)(z8, {
label: "浏览器口味维度",
onSignal: t,
@@ -74666,42 +74885,42 @@ function wUe(e) {
rows: w,
kind: "",
visual: "none",
- empty: pUe
+ empty: CUe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, H.jsxs)(B_, {
+ /* @__PURE__ */ (0, H.jsxs)(z_, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
- className: $j,
+ className: Jj,
children: [
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 0,
- icon: Gw,
+ icon: Vw,
term: "Peach 看过",
figure: Number(y.peach_items || 0).toLocaleString(),
- detail: kHe(y.peach_seconds || 0)
+ detail: zHe(y.peach_seconds || 0)
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 1,
- icon: aoe,
+ icon: uoe,
term: "喜欢",
figure: Number(y.liked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 2,
- icon: ioe,
+ icon: loe,
term: "不合口味",
figure: Number(y.disliked || 0).toLocaleString()
}),
/* @__PURE__ */ (0, H.jsx)(L8, {
accent: 3,
- icon: Jw,
+ icon: Ww,
term: "有标签",
figure: T.toLocaleString()
})
@@ -74779,12 +74998,12 @@ function wUe(e) {
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(bUe, {
+ /* @__PURE__ */ (0, H.jsx)(AUe, {
data: v,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, H.jsx)(CUe, {
+ /* @__PURE__ */ (0, H.jsx)(NUe, {
sources: v.sources || [],
window: a,
toast: r
@@ -74804,7 +75023,7 @@ function B8({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, H.jsx)(xT, {
+ }), /* @__PURE__ */ (0, H.jsx)(_T, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -74813,7 +75032,7 @@ function B8({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function TUe(e, t, n) {
+function FUe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
@@ -74823,8 +75042,8 @@ function TUe(e, t, n) {
}
var V8 = {
"/stats": {
- prefetch: (e, t) => rbe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(eHe, {
+ prefetch: (e, t) => gbe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(uHe, {
tagLabel: Je,
onTag: t.openTag,
configurable: e.configurable,
@@ -74834,8 +75053,8 @@ var V8 = {
})
},
"/taste": {
- prefetch: (e, t) => wHe("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(wUe, {
+ prefetch: (e, t) => PHe("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(PUe, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -74843,8 +75062,8 @@ var V8 = {
})
},
"/review": {
- prefetch: (e, t) => Vde(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Wve, {
+ prefetch: (e, t) => qde(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(rye, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -74854,24 +75073,24 @@ var V8 = {
})
},
"/data-cleanup": {
- prefetch: (e, t) => Ofe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(vpe, {
+ prefetch: (e, t) => Pfe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(wpe, {
failure: t.failure,
- open: (e) => TUe(e, t, n),
+ open: (e) => FUe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- prefetch: (e, t) => ude(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Ime, {
+ prefetch: (e, t) => gde(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Wme, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
})
},
"/quality-goals": {
- prefetch: (e, t) => bde(t),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(Ove, {
+ prefetch: (e, t) => Ede(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(Vve, {
openItem: t.openItem,
javTitleHtml: qe,
javDisplayName: Ke,
@@ -74882,23 +75101,34 @@ var V8 = {
})
},
"/scraping": {
- prefetch: (e, t) => Zve(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(iye, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => uye(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(_ye, { toast: (e) => t.toast(e) })
},
"/configuration": {
- prefetch: (e, t) => IL(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(tbe, {
+ prefetch: (e, t) => NL(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(mbe, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial
})
},
+ "/diagnostics": {
+ prefetch: (e, t) => Gme(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(Yme, {
+ navigate: n,
+ openItem: t.openItem,
+ receipt: (e) => t.receipt(e),
+ configure: (e) => {
+ t.requestConfigurationSection(e), n("/configuration");
+ }
+ })
+ },
"/activity": {
- prefetch: (e, t) => Cue(t),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(sA, { ...e.prefill ? { prefill: e.prefill } : {} })
+ prefetch: (e, t) => kue(t),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(nA, { ...e.prefill ? { prefill: e.prefill } : {} })
},
"/follow-manage": {
- prefetch: (e, t) => phe(t, e.tab),
- page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(F_e, {
+ prefetch: (e, t) => Ehe(t, e.tab),
+ page: (e, t, n) => /* @__PURE__ */ (0, H.jsx)(J_e, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -74911,8 +75141,8 @@ var V8 = {
}
}, H8 = (e) => Object.hasOwn(V8, e), U8 = {
"/playlists": {
- prefetch: (e, t) => mve(t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(Eve, {
+ prefetch: (e, t) => Dve(t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(zve, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -74921,12 +75151,12 @@ var V8 = {
})
},
"/follow": {
- prefetch: (e, t) => xhe(e, t),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(Ghe, { ...e })
+ prefetch: (e, t) => Phe(e, t),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(ige, { ...e })
}
}, W8 = (e) => Object.hasOwn(U8, e), G8 = {
- prefetch: (e, t) => nN(e, t),
- page: (e, t) => /* @__PURE__ */ (0, H.jsx)(J_e, {
+ prefetch: (e, t) => YM(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, H.jsx)(sve, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -74946,8 +75176,8 @@ var V8 = {
"/agencies": G8,
"/tags": G8
}, q8 = {
- prefetch: (e) => Cpe(e),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(Dme, { ...e })
+ prefetch: (e) => kpe(e),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(Fme, { ...e })
}, J8 = {
"/performers/*": q8,
"/studios/*": q8,
@@ -74956,40 +75186,40 @@ var V8 = {
"/agencies/*": q8
}, Y8 = {
"/": {
- prefetch: (e, t) => Xce(e, t),
- page: (e) => /* @__PURE__ */ (0, H.jsx)(EA, { ...e })
+ prefetch: (e, t) => nle(e, t),
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(xA, { ...e })
},
"/junk-files": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, H.jsx)(lve, { ...e })
+ page: (e) => /* @__PURE__ */ (0, H.jsx)(Sve, { ...e })
}
-}, X8 = (e) => Object.hasOwn(Y8, e), EUe = [
+}, X8 = (e) => Object.hasOwn(Y8, e), IUe = [
"/",
"/unseen",
"/watch-later",
"/flagged",
"/trash",
"/junk-files"
-], DUe = [
+], LUe = [
...Object.keys(V8),
...Object.keys(U8),
...Object.keys(K8),
...Object.keys(J8),
- ...EUe
+ ...IUe
], Z8 = (e) => H8(e) || W8(e) || Object.hasOwn(K8, e) || Object.hasOwn(J8, e) || X8(e);
function Q8(e) {
return H8(e) ? V8[e] : W8(e) ? U8[e] : X8(e) ? Y8[e] : Object.hasOwn(K8, e) ? K8[e] : J8[e];
}
-function OUe(e, t, n) {
+function RUe(e, t, n) {
return Z8(e) ? Q8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function kUe(e, t, n, r) {
+function zUe(e, t, n, r) {
return Q8(e).page(t, n, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var AUe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, jUe = /^[\\/]{2}/;
-function MUe(e, t) {
+var BUe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, VUe = /^[\\/]{2}/;
+function HUe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
@@ -75005,7 +75235,7 @@ function e5(e, t) {
} catch {}
}
}
-function NUe({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function UUe({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
function t5(e) {
@@ -75020,19 +75250,19 @@ function t5(e) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function PUe(e, t, n = "/") {
- return FUe(e, t, n, !1);
+function WUe(e, t, n = "/") {
+ return GUe(e, t, n, !1);
}
-function FUe(e, t, n, r, i) {
+function GUe(e, t, n, r, i) {
let a = c5((typeof t == "string" ? t5(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? IUe(e), s = null, c = YUe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = JUe(o[e], c, r);
+ let o = i ?? KUe(e), s = null, c = aWe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = iWe(o[e], c, r);
return s;
}
-function IUe(e) {
+function KUe(e) {
let t = n5(e);
- return LUe(t), t;
+ return qUe(t), t;
}
function n5(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
@@ -75049,7 +75279,7 @@ function n5(e, t = [], n = [], r = "", i = !1) {
let l = f5([r, c.relativePath]), u = n.concat(c);
e.children && e.children.length > 0 && ($8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), n5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({
path: l,
- score: KUe(l, e.index),
+ score: nWe(l, e.index),
routesMeta: u.map((e, t) => {
let [n, r] = s5(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
@@ -75073,18 +75303,18 @@ function r5(e) {
let o = r5(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function LUe(e) {
- e.sort((e, t) => e.score === t.score ? qUe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function qUe(e) {
+ e.sort((e, t) => e.score === t.score ? rWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var RUe = /^:[\w-]+$/, zUe = /^:[\w-]+/, BUe = 3.5, VUe = 3, HUe = 2, UUe = 1, WUe = 10, GUe = -2, i5 = (e) => e === "*";
-function KUe(e, t) {
+var JUe = /^:[\w-]+$/, YUe = /^:[\w-]+/, XUe = 3.5, ZUe = 3, QUe = 2, $Ue = 1, eWe = 10, tWe = -2, i5 = (e) => e === "*";
+function nWe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(i5) && (r += GUe), t && (r += HUe), n.filter((e) => !i5(e)).reduce((e, t) => e + (RUe.test(t) ? VUe : zUe.test(t) ? BUe : t === "" ? UUe : WUe), r);
+ return n.some(i5) && (r += tWe), t && (r += QUe), n.filter((e) => !i5(e)).reduce((e, t) => e + (JUe.test(t) ? ZUe : YUe.test(t) ? XUe : t === "" ? $Ue : eWe), r);
}
-function qUe(e, t) {
+function rWe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function JUe(e, t, n = !1) {
+function iWe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
@@ -75100,7 +75330,7 @@ function JUe(e, t, n = !1) {
Object.assign(i, d.params), o.push({
params: i,
pathname: f5([a, d.pathname]),
- pathnameBase: eWe(f5([a, d.pathnameBase])),
+ pathnameBase: uWe(f5([a, d.pathnameBase])),
route: f
}), d.pathnameBase !== "/" && (a = f5([a, d.pathnameBase]));
}
@@ -75147,7 +75377,7 @@ function s5(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function YUe(e) {
+function aWe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
@@ -75160,12 +75390,12 @@ function c5(e, t) {
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function XUe(e, t = "/") {
+function oWe(e, t = "/") {
let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? t5(e) : e, a;
return n ? (n = d5(n), a = n.startsWith("/") || n.startsWith("\\") ? l5(n.substring(1), "/") : l5(n, t)) : a = t, {
pathname: a,
- search: tWe(r),
- hash: nWe(i)
+ search: dWe(r),
+ hash: fWe(i)
};
}
function l5(e, t) {
@@ -75177,14 +75407,14 @@ function l5(e, t) {
function u5(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function ZUe(e) {
+function sWe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function QUe(e) {
- let t = ZUe(e);
+function cWe(e) {
+ let t = sWe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function $Ue(e, t, n, r = !1) {
+function lWe(e, t, n, r = !1) {
let i;
typeof e == "string" ? i = t5(e) : (i = { ...e }, $8(!i.pathname || !i.pathname.includes("?"), u5("?", "pathname", "search", i)), $8(!i.pathname || !i.pathname.includes("#"), u5("#", "pathname", "hash", i)), $8(!i.search || !i.search.includes("#"), u5("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
@@ -75198,7 +75428,7 @@ function $Ue(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = XUe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = oWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
var d5 = (e) => e.replace(/[\\/]{2,}/g, "/"), f5 = (e) => d5(e.join("/"));
@@ -75207,7 +75437,7 @@ function p5(e, t = 0) {
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var eWe = (e) => p5(e).replace(/^\/*/, "/"), tWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, nWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, rWe = class {
+var uWe = (e) => p5(e).replace(/^\/*/, "/"), dWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, fWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, pWe = class {
status;
statusText;
data;
@@ -75217,23 +75447,23 @@ var eWe = (e) => p5(e).replace(/^\/*/, "/"), tWe = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function iWe(e) {
+function mWe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function aWe(e) {
+function hWe(e) {
return f5(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
var m5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function oWe(e, t) {
+function gWe(e, t) {
let n = e;
- if (typeof n != "string" || !AUe.test(n)) return {
+ if (typeof n != "string" || !BUe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
if (m5) try {
- let e = new URL(window.location.href), r = jUe.test(n) ? new URL(MUe(n, e.protocol)) : new URL(n), a = c5(r.pathname, t);
+ let e = new URL(window.location.href), r = VUe.test(n) ? new URL(HUe(n, e.protocol)) : new URL(n), a = c5(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
e5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
@@ -75258,7 +75488,7 @@ function g5(e) {
function _5(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function sWe(e, t) {
+function _We(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
@@ -75271,7 +75501,7 @@ function v5(e, t, n, r) {
let a = new URL(t, n), o = i != null && !_5(i, n), s = !_5(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !sWe(e, i) || !_5(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !_We(e, i) || !_5(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
@@ -75282,9 +75512,9 @@ var y5 = [
"DELETE"
];
new Set(y5);
-var cWe = ["GET", ...y5];
-new Set(cWe);
-var lWe = [
+var vWe = ["GET", ...y5];
+new Set(vWe);
+var yWe = [
"about:",
"blob:",
"chrome:",
@@ -75296,9 +75526,9 @@ var lWe = [
"filesystem:",
"javascript:"
];
-function uWe(e) {
+function bWe(e) {
try {
- return lWe.includes(new URL(e).protocol);
+ return yWe.includes(new URL(e).protocol);
} catch {
return !1;
}
@@ -75307,18 +75537,18 @@ function uWe(e) {
//#region node_modules/react-router/dist/production/lib/context.js
var b5 = B.createContext(null);
b5.displayName = "DataRouter";
-var dWe = B.createContext(null);
-dWe.displayName = "DataRouterState";
+var xWe = B.createContext(null);
+xWe.displayName = "DataRouterState";
var x5 = B.createContext(null);
x5.displayName = "DataRouterData";
-var fWe = B.createContext(null);
-fWe.displayName = "DataRouterNavigation";
-var pWe = B.createContext(!1), mWe = B.createContext({ isTransitioning: !1 });
-mWe.displayName = "ViewTransition";
-var hWe = B.createContext(null);
-hWe.displayName = "Fetchers";
-var gWe = B.createContext(null);
-gWe.displayName = "Await";
+var SWe = B.createContext(null);
+SWe.displayName = "DataRouterNavigation";
+var CWe = B.createContext(!1), wWe = B.createContext({ isTransitioning: !1 });
+wWe.displayName = "ViewTransition";
+var TWe = B.createContext(null);
+TWe.displayName = "Fetchers";
+var EWe = B.createContext(null);
+EWe.displayName = "Await";
var S5 = B.createContext(null);
S5.displayName = "Navigation";
var C5 = B.createContext(null);
@@ -75337,17 +75567,17 @@ var D5 = B.createContext(null);
D5.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var O5 = "REACT_ROUTER_ERROR", _We = "REDIRECT", vWe = "ROUTE_ERROR_RESPONSE";
-function yWe(e) {
- if (e.startsWith(`${O5}:${_We}:{`)) try {
+var O5 = "REACT_ROUTER_ERROR", DWe = "REDIRECT", OWe = "ROUTE_ERROR_RESPONSE";
+function kWe(e) {
+ if (e.startsWith(`${O5}:${DWe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function bWe(e) {
- if (e.startsWith(`${O5}:${vWe}:{`)) try {
+function AWe(e) {
+ if (e.startsWith(`${O5}:${OWe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new rWe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new pWe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
@@ -75359,12 +75589,12 @@ function A5() {
return $8(k5(), "useLocation() may be used only in the context of a <Router> component."), B.useContext(C5).location;
}
var j5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function xWe() {
- return B.useContext(T5) ? NWe() : SWe();
+function jWe() {
+ return B.useContext(T5) ? UWe() : MWe();
}
-function SWe() {
+function MWe() {
$8(k5(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = B.useContext(b5), { basename: t, navigator: n } = B.useContext(S5), { matches: r } = B.useContext(w5), { pathname: i } = A5(), a = JSON.stringify(QUe(r)), o = B.useRef(!1);
+ let e = B.useContext(b5), { basename: t, navigator: n } = B.useContext(S5), { matches: r } = B.useContext(w5), { pathname: i } = A5(), a = JSON.stringify(cWe(r)), o = B.useRef(!1);
return B.useLayoutEffect(() => {
o.current = !0;
}), B.useCallback((r, s = {}) => {
@@ -75373,8 +75603,8 @@ function SWe() {
n.go(r);
return;
}
- let c = $Ue(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : f5([t, c.pathname])), v5(typeof r == "string" ? r : NUe(r), n.createHref(c), g5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = lWe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : f5([t, c.pathname])), v5(typeof r == "string" ? r : UUe(r), n.createHref(c), g5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -75384,7 +75614,7 @@ function SWe() {
]);
}
B.createContext(null);
-function CWe(e, t) {
+function NWe(e, t) {
return M5(e, t);
}
function M5(e, t, n) {
@@ -75404,8 +75634,8 @@ function M5(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : PUe(e, { pathname: d });
- let p = kWe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : WUe(e, { pathname: d });
+ let p = zWe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
pathname: f5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
pathnameBase: e.pathnameBase === "/" ? s : f5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
@@ -75423,14 +75653,14 @@ function M5(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function wWe() {
- let e = MWe(), t = iWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function PWe() {
+ let e = HWe(), t = mWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ B.createElement(B.Fragment, null, /* @__PURE__ */ B.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ B.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ B.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var TWe = /* @__PURE__ */ B.createElement(wWe, null), EWe = class extends B.Component {
+var FWe = /* @__PURE__ */ B.createElement(PWe, null), IWe = class extends B.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -75438,7 +75668,7 @@ var TWe = /* @__PURE__ */ B.createElement(wWe, null), EWe = class extends B.Comp
error: e.error
};
}
- static contextType = pWe;
+ static contextType = CWe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -75459,25 +75689,25 @@ var TWe = /* @__PURE__ */ B.createElement(wWe, null), EWe = class extends B.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = bWe(e.digest);
+ let t = AWe(e.digest);
t && (e = t);
}
let t = e === void 0 ? this.props.children : /* @__PURE__ */ B.createElement(w5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ B.createElement(T5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ B.createElement(E5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ B.createElement(D5.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ B.createElement(DWe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ B.createElement(LWe, { error: e }, t) : t;
}
}, N5 = /* @__PURE__ */ new WeakMap();
-function DWe({ children: e, error: t }) {
+function LWe({ children: e, error: t }) {
let { basename: n, navigator: r } = B.useContext(S5);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = yWe(t.digest);
+ let e = kWe(t.digest);
if (e) {
let i = N5.get(t);
if (i) throw i;
- let a = oWe(e.location, n), o = a.absoluteURL || a.to;
- if (v5(e.location, o, g5(r), "allow-explicit"), uWe(o)) throw Error("Invalid redirect location");
+ let a = gWe(e.location, n), o = a.absoluteURL || a.to;
+ if (v5(e.location, o, g5(r), "allow-explicit"), bWe(o)) throw Error("Invalid redirect location");
if (m5 && !N5.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
@@ -75493,11 +75723,11 @@ function DWe({ children: e, error: t }) {
}
return e;
}
-function OWe({ routeContext: e, match: t, children: n }) {
+function RWe({ routeContext: e, match: t, children: n }) {
let r = B.useContext(b5);
return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ B.createElement(w5.Provider, { value: e }, /* @__PURE__ */ B.createElement(T5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ B.createElement(E5.Provider, { value: t.route.id }, n)));
}
-function kWe(e, t = [], n) {
+function zWe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -75528,16 +75758,16 @@ function kWe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: aWe(r.matches),
+ pattern: hWe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || TWe, o && (s < 0 && c === 0 ? (PWe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || FWe, o && (s < 0 && c === 0 ? (WWe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ B.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ B.createElement(OWe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ B.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ B.createElement(RWe, {
match: n,
routeContext: {
outlet: e,
@@ -75547,7 +75777,7 @@ function kWe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(EWe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ B.createElement(IWe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -75565,11 +75795,11 @@ function kWe(e, t = [], n) {
function P5(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function AWe(e) {
+function BWe(e) {
let t = B.useContext(b5);
return $8(t, P5(e)), t;
}
-function jWe(e) {
+function VWe(e) {
let t = B.useContext(x5);
return $8(t, P5(e)), t;
}
@@ -75577,12 +75807,12 @@ function F5(e) {
let t = B.useContext(E5);
return $8(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function MWe() {
- let e = B.useContext(D5), t = jWe("useRouteError"), n = F5("useRouteError");
+function HWe() {
+ let e = B.useContext(D5), t = VWe("useRouteError"), n = F5("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function NWe() {
- let { router: e } = AWe("useNavigate"), t = F5("useNavigate"), n = B.useRef(!1);
+function UWe() {
+ let { router: e } = BWe("useNavigate"), t = F5("useNavigate"), n = B.useRef(!1);
return B.useLayoutEffect(() => {
n.current = !0;
}), B.useCallback(async (r, i = {}) => {
@@ -75593,11 +75823,11 @@ function NWe() {
}, [e, t]);
}
var I5 = {};
-function PWe(e, t, n) {
+function WWe(e, t, n) {
!t && !I5[e] && (I5[e] = !0, e5(!1, n));
}
-B.memo(FWe);
-function FWe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+B.memo(GWe);
+function GWe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
let a = B.useContext(b5);
return $8(a, "You must render this element inside a <DataRouterContext.Provider> element"), M5(e, void 0, {
router: a.router,
@@ -75610,7 +75840,7 @@ function FWe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
function L5(e) {
$8(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function IWe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+function KWe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
$8(!k5(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = B.useMemo(() => ({
basename: s,
@@ -75653,8 +75883,8 @@ function IWe({ basename: e = "/", children: t = null, location: n, navigationTyp
value: h
}));
}
-function LWe({ children: e, location: t }) {
- return CWe(R5(e), t);
+function qWe({ children: e, location: t }) {
+ return NWe(R5(e), t);
}
B.Component;
function R5(e, t = []) {
@@ -75693,11 +75923,11 @@ function R5(e, t = []) {
//#endregion
//#region src/react/router/router.tsx
var z5 = (0, B.createContext)(0), B5 = (0, B.createContext)(null);
-function RWe({ children: e }) {
+function JWe({ children: e }) {
let [t, n] = (0, B.useState)(() => Ze.navigation);
return (0, B.useLayoutEffect)(() => (n(Ze.navigation), Ze.listen(n)), []), /* @__PURE__ */ (0, H.jsx)(z5.Provider, {
value: t.seq,
- children: /* @__PURE__ */ (0, H.jsx)(IWe, {
+ children: /* @__PURE__ */ (0, H.jsx)(KWe, {
location: t.location,
navigationType: t.action,
navigator: Ze,
@@ -75705,19 +75935,19 @@ function RWe({ children: e }) {
})
});
}
-function zWe() {
+function YWe() {
let e = (0, B.useContext)(z5);
return (0, B.useLayoutEffect)(() => {
queueMicrotask(() => Qe(e));
}, [e]), null;
}
-function BWe({ target: e }) {
- let t = xWe();
+function XWe({ target: e }) {
+ let t = jWe();
return (0, B.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function VWe(e, t, n) {
+function ZWe(e, t, n) {
let r = new URL(e, window.location.href);
if (!H8(r.pathname)) {
t.navigate(e);
@@ -75725,31 +75955,31 @@ function VWe(e, t, n) {
}
n(`${r.pathname}${r.search}${r.hash}`);
}
-function HWe() {
+function QWe() {
let e = (0, B.useContext)(B5), [t, n] = (0, B.useState)(Xe), r = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => (n(Xe()), Ye((e, t) => {
t ? (0, Dt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, B.useMemo)(() => (t) => {
- e && r.current && VWe(t, e, r.current);
+ e && r.current && ZWe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(BWe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, H.jsx)(UWe, {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(XWe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, H.jsx)($We, {
entry: t,
actions: e,
go: i
}, t.revision)) : null] });
}
-var UWe = (0, B.memo)(function({ entry: e, actions: t, go: n }) {
- return Z8(e.path) ? (0, Dt.createPortal)(kUe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+var $We = (0, B.memo)(function({ entry: e, actions: t, go: n }) {
+ return Z8(e.path) ? (0, Dt.createPortal)(zUe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function WWe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)(B5.Provider, {
+function eGe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(B5.Provider, {
value: t,
- children: /* @__PURE__ */ (0, H.jsxs)(RWe, { children: [
- /* @__PURE__ */ (0, H.jsx)(zWe, {}),
- /* @__PURE__ */ (0, H.jsx)(HWe, {}),
- /* @__PURE__ */ (0, H.jsxs)(LWe, { children: [
- DUe.map((e) => /* @__PURE__ */ (0, H.jsx)(L5, {
+ children: /* @__PURE__ */ (0, H.jsxs)(JWe, { children: [
+ /* @__PURE__ */ (0, H.jsx)(YWe, {}),
+ /* @__PURE__ */ (0, H.jsx)(QWe, {}),
+ /* @__PURE__ */ (0, H.jsxs)(qWe, { children: [
+ LUe.map((e) => /* @__PURE__ */ (0, H.jsx)(L5, {
path: e,
element: null
}, e)),
@@ -75766,11 +75996,11 @@ function WWe({ children: e, actions: t = null }) {
}) });
}
var V5 = null;
-function GWe(e) {
+function tGe(e) {
if (V5) return;
V5 = (0, Ot.createRoot)(document.createElement("div"));
let t = V5;
- (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(WWe, { actions: e })));
+ (0, Dt.flushSync)(() => t.render(/* @__PURE__ */ (0, H.jsx)(eGe, { actions: e })));
}
//#endregion
//#region src/number-setting.ts
@@ -75779,35 +76009,35 @@ function H5(e, t, n, r) {
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var KWe = (e) => {
+var nGe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function qWe({ openConfiguration: e }) {
- let t = bw({
- queryKey: PL,
- queryFn: ({ signal: e }) => FL(e)
+function rGe({ openConfiguration: e }) {
+ let t = gw({
+ queryKey: jL,
+ queryFn: ({ signal: e }) => ML(e)
}), n = t.data;
return /* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, H.jsxs)(PT, { children: [
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ children: [n ? /* @__PURE__ */ (0, H.jsxs)(AT, { children: [
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, H.jsx)(FT, {
+ /* @__PURE__ */ (0, H.jsx)(jT, {
term: "更新",
- children: KWe(n)
+ children: nGe(n)
})
- ] }) : /* @__PURE__ */ (0, H.jsx)(OT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
+ ] }) : /* @__PURE__ */ (0, H.jsx)(wT, { children: /* @__PURE__ */ (0, H.jsx)(Y, {
tone: "error",
title: "配置读取失败",
children: t.error ? G(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, H.jsx)(kT, {
+ }) }), /* @__PURE__ */ (0, H.jsx)(TT, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, H.jsx)(J, {
onClick: e,
@@ -75864,7 +76094,7 @@ function G5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function JWe({ field: e, label: t, max: n, value: r, hidden: a, onStep: o, onSettle: s }) {
+function iGe({ field: e, label: t, max: n, value: r, hidden: a, onStep: o, onSettle: s }) {
let c = (0, B.useRef)(null), l = (0, B.useRef)(null), u = (0, B.useRef)({
onStep: o,
onSettle: s
@@ -75899,7 +76129,7 @@ function JWe({ field: e, label: t, max: n, value: r, hidden: a, onStep: o, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var YWe = [
+var aGe = [
[
"strength",
"强度",
@@ -75926,7 +76156,7 @@ var YWe = [
100
]
];
-function XWe({ host: e, spot: t, index: r, glow: i }) {
+function oGe({ host: e, spot: t, index: r, glow: i }) {
let a = $e[r], o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), [l, u] = (0, B.useState)("all");
(0, B.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -75965,7 +76195,7 @@ function XWe({ host: e, spot: t, index: r, glow: i }) {
children: d
})]
}),
- /* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-down" })
+ /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, H.jsxs)("div", {
className: "popmenu",
@@ -76004,7 +76234,7 @@ function XWe({ host: e, spot: t, index: r, glow: i }) {
})]
});
}
-function ZWe({ host: e }) {
+function sGe({ host: e }) {
let t = e.store.value.homeGlow, n = at(t.preset);
return /* @__PURE__ */ (0, H.jsxs)("section", {
"data-glow-setting": "",
@@ -76023,7 +76253,7 @@ function ZWe({ host: e }) {
children: it(t.preset)
})]
}),
- /* @__PURE__ */ (0, H.jsx)(tD, {
+ /* @__PURE__ */ (0, H.jsx)(XE, {
store: e.store,
label: "光晕配色"
}),
@@ -76034,7 +76264,7 @@ function ZWe({ host: e }) {
}),
/* @__PURE__ */ (0, H.jsx)("div", {
"data-glow-fields": "",
- children: YWe.map(([r, i, a]) => /* @__PURE__ */ (0, H.jsx)(JWe, {
+ children: aGe.map(([r, i, a]) => /* @__PURE__ */ (0, H.jsx)(iGe, {
field: r,
label: i,
max: a,
@@ -76056,7 +76286,7 @@ function ZWe({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, H.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-glow-stops": "",
- children: nt.map((n, r) => /* @__PURE__ */ (0, H.jsx)(XWe, {
+ children: nt.map((n, r) => /* @__PURE__ */ (0, H.jsx)(oGe, {
host: e,
spot: n,
index: r,
@@ -76081,7 +76311,7 @@ function ZWe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var QWe = {
+var cGe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -76124,7 +76354,7 @@ var QWe = {
}
}, K5 = (e) => `peach.number.${e}`;
function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = QWe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);
+ let a = cGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, B.useRef)(0);
d.current ||= H5(Number(localStorage.getItem(K5(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, B.useState)(n ?? 0), [m, h] = (0, B.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, B.useState)(""), v = (0, B.useRef)(null), y = (0, B.useRef)(i);
y.current = i, (0, B.useLayoutEffect)(() => {
@@ -76203,7 +76433,7 @@ function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
//#endregion
//#region src/react/sidebar/sidebar-order.ts
function J5(e) {
- let { mutate: t } = Ej();
+ let { mutate: t } = xj();
return (0, B.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
@@ -76218,8 +76448,8 @@ function Y5(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var $We = "__home__", X5 = (e) => e === "" ? $We : e;
-function eGe({ host: e }) {
+var lGe = "__home__", X5 = (e) => e === "" ? lGe : e;
+function uGe({ host: e }) {
let t = J5(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), o = e.navCatalog.filter(([e]) => !n.includes(e)), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!1), [d, f] = (0, B.useState)(null), [p, m] = (0, B.useState)(null), h = (0, B.useRef)(null), g = (0, B.useRef)(null), v = (e, r, i) => {
let a = Y5(n, e, r, i);
a && t(a);
@@ -76281,9 +76511,9 @@ function eGe({ host: e }) {
/* @__PURE__ */ (0, H.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, H.jsx)(Ek, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, H.jsx)(Ek, { name: a ?? "" }),
+ /* @__PURE__ */ (0, H.jsx)(xk, { name: a ?? "" }),
/* @__PURE__ */ (0, H.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, H.jsxs)("span", {
@@ -76297,7 +76527,7 @@ function eGe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => y(e, -1),
- children: /* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -76307,7 +76537,7 @@ function eGe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => y(e, 1),
- children: /* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
@@ -76319,7 +76549,7 @@ function eGe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, H.jsx)(Ek, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "eye-off" })
})
]
})]
@@ -76339,13 +76569,13 @@ function eGe({ host: e }) {
ref: h,
onClick: S,
children: b ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
- /* @__PURE__ */ (0, H.jsx)(Ek, { name: b[2] ?? "" }),
+ /* @__PURE__ */ (0, H.jsx)(xk, { name: b[2] ?? "" }),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-sidebar-add-label": "",
children: b[1]
}),
- /* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(Ek, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: "check" }), /* @__PURE__ */ (0, H.jsx)("span", { children: "全部页面都已显示" })] })
}), o.length ? /* @__PURE__ */ (0, H.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -76363,7 +76593,7 @@ function eGe({ host: e }) {
onClick: () => {
c(X5(e)), x(), h.current?.focus();
},
- children: [/* @__PURE__ */ (0, H.jsx)(Ek, { name: n ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: t })]
+ children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: n ?? "" }), /* @__PURE__ */ (0, H.jsx)("span", { children: t })]
}, X5(e)))
}) : null]
}), /* @__PURE__ */ (0, H.jsx)("button", {
@@ -76389,7 +76619,7 @@ var Z5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], tGe = [
+], dGe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -76398,16 +76628,16 @@ var Z5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], nGe = [["desc", "降序"], ["asc", "升序"]], rGe = [
+], fGe = [["desc", "降序"], ["asc", "升序"]], pGe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], iGe = [
+], mGe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], aGe = [[
+], hGe = [[
"cover",
"官方封面",
""
@@ -76415,7 +76645,7 @@ var Z5 = [
"thumbnail",
"预览图",
""
-]], oGe = [
+]], gGe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -76440,19 +76670,19 @@ var Z5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], sGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
+], _Ge = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
}, n7 = 0, r7 = null;
-function cGe() {
+function vGe() {
return (!$5 || !e7?.isConnected) && ($5?.unmount(), e7 = document.createElement("div"), e7.dataset.settingsHost = "", document.body.append(e7), $5 = (0, Ot.createRoot)(e7)), $5;
}
function i7() {
let e = Q5;
- e && (0, Dt.flushSync)(() => cGe().render(/* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)(hGe, {
+ e && (0, Dt.flushSync)(() => vGe().render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(TGe, {
host: e,
view: t7
}) })));
@@ -76463,7 +76693,7 @@ function a7(e) {
...e
}, i7();
}
-async function lGe(e) {
+async function yGe(e) {
if (t7.machine === "summary") return;
let t = await e.configurable();
if (t7.open) {
@@ -76472,16 +76702,16 @@ async function lGe(e) {
return;
}
try {
- await IL(new AbortController().signal);
+ await NL(new AbortController().signal);
} catch {}
t7.open && a7({ machine: "summary" });
}
}
-function uGe(e = "") {
+function bGe(e = "") {
let t = Q5;
if (!t) return;
n(), n7 += 1, r7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = Z5.findIndex(([t]) => t === e), i = Xde();
+ let r = Z5.findIndex(([t]) => t === e), i = nfe();
a7({
open: !0,
closing: !1,
@@ -76489,7 +76719,7 @@ function uGe(e = "") {
tab: r >= 0 ? r : t7.tab
}), i.then((e) => {
e && t.syncRemote(e);
- }), lGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), yGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
function o7() {
if (!t7.open || t7.closing) return;
@@ -76507,24 +76737,24 @@ function o7() {
}
e7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var dGe = {
- open: uGe,
+var xGe = {
+ open: bGe,
close: o7,
isOpen: () => t7.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function fGe(e) {
- return Q5 = e, i7(), dGe;
+function SGe(e) {
+ return Q5 = e, i7(), xGe;
}
-function pGe(e) {
+function CGe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(sGe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(_Ge)].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 s7 = (e) => `settings-tab-${e}`, c7 = (e) => e === Z5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function mGe({ tab: e, epoch: t, onSelect: n }) {
+function wGe({ tab: e, epoch: t, onSelect: n }) {
let r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(e), s = (0, B.useRef)([]), c = (e, t) => {
let n = i.current;
if (!n) return;
@@ -76596,7 +76826,7 @@ function mGe({ tab: e, epoch: t, onSelect: n }) {
onPointerEnter: (e) => {
e.pointerType !== "touch" && c(e.currentTarget, !0);
},
- children: [/* @__PURE__ */ (0, H.jsx)(rue, { name: r }), t]
+ children: [/* @__PURE__ */ (0, H.jsx)(lue, { name: r }), t]
}, t))
]
});
@@ -76640,7 +76870,7 @@ var f7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, H.jsx)("small", {
...t,
dangerouslySetInnerHTML: { __html: e }
}), p7 = () => `${w("保存中")}<span>正在保存…</span>`, m7 = (e, t) => e instanceof Error && e.message || t;
-function hGe({ host: e, view: n }) {
+function TGe({ host: e, view: n }) {
(0, B.useSyncExternalStore)(e.store.subscribe, e.store.version);
let r = e.store.value, i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(n.tab), u = () => {
let [e, t] = [a.current, s.current];
@@ -76672,7 +76902,7 @@ function hGe({ host: e, view: n }) {
"aria-labelledby": "settingsTitle",
"data-closing": n.closing ? "" : void 0,
ref: i,
- onKeyDown: pGe,
+ onKeyDown: CGe,
onClick: (e) => {
e.target === e.currentTarget && o7();
},
@@ -76697,7 +76927,7 @@ function hGe({ host: e, view: n }) {
})
})]
}),
- /* @__PURE__ */ (0, H.jsx)(mGe, {
+ /* @__PURE__ */ (0, H.jsx)(wGe, {
tab: n.tab,
epoch: f,
onSelect: p
@@ -76759,23 +76989,23 @@ function hGe({ host: e, view: n }) {
r.homeGlow.on = t, m(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, H.jsx)(ZWe, { host: e }),
+ /* @__PURE__ */ (0, H.jsx)(sGe, { host: e }),
/* @__PURE__ */ (0, H.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, H.jsxs)("span", { children: [/* @__PURE__ */ (0, H.jsx)("b", {
id: "sidebarOrderTitle",
children: "左侧导航"
- }), /* @__PURE__ */ (0, H.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, H.jsx)(eGe, { host: e })]
+ }), /* @__PURE__ */ (0, H.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, H.jsx)(uGe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(_Ge, {
+ /* @__PURE__ */ (0, H.jsx)(DGe, {
host: e,
tab: n.tab,
epoch: f
}),
- /* @__PURE__ */ (0, H.jsx)(yGe, {
+ /* @__PURE__ */ (0, H.jsx)(kGe, {
host: e,
tab: n.tab,
epoch: f
@@ -76783,12 +77013,12 @@ function hGe({ host: e, view: n }) {
/* @__PURE__ */ (0, H.jsx)(l7, {
index: 3,
tab: n.tab,
- children: /* @__PURE__ */ (0, H.jsx)(xGe, {
+ children: /* @__PURE__ */ (0, H.jsx)(jGe, {
host: e,
epoch: f
})
}),
- /* @__PURE__ */ (0, H.jsx)(SGe, {
+ /* @__PURE__ */ (0, H.jsx)(MGe, {
host: e,
tab: n.tab,
epoch: f
@@ -76808,7 +77038,7 @@ function hGe({ host: e, view: n }) {
/* @__PURE__ */ (0, H.jsx)(l7, {
index: 6,
tab: n.tab,
- children: /* @__PURE__ */ (0, H.jsx)(wGe, {
+ children: /* @__PURE__ */ (0, H.jsx)(PGe, {
host: e,
machine: n.machine
})
@@ -76819,7 +77049,7 @@ function hGe({ host: e, view: n }) {
})
});
}
-function gGe(e, t) {
+function EGe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = l("arrow-up", "arrow-down", "a", {
@@ -76829,7 +77059,7 @@ function gGe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function _Ge({ host: e, tab: t, epoch: n }) {
+function DGe({ 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, H.jsxs)(l7, {
index: 1,
@@ -76862,7 +77092,7 @@ function _Ge({ host: e, tab: t, epoch: n }) {
children: [/* @__PURE__ */ (0, H.jsx)(G5, {
id: "defaultSortSetting",
label: "默认排序",
- options: tGe,
+ options: dGe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
@@ -76871,7 +77101,7 @@ function _Ge({ host: e, tab: t, epoch: n }) {
}), /* @__PURE__ */ (0, H.jsx)(G5, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: nGe,
+ options: fGe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -76880,7 +77110,7 @@ function _Ge({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => gGe(e, o)
+ decorate: (e) => EGe(e, o)
})]
})
}),
@@ -76904,14 +77134,14 @@ function _Ge({ host: e, tab: t, epoch: n }) {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: aGe,
+ options: hGe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
text: !0,
epoch: n,
onChoose: (t) => {
- r.javImage = ZD(t), i(), e.changed("javImage");
+ r.javImage = KD(t), i(), e.changed("javImage");
}
})
}),
@@ -76941,7 +77171,7 @@ function _Ge({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- oGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, H.jsx)(vGe, {
+ gGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, H.jsx)(OGe, {
host: e,
id: t,
settingKey: n,
@@ -76953,8 +77183,8 @@ function _Ge({ host: e, tab: t, epoch: n }) {
]
});
}
-function vGe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
- let s = Ej(), [c, l] = (0, B.useState)(null), u = (0, B.useRef)(null), d = e.store.value, f = (t) => {
+function OGe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
+ let s = xj(), [c, l] = (0, B.useState)(null), u = (0, B.useRef)(null), d = e.store.value, f = (t) => {
l(t), x(u.current), s.mutate({ [n]: t }, {
onSuccess: (i) => {
d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -76982,7 +77212,7 @@ function vGe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function yGe({ host: e, tab: t, epoch: n }) {
+function kGe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, H.jsxs)(l7, {
index: 2,
@@ -77036,7 +77266,7 @@ function yGe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, H.jsx)(bGe, { epoch: n }),
+ /* @__PURE__ */ (0, H.jsx)(AGe, { epoch: n }),
/* @__PURE__ */ (0, H.jsx)(d7, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
@@ -77055,15 +77285,15 @@ function yGe({ host: e, tab: t, epoch: n }) {
]
});
}
-function bGe({ epoch: e }) {
- let t = bw({
- queryKey: Cj,
- queryFn: ({ signal: e }) => Tj(e)
- }), n = Qde(), r = n.reset;
+function AGe({ epoch: e }) {
+ let t = gw({
+ queryKey: vj,
+ queryFn: ({ signal: e }) => bj(e)
+ }), n = ife(), r = n.reset;
(0, B.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(efe(t.data)) : "读取运行状态…";
+ let i = t.data?.mode || "off", a = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : t.data ? h7(ofe(t.data)) : "读取运行状态…";
return /* @__PURE__ */ (0, H.jsx)(d7, {
title: "视频缩略图采集",
description: /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, H.jsx)(f7, {
@@ -77074,7 +77304,7 @@ function bGe({ epoch: e }) {
children: /* @__PURE__ */ (0, H.jsx)(G5, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: rGe,
+ options: pGe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -77082,8 +77312,8 @@ function bGe({ epoch: e }) {
})
});
}
-function xGe({ host: e, epoch: t }) {
- let n = e.store.value, r = Ej();
+function jGe({ host: e, epoch: t }) {
+ let n = e.store.value, r = xj();
return /* @__PURE__ */ (0, H.jsx)(d7, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
@@ -77100,8 +77330,8 @@ function xGe({ host: e, epoch: t }) {
})
});
}
-function SGe({ host: e, tab: t, epoch: n }) {
- let r = e.store.value, i = Ej(), a = Ej(), [o, s] = (0, B.useState)("");
+function MGe({ host: e, tab: t, epoch: n }) {
+ let r = e.store.value, i = xj(), a = xj(), [o, s] = (0, B.useState)("");
(0, B.useEffect)(() => {
s("");
}, [n]);
@@ -77136,14 +77366,14 @@ function SGe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, H.jsx)(CGe, { epoch: n }),
+ /* @__PURE__ */ (0, H.jsx)(NGe, { epoch: n }),
/* @__PURE__ */ (0, H.jsx)(d7, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
children: /* @__PURE__ */ (0, H.jsx)(G5, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: iGe,
+ options: mGe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
@@ -77155,15 +77385,15 @@ function SGe({ host: e, tab: t, epoch: n }) {
]
});
}
-function CGe({ epoch: e }) {
- let t = bw({
- queryKey: Sj,
- queryFn: ({ signal: e }) => wj(e)
- }), n = Zde(), r = n.reset;
+function NGe({ epoch: e }) {
+ let t = gw({
+ queryKey: _j,
+ queryFn: ({ signal: e }) => yj(e)
+ }), n = rfe(), r = n.reset;
(0, B.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7($de(i)) : "读取运行状态…";
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? p7() : t.isFetching ? f("正在读取状态") : n.isError ? h7(m7(n.error, "保存失败")) : t.isError ? h7(`状态未取得:${m7(t.error, String(t.error))}`) : i ? h7(afe(i)) : "读取运行状态…";
return /* @__PURE__ */ (0, H.jsx)(d7, {
title: "关注自动更新",
description: /* @__PURE__ */ (0, H.jsx)(f7, {
@@ -77183,12 +77413,12 @@ function CGe({ epoch: e }) {
})
});
}
-function wGe({ host: e, machine: t }) {
+function PGe({ host: e, machine: t }) {
return t === "summary" ? /* @__PURE__ */ (0, H.jsx)("div", {
id: "machineSettings",
children: /* @__PURE__ */ (0, H.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, H.jsx)(qWe, { openConfiguration: () => {
+ children: /* @__PURE__ */ (0, H.jsx)(rGe, { openConfiguration: () => {
o7(), e.openConfiguration();
} })
})
@@ -77202,7 +77432,7 @@ function h7(e) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var g7 = "__home__", TGe = {
+var g7 = "__home__", FGe = {
creator: 26,
tag: 30,
tech: 16
@@ -77215,13 +77445,13 @@ function S7() {
let e = v7;
if (!e || !y7) return;
let t = b7, n = x7;
- (0, Dt.flushSync)(() => y7.render(/* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)(OGe, {
+ (0, Dt.flushSync)(() => y7.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(RGe, {
host: e,
props: t,
epoch: n
}) })));
}
-var EGe = {
+var IGe = {
render(e) {
b7 = e, S7();
},
@@ -77229,23 +77459,23 @@ var EGe = {
x7 += 1, S7();
}
};
-function DGe(e) {
+function LGe(e) {
return v7 = e, b7 = {
content: null,
filters: {},
latest: null
- }, e.scroll.replaceChildren(), y7 = (0, Ot.createRoot)(e.scroll), S7(), e.attached(), EGe;
+ }, e.scroll.replaceChildren(), y7 = (0, Ot.createRoot)(e.scroll), S7(), e.attached(), IGe;
}
-function OGe({ host: e, props: t, epoch: n }) {
+function RGe({ host: e, props: t, epoch: n }) {
let r = (0, B.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, H.jsx)(kGe, {
+ /* @__PURE__ */ (0, H.jsx)(zGe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, H.jsx)(jGe, {
+ t.content ? /* @__PURE__ */ (0, H.jsx)(VGe, {
host: e,
content: t.content,
filters: t.filters,
@@ -77253,7 +77483,7 @@ function OGe({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function kGe({ host: e, epoch: t, version: n }) {
+function zGe({ host: e, epoch: t, version: n }) {
let r = J5(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, B.useRef)(null), l = (0, B.useRef)(null), u = Sr(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || g7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, B.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
@@ -77310,7 +77540,7 @@ function kGe({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, H.jsx)(Ek, { name: r }), /* @__PURE__ */ (0, H.jsx)("span", { children: n })]
+ }) : /* @__PURE__ */ (0, H.jsx)(xk, { name: r }), /* @__PURE__ */ (0, H.jsx)("span", { children: n })]
}, t || g7))
}), v ? (0, Dt.createPortal)(/* @__PURE__ */ (0, H.jsx)("span", {
"data-sidebar-glide": "",
@@ -77319,7 +77549,7 @@ function kGe({ host: e, epoch: t, version: n }) {
}), v) : null] });
}
var C7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function AGe(e) {
+function BGe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -77332,7 +77562,7 @@ function AGe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function jGe({ host: e, content: t, filters: n, latest: r }) {
+function VGe({ 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(",")}`;
(0, B.useLayoutEffect)(() => {
t.kind === "catalog" && h(e.scroll, "drawer");
@@ -77341,8 +77571,8 @@ function jGe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? MGe(e, t.facets, n, r, i) : [NGe(e, t.tags, new Set(t.selected))], o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, H.jsx)(PGe, {
+ let a = t.kind === "catalog" ? HGe(e, t.facets, n, r, i) : [UGe(e, t.tags, new Set(t.selected))], o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, H.jsx)(WGe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -77351,8 +77581,8 @@ function jGe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function MGe(e, t, n, r, i) {
- let a = AGe(r), o = (t, r, i) => {
+function HGe(e, t, n, r, i) {
+ let a = BGe(r), o = (t, r, i) => {
if (!t.length) return null;
let o = C7(n, r);
return /* @__PURE__ */ (0, H.jsx)(E7, {
@@ -77377,12 +77607,12 @@ function MGe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, H.jsx)(IGe, {
+ body: /* @__PURE__ */ (0, H.jsx)(KGe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: TGe[d],
+ limit: FGe[d],
filterKey: l,
selected: f,
counts: a,
@@ -77397,7 +77627,7 @@ function MGe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, H.jsx)(LGe, {
+ body: /* @__PURE__ */ (0, H.jsx)(qGe, {
host: e,
filters: n
})
@@ -77420,7 +77650,7 @@ function MGe(e, t, n, r, i) {
} : null
];
}
-function NGe(e, t, n) {
+function UGe(e, t, n) {
return t.length ? {
title: "内容标签",
kind: "online",
@@ -77440,7 +77670,7 @@ function w7(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function PGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function WGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
let o = (0, B.useRef)(null), s = (0, B.useRef)(null), [c, l] = (0, B.useState)(() => w7(e, n)), u = (0, B.useRef)(!1);
(0, B.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -77466,7 +77696,7 @@ function PGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-right" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-right" }), /* @__PURE__ */ (0, H.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, H.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -77487,8 +77717,8 @@ function PGe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var T7 = (0, B.createContext)(() => {});
-function FGe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, H.jsx)(Ek, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, H.jsx)("img", {
+function GGe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, H.jsx)(xk, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, H.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
@@ -77511,7 +77741,7 @@ function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
title: e.offline,
onClick: () => a.toggleChip(t, e.value, n),
children: [
- /* @__PURE__ */ (0, H.jsx)(FGe, { dot: e.dot }),
+ /* @__PURE__ */ (0, H.jsx)(GGe, { dot: e.dot }),
/* @__PURE__ */ (0, H.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -77526,7 +77756,7 @@ function E7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
})
});
}
-function IGe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: l, expandable: u }) {
+function KGe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: l, expandable: u }) {
let d = (0, B.useContext)(T7), [f, p] = (0, B.useState)(null), [m, h] = (0, B.useState)(e);
m !== e && (h(e), p(null));
let g = (0, B.useRef)(null), _ = (0, B.useRef)(null), v = !!f?.all, y = f ? f.rows : n;
@@ -77567,7 +77797,7 @@ function IGe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !v
}), v && d());
},
- children: /* @__PURE__ */ (0, H.jsx)(Ek, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, H.jsx)(xk, { name: "chevron-down" })
}) : null] });
}
function D7({ rows: e, host: t, selected: n, badges: r }) {
@@ -77592,7 +77822,7 @@ function D7({ rows: e, host: t, selected: n, badges: r }) {
});
}
var O7 = (e, t) => e ? Math.min(_7, Number(e) / 60) : t;
-function LGe({ host: e, filters: t }) {
+function qGe({ host: e, filters: t }) {
let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, B.useState)(n), [a, o] = (0, B.useState)(() => [O7(t.dur_min, 0), O7(t.dur_max, _7)]), [s, c] = (0, B.useState)("max");
r !== n && (i(n), o([O7(t.dur_min, 0), O7(t.dur_max, _7)]));
let [l, u] = a, d = (0, B.useRef)(null), f = (0, B.useRef)(null), p = (0, B.useRef)(null), m = (0, B.useRef)(a);
@@ -77662,17 +77892,17 @@ function LGe({ host: e, filters: t }) {
}
//#endregion
//#region src/board-skeleton.ts
-var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, RGe = () => `${k7("80%")}${k7("48%")}`, zGe = (e, t) => e.repeat(t);
-function BGe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${k7("85%")}${k7("65%")}${zGe(RGe(), 4)}</div></aside></div>`;
+var k7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, JGe = () => `${k7("80%")}${k7("48%")}`, YGe = (e, t) => e.repeat(t);
+function XGe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${k7("85%")}${k7("65%")}${YGe(JGe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var A7 = (e) => ["follow-item", e], VGe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, HGe = "/api/follow/save", UGe = "/api/follow/media/hide";
+var A7 = (e) => ["follow-item", e], ZGe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, QGe = "/api/follow/save", $Ge = "/api/follow/media/hide";
async function j7(e, t) {
- let n = await K(VGe(e), t);
+ let n = await K(ZGe(e), t);
for (let t of n.groups || []) {
- let r = dF(t).find((t) => t.id === e);
+ let r = cF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -77682,10 +77912,10 @@ async function j7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function WGe(e, t) {
- let n = A7(e.id), r = She(e.id), i = z.getQueryData(sF) ? null : z.fetchQuery({
- queryKey: sF,
- queryFn: () => cF(t)
+async function eKe(e, t) {
+ let n = A7(e.id), r = Fhe(e.id), i = z.getQueryData(iF) ? null : z.fetchQuery({
+ queryKey: iF,
+ queryFn: () => aF(t)
});
r ? z.setQueryData(n, {
...r,
@@ -77695,8 +77925,8 @@ async function WGe(e, t) {
queryFn: () => j7(e.id, t)
}), await i;
}
-function GGe(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 && gF(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);
+function tKe(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 && pF(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,
selected: s,
@@ -77710,32 +77940,32 @@ function GGe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var KGe = (e) => dF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), qGe = {
+var nKe = (e) => cF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), rKe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, JGe = {
+}, iKe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function YGe(e) {
+function aKe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return qGe[t] || t;
+ return rKe[t] || t;
} catch {
return "外部文件页";
}
}
function M7(e, t) {
- return JGe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return iKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function XGe(e, t, n = "") {
+function oKe(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;
@@ -77744,16 +77974,16 @@ function XGe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var ZGe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", QGe = /* @__PURE__ */ new Set([
+var sKe = (e) => String(e.name || "").trim(), N7 = (e, t) => e.tag_types?.[t] || "unknown", cKe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function $Ge(e, t) {
+function lKe(e, t) {
let n = N7(e, t);
- return `r34-${QGe.has(n) ? n : "general"}`;
+ return `r34-${cKe.has(n) ? n : "general"}`;
}
var P7 = [
"copyright",
@@ -77762,23 +77992,23 @@ var P7 = [
"general",
"metadata"
];
-function eKe(e, t) {
+function uKe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = P7.indexOf(N7(e, t));
return n < 0 ? P7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function tKe(e, t) {
+function dKe(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 nKe = (e, t) => ({
+var fKe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), F7 = (e) => e?.size ? { size: e.size } : {};
-function rKe(e, t) {
+function pKe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -77805,7 +78035,7 @@ function rKe(e, t) {
total: 1
}] : [];
}
-var iKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var mKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
function I7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
@@ -77859,29 +78089,29 @@ function L7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var aKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, H.jsxs)("h3", {
+var hKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, H.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, H.jsx)("span", { children: t })
]
-}), R7 = (e) => Number(e) > 0, oKe = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("span", {
+}), R7 = (e) => Number(e) > 0, gKe = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
}), z7 = L("external-link", "externalmark");
-function sKe(e) {
- let { id: t, actions: n } = e, r = bw({
+function _Ke(e) {
+ let { id: t, actions: n } = e, r = gw({
queryKey: A7(t),
queryFn: ({ signal: e }) => j7(t, e)
- }), i = bw({
- queryKey: sF,
- queryFn: ({ signal: e }) => cF(e)
+ }), i = gw({
+ queryKey: iF,
+ queryFn: ({ signal: e }) => aF(e)
}), a = (0, B.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, B.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, H.jsx)(cKe, {
+ return r.data ? /* @__PURE__ */ (0, H.jsx)(vKe, {
...e,
data: r.data,
- context: nKe(r.data, a),
+ context: fKe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, H.jsx)("div", {
@@ -77892,7 +78122,7 @@ function sKe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, H.jsx)(B7, { onClose: n.close }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, H.jsx)(lA, {
+ children: r.isError ? /* @__PURE__ */ (0, H.jsx)(iA, {
message: ce(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -77909,8 +78139,8 @@ var B7 = ({ onClose: e }) => /* @__PURE__ */ (0, H.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function cKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = GGe(s, c, n, i), u = fKe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, B.useState)({
+function vKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = tKe(s, c, n, i), u = SKe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, B.useState)({
key: "",
kind: ""
}), m = {
@@ -77930,7 +78160,7 @@ function cKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? KGe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, H.jsx)(W7, {
+ let h = !l.embedded.length && l.collection ? nKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, H.jsx)(W7, {
item: s,
current: l.selected.index,
helpers: a,
@@ -77943,7 +78173,7 @@ function cKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, H.jsx)(uKe, {
+ }) : /* @__PURE__ */ (0, H.jsx)(bKe, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -77954,7 +78184,7 @@ function cKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(lKe, {
+ /* @__PURE__ */ (0, H.jsx)(yKe, {
item: s,
media: l,
helpers: a,
@@ -77963,7 +78193,7 @@ function cKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, H.jsx)(dKe, {
+ /* @__PURE__ */ (0, H.jsx)(xKe, {
item: s,
data: e,
context: t,
@@ -77976,8 +78206,8 @@ function cKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function lKe({ 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, B.useRef)(null), [p, m] = (0, B.useState)(null), h = rKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, B.useState)(v), S = (0, B.useRef)({
+function yKe({ 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, B.useRef)(null), [p, m] = (0, B.useState)(null), h = pKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, B.useState)(v), S = (0, B.useRef)({
item: e,
selected: o
}), C = (0, B.useRef)(i.failed);
@@ -78014,7 +78244,7 @@ function lKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
src: b,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: h.length ? () => void TN(Math.max(0, l), h) : void 0,
+ onClick: h.length ? () => void vN(Math.max(0, l), h) : void 0,
onError: () => {
if (y && b !== y) {
x(y), i.thumbFallback();
@@ -78026,7 +78256,7 @@ function lKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: SF(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: yF(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, H.jsx)("span", { children: "没有可用预览" })]
}),
u ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
@@ -78084,8 +78314,8 @@ function U7(e) {
t && e.wireDrag(t);
}, [e]);
}
-function uKe({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = gF(e), a = U7(n);
+function bKe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = pF(e), a = U7(n);
return /* @__PURE__ */ (0, H.jsx)(I7, {
kind: "collection",
"data-follow-queue": "",
@@ -78094,7 +78324,7 @@ function uKe({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = XGe(e, n, i ? n.provider_label : ""), o = i ? SF(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = oKe(e, n, i ? n.provider_label : ""), o = i ? yF(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, H.jsxs)(L7, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -78117,7 +78347,7 @@ function uKe({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, H.jsx)("time", {
dateTime: n.published_at || "",
- children: kF(n)
+ children: EF(n)
})]
})]
}, n.id);
@@ -78142,7 +78372,7 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, H.jsx)(aKe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, H.jsx)(hKe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, H.jsxs)(L7, {
@@ -78154,7 +78384,7 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, H.jsx)(H7, { src: n.thumb_url }) : /* @__PURE__ */ (0, H.jsx)(V7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, H.jsx)("b", {
"data-middle-truncate": "",
- children: ZGe(n)
+ children: sKe(n)
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78162,13 +78392,13 @@ function W7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function dKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function xKe({ 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 = DF(d, e), p = TF(e, tKe(e, t.sources), n), m = p.credited ? "" : e.author && re(e.author) !== re(p.author) ? e.author : "", h = OF(e, n), g = eKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = wF(d, e), p = SF(e, dKe(e, t.sources), n), m = p.credited ? "" : e.author && re(e.author) !== re(p.author) ? e.author : "", h = TF(e, n), g = uKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78184,7 +78414,7 @@ function dKe({ 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: EF(d, e) + P(e.title) }
+ dangerouslySetInnerHTML: { __html: CF(d, e) + P(e.title) }
}), e.url ? /* @__PURE__ */ (0, H.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -78211,7 +78441,7 @@ function dKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, H.jsx)("span", { children: kF(e) }),
+ /* @__PURE__ */ (0, H.jsx)("span", { children: EF(e) }),
R7(e.duration) ? /* @__PURE__ */ (0, H.jsx)("span", { children: ne(e.duration) }) : null,
f ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-follow-badges": "",
@@ -78245,7 +78475,7 @@ function dKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [YGe(e), /* @__PURE__ */ (0, H.jsx)("span", {
+ children: [aKe(e), /* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: z7 }
})]
@@ -78354,7 +78584,7 @@ function dKe({ 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, H.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, H.jsx)(oKe, { name: "image-off" }), /* @__PURE__ */ (0, H.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, H.jsx)(H7, { src: e.thumb_url }) : /* @__PURE__ */ (0, H.jsx)(gKe, { name: "image-off" }), /* @__PURE__ */ (0, H.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78368,7 +78598,7 @@ function dKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
- "data-tag-cat": $Ge(e, t),
+ "data-tag-cat": lKe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -78378,7 +78608,7 @@ function dKe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function fKe(e, t, n) {
+function SKe(e, t, n) {
let r = e.id, i = A7(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -78389,17 +78619,17 @@ function fKe(e, t, n) {
...t.item,
status: e
}
- }), whe(r, e);
+ }), Lhe(r, e);
}, d = (e) => {
c(ce(e) || "操作失败"), t.failure("更新关注状态", e);
- }, f = Cw({
- mutationFn: ({ to: e }) => q(xP, {
+ }, f = yw({
+ mutationFn: ({ to: e }) => q(vP, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && KI(), t.toast(iKe(n), { undo: i === "saved" ? void 0 : async () => {
- await q(xP, {
+ u(n), c(""), n === "ignored" && UI(), t.toast(mKe(n), { undo: i === "saved" ? void 0 : async () => {
+ await q(vP, {
item: r,
to: i
}), u(i);
@@ -78407,16 +78637,16 @@ function fKe(e, t, n) {
},
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
- }), p = Cw({
- mutationFn: () => q(HGe, { item: r }),
+ }), p = yw({
+ mutationFn: () => q(QGe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
onError: d,
onSettled: () => l("save", !1)
- }), m = Cw({
+ }), m = yw({
mutationFn: async ({ index: e, hidden: t }) => {
- await q(UGe, {
+ await q($Ge, {
item: r,
media: e,
hidden: t
@@ -78427,17 +78657,17 @@ function fKe(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = z.getQueryData(i);
- o && Che(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && Ihe(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
- }), h = bw({
- queryKey: T_e(r),
- queryFn: ({ signal: e }) => O_e(r, e)
- }).data?.want ?? null, g = Cw({
- mutationFn: async (e) => (e ? await GI([e.id]) : await WI({ follow: r }), !e),
+ }), h = gw({
+ queryKey: R_e(r),
+ queryFn: ({ signal: e }) => V_e(r, e)
+ }).data?.want ?? null, g = yw({
+ mutationFn: async (e) => (e ? await HI([e.id]) : await VI({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), KI();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), UI();
},
onError: d,
onSettled: () => l("want", !1)
@@ -78477,19 +78707,19 @@ function fKe(e, t, n) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function pKe(e) {
+function CKe(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 mKe(e) {
+function wKe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return pKe(n ?? t.body);
+ return CKe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var hKe = "/api/cover-crop", gKe = (e, t) => q(hKe, {
+var TKe = "/api/cover-crop", EKe = (e, t) => q(TKe, {
code: e,
box: t
});
@@ -78508,7 +78738,7 @@ function G7({ className: e }) {
children: /* @__PURE__ */ (0, H.jsx)("use", { href: "#i-crop" })
});
}
-function _Ke({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function DKe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, B.useState)(!1), o = (0, B.useRef)(null);
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("button", {
ref: o,
@@ -78521,13 +78751,13 @@ function _Ke({ code: e, coverUrl: t, box: n, onSaved: r }) {
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, H.jsx)(G7, { className: "size-3.75" })
}), /* @__PURE__ */ (0, H.jsx)(Gp, {
- getContainer: () => mKe(o.current),
- children: /* @__PURE__ */ (0, H.jsx)(zN, {
+ getContainer: () => wKe(o.current),
+ children: /* @__PURE__ */ (0, H.jsx)(MN, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, H.jsx)(vKe, {
+ children: /* @__PURE__ */ (0, H.jsx)(OKe, {
code: e,
coverUrl: t,
box: n,
@@ -78537,9 +78767,9 @@ function _Ke({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function vKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!0), d = mT(), f = Cw({
- mutationFn: (t) => gKe(e, t),
+function OKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, B.useState)(null), [s, c] = (0, B.useState)(null), [l, u] = (0, B.useState)(!0), d = uT(), f = yw({
+ mutationFn: (t) => EKe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -78551,15 +78781,15 @@ function vKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : Npe(e, QD);
- c(FN(t, e, null));
+ } : Vpe(e, qD);
+ c(ON(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, H.jsx)(BN, { children: /* @__PURE__ */ (0, H.jsx)(G7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, H.jsx)(NN, { children: /* @__PURE__ */ (0, H.jsx)(G7, { className: "size-6" }) }),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
@@ -78578,8 +78808,8 @@ function vKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsx)(gT, {
- icon: Bw,
+ /* @__PURE__ */ (0, H.jsx)(fT, {
+ icon: Iw,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -78589,24 +78819,24 @@ function vKe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, H.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, H.jsx)(HN, {
+ children: /* @__PURE__ */ (0, H.jsx)(FN, {
src: t,
- aspect: l ? QD : null,
+ aspect: l ? qD : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- NN(e) && p(e);
+ EN(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, H.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, H.jsx)(FI, {
+ children: [/* @__PURE__ */ (0, H.jsx)(MI, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(FN(s, a, QD));
+ u(e), e && s && a && c(ON(s, a, qD));
},
children: /* @__PURE__ */ (0, H.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -78642,14 +78872,14 @@ var K7 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function yKe(e) {
- let { queue: t, actions: n } = e, r = bw({
- queryKey: t ? aO(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => mO(t, e.helpers, n),
+function kKe(e) {
+ let { queue: t, actions: n } = e, r = gw({
+ queryKey: t ? eO(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => lO(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? _O(i, e.id) : t ? null : e.id, o = bw({
- queryKey: iO(a ?? 0),
- queryFn: ({ signal: e }) => pO(a, e),
+ }), i = t && r.data || null, a = i ? fO(i, e.id) : t ? null : e.id, o = gw({
+ queryKey: $D(a ?? 0),
+ queryFn: ({ signal: e }) => cO(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -78662,7 +78892,7 @@ function yKe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, H.jsx)(J7, { onClose: n.close }), /* @__PURE__ */ (0, H.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, H.jsx)(lA, {
+ children: e ? /* @__PURE__ */ (0, H.jsx)(iA, {
message: ce(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -78672,9 +78902,9 @@ function yKe(e) {
})
});
}
- return /* @__PURE__ */ (0, H.jsx)(bKe, {
+ return /* @__PURE__ */ (0, H.jsx)(AKe, {
...e,
- item: ole(o.data, i),
+ item: fle(o.data, i),
queue: i
}, o.data.id);
}
@@ -78687,36 +78917,36 @@ var J7 = ({ onClose: e }) => /* @__PURE__ */ (0, H.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function bKe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = IKe(t, r, i.tagLabel), o = (0, B.useRef)(t);
+function AKe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = KKe(t, r, i.tagLabel), o = (0, B.useRef)(t);
(0, B.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, B.useEffect)(() => {
- n?.kind === "playlist" && q(oO, {
+ n?.kind === "playlist" && q(tO, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = ble(t, i.sourceOffline(t.location || ""));
+ let s = Ele(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(xKe, {
+ /* @__PURE__ */ (0, H.jsx)(jKe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, H.jsx)(CKe, {
+ n ? /* @__PURE__ */ (0, H.jsx)(NKe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, H.jsx)(EKe, {
+ /* @__PURE__ */ (0, H.jsx)(IKe, {
item: t,
queue: n,
write: a,
@@ -78724,9 +78954,9 @@ function bKe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, H.jsx)(FKe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, H.jsx)(GKe, { ...e }) : null] });
}
-function xKe({ item: e, gate: t, helpers: n, actions: r }) {
+function jKe({ item: e, gate: t, helpers: n, actions: r }) {
let [i, a] = (0, B.useState)(t ? "" : "auto"), o = (0, B.useRef)(null), s = (0, B.useRef)(e);
(0, B.useLayoutEffect)(() => {
let e = o.current;
@@ -78737,7 +78967,7 @@ function xKe({ item: e, gate: t, helpers: n, actions: r }) {
ref: o,
"data-stage-media": "",
"data-item-media": t || "video",
- children: [/* @__PURE__ */ (0, H.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, H.jsx)(SKe, {
+ children: [/* @__PURE__ */ (0, H.jsx)(J7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, H.jsx)(MKe, {
item: e,
badge: c,
helpers: n,
@@ -78766,7 +78996,7 @@ function xKe({ item: e, gate: t, helpers: n, actions: r }) {
}) : null]
});
}
-function SKe({ item: e, badge: t, helpers: n, actions: r }) {
+function MKe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, B.useState)(!1), [o, s] = (0, B.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -78791,8 +79021,8 @@ function SKe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function CKe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = gle(e), a = (0, B.useRef)(null), o = TKe(e, t, r), s = (0, B.useRef)(o);
+function NKe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Sle(e), a = (0, B.useRef)(null), o = FKe(e, t, r), s = (0, B.useRef)(o);
s.current = o;
let c = (0, B.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -78800,7 +79030,7 @@ function CKe({ 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 = wKe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)("button", {
+ }, [n, e.kind]), l = PKe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, H.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -78828,10 +79058,10 @@ function CKe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, H.jsx)("i", {
- className: `javedition ${mle[i.edition_label] || "censored"}`,
+ className: `javedition ${ble[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && gO(i);
+ }) : null, s = e.kind === "playlist" && dO(i);
return /* @__PURE__ */ (0, H.jsxs)(L7, {
current: i.id === t,
"data-queue-item": i.id,
@@ -78871,14 +79101,14 @@ function CKe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? TO(i.part_label) : be(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? bO(i.part_label) : be(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function wKe(e, t) {
- let n = Cw({ mutationFn: (t) => q(oO, {
+function PKe(e, t) {
+ let n = yw({ mutationFn: (t) => q(tO, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -78891,14 +79121,14 @@ function wKe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function TKe(e, t, n) {
- let i = aO({
+function FKe(e, t, n) {
+ let i = eO({
kind: "playlist",
playlistId: e.playlistId
- }), a = (e) => (z.setQueryData(i, hO(e)), e), o = (t) => q(oO, {
+ }), a = (e) => (z.setQueryData(i, uO(e)), e), o = (t) => q(tO, {
id: e.playlistId,
...t
- }).then((e) => e.playlist), s = Cw({
+ }).then((e) => e.playlist), s = yw({
mutationFn: (e) => o({
action: "reorder",
asset_ids: e
@@ -78911,8 +79141,8 @@ function TKe(e, t, n) {
return {
move: async (t, r, i) => {
if (e.kind !== "playlist") return;
- let l = vle(c, t, r, i);
- if (yle(l, c)) return;
+ let l = wle(c, t, r, i);
+ if (Tle(l, c)) return;
let u = c;
await s.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
a(await o({
@@ -78958,7 +79188,7 @@ function TKe(e, t, n) {
}
};
}
-function EKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function IKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, B.useState)(!1);
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-stage-side": "",
@@ -78966,7 +79196,7 @@ function EKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, H.jsx)(DKe, {
+ /* @__PURE__ */ (0, H.jsx)(LKe, {
item: e,
queue: t,
helpers: r,
@@ -78978,7 +79208,7 @@ function EKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, H.jsx)(kKe, {
+ /* @__PURE__ */ (0, H.jsx)(zKe, {
item: e,
write: n
}),
@@ -79013,18 +79243,18 @@ function EKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, H.jsx)(AKe, {
+ /* @__PURE__ */ (0, H.jsx)(BKe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, H.jsx)(jKe, {
+ /* @__PURE__ */ (0, H.jsx)(VKe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, H.jsx)(NKe, { item: e }),
+ /* @__PURE__ */ (0, H.jsx)(UKe, { item: e }),
/* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79126,7 +79356,7 @@ function EKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, H.jsx)(PKe, {
+ /* @__PURE__ */ (0, H.jsx)(WKe, {
item: e,
open: s,
write: n
@@ -79150,7 +79380,7 @@ function EKe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function DKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function LKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, B.useRef)(null), [o, s] = (0, B.useState)(!1), [c, l] = (0, B.useState)(!1);
(0, B.useLayoutEffect)(() => {
let e = a.current;
@@ -79160,7 +79390,7 @@ function DKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + _le(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Cle(e, t);
return /* @__PURE__ */ (0, H.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, H.jsxs)("div", {
@@ -79191,19 +79421,19 @@ function DKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && e.code ? /* @__PURE__ */ (0, H.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, H.jsx)(_Ke, {
+ children: /* @__PURE__ */ (0, H.jsx)(DKe, {
code: e.code,
coverUrl: pe(e),
box: e.poster_box || null,
onSaved: (t) => {
z.invalidateQueries({
- queryKey: iO(e.id),
+ queryKey: $D(e.id),
exact: !0
- }), rO((t) => t.code === e.code, { poster_box: t });
+ }), QD((t) => t.code === e.code, { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, H.jsx)(OKe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, H.jsx)(RKe, {
id: e.id,
actions: r,
onStatus: i
@@ -79213,7 +79443,7 @@ function DKe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function OKe({ id: e, actions: t, onStatus: n }) {
+function RKe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, B.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -79246,14 +79476,14 @@ function OKe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, H.jsx)(K7, { name: "folder-sync" })
})] });
}
-function kKe({ item: e, write: t }) {
- let n = yO(e.rating);
+function zKe({ item: e, write: t }) {
+ let n = mO(e.rating);
return /* @__PURE__ */ (0, H.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": vO(e.rating),
+ "data-value": pO(e.rating),
children: [/* @__PURE__ */ (0, H.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -79275,12 +79505,12 @@ function kKe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, H.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: lle(e.rating)
+ children: hle(e.rating)
})]
});
}
-function AKe({ item: e, actions: t }) {
- let n = (0, B.useMemo)(() => cle(e), [e]), [r, i] = (0, B.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function BKe({ item: e, actions: t }) {
+ let n = (0, B.useMemo)(() => mle(e), [e]), [r, i] = (0, B.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r, o = e === "performer" ? /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [/* @__PURE__ */ (0, H.jsx)("span", { children: n.name.slice(0, 1) }), /* @__PURE__ */ (0, H.jsx)(q7, { html: ge({
id: n.id,
hasImage: n.has_image,
@@ -79394,8 +79624,8 @@ function AKe({ item: e, actions: t }) {
]
});
}
-function jKe({ item: e, write: t, helpers: n, actions: r }) {
- let i = dle(e, n);
+function VKe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = _le(e, n);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -79416,14 +79646,14 @@ function jKe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, H.jsx)(K7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, H.jsx)(MKe, {
+ }, e.k)), /* @__PURE__ */ (0, H.jsx)(HKe, {
item: e,
write: t,
helpers: n
})]
});
}
-function MKe({ item: e, write: t, helpers: n }) {
+function HKe({ item: e, write: t, helpers: n }) {
let r = (0, B.useRef)(null), i = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(!1), [c, l] = (0, B.useState)(!1), [u, d] = (0, B.useState)(""), [f, p] = (0, B.useState)(""), [m, h] = (0, B.useState)(-1), g = (0, B.useCallback)(() => {
i.current && a(i.current), l(!1);
}, []);
@@ -79437,7 +79667,7 @@ function MKe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [c, g]);
- let v = c ? ple(f, n.tagCandidates(), wO()) : {
+ let v = c ? yle(f, n.tagCandidates(), yO()) : {
recent: [],
results: [],
create: ""
@@ -79465,12 +79695,12 @@ function MKe({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = m >= 0 ? y[m] : null;
- r ? b(r, r.n !== -1 && bO(e, r.k)) : u.trim() && (g(), t.addTag(u.trim()));
+ r ? b(r, r.n !== -1 && hO(e, r.k)) : u.trim() && (g(), t.addTag(u.trim()));
}
}
}, S = -1, C = (t) => {
S += 1;
- let r = S, i = bO(e, t.k);
+ let r = S, i = hO(e, t.k);
return /* @__PURE__ */ (0, H.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -79567,8 +79797,8 @@ function MKe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function NKe({ item: e }) {
- let t = xle(e);
+function UKe({ item: e }) {
+ let t = Dle(e);
return /* @__PURE__ */ (0, H.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
@@ -79602,7 +79832,7 @@ function NKe({ item: e }) {
})]
});
}
-function PKe({ item: e, open: t, write: n }) {
+function WKe({ item: e, open: t, write: n }) {
let [r, i] = (0, B.useState)(e.like_reason || ""), a = (0, B.useRef)(null);
(0, B.useEffect)(() => {
t && a.current?.focus();
@@ -79641,10 +79871,10 @@ function PKe({ item: e, open: t, write: n }) {
})]
});
}
-function FKe(e) {
- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = bw({
- queryKey: rle(t.id, n),
- queryFn: async ({ signal: e }) => (await K(ale(t.id, n), e)).items || []
+function GKe(e) {
+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = gw({
+ queryKey: lle(t.id, n),
+ queryFn: async ({ signal: e }) => (await K(dle(t.id, n), e)).items || []
}), [o] = (0, B.useState)(() => r.relatedSkeletonHtml()), c = (0, B.useCallback)((e) => {
e && (s(e), r.wireDrag(e));
}, [r]);
@@ -79657,7 +79887,7 @@ function FKe(e) {
ref: c,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, H.jsx)(EA, {
+ children: a.data ? /* @__PURE__ */ (0, H.jsx)(xA, {
mode: "items",
variant: "next",
items: a.data,
@@ -79674,8 +79904,8 @@ function FKe(e) {
})]
});
}
-function IKe(e, t, n) {
- let r = e.id, i = iO(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = (e, t) => o((n) => {
+function KKe(e, t, n) {
+ let r = e.id, i = $D(r), [a, o] = (0, B.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, B.useState)(""), [l, u] = (0, B.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => z.getQueryData(i) || e, p = (e) => {
@@ -79691,11 +79921,11 @@ function IKe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return nO(r, n), t;
+ return ZD(r, n), t;
}, m = (e, t) => q(e, {
id: r,
...t
- }), h = Cw({
+ }), h = yw({
mutationFn: ({ run: e }) => e(),
onError: (e, { action: n }) => t.failure(n, e),
onSettled: (e, t, { name: n }) => d(n, !1)
@@ -79706,7 +79936,7 @@ function IKe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(sO, t === void 0 ? { kind: e } : {
+ let n = await m(nO, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -79726,21 +79956,21 @@ function IKe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = ule(n, e);
- await _("rate", r), t.toast(r ? `已评 ${yO(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = gle(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${mO(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(EO(e, r), { undo: async () => {
+ t.toast(xO(e, r), { undo: async () => {
e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => g("later", "更新稍后看", async () => {
- let e = await m(lO, {});
+ let e = await m(iO, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(lO, {})).watch_later });
+ p({ watch_later: (await m(iO, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -79750,9 +79980,9 @@ function IKe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(uO, { wanted: !e.wanted });
+ }), r = await m(aO, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(uO, e));
+ n(await m(aO, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -79766,7 +79996,7 @@ function IKe(e, t, n) {
});
u("保存中…");
try {
- o(await m(dO, {
+ o(await m(oO, {
liked: a,
reason: i
}));
@@ -79776,7 +80006,7 @@ function IKe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(dO, r));
+ o(await m(oO, r));
} });
});
},
@@ -79785,11 +80015,11 @@ function IKe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => xO(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(cO, {
+ p((t) => gO(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(rO, {
operation: "add",
tag: e.k
- }), p((t) => SO(t, e));
+ }), p((t) => _O(t, e));
} });
}),
addTag: (e) => {
@@ -79798,14 +80028,14 @@ function IKe(e, t, n) {
(await m("/api/item-tag", {
operation: "add",
tag: r
- })).ok && (p((e) => SO(e, {
+ })).ok && (p((e) => _O(e, {
k: r,
cat: "general"
- })), fle(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
- await m(cO, {
+ })), vle(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
+ await m(rO, {
operation: "remove",
tag: r
- }), p((e) => xO(e, r));
+ }), p((e) => gO(e, r));
} }));
});
}
@@ -79814,16 +80044,16 @@ function IKe(e, t, n) {
//#endregion
//#region src/react/stage/stage-player.ts
var Y7 = null, X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = !1, t9 = 0, n9 = null, r9 = () => !1, i9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function LKe(e, t) {
- Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), mce({
+function qKe(e, t) {
+ Y7 = e, r9 = () => t.isOpen(), n9 = () => t.requestClose(), bce({
...e.player,
stage: () => document.getElementById("stage")
- }), hce({
+ }), xce({
inMiniplayer: (e) => X7?.player === e,
kind: (e) => X7?.player === e ? X7.kind : Z7?.kind ?? Q7?.kind ?? "item",
expand: () => S9(),
toMiniplayer: () => C9()
- }), a9 || (a9 = !0, addEventListener("pagehide", () => FD()));
+ }), a9 || (a9 = !0, addEventListener("pagehide", () => AD()));
}
var a9 = !1;
function o9() {
@@ -79833,10 +80063,10 @@ function o9() {
function s9(e) {
Q7 = e;
}
-var RKe = () => Q7;
+var JKe = () => Q7;
function c9(e, t) {
let { kind: n, item: r, media: i = null } = t, a = i9(n, r.id, i?.index ?? null);
- if (X7 && X7.key === a) return zKe(e, X7);
+ if (X7 && X7.key === a) return YKe(e, X7);
X7 && x9();
let o = {
player: null,
@@ -79848,7 +80078,7 @@ function c9(e, t) {
Z7 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = YD(s, {
+ let c = WD(s, {
kind: n,
item: r,
media: i,
@@ -79861,12 +80091,12 @@ function c9(e, t) {
});
return () => {
let e = !!o.player && X7?.player === o.player;
- Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), FD());
+ Z7 === o && (Z7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), AD());
};
}
-function zKe(e, t) {
+function YKe(e, t) {
let { player: n } = t;
- y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), qD(e), e.append(n.el()), uD(n);
+ y9(t), X7 = null, b9(), n.el().classList.remove("vjs-peach-mini"), HD(e), e.append(n.el()), aD(n);
let r = {
player: n,
kind: t.kind,
@@ -79875,22 +80105,22 @@ function zKe(e, t) {
key: t.key
};
Z7 = r;
- let i = JD(n, e);
- return dD(n), () => {
- Z7 === r && (Z7 = null), i(), X7?.player !== n && (lD() === n && uD(null), DD(n), FD());
+ let i = UD(n, e);
+ return oD(n), () => {
+ Z7 === r && (Z7 = null), i(), X7?.player !== n && (iD() === n && aD(null), SD(n), AD());
};
}
var l9 = () => {
let e = Z7?.player;
return e && !e.isDisposed() ? e : null;
};
-function BKe(e) {
+function XKe(e) {
let t = e9;
e9 = !1, X7?.pending && x9();
let n = Z7, r = n?.player, i = Q7;
if (!n || !r || r.isDisposed() || !i || !$7) return;
let a = o9().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && GKe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && tqe({
player: r,
kind: n.kind,
item: n.item,
@@ -79898,7 +80128,7 @@ function BKe(e) {
key: n.key
}, i);
}
-function VKe(e, t) {
+function ZKe(e, t) {
if (e9 = !1, X7) {
if (X7.kind === e && X7.item.id === t) {
X7.pending = !0, b9();
@@ -79911,11 +80141,11 @@ function u9(e) {
$7 = e, $7 && _9();
}
var d9 = () => !!X7 && !X7.pending && !X7.player.isDisposed();
-function HKe() {
+function QKe() {
return d9() ? $7?.frame.querySelector("video") ?? null : null;
}
-function UKe() {
- return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : HKe();
+function $Ke() {
+ return r9() ? document.getElementById("stage")?.querySelector("video") ?? null : QKe();
}
function f9(e) {
$7 && ($7.title.textContent = e.title || "", $7.sub.textContent = e.sub || "", $7.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -79964,7 +80194,7 @@ function v9(e) {
function y9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function WKe() {
+function eqe() {
let e = $7?.root;
if (!e) return;
let t = e.hidden;
@@ -79985,7 +80215,7 @@ function b9() {
e.style.transform = "";
}
}
-function GKe(e, t) {
+function tqe(e, t) {
if (!$7) return;
let n = {
...e,
@@ -79993,13 +80223,13 @@ function GKe(e, t) {
off: [],
pending: !1
};
- X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), WKe(), dD(e.player);
+ X7 = n, t9++, e.player.el().classList.add("vjs-peach-mini"), $7.frame.prepend(e.player.el()), f9(t), v9(n), eqe(), oD(e.player);
}
function x9() {
let e = X7;
e && y9(e), X7 = null, t9++;
let t = e?.player ?? null;
- t && lD() === t && uD(null), DD(t), t && FD(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), sD(), b9();
+ t && iD() === t && aD(null), SD(t), t && AD(), $7?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), nD(), b9();
}
function S9() {
if (!d9() || !X7) return;
@@ -80013,7 +80243,7 @@ function C9() {
}
r9() && l9() && n9 && (e9 = !0, n9());
}
-function KKe() {
+function nqe() {
let e = X7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -80026,7 +80256,7 @@ function w9(e) {
function T9(e) {
return !(!d9() || !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 || o9().sourceOffline(String(e.location ?? "")));
}
-async function qKe(e) {
+async function rqe(e) {
if (!d9() || !X7 || !$7) return;
let t = ++t9, n = await N(`/api/item?id=${e}`).catch(() => null);
if (t !== t9 || !d9() || !X7 || !$7 || !n || n.error) return;
@@ -80035,7 +80265,7 @@ async function qKe(e) {
return;
}
let r = X7;
- y9(r), lD() === r.player && uD(null), DD(r.player), FD(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ y9(r), iD() === r.player && aD(null), SD(r.player), AD(), $7.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", $7.frame.prepend(i);
let a = {
@@ -80044,14 +80274,14 @@ async function qKe(e) {
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- f9(a), YD(i, {
+ f9(a), WD(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
if (t !== t9) {
- r && lD() === r && uD(null), DD(r);
+ r && iD() === r && aD(null), SD(r);
return;
}
if (!r) {
@@ -80079,9 +80309,9 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, H.jsx)("use", { href: `#i-${e}` })
-}), JKe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
+}), iqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, D9 = (e) => (t) => {
t.stopPropagation(), e();
-}, YKe = (0, B.memo)(function() {
+}, aqe = (0, B.memo)(function() {
let e = (0, B.useRef)(null), t = (0, B.useRef)(null), n = (0, B.useRef)(null), r = (0, B.useRef)(null), i = (0, B.useRef)(null), a = (0, B.useRef)(null), o = (0, B.useRef)(null), s = (0, B.useRef)(null), c = (0, B.useRef)(null), l = (0, B.useRef)(null);
return (0, B.useLayoutEffect)(() => (u9({
root: e.current,
@@ -80093,7 +80323,7 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => u9(null)), []), (0, B.useEffect)(() => ZKe(e.current, t.current), []), /* @__PURE__ */ (0, H.jsx)("aside", {
+ }), () => u9(null)), []), (0, B.useEffect)(() => sqe(e.current, t.current), []), /* @__PURE__ */ (0, H.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -80143,8 +80373,8 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: D9(KKe),
- dangerouslySetInnerHTML: JKe
+ onClick: D9(nqe),
+ dangerouslySetInnerHTML: iqe
}),
/* @__PURE__ */ (0, H.jsx)("button", {
ref: o,
@@ -80183,7 +80413,7 @@ var E9 = ({ name: e }) => /* @__PURE__ */ (0, H.jsx)("svg", {
})
});
});
-function XKe(e, t, n) {
+function oqe(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
@@ -80205,7 +80435,7 @@ function XKe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function ZKe(e, t) {
+function sqe(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 = {
@@ -80231,7 +80461,7 @@ function ZKe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), XKe(e, i.dx, i.dy));
+ }, 0), oqe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -80251,21 +80481,21 @@ function L9() {
if (!O9) throw Error("舞台还没有接上宿主(configureStage)");
return O9;
}
-function QKe() {
+function cqe() {
return (!k9 || !A9?.isConnected) && (k9?.unmount(), A9 = document.createElement("div"), A9.dataset.stageHost = "", document.body.append(A9), k9 = (0, Ot.createRoot)(A9)), k9;
}
function R9() {
- let e = QKe();
- (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)($Ke, { view: j9 }) })));
+ let e = cqe();
+ (0, Dt.flushSync)(() => e.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(lqe, { view: j9 }) })));
}
-function $Ke({ view: e }) {
- return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e ? /* @__PURE__ */ (0, H.jsx)(eqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, H.jsx)(YKe, {})] });
+function lqe({ view: e }) {
+ return /* @__PURE__ */ (0, H.jsxs)(H.Fragment, { children: [e ? /* @__PURE__ */ (0, H.jsx)(uqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, H.jsx)(aqe, {})] });
}
var z9 = () => /* @__PURE__ */ (0, H.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: BGe() }
+ dangerouslySetInnerHTML: { __html: XGe() }
});
function B9(e) {
let t = e.currentTarget;
@@ -80273,7 +80503,7 @@ function B9(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function eqe({ view: e }) {
+function uqe({ view: e }) {
let t = (0, B.useRef)(null);
(0, B.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
@@ -80281,7 +80511,7 @@ function eqe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, H.jsx)(yKe, { ...r.props }) : /* @__PURE__ */ (0, H.jsx)(sKe, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, H.jsx)(kKe, { ...r.props }) : /* @__PURE__ */ (0, H.jsx)(_Ke, { ...r.props });
return /* @__PURE__ */ (0, H.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -80320,7 +80550,7 @@ function H9(e, t) {
let n = I9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function tqe(e) {
+function dqe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
@@ -80382,7 +80612,7 @@ function tqe(e) {
}
};
}
-function nqe(e, t) {
+function fqe(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 = () => {
@@ -80395,13 +80625,13 @@ function nqe(e, t) {
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function rqe(e) {
+async function pqe(e) {
j9 && U9({ miniplayer: !1 });
let t = ++M9, n = new AbortController();
- N9 = n, P9 = !1, F9 = !1, VKe(e.kind, e.id ?? NaN), j9 = {
+ N9 = n, P9 = !1, F9 = !1, ZKe(e.kind, e.id ?? NaN), j9 = {
generation: t,
request: e,
- content: tqe(e),
+ content: dqe(e),
phase: "skeleton"
}, R9();
let r = I9();
@@ -80409,7 +80639,7 @@ async function rqe(e) {
s(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = j9.content;
try {
- i.kind === "item" ? await sle(i.props, n.signal) : await WGe(i.props, n.signal);
+ i.kind === "item" ? await ple(i.props, n.signal) : await eKe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -80418,11 +80648,11 @@ async function rqe(e) {
j9 = {
...j9,
phase: a ? "content" : "reveal"
- }, R9(), a || nqe(r, t), v(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, R9(), a || fqe(r, t), v(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let o = document.activeElement;
(o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();
}
-function iqe() {
+function mqe() {
let e = I9();
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 = () => {
@@ -80434,11 +80664,11 @@ function iqe() {
}));
}
function U9({ miniplayer: e = !0 } = {}) {
- if (M9++, N9?.abort(), N9 = null, BKe(e), !j9) return;
+ if (M9++, N9?.abort(), N9 = null, XKe(e), !j9) return;
let t = I9();
- t && De(t), sD(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
+ t && De(t), nD(), t?.open && t.close(), j9 = null, P9 = !1, F9 = !1, R9(), s9(null), document.body.removeAttribute("data-detail-open");
}
-function aqe(e) {
+function hqe(e) {
!j9 || j9.content.kind !== "item" || (j9 = {
...j9,
content: {
@@ -80450,60 +80680,60 @@ function aqe(e) {
}
}, R9());
}
-function oqe() {
- let e = RKe(), t = e?.kind === "item" ? e.item : null, n = t ? me(t, L9().player.settings().javImage) : "";
+function gqe() {
+ let e = JKe(), t = e?.kind === "item" ? e.item : null, n = t ? me(t, L9().player.settings().javImage) : "";
if (!n) return;
let r = l9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var sqe = {
- open: rqe,
- update: aqe,
- exit: iqe,
+var _qe = {
+ open: pqe,
+ update: hqe,
+ exit: mqe,
dispose: U9,
requestClose: V9,
- repaintPoster: oqe,
+ repaintPoster: gqe,
isOpen: () => !!j9,
- activeVideo: () => UKe(),
+ activeVideo: () => $Ke(),
toggleTheater: () => {
- j9 && ED(!L9().player.settings().theaterMode);
+ j9 && xD(!L9().player.settings().theaterMode);
},
toggleMiniplayer: () => C9(),
closeMiniplayer: () => x9(),
miniplayerActive: () => d9(),
miniplayerTakesCard: (e) => T9(e),
miniplayerPlay: (e) => {
- qKe(e);
+ rqe(e);
}
};
-function cqe(e) {
- return O9 = e, LKe(e, {
+function vqe(e) {
+ return O9 = e, qKe(e, {
isOpen: () => !!j9,
requestClose: V9
- }), R9(), sqe;
+ }), R9(), _qe;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function lqe(e) {
+function yqe(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 uqe = (e) => {
+var bqe = (e) => {
switch (e) {
- case "success": return pqe;
- case "info": return hqe;
- case "warning": return mqe;
- case "error": return gqe;
+ case "success": return Cqe;
+ case "info": return Tqe;
+ case "warning": return wqe;
+ case "error": return Eqe;
default: return null;
}
-}, dqe = Array(12).fill(0), fqe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {
+}, xqe = Array(12).fill(0), Sqe = ({ visible: e, className: t }) => /*#__PURE__*/ B.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, dqe.map((e, t) => /*#__PURE__*/ B.createElement("div", {
+}, /*#__PURE__*/ B.createElement("div", { className: "sonner-spinner" }, xqe.map((e, t) => /*#__PURE__*/ B.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), pqe = /*#__PURE__*/ B.createElement("svg", {
+})))), Cqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80514,7 +80744,7 @@ var uqe = (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"
-})), mqe = /*#__PURE__*/ B.createElement("svg", {
+})), wqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -80525,7 +80755,7 @@ var uqe = (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"
-})), hqe = /*#__PURE__*/ B.createElement("svg", {
+})), Tqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80536,7 +80766,7 @@ var uqe = (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"
-})), gqe = /*#__PURE__*/ B.createElement("svg", {
+})), Eqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -80547,7 +80777,7 @@ var uqe = (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"
-})), _qe = /*#__PURE__*/ B.createElement("svg", {
+})), Dqe = /*#__PURE__*/ B.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -80568,7 +80798,7 @@ var uqe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), vqe = () => {
+})), Oqe = () => {
let [e, t] = B.useState(document.hidden);
return B.useEffect(() => {
let e = () => {
@@ -80576,7 +80806,7 @@ var uqe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, yqe = 1, bqe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : yqe++, G9 = new class {
+}, kqe = 1, Aqe = 100, W9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : kqe++, G9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -80586,7 +80816,7 @@ var uqe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - bqe;
+ let e = this.toasts.length - Aqe;
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 = W9(e), i = this.pendingDismissals.get(r);
@@ -80664,7 +80894,7 @@ var uqe = (e) => {
type: "default",
message: e
});
- else if (Sqe(e) && !e.ok) {
+ else if (Mqe(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" && !B.isValidElement(r) ? r : { message: r };
this.create({
@@ -80717,7 +80947,7 @@ var uqe = (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();
}
-}(), xqe = (e, t) => G9.message(e, t), Sqe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(xqe, {
+}(), jqe = (e, t) => G9.message(e, t), Mqe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", K9 = Object.assign(jqe, {
success: G9.success,
info: G9.info,
warning: G9.warning,
@@ -80731,20 +80961,20 @@ var uqe = (e) => {
getHistory: () => G9.toasts,
getToasts: () => G9.getActiveToasts()
});
-lqe("[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%)}");
+yqe("[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 q9(e) {
return e.label !== void 0;
}
-var Cqe = 3, wqe = "24px", Tqe = "16px", J9 = 4e3, Eqe = 356, Dqe = 14, Oqe = 45, kqe = 200;
+var Nqe = 3, Pqe = "24px", Fqe = "16px", J9 = 4e3, Iqe = 356, Lqe = 14, Rqe = 45, zqe = 200;
function Y9(...e) {
return e.filter(Boolean).join(" ");
}
-function Aqe(e) {
+function Bqe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var jqe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [ee, te] = B.useState(!1), [P, F] = B.useState(!1), [ne, I] = B.useState(!1), [re, L] = B.useState(0), [ie, ae] = B.useState(0), oe = B.useRef(n.duration || y || J9), se = B.useRef(null), ce = B.useRef(null), le = c === 0, R = c + 1 <= o, ue = n.type, de = ue ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = B.useMemo(() => n.duration || y || J9, [n.duration, y]), ve = B.useRef(0), ye = B.useRef(0), be = B.useRef(0), xe = B.useRef(null), [Se, Ce] = b.split("-"), we = B.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = vqe(), Ee = B.useMemo(() => e.swipeDirections ?? Aqe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = ue === "loading";
+var Vqe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = B.useState(null), [O, k] = B.useState(null), [A, j] = B.useState(!1), [M, N] = B.useState(!1), [ee, te] = B.useState(!1), [P, F] = B.useState(!1), [ne, I] = B.useState(!1), [re, L] = B.useState(0), [ie, ae] = B.useState(0), oe = B.useRef(n.duration || y || J9), se = B.useRef(null), ce = B.useRef(null), le = c === 0, R = c + 1 <= o, ue = n.type, de = ue ?? "default", fe = n.dismissible !== !1, pe = n.className || "", me = n.descriptionClassName || "", he = B.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ge = B.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), _e = B.useMemo(() => n.duration || y || J9, [n.duration, y]), ve = B.useRef(0), ye = B.useRef(0), be = B.useRef(0), xe = B.useRef(null), [Se, Ce] = b.split("-"), we = B.useMemo(() => s.reduce((e, t, n) => n >= he ? e : e + t.height, 0), [s, he]), Te = Oqe(), Ee = B.useMemo(() => e.swipeDirections ?? Bqe(b), [e.swipeDirections, b]), De = n.invert || t, Oe = ue === "loading";
ye.current = B.useMemo(() => he * x + we, [he, we]), B.useEffect(() => {
oe.current = _e;
}, [_e]), B.useEffect(() => {
@@ -80785,7 +81015,7 @@ var jqe = (e) => {
let ke = B.useCallback(() => {
N(!0), L(ye.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, kqe);
+ }, zqe);
}, [
n,
d,
@@ -80818,12 +81048,12 @@ var jqe = (e) => {
return w?.loading ? /*#__PURE__*/ B.createElement("div", {
className: Y9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": ue === "loading"
- }, w.loading) : /*#__PURE__*/ B.createElement(fqe, {
+ }, w.loading) : /*#__PURE__*/ B.createElement(Sqe, {
className: Y9(C?.loader, n?.classNames?.loader),
visible: ue === "loading"
});
}
- let Ae = n.icon || w?.[ue] || uqe(ue);
+ let Ae = n.icon || w?.[ue] || bqe(ue);
return /*#__PURE__*/ B.createElement("li", {
tabIndex: 0,
ref: ce,
@@ -80870,7 +81100,7 @@ var jqe = (e) => {
if (P || !fe) return;
xe.current = null;
let e = Number(ce.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ce.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - se.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Oqe || a > .11)) {
+ if ((E === "x" ? Ee.includes(e > 0 ? "right" : "left") : Ee.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Rqe || a > .11)) {
L(ye.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), ke(), F(!0);
return;
}
@@ -80911,7 +81141,7 @@ var jqe = (e) => {
ke(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: Y9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? _qe) : null, (ue || n.icon || n.promise) && n.icon !== null && (w?.[ue] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {
+ }, w?.close ?? Dqe) : null, (ue || n.icon || n.promise) && n.icon !== null && (w?.[ue] !== null || n.icon) ? /*#__PURE__*/ B.createElement("div", {
"data-icon": "",
className: Y9(C?.icon, n?.classNames?.icon)
}, ue === "loading" ? n.icon || z() : n.promise ? z() : null, ue === "loading" ? null : Ae) : null, /*#__PURE__*/ B.createElement("div", {
@@ -80946,10 +81176,10 @@ function X9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function Mqe(e, t) {
+function Hqe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Tqe : wqe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Fqe : Pqe;
function o(e) {
[
"top",
@@ -80970,8 +81200,8 @@ function Mqe(e, t) {
}) : o(a);
}), n;
}
-var Nqe = /*#__PURE__*/ B.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 = Cqe, toastOptions: g, dir: _ = X9(), gap: v = Dqe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = B.useState([]), w = B.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = B.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = B.useState([]), [O, k] = B.useState(!1), [A, j] = B.useState(!1), [M, N] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = B.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = B.useRef(null), F = B.useRef(!1), ne = B.useCallback((e) => {
+var Uqe = /*#__PURE__*/ B.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 = Nqe, toastOptions: g, dir: _ = X9(), gap: v = Lqe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = B.useState([]), w = B.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = B.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = B.useState([]), [O, k] = B.useState(!1), [A, j] = B.useState(!1), [M, N] = B.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = B.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = B.useRef(null), F = B.useRef(!1), ne = B.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || G9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return B.useEffect(() => G9.subscribe((e) => {
@@ -81057,10 +81287,10 @@ var Nqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${Eqe}px`,
+ "--width": `${Iqe}px`,
"--gap": `${v}px`,
...m,
- ...Mqe(l, u)
+ ...Hqe(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -81078,7 +81308,7 @@ var Nqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(jqe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ B.createElement(Vqe, {
key: n.id,
icons: y,
index: i,
@@ -81112,8 +81342,8 @@ var Nqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), Q9 = !1, Pqe = (e, t) => {
- Q9 || (Q9 = !0, (0, Ot.createRoot)(e).render(/* @__PURE__ */ (0, H.jsx)(Nqe, {
+}), Q9 = !1, Wqe = (e, t) => {
+ Q9 || (Q9 = !0, (0, Ot.createRoot)(e).render(/* @__PURE__ */ (0, H.jsx)(Uqe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -81134,7 +81364,7 @@ var Nqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
error: Z9(t.error, !1)
}
})));
-}, Fqe = (e, t) => {
+}, Gqe = (e, t) => {
let n = t.alert ? K9.error : K9.success, r = t.action;
n(/* @__PURE__ */ (0, H.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -81151,30 +81381,30 @@ var Nqe = /*#__PURE__*/ B.forwardRef(function(e, t) {
//#region src/react/entry.tsx
function $9(e) {
return (t, n) => {
- let r = (0, Ot.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, H.jsx)(qE, { children: /* @__PURE__ */ (0, H.jsx)(e, { ...t }) }));
+ let r = (0, Ot.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, H.jsx)(HE, { children: /* @__PURE__ */ (0, H.jsx)(e, { ...t }) }));
return (0, Dt.flushSync)(() => i(n)), {
update: i,
unmount: () => r.unmount()
};
};
}
-var Iqe = {
+var Kqe = {
"catalog-filter": {
prefetch: async () => {},
- mount: $9(Qie)
+ mount: $9(nae)
},
"feed-new": {
- prefetch: yae,
- mount: $9(Pae)
+ prefetch: Cae,
+ mount: $9(Rae)
},
"library-processing": {
- prefetch: (e, t) => Aw(t),
- mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, H.jsx)(Loe, { ...e }) : /* @__PURE__ */ (0, H.jsx)(BT, { ...e }))
+ prefetch: (e, t) => Ew(t),
+ mount: $9((e) => e.mode === "notice" ? /* @__PURE__ */ (0, H.jsx)(Uoe, { ...e }) : /* @__PURE__ */ (0, H.jsx)(FT, { ...e }))
},
search: {
prefetch: async () => {},
- mount: $9(dae)
+ mount: $9(hae)
}
};
//#endregion
-export { uce as configureBatchDock, fce as configureGlowPicker, Zle as configureImmerse, oue as configureManageHeader, GWe as configureRouter, fGe as configureSettingsPanel, DGe as configureSidebar, cqe as configureStage, Pqe as mountToaster, Iqe as pages, OUe as prefetchManagedRoute, Fqe as showToast };
+export { gce as configureBatchDock, vce as configureGlowPicker, rue as configureImmerse, fue as configureManageHeader, tGe as configureRouter, SGe as configureSettingsPanel, LGe as configureSidebar, vqe as configureStage, Wqe as mountToaster, Kqe as pages, RUe as prefetchManagedRoute, Gqe as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index b68654500..83c719401 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -2577,22 +2577,33 @@ function Er(e) {
!Sr || e <= br || (br = e, Sr());
}
//#endregion
-//#region src/board-controls.ts
+//#region src/diagnostics-route.ts
function Dr(e) {
+ window.peachRegisterRoute({
+ match: "/diagnostics",
+ section: "configuration",
+ title: "系统诊断",
+ refresh: "reopen",
+ open: (t, n) => e(n)
+ });
+}
+//#endregion
+//#region src/board-controls.ts
+function Or(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}%`);
}
-function Or() {
+function kr() {
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(Dr), Mr(e), Ar(e);
+ e.querySelectorAll("input[type=range]").forEach(Or), Nr(e), jr(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]") && Dr(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && Or(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && Dr(e.target);
+ e.target instanceof HTMLInputElement && e.target.type === "range" && Or(e.target);
});
let t = document.createElement("div");
t.className = "board-tooltip", t.id = "board-control-tooltip", t.role = "tooltip", t.hidden = !0, document.body.append(t);
@@ -2615,8 +2626,8 @@ function Or() {
n && ne(e, n) && o();
}, !0), window.addEventListener("resize", o);
}
-var kr = /* @__PURE__ */ new Map();
-function Ar(e) {
+var Ar = /* @__PURE__ */ new Map();
+function jr(e) {
let t = ".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;
@@ -2630,8 +2641,8 @@ function Ar(e) {
left: r.offsetLeft,
width: r.offsetWidth
};
- n(i), kr.set(t, i);
- }, i = kr.get(t);
+ n(i), Ar.set(t, i);
+ }, i = Ar.get(t);
i ? n(i) : r(), requestAnimationFrame(() => {
e.classList.add("board-tabs-ready"), requestAnimationFrame(r);
});
@@ -2651,15 +2662,15 @@ function Ar(e) {
o.observe(e);
});
}
-var jr = /* @__PURE__ */ new Map();
-function Mr(e) {
+var Mr = /* @__PURE__ */ new Map();
+function Nr(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 = jr.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = Mr.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -2668,7 +2679,7 @@ function Mr(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- ee(t, r, a, "x"), r = a, jr.set(n, a);
+ ee(t, r, a, "x"), r = a, Mr.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -2689,15 +2700,15 @@ function Mr(e) {
}
//#endregion
//#region src/theme-transition.ts
-var Nr = !1;
-async function Pr(e, t) {
- if (Nr) return;
+var Pr = !1;
+async function Fr(e, t) {
+ if (Pr) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
return;
}
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = Math.hypot(Math.max(r, innerWidth - r), Math.max(i, innerHeight - i)) * 2.5, o = document.createElement("style");
- o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, Nr = !0, document.head.append(o);
+ o.textContent = `::view-transition-old(root){animation:none}::view-transition-new(root){mix-blend-mode:normal;mask-image:radial-gradient(circle closest-side,#000 78%,#0006 88%,transparent);mask-repeat:no-repeat;will-change:mask-position,mask-size;animation:peach-theme-reveal 560ms cubic-bezier(.16,1,.3,1) both}@keyframes peach-theme-reveal{from{mask-position:${r}px ${i}px;mask-size:0px 0px}to{mask-position:${r - a / 2}px ${i - a / 2}px;mask-size:${a}px ${a}px}}`, Pr = !0, document.head.append(o);
let s = document.documentElement;
s.dataset.themeSnapshot = "true";
let c = !1, l = () => {
@@ -2708,46 +2719,46 @@ async function Pr(e, t) {
} catch {
l();
} finally {
- delete s.dataset.themeSnapshot, o.remove(), Nr = !1;
+ delete s.dataset.themeSnapshot, o.remove(), Pr = !1;
}
}
//#endregion
//#region src/sidebar-skeleton.ts
-var Fr = (e) => e.replace(/[&<>"']/g, (e) => ({
+var Ir = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function Ir(e, t, n) {
+function Lr(e, t, n) {
let r = new Map(t.map((e) => [e[0], e]));
return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {
- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${Fr(r)}"/></svg>`;
- return `<button type="button" data-nav="${Fr(e)}" aria-pressed="${n(e)}" aria-label="${Fr(t)}">${i}<span>${Fr(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo.png\" alt=\"\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${Ir(r)}"/></svg>`;
+ return `<button type="button" data-nav="${Ir(e)}" aria-pressed="${n(e)}" aria-label="${Ir(t)}">${i}<span>${Ir(t)}</span></button>`;
}).join("")}</div>`;
}
//#endregion
//#region src/manage-header.ts
-var Lr = {
+var Rr = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, Rr = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), zr = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function Br(e) {
+}, zr = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Br = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function Vr(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = Lr[e.path] ?? "";
+ let n = Rr[e.path] ?? "";
return {
- title: e.section === "cleanup" && n || t[1],
+ title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
crumb: n,
- compact: Rr.has(e.path) || e.section === "configuration",
+ compact: zr.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: zr(e.trash),
+ text: Br(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
@@ -2758,28 +2769,28 @@ var V = (e) => e.replace(/[&<>"']/g, (e) => ({
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
-})[e]), Vr = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${V(e)}"/></svg>`, Hr = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
-function Ur(e) {
- let t = Br(e);
+})[e]), Hr = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${V(e)}"/></svg>`, Ur = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+function Wr(e) {
+ let t = Vr(e);
if (!t) return "";
let n = e.menu.map(([t, n, r]) => {
let i = t === e.section;
- return `<button type="button" data-manage="${V(t)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${Vr(r)}<span>${V(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Vr("chevron-right")}</li><li aria-current="true"><span>${V(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Hr : `<span data-lede-text="">${V(t.lede.text)}</span>${t.lede.total ? Wr : ""}`}</p>`;
+ return `<button type="button" data-manage="${V(t)}" aria-pressed="${i}"${i ? " aria-current=\"page\"" : ""}>${Hr(r)}<span>${V(n)}</span></button>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${Hr("chevron-right")}</li><li aria-current="true"><span>${V(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? Ur : `<span data-lede-text="">${V(t.lede.text)}</span>${t.lede.total ? Gr : ""}`}</p>`;
return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="">${n}<span data-manage-indicator="" aria-hidden="true"></span></div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${V(t.title)}</h2>` + i;
}
-var Wr = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Gr = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
//#endregion
//#region src/jobs.ts
-function Gr(e, n, r) {
+function Kr(e, n, r) {
if (!Number.isFinite(r) || r <= 0) return "";
let i = Math.max(0, Math.min(r, Number.isFinite(n) ? n : 0)), a = i / r * 100;
return `<div class="board-job-progress" role="progressbar" aria-label="${t(e)}" aria-valuemin="0" aria-valuemax="${r}" aria-valuenow="${i}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="board-job-track" cx="18" cy="18" r="15"/><circle class="board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${a} ${100 - a}" transform="rotate(-90 18 18)"/></svg><span>${t(e)}<small>${Math.round(a)}%</small></span></div>`;
}
-function Kr(e, t = 0, n = 0) {
- return n > 0 ? Gr(e, t, n) : y(e);
+function qr(e, t = 0, n = 0) {
+ return n > 0 ? Kr(e, t, n) : y(e);
}
-async function qr(e) {
+async function Jr(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -2794,14 +2805,14 @@ async function qr(e) {
await t(2e3);
}
}
-function Jr(e) {
+function Yr(e) {
let t = e.note || ((e) => te(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || y, r = e.progress || ((e, t, n) => Kr(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
+ })), n = e.loading || y, r = e.progress || ((e, t, n) => qr(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");
e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);
let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;
- qr({
+ Jr({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -2827,11 +2838,11 @@ function Jr(e) {
}
//#endregion
//#region src/selection.ts
-function Yr(e, t, n, r, i, a = i || !e.has(r)) {
+function Xr(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;
}
-function Xr(e, t) {
+function Zr(e, t) {
let n = t.filter((t) => e.has(t)).length;
return {
count: n,
@@ -2839,14 +2850,14 @@ function Xr(e, t) {
mixed: n > 0 && n < t.length
};
}
-function Zr(e, t, n) {
+function Qr(e, t, n) {
t.forEach((t) => n ? e.add(t) : e.delete(t));
}
-function Qr({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {
+function $r({ count: e, label: t, all: n, summary: r, actions: i, locked: a = !1 }) {
e && (e.textContent = t), n && (n.checked = r.all, n.indeterminate = r.mixed);
for (let e of i) e.disabled = !r.count || a;
}
-function $r(e, t, n = 1) {
+function ei(e, t, n = 1) {
let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);
if (n * 2 + 5 >= t) return r(1, t);
let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;
@@ -2866,15 +2877,15 @@ function $r(e, t, n = 1) {
t
];
}
-function ei(e, t) {
+function ti(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function ti(e, t) {
+function ni(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
-function ni(e, t, n) {
+function ri(e, t, n) {
if (t <= 1) return "";
- let r = $r(e, t).map((t) => t === "…" ? "<li class=\"board-page-dots\" aria-hidden=\"true\">…</li>" : `<li><button type="button" class="board-page" data-page="${t}" aria-label="第 ${t} 页"${t === e ? " aria-current=\"page\"" : ""}>${t}</button></li>`).join("");
+ let r = ei(e, t).map((t) => t === "…" ? "<li class=\"board-page-dots\" aria-hidden=\"true\">…</li>" : `<li><button type="button" class="board-page" data-page="${t}" aria-label="第 ${t} 页"${t === e ? " aria-current=\"page\"" : ""}>${t}</button></li>`).join("");
return `<nav class="board-pagination" aria-label="${n}">
<button type="button" class="geist-button" data-page="${e - 1}"${e <= 1 ? " disabled" : ""}><svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-chevron-left"></use></svg>上一页</button>
<ul>${r}</ul>
@@ -2883,20 +2894,20 @@ function ni(e, t, n) {
}
//#endregion
//#region src/card-art/face-frame.ts
-var ri = .32, ii = 13, ai = .6;
-function oi(e) {
+var ii = .32, ai = 13, oi = .6;
+function si(e) {
return e ? Number.isFinite(e.cx) && Number.isFinite(e.cy) && Number(e.faceW) > 0 && Number(e.imgW) > 0 && Number(e.imgH) > 0 : !1;
}
-function si(e, t, n = 1, r = ri, i = ai) {
- if (!oi(e) || !(t && t.w > 0 && t.h > 0)) return 1;
+function ci(e, t, n = 1, r = ii, i = oi) {
+ if (!si(e) || !(t && t.w > 0 && t.h > 0)) return 1;
let a = n > 0 ? n : 1, o = Math.max(t.w / e.imgW, t.h / e.imgH), s = e.faceW * o;
if (!(s > 0)) return 1;
let c = Math.min(t.w, t.h), l = Math.max(r, 13 / c) * c / s, u = Math.max(t.w / (2 * Math.min(e.cx, 1 - e.cx) * e.imgW * o), t.h / (2 * Math.min(e.cy, 1 - e.cy) * e.imgH * o)), d = e.faceW / (s * a);
return Math.max(1, Math.min(Math.max(l, Math.min(u, i * c / s)), d));
}
-function ci(e, t, n = 1, r = ri, i = ai) {
- let a = si(e, t, n, r, i);
- if (a <= 1 || !oi(e) || !t) return null;
+function li(e, t, n = 1, r = ii, i = oi) {
+ let a = ci(e, t, n, r, i);
+ if (a <= 1 || !si(e) || !t) return null;
let o = Math.max(t.w / e.imgW, t.h / e.imgH) * a, s = e.imgW * o, c = e.imgH * o, l = Math.min(0, Math.max(t.w - s, t.w / 2 - e.cx * s)), u = Math.min(0, Math.max(t.h - c, t.h / 2 - e.cy * c)), d = (e, t) => Math.round(e / t * 1e4) / 100;
return {
zoom: Math.round(a * 1e3) / 1e3,
@@ -2908,48 +2919,48 @@ function ci(e, t, n = 1, r = ri, i = ai) {
}
//#endregion
//#region src/card-art/image-fallback.ts
-var li = "|", ui = "closest:";
-function di(e) {
- return String(e ?? "").split(li).map((e) => e.trim()).filter(Boolean);
+var ui = "|", di = "closest:";
+function fi(e) {
+ return String(e ?? "").split(ui).map((e) => e.trim()).filter(Boolean);
}
-function fi({ drop: e = "self", fallbacks: n = [], initial: r = "", dropClass: i = "", dropStyle: a = !1 } = {}) {
+function pi({ drop: e = "self", fallbacks: n = [], initial: r = "", dropClass: i = "", dropStyle: a = !1 } = {}) {
let o = (Array.isArray(n) ? n : [n]).filter(Boolean);
return [
`data-drop="${t(e)}"`,
- o.length ? `data-fallbacks="${t(o.join(li))}"` : "",
+ o.length ? `data-fallbacks="${t(o.join(ui))}"` : "",
r ? `data-initial="${t(r)}"` : "",
i ? `data-drop-class="${t(i)}"` : "",
a ? "data-drop-style" : ""
].filter(Boolean).join(" ");
}
-function pi(e) {
+function mi(e) {
if (!e || !e.dataset || !e.dataset.drop) return "";
- let t = di(e.dataset.fallbacks);
+ let t = fi(e.dataset.fallbacks);
if (t.length) {
let [n = "", ...r] = t;
- return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(li) : delete e.dataset.fallbacks, e.src = n, "retry";
+ return "dropStyle" in e.dataset && e.removeAttribute("style"), delete e.dataset.facebox, r.length ? e.dataset.fallbacks = r.join(ui) : delete e.dataset.fallbacks, e.src = n, "retry";
}
let n = e.dataset.drop;
- if (n.startsWith(ui)) return (e.closest(n.slice(8)) || e).remove(), "drop";
+ if (n.startsWith(di)) return (e.closest(n.slice(8)) || e).remove(), "drop";
if (n === "initial") {
let t = document.createElement("span");
return t.className = e.dataset.dropClass || "", t.textContent = e.dataset.initial || "", e.replaceWith(t), "drop";
}
return e.remove(), "drop";
}
-function mi(e) {
+function hi(e) {
e.addEventListener("error", (e) => {
- e.target instanceof HTMLImageElement && pi(e.target);
+ e.target instanceof HTMLImageElement && mi(e.target);
}, !0);
}
//#endregion
//#region src/card-art/native-image.ts
-function hi(e, t, n, r) {
+function gi(e, t, n, r) {
if (!(e > 0 && t > 0 && n > 0 && r > 0)) return 0;
let i = e / n, a = t / r;
return i > 1.001 || a > 1.001 || Math.abs(i - a) > Math.max(i, a) * .01 ? 0 : i;
}
-function gi(e, t, n, r, i = 1) {
+function _i(e, t, n, r, i = 1) {
let a = Number.isFinite(i) && i > 0 ? i : 1;
e /= a, t /= a;
let o = [
@@ -2966,33 +2977,33 @@ function gi(e, t, n, r, i = 1) {
}
//#endregion
//#region src/card-art/representatives.ts
-var _i = /* @__PURE__ */ new Map();
-function vi(e) {
+var vi = /* @__PURE__ */ new Map();
+function yi(e) {
(e || []).forEach((e) => {
- e.rep && e.has_avatar && _i.set(e.k, e.rep);
+ e.rep && e.has_avatar && vi.set(e.k, e.rep);
});
}
-function yi(e) {
- return _i.get(e);
+function bi(e) {
+ return vi.get(e);
}
//#endregion
//#region src/card-art/markup.ts
-var bi = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, xi = (e, t = !1) => bi(`/cover?code=${encodeURIComponent(e.code || "")}${t ? "&thumb=1" : ""}`, e.cover_version), Si = (e, t, n) => bi(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Ci = (e) => e && typeof e == "object" ? e : null;
-function wi(e) {
+var xi = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, Si = (e, t = !1) => xi(`/cover?code=${encodeURIComponent(e.code || "")}${t ? "&thumb=1" : ""}`, e.cover_version), Ci = (e, t, n) => xi(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), wi = (e) => e && typeof e == "object" ? e : null;
+function Ti(e) {
return e && e.is_jav ? "女优" : "艺人";
}
-function Ti({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !1 } = {}) {
- let h = !!(t && n), g = h ? bi(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", _ = i ? `/avatar?id=${i}` : "", v = !!o, y = v ? Si(o, c, s) : g || _ || (a ? `/link-mark?id=${a}` : "");
+function Ei({ kind: e = "performer", id: t = null, hasImage: n = !1, version: r = "", rep: i = null, mark: a = null, logo: o = "", logoVersion: s = "", logoVariant: c = "logo", alt: l = "", lazy: u = !0, style: d = "", dropStyle: f = !1, focus: p = null, thumb: m = !1 } = {}) {
+ let h = !!(t && n), g = h ? xi(`/entity-image?kind=${e}&id=${t}${m ? "&thumb=1" : ""}`, r) : "", _ = i ? `/avatar?id=${i}` : "", v = !!o, y = v ? Ci(o, c, s) : g || _ || (a ? `/link-mark?id=${a}` : "");
if (!y) return "";
- let ee = v ? [g, _].filter(Boolean) : h && _ ? [_] : [], te = h && !v, ne = te ? Ai(p) : "", re = d || ki(p);
- return `<img src="${y}" alt="${l}"${u ? " loading=\"lazy\"" : ""} decoding="async"${te ? re : ""} ${ne}${fi({
+ let ee = v ? [g, _].filter(Boolean) : h && _ ? [_] : [], te = h && !v, ne = te ? ji(p) : "", re = d || Ai(p);
+ return `<img src="${y}" alt="${l}"${u ? " loading=\"lazy\"" : ""} decoding="async"${te ? re : ""} ${ne}${pi({
dropStyle: (f || !!ne || !!re) && te,
fallbacks: ee
})}>`;
}
-function Ei(e, n, r, i = "performer", a = null, o = "", s = "icon", c = void 0, l = !1) {
+function Di(e, n, r, i = "performer", a = null, o = "", s = "icon", c = void 0, l = !1) {
let u = c === void 0 ? n && n.avatar_focus || null : c;
- return `<span class="ini">${t((e || "?").slice(0, 1))}</span>` + Ti({
+ return `<span class="ini">${t((e || "?").slice(0, 1))}</span>` + Ei({
kind: i,
id: n && n.id,
hasImage: !!(n && n.has_image),
@@ -3006,19 +3017,19 @@ function Ei(e, n, r, i = "performer", a = null, o = "", s = "icon", c = void 0,
thumb: l
});
}
-function Di(e, t, n) {
- return Ei(e, t, n ? yi(e) : null, n || "performer");
+function Oi(e, t, n) {
+ return Di(e, t, n ? bi(e) : null, n || "performer");
}
-function Oi(e) {
- let t = Ci(e);
+function ki(e) {
+ let t = wi(e);
return t && t.axis === "x" ? `${t.pct}% 50%` : t && t.axis === "y" ? `50% ${t.pct}%` : "";
}
-function ki(e) {
- let t = Oi(e);
+function Ai(e) {
+ let t = ki(e);
return t ? ` style="object-position:${t}"` : "";
}
-function Ai(e) {
- let t = Ci(e)?.box;
+function ji(e) {
+ let t = wi(e)?.box;
return t ? ` data-facebox="${[
t.cx,
t.cy,
@@ -3027,8 +3038,8 @@ function Ai(e) {
t.imgH
].map(Number).join(" ")}"` : "";
}
-function ji(e, t, n = !1) {
- let r = xi(e, !0), i = e.cover_frame || {}, a = [i.cx == null ? "" : ` data-cx="${i.cx}"`, i.cy == null ? "" : ` data-cy="${Math.min(.6, Math.max(.05, i.cy))}"`].join(""), o = e.poster_box, s = o ? ` data-posterbox="${[
+function Mi(e, t, n = !1) {
+ let r = Si(e, !0), i = e.cover_frame || {}, a = [i.cx == null ? "" : ` data-cx="${i.cx}"`, i.cy == null ? "" : ` data-cy="${Math.min(.6, Math.max(.05, i.cy))}"`].join(""), o = e.poster_box, s = o ? ` data-posterbox="${[
o.x0,
(o.px || [])[0],
(o.px || [])[1],
@@ -3039,39 +3050,39 @@ function ji(e, t, n = !1) {
return `<img class="poster cover ${t === "small" ? "whole" : "front"}" src="${r}"
alt="" loading="${n ? "eager" : "lazy"}"${a}${s} data-drop="self">`;
}
-var Mi = {
+var Ni = {
kind: "",
html: ""
};
-function Ni(e, n, r, i) {
+function Pi(e, n, r, i) {
let a = he(e, i);
- if (!a) return Mi;
- let o = e.has_cover && e.code ? xi(e, !0) : "", s = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", c = ji(e, n, r), l = (c.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), u = a === "cover" ? c : `<img class="poster" src="${s}" alt="" loading="${r ? "eager" : "lazy"}"${l}>`;
+ if (!a) return Ni;
+ let o = e.has_cover && e.code ? Si(e, !0) : "", s = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "", c = Mi(e, n, r), l = (c.match(/ data-(?:c[xy]|posterbox)="[^"]*"/g) || []).join(""), u = a === "cover" ? c : `<img class="poster" src="${s}" alt="" loading="${r ? "eager" : "lazy"}"${l}>`;
return {
kind: a === "cover" ? "cover" : "thumb",
html: u.replace("<img ", `<img data-jav-image="${e.id}" data-jav-cover="${t(o)}" data-jav-thumb="${t(s)}" data-jav-image-layout="${n}" `)
};
}
-function Pi(e, n, r, i) {
- return e.is_jav ? Ni(e, n, r, i) : e.follow_thumb_url ? {
+function Fi(e, n, r, i) {
+ return e.is_jav ? Pi(e, n, r, i) : e.follow_thumb_url ? {
kind: "thumb",
html: `<img class="poster" src="${t(e.follow_thumb_url)}" alt="" loading="${r ? "eager" : "lazy"}" referrerpolicy="no-referrer">`
- } : Fi(e, n, r, i);
+ } : Ii(e, n, r, i);
}
-function Fi(e, t, n, r) {
- return e.is_jav ? Ni(e, t, n, r) : !e.has_thumb && !e.has_local_poster ? Mi : {
+function Ii(e, t, n, r) {
+ return e.is_jav ? Pi(e, t, n, r) : !e.has_thumb && !e.has_local_poster ? Ni : {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" alt="" loading="${n ? "eager" : "lazy"}">`
};
}
-function Ii(e, t) {
- return Fi(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";
-}
function Li(e, t) {
+ return Ii(e, "small", !1, t).html || "<span class=\"nopic\">无预览</span>";
+}
+function Ri(e, t) {
let n = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "";
- return e.is_jav && he(e, t) === "cover" ? xi(e) : n;
+ return e.is_jav && he(e, t) === "cover" ? Si(e) : n;
}
-function Ri(e) {
+function zi(e) {
let t = e.performers || [], n = e.performer_entities || [], r = t[0] || "", i = e.is_jav && r ? "" : e.creator || "";
return {
kind: i ? "creator" : r ? "performer" : "",
@@ -3082,17 +3093,17 @@ function Ri(e) {
total: e.performer_total || t.length
};
}
-function zi(e) {
- let { kind: t, name: n, coStarred: r, performers: i, refs: a } = Ri(e);
- return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${Ei(e, a[t], yi(e))}</span>`).join("")}</div>` : `<span class="mav">${Ei(n, t === "performer" ? a[0] : e.creator_entity, t ? yi(n) : null, t || "performer")}</span>`;
+function Bi(e) {
+ let { kind: t, name: n, coStarred: r, performers: i, refs: a } = zi(e);
+ return r ? `<div class="mavstack">${i.slice(0, 5).map((e, t) => `<span class="mav">${Di(e, a[t], bi(e))}</span>`).join("")}</div>` : `<span class="mav">${Di(n, t === "performer" ? a[0] : e.creator_entity, t ? bi(n) : null, t || "performer")}</span>`;
}
-function Bi(e, t) {
+function Vi(e, t) {
let n = (e.performers || [])[0];
return (e.is_jav && n ? n : e.creator) || n || e.studio || e.code || t((e.tags || [])[0] || "") || "为你推荐";
}
//#endregion
//#region src/card-art/framing.ts
-var Vi = () => window.devicePixelRatio || 1;
+var Hi = () => window.devicePixelRatio || 1;
function H(e) {
let t = e.parentElement;
if (!t || ([
@@ -3117,12 +3128,12 @@ function H(e) {
n.observe(t);
return;
}
- let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = hi(e.naturalWidth, e.naturalHeight, o, s);
+ let [r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.facebox).split(" ").map(Number), c = gi(e.naturalWidth, e.naturalHeight, o, s);
if (!c) {
e.style.objectPosition = "50% 50%";
return;
}
- let l = ci({
+ let l = li({
cx: r,
cy: i,
faceW: a * c,
@@ -3131,27 +3142,27 @@ function H(e) {
}, {
w: n.width,
h: n.height
- }, Vi());
+ }, Hi());
if (!l) return;
let u = e.style;
u.position = "absolute", u.right = "auto", u.bottom = "auto", u.left = `${l.left}%`, u.top = `${l.top}%`, u.width = `${l.width}%`, u.height = `${l.height}%`, u.maxWidth = "none", u.maxHeight = "none";
}
-function Hi(e) {
+function Ui(e) {
let t = e.naturalWidth / e.naturalHeight;
if (!t) return;
let n = new URL(e.currentSrc || e.src, location.href).searchParams.get("code") || "";
e.dataset.frame = /^FC2(?:-PPV)?-/i.test(n) || t >= 1.65 ? "still" : t > 1.2 ? "sleeve" : "front";
- let r = Ki(e), i = (t, n, r) => {
+ let r = qi(e), i = (t, n, r) => {
if (n == null || !(r > 0 && r < 1)) return;
let i = Math.min(1, Math.max(0, (n - r / 2) / (1 - r)));
e.style.setProperty(t, `${Math.round(i * 100)}%`);
};
- i("--cover-x", qi(e, "cx"), r / t), i("--cover-y", qi(e, "cy"), t / r), Ui(e, r), (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(t / r - 1) > .02 && Wi(e);
+ i("--cover-x", Ji(e, "cx"), r / t), i("--cover-y", Ji(e, "cy"), t / r), Wi(e, r), (e.classList.contains("whole") || e.dataset.frame === "front") && Math.abs(t / r - 1) > .02 && Gi(e);
}
-function Ui(e, t) {
+function Wi(e, t) {
if (e.dataset.frame === "front") return;
let [n = NaN, r = NaN, i = NaN, a = NaN, o = NaN, s = NaN] = String(e.dataset.posterbox || "").split(" ").map(Number);
- if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - ge * i), a = 0, o = r, s = i), !hi(e.naturalWidth, e.naturalHeight, r, i)) return;
+ if (!e.dataset.posterbox && e.dataset.frame === "sleeve" && (r = e.naturalWidth, i = e.naturalHeight, n = Math.round(r - ge * i), a = 0, o = r, s = i), !gi(e.naturalWidth, e.naturalHeight, r, i)) return;
let c = _e({
x0: n,
y0: a,
@@ -3159,33 +3170,33 @@ function Ui(e, t) {
y1: s,
px: [r, i]
}, t);
- c && (e.classList.add("panel"), e.style.setProperty("--panel-clip", `${c.clip.top}% ${c.clip.right}% ${c.clip.bottom}% ${c.clip.left}%`), e.style.setProperty("--panel-left", `${c.left}%`), e.style.setProperty("--panel-top", `${c.top}%`), e.style.setProperty("--panel-height", `${c.height}%`), Wi(e));
+ c && (e.classList.add("panel"), e.style.setProperty("--panel-clip", `${c.clip.top}% ${c.clip.right}% ${c.clip.bottom}% ${c.clip.left}%`), e.style.setProperty("--panel-left", `${c.left}%`), e.style.setProperty("--panel-top", `${c.top}%`), e.style.setProperty("--panel-height", `${c.height}%`), Gi(e));
}
-function Wi(e) {
+function Gi(e) {
e.closest(".pic,[data-media-pic]")?.style.setProperty("--cover-blur", `url("${e.dataset.thumbSrc || e.currentSrc || e.src}")`);
}
-function Gi(e) {
+function Ki(e) {
if (!/[?&]thumb=1(&|$)/.test(e.src) || !e.naturalWidth) return;
let { width: t, height: n } = e.getBoundingClientRect();
- (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(t / e.naturalWidth, n / e.naturalHeight) * Vi() > 1.01 && (e.dataset.thumbSrc = e.src, e.src = e.src.replace(/[?&]thumb=1(?=&|$)/, ""));
+ (getComputedStyle(e).objectFit === "contain" ? Math.min : Math.max)(t / e.naturalWidth, n / e.naturalHeight) * Hi() > 1.01 && (e.dataset.thumbSrc = e.src, e.src = e.src.replace(/[?&]thumb=1(?=&|$)/, ""));
}
-function Ki(e) {
+function qi(e) {
let t = getComputedStyle(e).getPropertyValue("--card-ratio").trim().split("/").map(Number), n = t.length === 2 ? Number(t[0]) / Number(t[1]) : Number(t[0]);
return Number.isFinite(n) && n > 0 ? n : 16 / 9;
}
-function qi(e, t) {
+function Ji(e, t) {
let n = parseFloat(e.dataset[t] ?? "");
return Number.isFinite(n) ? n : null;
}
-var Ji = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", Yi = /* @__PURE__ */ new WeakMap();
-function Xi(e) {
- let t = e.matches(Ji) ? [e] : e.querySelectorAll(Ji);
- for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), Yi.set(e.parentElement, performance.now()));
-}
+var Yi = ".pic>img.poster,[data-media-art]>img,.ring>img,[data-tier-ring]>img,[data-person-ring]>img,[data-entity-portrait]>img,[data-hero-ring]>img", Xi = /* @__PURE__ */ new WeakMap();
function Zi(e) {
+ let t = e.matches(Yi) ? [e] : e.querySelectorAll(Yi);
+ for (let e of t) !e.complete && e.parentElement && (e.parentElement.classList.add("imgwait"), Xi.set(e.parentElement, performance.now()));
+}
+function Qi(e) {
let t = e.parentElement;
if (!t?.classList.contains("imgwait")) return;
- if (performance.now() - (Yi.get(t) ?? NaN) < g) {
+ if (performance.now() - (Xi.get(t) ?? NaN) < g) {
t.classList.remove("imgwait");
return;
}
@@ -3195,80 +3206,80 @@ function Zi(e) {
};
t.addEventListener("transitionend", r), n = setTimeout(r, 1e3);
}
-function Qi(e) {
+function $i(e) {
let t = "img.cover,img[data-facebox]", n = e.matches(t) ? [e] : e.querySelectorAll(t);
for (let e of n) {
let t = e;
- t.complete && t.naturalWidth && (t.classList.contains("cover") ? Hi(t) : ($i(t), H(t)));
+ t.complete && t.naturalWidth && (t.classList.contains("cover") ? Ui(t) : (ea(t), H(t)));
}
}
-function $i(e) {
+function ea(e) {
let t = e.closest("[data-fit-native]");
if (!t || !e.naturalWidth) return;
- let { small: n, width: r, height: i } = gi(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, Vi());
+ let { small: n, width: r, height: i } = _i(e.naturalWidth, e.naturalHeight, t.clientWidth, t.clientHeight, Hi());
t.dataset.nativeSmall = String(n), t.style.setProperty("--markw", n ? r + "px" : "100%"), t.style.setProperty("--markh", n ? i + "px" : "100%");
let a = (e.currentSrc || e.src).replace(/"/g, "%22");
t.style.setProperty("--markbg", n ? `url("${a}")` : "none");
}
-function ea(e) {
+function ta(e) {
(e || document).querySelectorAll("[data-fit-native] img").forEach((e) => {
- $i(e), e.dataset.facebox && H(e);
+ ea(e), e.dataset.facebox && H(e);
});
}
-function ta(e, t) {
- for (let n of ye(e, t)) Hi(n), Gi(n);
+function na(e, t) {
+ for (let n of ye(e, t)) Ui(n), Ki(n);
}
-var na = !1;
-function ra() {
- na || (na = !0, document.addEventListener("load", (e) => {
+var ra = !1;
+function ia() {
+ ra || (ra = !0, document.addEventListener("load", (e) => {
let t = e.target;
- t instanceof HTMLImageElement && (Zi(t), $i(t), t.classList.contains("cover") ? (Hi(t), Gi(t)) : t.dataset.facebox && H(t));
+ t instanceof HTMLImageElement && (Qi(t), ea(t), t.classList.contains("cover") ? (Ui(t), Ki(t)) : t.dataset.facebox && H(t));
}, !0), new MutationObserver((e) => {
- for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (Xi(e), Qi(e));
+ for (let t of e) for (let e of t.addedNodes) e.nodeType === Node.ELEMENT_NODE && (Zi(e), $i(e));
}).observe(document.body, {
childList: !0,
subtree: !0
}), document.addEventListener("error", (e) => {
let t = e.target;
- t instanceof HTMLImageElement && !t.dataset.fallbacks && Zi(t);
+ t instanceof HTMLImageElement && !t.dataset.fallbacks && Qi(t);
}, !0));
}
//#endregion
//#region src/card-art/hover.ts
-var ia = ".card,[data-media-card],[data-mix-card]", U = {
+var aa = ".card,[data-media-card],[data-mix-card]", U = {
selecting: () => !1,
censored: () => !1,
delaySeconds: () => 0
};
-function aa(e) {
+function oa(e) {
U = e;
}
-var oa = () => !!window.__scrolling;
-function sa(e = document, t = null) {
- !e || !e.querySelectorAll || (e.querySelectorAll(ia).forEach((e) => {
+var sa = () => !!window.__scrolling;
+function ca(e = document, t = null) {
+ !e || !e.querySelectorAll || (e.querySelectorAll(aa).forEach((e) => {
e !== t && e._stopHover && e._stopHover();
}), e.querySelectorAll("video.hv").forEach((e) => {
- e.closest(ia) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ e.closest(aa) !== t && (e._hop && clearInterval(e._hop), e.pause(), e.removeAttribute("src"), e.load(), e.remove());
}), e.querySelectorAll("img.hvframes").forEach((e) => {
- e.closest(ia) !== t && (e.removeAttribute("src"), e.remove());
+ e.closest(aa) !== t && (e.removeAttribute("src"), e.remove());
}));
}
-function ca(e) {
- e._stopHover?.(), sa(e);
+function la(e) {
+ e._stopHover?.(), ca(e);
}
-function la(e, t, n) {
+function ua(e, t, n) {
n ? e.dataset[t] = "" : delete e.dataset[t];
}
-function ua(e, t) {
+function da(e, t) {
let n = e, r = e.querySelector("[data-media-pic]");
if (!r) return;
e.dataset.hoverMode = t.location === "local" ? "video" : "frames";
let i, a = () => {
- clearTimeout(i), U.delaySeconds() && (la(e, "previewing", !0), i = setTimeout(() => {
- U.delaySeconds() && la(e, "longhover", !0);
+ clearTimeout(i), U.delaySeconds() && (ua(e, "previewing", !0), i = setTimeout(() => {
+ U.delaySeconds() && ua(e, "longhover", !0);
}, U.delaySeconds() * 1e3));
}, o = () => {
- clearTimeout(i), la(e, "previewing", !1), la(e, "longhover", !1);
+ clearTimeout(i), ua(e, "previewing", !1), ua(e, "longhover", !1);
};
if (t.location !== "local") {
if (!t.has_thumb) return;
@@ -3292,9 +3303,9 @@ function ua(e, t) {
}
let s, c = null;
e.addEventListener("mouseenter", () => {
- U.selecting() || U.censored() || oa() || (s = setTimeout(() => {
- if (oa() || U.censored()) return;
- sa(document, e);
+ U.selecting() || U.censored() || sa() || (s = setTimeout(() => {
+ if (sa() || U.censored()) return;
+ ca(document, e);
let n = document.createElement("video");
c = n, n.className = "hv", n.muted = !0, n.playsInline = !0, n.loop = !0, n.preload = "metadata", n.src = "/stream?id=" + t.id;
let i = [
@@ -3324,7 +3335,7 @@ function ua(e, t) {
}
//#endregion
//#region src/entity-skeleton.ts
-function da(e, t, n) {
+function fa(e, t, n) {
return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料">
<span class="sr-only">正在读取资料</span><div aria-hidden="true">
<section class="entityhero"><div class="entityprofile"><div class="entityportrait ${e === "studio" || e === "agency" ? "square " : ""}skeleton"></div>
@@ -3338,7 +3349,7 @@ function da(e, t, n) {
}
//#endregion
//#region src/follow-sort.ts
-var fa = [
+var pa = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -3346,7 +3357,7 @@ var fa = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], pa = "checked", ma = {
+], ma = "checked", ha = {
checked: "desc",
added: "desc",
name: "asc",
@@ -3354,38 +3365,38 @@ var fa = [
source: "asc",
provider: "asc",
status: "asc"
-}, ha = (e) => fa.some(([t]) => t === e);
-function ga(e, t) {
- let n = ha(e) ? e : pa;
+}, ga = (e) => pa.some(([t]) => t === e);
+function _a(e, t) {
+ let n = ga(e) ? e : ma;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : ma[n]
+ dir: t === "asc" || t === "desc" ? t : ha[n]
};
}
//#endregion
//#region src/island-skeleton.ts
-var _a = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", va = {
+var va = "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans", ya = {
medium: "h-9 rounded-2lg p-2 text-body-medium",
small: "h-8 rounded-lg px-2 py-1.5 text-body-medium"
-}, ya = {
- medium: va.medium,
- small: "size-8 rounded-lg p-0 text-body-medium"
}, ba = {
+ medium: ya.medium,
+ small: "size-8 rounded-lg p-0 text-body-medium"
+}, xa = {
medium: "size-5 shrink-0",
small: "size-[18px] shrink-0"
-}, xa = {
+}, Sa = {
medium: "inline-flex items-center justify-center px-1 shrink-0",
small: "inline-flex items-center justify-center px-0.5 shrink-0"
-}, Sa = {
+}, Ca = {
primary: "bg-button-primary text-text-white shadow-xs",
secondary: "bg-background-primary-default text-text-primary border border-border-button-default shadow-xs",
ghost: "bg-button-ghost-background text-button-ghost-foreground"
-}, Ca = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
+}, wa = (e, t) => `<svg class="${t}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><use href="#i-${e}"/></svg>`;
function W({ variant: e = "primary", size: t = "medium", glyph: n, label: r, attrs: i = "", compact: a = !1 }) {
- let o = r ? va[t] : ya[t], s = n ? Ca(n, ba[t]) : "", c = r ? `<span class="${xa[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
- return `<button type="button" class="${_a} ${o} ${Sa[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
+ let o = r ? ya[t] : ba[t], s = n ? wa(n, xa[t]) : "", c = r ? `<span class="${Sa[t]}"${a ? " data-compact-label" : ""}>${r}</span>` : "";
+ return `<button type="button" class="${va} ${o} ${Ca[e]}"${i ? ` ${i}` : ""}>${s}${c}</button>`;
}
-var wa = {
+var Ta = {
md: {
box: "gap-1.5 px-2.5 py-2 text-body-medium",
value: "gap-[5px]",
@@ -3397,32 +3408,32 @@ var wa = {
chevron: "size-3.5"
}
};
-function Ta(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
- let i = wa[t];
- return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${Ca("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
+function Ea(e, { size: t = "md", className: n = "", attrs: r = "" } = {}) {
+ let i = Ta[t];
+ return `<div class="group flex flex-col${n ? ` ${n}` : ""}"><button type="button" aria-haspopup="listbox"${r ? ` ${r}` : ""} class="flex w-full items-center justify-between rounded-2lg border border-border-button-default bg-background-primary-default shadow-xs text-text-primary ${i.box}"><span class="flex min-w-0 items-center truncate ${i.value}">${e}</span>${wa("chevron-down", `shrink-0 text-text-secondary ${i.chevron}`)}</button></div>`;
}
-var Ea = "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", Da = "flex min-w-0 flex-col gap-2", Oa = "text-body-regular text-text-secondary", ka = "text-display-4-medium tabular-nums text-text-primary", Aa = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
-function ja(e) {
- return `<div data-collection-summary="" class="${Ea}"><div class="${Da}"><span class="${Oa}">${e}</span><strong class="${ka}"><span data-skeleton="count" aria-hidden="true" class="${Aa}"></span></strong></div></div>`;
+var Da = "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", Oa = "flex min-w-0 flex-col gap-2", ka = "text-body-regular text-text-secondary", Aa = "text-display-4-medium tabular-nums text-text-primary", ja = "relative inline-block h-8 w-24 rounded-2lg align-middle skeleton-sheen";
+function Ma(e) {
+ return `<div data-collection-summary="" class="${Da}"><div class="${Oa}"><span class="${ka}">${e}</span><strong class="${Aa}"><span data-skeleton="count" aria-hidden="true" class="${ja}"></span></strong></div></div>`;
}
//#endregion
//#region src/configuration-copy.ts
-var Ma = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Na = "仅填域名;留空使用默认地址", Pa = (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">${W({
+var Na = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Pa = "仅填域名;留空使用默认地址", Fa = (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">${W({
label: "保存配置",
attrs: "disabled data-skeleton-action"
-})}</div></div></section>`, Fa = (e, t = "") => `<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 configuration-skeleton-toggle"></span></div>`, Ia = (e) => `<div class="flex w-full flex-col gap-1"><p class="text-body-medium text-text-primary">${e} 地址</p><span class="skeleton configuration-skeleton-input"></span><p class="pt-px text-caption-1-medium text-text-secondary">${Na}</p></div>`;
-function La() {
+})}</div></div></section>`, Ia = (e, t = "") => `<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 configuration-skeleton-toggle"></span></div>`, La = (e) => `<div class="flex w-full flex-col gap-1"><p class="text-body-medium text-text-primary">${e} 地址</p><span class="skeleton configuration-skeleton-input"></span><p class="pt-px text-caption-1-medium text-text-secondary">${Pa}</p></div>`;
+function Ra() {
return `<div class="peach-react"><div class="configpage">${`<div class="board-local-nav" data-section-nav data-section-items>${[
"通用",
"媒体",
"网络与访问",
"更新与维护"
- ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${Pa("开机自启", `<div class="flex flex-col">${Fa("开机后启动 Peach")}${Fa("静默启动", "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。")}${Fa("在桌面创建快捷方式", "双击图标打开 Peach 网页;卸载时一并移除。")}</div>`)}${Pa("外部入口", `<div class="flex flex-col gap-4 py-4 pr-3"><p class="text-body-2-regular text-text-secondary">${Ma}</p>${Ia("JavDB")}${Ia("MISSAV")}</div>`)}</div></div></div>`;
+ ].map((e, t) => `<button type="button" tabindex="-1" aria-selected="${t === 0}">${e}</button>`).join("")}</div>`}<div class="flex flex-col gap-6">${Fa("开机自启", `<div class="flex flex-col">${Ia("开机后启动 Peach")}${Ia("静默启动", "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。")}${Ia("在桌面创建快捷方式", "双击图标打开 Peach 网页;卸载时一并移除。")}</div>`)}${Fa("外部入口", `<div class="flex flex-col gap-4 py-4 pr-3"><p class="text-body-2-regular text-text-secondary">${Na}</p>${La("JavDB")}${La("MISSAV")}</div>`)}</div></div></div>`;
}
//#endregion
//#region src/management-skeletons.ts
-var G = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", K = (e = "60%") => `<span class="${G} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, Ra = "disabled data-skeleton-action", za = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function Ba() {
+var G = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", K = (e = "60%") => `<span class="${G} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, za = "disabled data-skeleton-action", Ba = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function Va() {
let e = [
"馆藏视频",
"看过",
@@ -3433,7 +3444,7 @@ function Ba() {
<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="${G} 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">${K("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">${K("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${za}" data-stats-chart>
+ </div>`).join(""), t = (e) => `<section class="${Ba}" 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">${K("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,
@@ -3450,7 +3461,7 @@ function Ba() {
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${za}"><h3 class="text-title-2-medium">${e}</h3><div class="${G} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${Ba}"><h3 class="text-title-2-medium">${e}</h3><div class="${G} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -3463,7 +3474,7 @@ function Ba() {
</section>
</div></div>`;
}
-function Va() {
+function Ha() {
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="${G} 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">${K("70%")}</span>
@@ -3480,18 +3491,18 @@ function Va() {
variant: "secondary",
size: "small",
label: e,
- attrs: Ra
+ attrs: za
})).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">${K("4em")}</strong></div><p class="text-body-regular text-text-secondary">${K("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 ${Ra} 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 ${za} 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 Ha() {
+function Ua() {
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="${G} 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">${K("80%")}</h3><p class="text-body-2-regular">${K("60%")}</p></div>
@@ -3500,31 +3511,31 @@ function Ha() {
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: Ra
+ attrs: za
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- ${ja("待升级")}
+ ${Ma("待升级")}
<ul class="card-grid-cover gap-5">${e.repeat(6)}</ul>
</div></div>`;
}
//#endregion
//#region src/board-skeleton.ts
-var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Ua = () => `${q("80%")}${q("48%")}`, J = (e, t) => e.repeat(t), Wa = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${q("45%")}</b><small class="board-stat-footer">${q("60%")}</small></div>`).join("")}</div>`, Ga = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, Ka = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${J(Ua(), 3)}</div></section>`, Y = "disabled data-skeleton-action", X = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Z = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, qa = "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", Ja = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Wa = () => `${q("80%")}${q("48%")}`, J = (e, t) => e.repeat(t), Ga = (e, t = "metricstrip") => `<div class="${t}">${e.map((e) => `<div class="tastesummary"><span class="board-stat-label">${e}</span><b class="board-stat-value">${q("45%")}</b><small class="board-stat-footer">${q("60%")}</small></div>`).join("")}</div>`, Ka = (e, t) => `<div class="${t} skeleton-segments" data-board-segments="true">${e.map((e, t) => `<span${t === 0 ? " class=\"skeleton-segment-selected\"" : ""}>${e}</span>`).join("")}</div>`, qa = (e) => `<section class="insightpanel"><header>${e}</header><div class="insightpanelbody skeleton-lines">${J(Wa(), 3)}</div></section>`, Y = "disabled data-skeleton-action", X = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Z = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, Ja = "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", Ya = () => `<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="${qa}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${X("3em")}</b></div>`).join("")}</div>`, Ya = () => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${[
+].map((e) => `<div class="${Ja}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${X("3em")}</b></div>`).join("")}</div>`, Xa = () => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${[
"关注列表",
"添加关注",
"JAV 订阅源",
"想要",
"来源和凭证"
-].map((e, t) => `<span class="whitespace-nowrap" aria-selected="${t === 0}">${e}</span>`).join("")}</div>`, Xa = (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>`, Za = ({ table: e, sort: t, dir: n }) => {
- let r = fa.find(([e]) => e === t)[1];
+].map((e, t) => `<span class="whitespace-nowrap" aria-selected="${t === 0}">${e}</span>`).join("")}</div>`, Za = (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>`, Qa = ({ table: e, sort: t, dir: n }) => {
+ let r = pa.find(([e]) => e === t)[1];
return `<div class="flex flex-wrap items-center gap-2 follow-skeleton-toolbar"><h3 class="mr-auto text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${X("132px")}</span>${W({
glyph: "refresh-cw",
label: "检查全部",
@@ -3538,7 +3549,7 @@ var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Ua =
variant: "ghost",
glyph: "table",
attrs: `aria-pressed="${e}"`
- })}</span>${Ta(r)}${W({
+ })}</span>${Ea(r)}${W({
variant: "secondary",
glyph: n === "asc" ? "arrow-up" : "arrow-down"
})}${e ? "" : W({
@@ -3548,7 +3559,7 @@ var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Ua =
compact: !0,
attrs: Y
})}</div>`;
-}, Qa = () => `<span class="flex shrink-0 items-center gap-1">${W({
+}, $a = () => `<span class="flex shrink-0 items-center gap-1">${W({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
@@ -3558,7 +3569,7 @@ var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Ua =
size: "small",
glyph: "trash",
attrs: Y
-})}</span>`, $a = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 follow-skeleton-source">${Xa()}<span class="flex min-w-0 grow flex-col gap-0.5"><span class="text-body-medium">${X("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${Z(14, 14)}</span>${Z(48, 24)}<span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">${X("113px")}</span>${Qa()}</div>`, eo = (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>${Z(32, 32, !0)}<b class="min-w-0 grow text-body-medium break-words text-text-primary">${X("92px")}</b>${W({
+})}</span>`, eo = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 follow-skeleton-source">${Za()}<span class="flex min-w-0 grow flex-col gap-0.5"><span class="text-body-medium">${X("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${Z(14, 14)}</span>${Z(48, 24)}<span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">${X("113px")}</span>${$a()}</div>`, to = (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>${Z(32, 32, !0)}<b class="min-w-0 grow text-body-medium break-words text-text-primary">${X("92px")}</b>${W({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
@@ -3575,13 +3586,13 @@ var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Ua =
glyph: "chevron-up",
label: "收起",
attrs: Y
-})}</div><div data-source-divider>${J($a(), e)}</div></section>`, to = () => {
+})}</div><div data-source-divider>${J(eo(), e)}</div></section>`, no = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, no = [
+}, ro = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -3589,58 +3600,58 @@ var q = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, Ua =
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], ro = {
+], io = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, io = "<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>", ao = (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>${no.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${ro[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${io}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${J(`<tr>${[
- Xa(),
+}, ao = "<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>", oo = (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>${ro.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${io[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${ao}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${J(`<tr>${[
+ Za(),
`<span class="flex min-w-0 items-center gap-2">${Z(32, 32, !0)}${X("5em")}</span>`,
X("10em"),
`<span class="flex items-center gap-1.5">${Z(14, 14)}${X("4em")}</span>`,
Z(48, 24),
X("113px"),
- Qa()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, oo = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${X("111px")}</span>${Ta(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${Z(204, 32)}</div>`, so = (e) => {
- let t = e.followLayout === "table", n = ga(e.followSort, e.followDir), r = e.followPageSize || to(), i = t ? ao(r, n) : `${Xa("全选本页")}<div class="flex flex-col gap-3">${eo(3)}${eo(4)}${eo(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Ja()}<div class="flex flex-col gap-6">${Ya()}<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 follow-skeleton-surface" data-layout="${t ? "table" : "default"}">${Za({
+ $a()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, so = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-2-regular text-text-secondary">${X("111px")}</span>${Ea(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${Z(204, 32)}</div>`, co = (e) => {
+ let t = e.followLayout === "table", n = _a(e.followSort, e.followDir), r = e.followPageSize || no(), i = t ? oo(r, n) : `${Za("全选本页")}<div class="flex flex-col gap-3">${to(3)}${to(4)}${to(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${Ya()}<div class="flex flex-col gap-6">${Xa()}<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 follow-skeleton-surface" data-layout="${t ? "table" : "default"}">${Qa({
table: t,
...n
- })}${i}${oo(t, r)}</div></div></div></div></div>`;
+ })}${i}${so(t, r)}</div></div></div></div></div>`;
};
-function co() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${q("85%")}${q("65%")}${J(Ua(), 4)}</div></aside></div>`;
-}
function lo() {
- return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情">${co()}</div>`;
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${q("85%")}${q("65%")}${J(Wa(), 4)}</div></aside></div>`;
+}
+function uo() {
+ return `<div data-skeleton="detail" role="status" aria-label="正在读取作品详情">${lo()}</div>`;
}
-function uo(e, t = {}) {
+function fo(e, t = {}) {
let n = "";
- if (e === "/stats") n = Ba();
- else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${Ga(["浏览器记录", "Peach 内部"], "insightswitch")}${q("24%")}</header><div class="tastestate"></div>${Wa([
+ if (e === "/stats") n = Va();
+ else if (e === "/taste") n = `<div class="tastepage"><header class="tastehead">${Ka(["浏览器记录", "Peach 内部"], "insightswitch")}${q("24%")}</header><div class="tastestate"></div>${Ga([
"浏览记录",
"口味维度",
"浏览候选",
"私有导出"
- ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${J(Ua(), 4)}</div></section>${Ka("口味分析")}<div class="board-activity-charts">${Ka("浏览活动")}${Ka("时间分布")}</div>${Ka("标签")}</div>`;
- else if (e === "/follow-manage") n = so(t);
- else if (e === "/configuration") n = La();
+ ], "tastesummaries")}<section class="tastehero"><div class="insightcopy"><span>浏览器画像</span><div class="skeleton skeleton-radar"></div></div><div class="tastebars skeleton-lines">${J(Wa(), 4)}</div></section>${qa("口味分析")}<div class="board-activity-charts">${qa("浏览活动")}${qa("时间分布")}</div>${qa("标签")}</div>`;
+ else if (e === "/follow-manage") n = co(t);
+ else if (e === "/configuration") n = Ra();
else if (e === "/activity") n = `<div class="activitypage">${[
"正在进行",
"被挡下的",
"最近完成"
- ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${q("35%")}${Ua()}</div></article></div></section>`).join("")}</div>`;
- else if (e === "/duplicates") n = Va();
- else if (e === "/quality-goals") n = Ha();
- else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${q("200px")}</div></header><div class="playlistcards">${J(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${Ua()}</div></div></article>`, 6)}</div></section>`;
+ ].map((e) => `<section class="activitysection"><h3 class="geist-fieldset-title">${e}</h3><div class="activity-runs"><article class="cleanupfieldset activity-run"><div class="geist-fieldset-content skeleton-lines">${q("35%")}${Wa()}</div></article></div></section>`).join("")}</div>`;
+ else if (e === "/duplicates") n = Ha();
+ else if (e === "/quality-goals") n = Ua();
+ else if (e === "/playlists") n = `<section class="playlistpage"><header><div><h2>播放列表</h2><p>保存 Mix,按自己的顺序继续播放。</p></div><div class="playlistcreate skeleton-lines"><span>新播放列表</span>${q("200px")}</div></header><div class="playlistcards">${J(`<article class="card playlistcard"><div class="mixstack"><div class="pic skeleton"></div></div><div class="mixmeta"><span class="mav skeleton"></span><div class="mixcopy skeleton-lines">${Wa()}</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/catalog-onboarding.ts
-var fo = [
+var po = [
"loc",
"creator",
"performer",
@@ -3658,9 +3669,9 @@ var fo = [
"jav",
"thumb"
];
-async function po(e, t) {
+async function mo(e, t) {
let n = new URLSearchParams();
- for (let t of fo) e[t] && n.set(t, e[t]);
+ for (let t of po) e[t] && n.set(t, e[t]);
let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([
...r.creators || [],
...r.tagperformers || [],
@@ -3671,7 +3682,7 @@ async function po(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function mo({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function ho({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
let a = r ? "<button class=\"geist-button primary\" data-empty-settings>添加内容</button>" : "", o = "<a class=\"geist-button" + (!r || i ? " primary" : "") + "\" href=\"/follow-manage?tab=add\">添加关注</a>";
if (t || n) return _("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a>" });
if (e !== "catalog") {
@@ -3692,56 +3703,56 @@ function mo({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
}
//#endregion
//#region src/catalog-filter-skeleton.ts
-var ho = 64, go = (e) => e.replace(/[&<>"]/g, (e) => ({
+var go = 64, _o = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), _o = (e) => e.repeat(ho);
-function vo(e, t) {
- let n = e.map((e) => `<a href="${go(e.href)}" data-catalog-view="${go(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${go(e.label)}</a>`).join("");
- return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + _o("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + _o("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(ho) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
+})[e]), vo = (e) => e.repeat(go);
+function yo(e, t) {
+ let n = e.map((e) => `<a href="${_o(e.href)}" data-catalog-view="${_o(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${_o(e.label)}</a>`).join("");
+ return "<div class=\"peach-react\"><div class=\"contents\" data-catalog-root=\"\" data-loading=\"\"><div data-catalog-tiers=\"\" aria-busy=\"true\"><div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + vo("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + "</div><div data-catalog-tier=\"studios\">" + vo("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span>&nbsp;</span></span>") + `</div></div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${n}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(go) + "</span></div></div></div><div data-filter-row=\"bottom\" aria-busy=\"true\" class=\"flex min-w-0 items-center gap-3 px-3 py-2 min-h-12\"><span data-catalog-readout=\"\"><span data-skeleton=\"count\" aria-hidden=\"true\" class=\"relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen\"></span></span></div></div></div></div>";
}
//#endregion
//#region src/catalog-bars.ts
-var yo = 3e4, bo = 0, xo = (e, t = bo) => [
+var bo = 3e4, xo = 0, So = (e, t = xo) => [
"facets",
e,
t
-], So = (e, t, n = bo) => [
+], Co = (e, t, n = xo) => [
"tops",
e,
t,
n
-], Co = (e, t = bo) => [
+], wo = (e, t = xo) => [
"tops",
e,
t
];
-async function wo(t) {
+async function To(t) {
let n = String(t), r = await e(`/api/tops?${n}`), i = new URLSearchParams(n);
return r.performers.length || r.studios.length || !i.has("state") ? r : (i.delete("state"), await e(`/api/tops?${i}`));
}
-function To(t, n) {
+function Eo(t, n) {
return Promise.all([I.fetchQuery({
- queryKey: xo(t),
+ queryKey: So(t),
queryFn: () => e(`/api/facets${t ? `?${t}` : ""}`),
- staleTime: yo
+ staleTime: bo
}), I.fetchQuery({
- queryKey: So(n, t),
- queryFn: () => wo(n),
- staleTime: yo
+ queryKey: Co(n, t),
+ queryFn: () => To(n),
+ staleTime: bo
})]);
}
-function Eo(e) {
+function Do(e) {
return I.fetchQuery({
- queryKey: Co(e),
- queryFn: () => wo(e),
- staleTime: yo
+ queryKey: wo(e),
+ queryFn: () => To(e),
+ staleTime: bo
});
}
-function Do() {
- bo += 1;
+function Oo() {
+ xo += 1;
let e = (e) => e.state.fetchStatus === "idle";
I.removeQueries({
queryKey: ["facets"],
@@ -3753,35 +3764,35 @@ function Do() {
}
//#endregion
//#region src/management.ts
-var Oo = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", ko = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Q = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", Ao = "type=\"button\" disabled data-skeleton-action", jo = "disabled data-skeleton-action", Mo = "aria-disabled=\"true\"", No = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, Po = (e, t) => `<div data-geist-fieldset-content>
+var ko = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Ao = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", Q = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", jo = "type=\"button\" disabled data-skeleton-action", Mo = "disabled data-skeleton-action", No = "aria-disabled=\"true\"", Po = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, Fo = (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 Fo() {
- return No(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
- ${Po("扫描与采集", Oo)}
- <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${Ca("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${W({
+function Io() {
+ return Po(`<section aria-label="扫描与采集" data-geist-fieldset data-cleanup-task data-cleanup-processing data-fieldset-stack>
+ ${Fo("扫描与采集", ko)}
+ <footer data-geist-fieldset-footer><a href="/scraping" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${wa("arrow-up", "size-[18px] shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${W({
glyph: "database",
label: "扫描并补全资料",
- attrs: jo
+ attrs: Mo
})}${W({
glyph: "chevron-down",
- attrs: `${jo} aria-label="更多扫描与采集方式"`
+ attrs: `${Mo} aria-label="更多扫描与采集方式"`
})}</span></footer>
</section>`);
}
-function Io() {
- return No(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
- ${Po("媒体修复", ko)}
- <footer data-geist-fieldset-footer>${Ta(Q, {
+function Lo() {
+ return Po(`<section aria-label="媒体修复" data-geist-fieldset data-cleanup-task data-cleanup-processing>
+ ${Fo("媒体修复", Ao)}
+ <footer data-geist-fieldset-footer>${Ea(Q, {
className: "w-48",
- attrs: Mo
+ attrs: No
})}${W({
label: "开始修复",
- attrs: jo
+ attrs: Mo
})}</footer>
</section>`);
}
-function Lo() {
+function Ro() {
let e = [
["人工复核", "square-check-big"],
["高清版", "sparkles"],
@@ -3796,8 +3807,8 @@ function Lo() {
<span class="board-plain-stat-head"><span class="board-stat-tile">${n(t)}</span>${e}</span>
<strong>${Q}</strong><span class="cleanupmeta">${Q}</span></button>`).join("")}</div>
<div class="cleanupgrid">
- <div class="cleanupscraping">${Fo()}</div>
- <div class="cleanupmediarepair">${Io()}</div>
+ <div class="cleanupscraping">${Io()}</div>
+ <div class="cleanupmediarepair">${Lo()}</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>
@@ -3808,7 +3819,7 @@ function Lo() {
<div class="organizepresets">${t}</div>
<p class="cleanupmeta">${Q}</p>
</div></div>
- <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${Ao}>预览</button></footer>
+ <footer class="geist-fieldset-footer" data-geist-fieldset-footer><button class="geist-button primary" ${jo}>预览</button></footer>
</section></div>
<section class="resourcesync" aria-labelledby="cleanup-loading-links">
<h2 id="cleanup-loading-links">链接管理</h2>
@@ -3820,19 +3831,19 @@ function Lo() {
"作品资料站"
].map((e) => `<div><span>${e}</span><b>${Q}</b></div>`).join("")}</div>
<div class="linkhosts"><span>主要站点</span><b>${Q}</b></div></div></div>
- <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${Ao}>${n("unlink")}<span>检查死链</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${jo}>${n("unlink")}<span>检查死链</span></button></div>
</div></section>
<section class="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" ${Ao}>${n("git-compare")}<span>检查文件</span></button></div>
+ <div class="resourcesyncfooter geist-fieldset-footer" data-geist-fieldset-footer><button class="resourceaction primary" ${jo}>${n("git-compare")}<span>检查文件</span></button></div>
</div></section></div>`;
}
//#endregion
//#region src/junk-queue.ts
-var Ro = [
+var zo = [
[
"",
"全部",
@@ -3868,64 +3879,64 @@ var Ro = [
"其它",
"hard-drive"
]
-], zo = (e) => Ro.find(([t]) => t === e)?.[0] ?? "";
-function Bo(e) {
+], Bo = (e) => zo.find(([t]) => t === e)?.[0] ?? "";
+function Vo(e) {
let t = new URLSearchParams(e);
return {
- kind: zo(t.get("type")),
+ kind: Bo(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function Vo(e = "", t = "pending") {
+function Ho(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 Ho(e) {
+function Uo(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: Vo("", "pending")
+ href: Ho("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: Vo("", "dismissed")
+ href: Ho("", "dismissed")
};
}
-var Uo = (e) => e === "dismissed" ? "已排除" : "待判断", Wo = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function Go({ kind: e, view: n }) {
- let r = Ro.map(([r, i, a]) => `<a href="${Vo(r, n)}" data-junk-kind-link="${r}"${r === e ? " aria-current=\"page\"" : ""}>${Wo(a)}${t(i)}</a>`).join(""), i = Ho(n);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${ja(Uo(n))}</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="垃圾文件分类">${r}<i data-junk-divider="" aria-hidden="true"></i><a href="${i.href}" data-junk-view-link="${i.view}"${n === "dismissed" ? " aria-current=\"page\"" : ""}>${Wo(i.glyph)}${i.label}</a></nav></div></div></div>`;
+var Wo = (e) => e === "dismissed" ? "已排除" : "待判断", Go = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function Ko({ kind: e, view: n }) {
+ let r = zo.map(([r, i, a]) => `<a href="${Ho(r, n)}" data-junk-kind-link="${r}"${r === e ? " aria-current=\"page\"" : ""}>${Go(a)}${t(i)}</a>`).join(""), i = Uo(n);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Ma(Wo(n))}</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="垃圾文件分类">${r}<i data-junk-divider="" aria-hidden="true"></i><a href="${i.href}" data-junk-view-link="${i.view}"${n === "dismissed" ? " aria-current=\"page\"" : ""}>${Go(i.glyph)}${i.label}</a></nav></div></div></div>`;
}
//#endregion
//#region src/player/controls.ts
-function Ko(e, t) {
+function qo(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
//#endregion
//#region src/player/playback.ts
-function qo(e) {
+function Jo(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function Jo(e, t) {
+function Yo(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/islands.ts
-var Yo = {
+var Xo = {
"catalog-filter": { react: "catalog-filter" },
"feed-new": { react: "feed-new" },
"library-processing": { react: "library-processing" },
search: { react: "search" }
-}, Xo = () => import("/dist/peach-react.js").then(() => void 0), Zo = () => Object.keys(Yo), $ = /* @__PURE__ */ new Map();
-async function Qo(e, t, n, r = {}) {
- let i = Yo[e];
+}, Zo = () => import("/dist/peach-react.js").then(() => void 0), Qo = () => Object.keys(Xo), $ = /* @__PURE__ */ new Map();
+async function $o(e, t, n, r = {}) {
+ let i = Xo[e];
if (!i) throw Error(`未注册的 island:${String(e)}`);
- ns(t);
+ rs(t);
let a = { controller: new AbortController() };
$.set(t, a);
let o = (await import("/dist/peach-react.js")).pages[i.react];
@@ -3934,7 +3945,7 @@ async function Qo(e, t, n, r = {}) {
} catch {
if (a.controller.signal.aborted) return;
}
- if (!es(t, a, r)) return;
+ if (!ts(t, a, r)) return;
let s = () => {
t.textContent = "";
let e = t.ownerDocument.createElement("div");
@@ -3946,63 +3957,63 @@ async function Qo(e, t, n, r = {}) {
};
r.reveal ? r.reveal(t, s) : s();
}
-function $o(e, t) {
+function es(e, t) {
let n = e ? $.get(e) : void 0;
!n?.update || !n.props || (n.props = {
...n.props,
...t
}, n.update(n.props));
}
-function es(e, t, n) {
+function ts(e, t, n) {
return $.get(e) === t ? n.isCurrent && !n.isCurrent() ? ($.delete(e), !1) : !0 : !1;
}
-var ts = (e) => !!e && $.has(e);
-function ns(e) {
- for (let t of [...$.keys()]) (t === e || e.contains(t)) && rs(t);
-}
+var ns = (e) => !!e && $.has(e);
function rs(e) {
+ for (let t of [...$.keys()]) (t === e || e.contains(t)) && is(t);
+}
+function is(e) {
let t = $.get(e);
t && (t.controller.abort(), $.delete(e), t.dispose?.());
}
-var is = null;
-function as(e, t, n, r) {
- is ??= import("/dist/peach-react.js").then((n) => (n.mountToaster(e, t), n)), is.then((e) => e.showToast(n, r));
+var as = null;
+function os(e, t, n, r) {
+ as ??= import("/dist/peach-react.js").then((n) => (n.mountToaster(e, t), n)), as.then((e) => e.showToast(n, r));
}
-var os = null, ss = null;
-function cs(e) {
- return os ??= import("/dist/peach-react.js").then((t) => (ss = t.configureStage(e), ss)), os;
+var ss = null, cs = null;
+function ls(e) {
+ return ss ??= import("/dist/peach-react.js").then((t) => (cs = t.configureStage(e), cs)), ss;
}
-var ls = () => ss, us = null, ds = null;
-function fs(e) {
- return us ??= import("/dist/peach-react.js").then((t) => (ds = t.configureSettingsPanel(e), ds)), us;
+var us = () => cs, ds = null, fs = null;
+function ps(e) {
+ return ds ??= import("/dist/peach-react.js").then((t) => (fs = t.configureSettingsPanel(e), fs)), ds;
}
-var ps = () => ds, ms = null, hs = null;
-function gs(e) {
- return ms ??= import("/dist/peach-react.js").then((t) => (hs = t.configureImmerse(e), hs)), ms;
+var ms = () => fs, hs = null, gs = null;
+function _s(e) {
+ return hs ??= import("/dist/peach-react.js").then((t) => (gs = t.configureImmerse(e), gs)), hs;
}
-var _s = () => hs, vs = null, ys = null;
-function bs(e) {
- return vs ??= import("/dist/peach-react.js").then((t) => (ys = t.configureSidebar(e), ys)), vs;
+var vs = () => gs, ys = null, bs = null;
+function xs(e) {
+ return ys ??= import("/dist/peach-react.js").then((t) => (bs = t.configureSidebar(e), bs)), ys;
}
-var xs = () => ys, Ss = null, Cs = null;
-function ws(e) {
- return Ss ??= import("/dist/peach-react.js").then((t) => (Cs = t.configureManageHeader(e), Cs)), Ss;
+var Ss = () => bs, Cs = null, ws = null;
+function Ts(e) {
+ return Cs ??= import("/dist/peach-react.js").then((t) => (ws = t.configureManageHeader(e), ws)), Cs;
}
-var Ts = () => Cs, Es = null, Ds = null;
-function Os(e) {
- return Es ??= import("/dist/peach-react.js").then((t) => (Ds = t.configureBatchDock(e), Ds)), Es;
+var Es = () => ws, Ds = null, Os = null;
+function ks(e) {
+ return Ds ??= import("/dist/peach-react.js").then((t) => (Os = t.configureBatchDock(e), Os)), Ds;
}
-var ks = () => Ds, As = null;
-function js(e) {
- return As ??= import("/dist/peach-react.js").then((t) => t.configureGlowPicker(e)), As;
+var As = () => Os, js = null;
+function Ms(e) {
+ return js ??= import("/dist/peach-react.js").then((t) => t.configureGlowPicker(e)), js;
}
-var Ms = null;
-function Ns(e) {
- if (!Ms) {
+var Ns = null;
+function Ps(e) {
+ if (!Ns) {
let t = import("/dist/peach-react.js").then((t) => (t.configureRouter(e), t));
- lr(t.then((e) => e.prefetchManagedRoute)), Ms = t.then(() => void 0);
+ lr(t.then((e) => e.prefetchManagedRoute)), Ns = t.then(() => void 0);
}
- return Ms;
+ return Ns;
}
//#endregion
-export { wt as ACCENT_CHOICES, qe as COVER_FRONT_RATIO, F as CancelledError, Ne as DEFAULT_SETTINGS, xe as DEFAULT_SIDEBAR_ORDER, ai as FACE_CEILING, ri as FACE_TARGET, Me as FEED_COMPILATION_KEYS, Ae as FOLLOW_INITIAL_DAYS, Pn as InfiniteQueryObserver, We as JAV_LAYOUTS, ae as JAV_RELEASE_SORT, je as METADATA_REFRESH_DAYS, ii as MIN_FACE_PX, Fn as Mutation, Ln as MutationCache, zn as MutationObserver, Ke as PHOTO_LAYOUTS, Ge as PHOTO_SIZES, Vn as QueriesObserver, wn as Query, Hn as QueryCache, Un as QueryClient, On as QueryObserver, Oe as SETTINGS_KEY, ie as SORTS, ce as SORT_ALIASES, se as SORT_DIR_WORDS, oe as SORT_KEYS, ke as THEME_CHOICES, Re as THEME_OPTIONS, ut as TILES, pi as advanceImageFallback, S as allowedSetting, w as appSettingsStore, xt as applyAccent, mt as applyDensity, bt as applyGlassFaces, yt as applyHomeGlow, Ie as applySyncedSettings, Ve as applyTheme, H as avatarFrame, Ei as avatarInner, ks as batchDockApi, uo as boardPageSkeleton, Pi as cardArtwork, Ri as cardIdentity, Xe as cardLayoutFor, rt as cardRatio, mo as catalogEmptyHtml, vo as catalogFilterSkeletonHtml, po as catalogSuggestions, Et as chooseAccent, Tt as chooseGlowPreset, ti as clampPage, Lo as cleanupSkeletonHtml, Ko as clickPlayerControl, aa as configureHoverPreview, lr as connectManagedRoutes, Hi as coverAnchor, Wi as coverBackdrop, qi as coverFace, ji as coverImage, Ki as coverRatio, xi as coverUrl, dt as currentDensity, Kn as dataTagErrorSymbol, Gn as dataTagSymbol, fn as defaultScheduler, cn as defaultShouldDehydrateMutation, ln as defaultShouldDehydrateQuery, ue as defaultSortDir, un as dehydrate, sn as dehydrateQuery, Li as detailPosterUrl, lo as detailSkeletonHtml, Do as dropBars, Di as entityAvatar, Ti as entityFaceImg, da as entitySkeletonHtml, tn as environmentManager, Wn as experimental_streamedQuery, Ai as faceBoxAttrs, ci as faceFrame, Oi as faceOrigin, ki as facePos, hi as faceSourceScale, si as faceZoom, To as fetchBars, Eo as fetchTopsPage, $i as fitNativeImage, nn as focusManager, Jr as followJobProgress, Qi as frameCachedImages, Ct as glowChips, nt as gridLayout, oi as hasFaceBox, k as hashKey, Ye as homeLayout, dn as hydrate, fi as imageFallbackAttrs, _s as immerseApi, Or as initBoardControls, ra as installCardArt, gn as isCancelledError, Mt as isServer, ts as islandMounted, Zo as islandNames, Ni as javArtwork, he as javImageKind, Je as javLayout, Kr as jobActivityHtml, Go as junkCountSkeletonHtml, Vo as junkPath, Bo as junkRoute, Kt as keepPreviousData, fr as listenManagedEntry, Os as loadBatchDock, js as loadGlowPicker, gs as loadImmerse, ws as loadManageHeader, Ns as loadRouter, fs as loadSettingsPanel, bs as loadSidebar, cs as loadStage, Si as logoUrl, Ts as manageHeaderApi, Ur as manageHeaderSkeletonHtml, Br as manageHeaderView, dr as managedEntries, ur as managedEntry, Lt as matchMutation, It as matchQuery, Fi as mixFace, Bi as mixLabel, Qo as mountIsland, gi as nativeImageFit, de as nextSortState, D as noop, Pe as normalizeAppSettings, me as normalizeJavImage, b as normalizeJavLayout, pe as normalizeJavPreferences, Te as normalizeSidebarOrder, N as notifyManager, P as onlineManager, mr as openManagedRoute, ei as pageCount, ni as paginationHtml, Ot as paintGlowButton, _t as paintHomeGlowNow, gt as paintPhotoSizeButton, _e as panelFrame, di as parseFallbacks, A as partialMatchKey, Cr as peachHistory, wi as performerLabel, et as photoLayout, $e as photoSize, Le as postSearchHistoryLimit, Ui as posterPanel, fe as preferredDirection, Xo as preloadIslands, I as queryClient, zi as queueAvatarHtml, Ii as queueThumbHtml, Fe as readAppSettings, ea as refitNativeImages, ta as relayoutCovers, ye as relayoutJavImages, ca as releaseHover, sa as releaseHoverPreviews, _r as releaseManagedRoute, vi as rememberRepresentatives, Bt as replaceEqualDeep, yi as representativeOf, Dt as resetGlowColors, Er as routeSeen, Jo as seekVideoBy, Zr as selectGroup, Yr as selectRange, Xr as selectionSummary, la as setHoverState, ps as settingsPanelApi, Zi as settleImage, wr as shellNavigate, Zt as shouldThrowError, as as showToast, xs as sidebarApi, Ee as sidebarHasCatalogContent, Ir as sidebarSkeletonHtml, De as sidebarTagCounts, Yt as skipToken, le as sortDirWord, ls as stageApi, Tr as startRouting, it as storeHomeLayout, at as storeJavLayout, ct as storePhotoLayout, st as storePhotoSize, ot as storeVideoLayout, Dr as syncBoardRange, ve as syncJavImages, Qr as syncSelectionToolbar, E as timeoutManager, ht as toggleDensity, qo as toggleVideoPlayback, Pr as transitionTheme, ns as unmountIsland, qn as unsetMarker, $o as updateIsland, gr as updateManagedRoute, Gi as upgradeCover, qr as watchJob, Xi as watchPendingImages, Ue as watchSystemTheme, kt as wireGlowButton, ua as wireHover, mi as wireImageFallbacks, bi as withVersion };
+export { wt as ACCENT_CHOICES, qe as COVER_FRONT_RATIO, F as CancelledError, Ne as DEFAULT_SETTINGS, xe as DEFAULT_SIDEBAR_ORDER, oi as FACE_CEILING, ii as FACE_TARGET, Me as FEED_COMPILATION_KEYS, Ae as FOLLOW_INITIAL_DAYS, Pn as InfiniteQueryObserver, We as JAV_LAYOUTS, ae as JAV_RELEASE_SORT, je as METADATA_REFRESH_DAYS, ai as MIN_FACE_PX, Fn as Mutation, Ln as MutationCache, zn as MutationObserver, Ke as PHOTO_LAYOUTS, Ge as PHOTO_SIZES, Vn as QueriesObserver, wn as Query, Hn as QueryCache, Un as QueryClient, On as QueryObserver, Oe as SETTINGS_KEY, ie as SORTS, ce as SORT_ALIASES, se as SORT_DIR_WORDS, oe as SORT_KEYS, ke as THEME_CHOICES, Re as THEME_OPTIONS, ut as TILES, mi as advanceImageFallback, S as allowedSetting, w as appSettingsStore, xt as applyAccent, mt as applyDensity, bt as applyGlassFaces, yt as applyHomeGlow, Ie as applySyncedSettings, Ve as applyTheme, H as avatarFrame, Di as avatarInner, As as batchDockApi, fo as boardPageSkeleton, Fi as cardArtwork, zi as cardIdentity, Xe as cardLayoutFor, rt as cardRatio, ho as catalogEmptyHtml, yo as catalogFilterSkeletonHtml, mo as catalogSuggestions, Et as chooseAccent, Tt as chooseGlowPreset, ni as clampPage, Ro as cleanupSkeletonHtml, qo as clickPlayerControl, oa as configureHoverPreview, lr as connectManagedRoutes, Ui as coverAnchor, Gi as coverBackdrop, Ji as coverFace, Mi as coverImage, qi as coverRatio, Si as coverUrl, dt as currentDensity, Kn as dataTagErrorSymbol, Gn as dataTagSymbol, fn as defaultScheduler, cn as defaultShouldDehydrateMutation, ln as defaultShouldDehydrateQuery, ue as defaultSortDir, un as dehydrate, sn as dehydrateQuery, Ri as detailPosterUrl, uo as detailSkeletonHtml, Oo as dropBars, Oi as entityAvatar, Ei as entityFaceImg, fa as entitySkeletonHtml, tn as environmentManager, Wn as experimental_streamedQuery, ji as faceBoxAttrs, li as faceFrame, ki as faceOrigin, Ai as facePos, gi as faceSourceScale, ci as faceZoom, Eo as fetchBars, Do as fetchTopsPage, ea as fitNativeImage, nn as focusManager, Yr as followJobProgress, $i as frameCachedImages, Ct as glowChips, nt as gridLayout, si as hasFaceBox, k as hashKey, Ye as homeLayout, dn as hydrate, pi as imageFallbackAttrs, vs as immerseApi, kr as initBoardControls, ia as installCardArt, gn as isCancelledError, Mt as isServer, ns as islandMounted, Qo as islandNames, Pi as javArtwork, he as javImageKind, Je as javLayout, qr as jobActivityHtml, Ko as junkCountSkeletonHtml, Ho as junkPath, Vo as junkRoute, Kt as keepPreviousData, fr as listenManagedEntry, ks as loadBatchDock, Ms as loadGlowPicker, _s as loadImmerse, Ts as loadManageHeader, Ps as loadRouter, ps as loadSettingsPanel, xs as loadSidebar, ls as loadStage, Ci as logoUrl, Es as manageHeaderApi, Wr as manageHeaderSkeletonHtml, Vr as manageHeaderView, dr as managedEntries, ur as managedEntry, Lt as matchMutation, It as matchQuery, Ii as mixFace, Vi as mixLabel, $o as mountIsland, _i as nativeImageFit, de as nextSortState, D as noop, Pe as normalizeAppSettings, me as normalizeJavImage, b as normalizeJavLayout, pe as normalizeJavPreferences, Te as normalizeSidebarOrder, N as notifyManager, P as onlineManager, mr as openManagedRoute, ti as pageCount, ri as paginationHtml, Ot as paintGlowButton, _t as paintHomeGlowNow, gt as paintPhotoSizeButton, _e as panelFrame, fi as parseFallbacks, A as partialMatchKey, Cr as peachHistory, Ti as performerLabel, et as photoLayout, $e as photoSize, Le as postSearchHistoryLimit, Wi as posterPanel, fe as preferredDirection, Zo as preloadIslands, I as queryClient, Bi as queueAvatarHtml, Li as queueThumbHtml, Fe as readAppSettings, ta as refitNativeImages, Dr as registerDiagnosticsRoute, na as relayoutCovers, ye as relayoutJavImages, la as releaseHover, ca as releaseHoverPreviews, _r as releaseManagedRoute, yi as rememberRepresentatives, Bt as replaceEqualDeep, bi as representativeOf, Dt as resetGlowColors, Er as routeSeen, Yo as seekVideoBy, Qr as selectGroup, Xr as selectRange, Zr as selectionSummary, ua as setHoverState, ms as settingsPanelApi, Qi as settleImage, wr as shellNavigate, Zt as shouldThrowError, os as showToast, Ss as sidebarApi, Ee as sidebarHasCatalogContent, Lr as sidebarSkeletonHtml, De as sidebarTagCounts, Yt as skipToken, le as sortDirWord, us as stageApi, Tr as startRouting, it as storeHomeLayout, at as storeJavLayout, ct as storePhotoLayout, st as storePhotoSize, ot as storeVideoLayout, Or as syncBoardRange, ve as syncJavImages, $r as syncSelectionToolbar, E as timeoutManager, ht as toggleDensity, Jo as toggleVideoPlayback, Fr as transitionTheme, rs as unmountIsland, qn as unsetMarker, es as updateIsland, gr as updateManagedRoute, Ki as upgradeCover, Jr as watchJob, Zi as watchPendingImages, Ue as watchSystemTheme, kt as wireGlowButton, da as wireHover, hi as wireImageFallbacks, xi as withVersion };